gsy-component-library
Version:
reusable components from grid singularity
158 lines (142 loc) • 4.68 kB
CSS
@import url("https://fonts.googleapis.com/css?family=Lato:300,400,700");
@import url("https://fonts.googleapis.com/css?family=Roboto:100,200,300,400,500,700");
/* VERBUND THEME */
.numberPicker {
margin-bottom: 10px;
border-radius: 5px; }
.rc-input-number {
display: flex;
position: relative;
background: transparent; }
.rc-input-number-disabled {
opacity: 0.75; }
.rc-input-number .rc-input-number-handler {
display: flex;
flex: 0 0 20%;
border: 0;
cursor: pointer;
justify-content: center;
align-items: center;
padding: 0;
background-color: transparent; }
.numberPicker--medium .rc-input-number-input {
font-size: 20px; }
.numberPicker--medium .rc-input-number .rc-input-number-handler {
height: 30px; }
.numberPicker--medium .rc-input-number-handler-up-inner,
.numberPicker--medium .rc-input-number-handler-down-inner {
width: 30px;
height: 30px; }
.numberPicker--medium .rc-input-number-handler-up-inner::after,
.numberPicker--medium .rc-input-number-handler-down-inner::after {
font-size: 20px; }
.numberPicker--inactive .rc-input-number .rc-input-number-handler {
display: none; }
.numberPicker--inactive .rc-input-number-input-wrap {
margin-left: -5px; }
.theme-d3a .numberPicker--inactive .rc-input-number-input-wrap {
color: #7d7d7d; }
.theme-verbund .numberPicker--inactive .rc-input-number-input-wrap {
color: #7d7d7d; }
.numberPicker--inactive .rc-input-number-input-wrap::after {
content: 'x';
display: block;
font-size: 20px;
line-height: 26px;
margin-left: -30%; }
.rc-input-number-handler-wrap {
width: 100%;
display: flex;
justify-content: space-between;
height: 30px; }
.rc-input-number-handler-up {
order: 2; }
.rc-input-number-handler-down {
order: 1; }
.rc-input-number-input-wrap {
display: flex;
width: 60%;
height: 100%;
position: absolute;
left: 50%;
transform: translate(-50%, 0);
background: transparent; }
.theme-d3a .rc-input-number-input-wrap {
color: #fff; }
.theme-verbund .rc-input-number-input-wrap {
color: #fff; }
.has-input-label .rc-input-number-input-wrap {
margin-top: -0.5rem; }
.rc-input-number-input {
width: 100%;
padding: 0;
border: 0;
background: transparent;
font-size: 14px;
color: inherit;
text-align: center;
outline: none;
font-weight: 300; }
.theme-d3a .rc-input-number-input {
font-family: "Lato", sans-serif; }
.theme-verbund .rc-input-number-input {
font-family: "Roboto", sans-serif; }
.rc-input-number-handler-up-inner,
.rc-input-number-handler-down-inner {
position: relative;
display: block;
width: 26px;
height: 26px;
border-radius: 50%; }
.theme-d3a .rc-input-number-handler-up-inner, .theme-d3a
.rc-input-number-handler-down-inner {
border: solid 1px #35d7c6; }
.theme-verbund .rc-input-number-handler-up-inner, .theme-verbund
.rc-input-number-handler-down-inner {
border: solid 1px #35d7c6; }
.rc-input-number-handler-up-inner::after,
.rc-input-number-handler-down-inner::after {
position: absolute;
top: 46%;
left: 52%;
transform: translate(-50%, -50%);
font-size: 16px;
font-weight: bold;
font-family: Tahoma, Geneva, sans-serif; }
.theme-d3a .rc-input-number-handler-up-inner::after, .theme-d3a
.rc-input-number-handler-down-inner::after {
color: #35d7c6; }
.theme-verbund .rc-input-number-handler-up-inner::after, .theme-verbund
.rc-input-number-handler-down-inner::after {
color: #35d7c6; }
.theme-d3a .rc-input-number-handler-up-inner:hover, .theme-d3a
.rc-input-number-handler-down-inner:hover {
border: solid 1px #a666ff;
box-shadow: 5px 5px 0 0 rgba(9, 21, 25, 0.25); }
.theme-verbund .rc-input-number-handler-up-inner:hover, .theme-verbund
.rc-input-number-handler-down-inner:hover {
border: solid 1px #a666ff;
box-shadow: 5px 5px 0 0 rgba(9, 21, 25, 0.25); }
.theme-d3a .rc-input-number-handler-up-inner:hover::after, .theme-d3a
.rc-input-number-handler-down-inner:hover::after {
color: #a666ff; }
.theme-verbund .rc-input-number-handler-up-inner:hover::after, .theme-verbund
.rc-input-number-handler-down-inner:hover::after {
color: #a666ff; }
.rc-input-number-handler-up-inner::after {
content: '+'; }
.rc-input-number-handler-down-inner::after {
content: '-'; }
.numberPicker_label {
position: relative;
margin-top: 10px;
margin-bottom: 5px;
line-height: 1;
font-size: 14px;
font-weight: 300;
text-align: center;
text-transform: uppercase; }
.theme-d3a .numberPicker_label {
color: #7d7d7d; }
.theme-verbund .numberPicker_label {
color: #7d7d7d; }