dh-c
Version:
The front-end development engineers jimberton gulp react component
69 lines (66 loc) • 1.77 kB
CSS
/* --- s: sass extend method -- */
.inputNumberIcon {
font-family: "dhfont" ;
display: inline-block;
font-style: normal;
vertical-align: baseline;
text-align: center;
text-transform: none;
line-height: 1;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased; }
.inputNumber .dh-input-number-input, .dh-input-number .dh-input-number-input {
width: 100%;
text-align: left;
outline: 0;
-moz-appearance: textfield;
-webkit-transition: all .3s linear;
transition: all .3s linear;
color: #999;
border: 0;
font-size: 12px;
color: #333333;
background: transparent; }
.inputNumber .dh-input-number-input[disabled], .dh-input-number .dh-input-number-input[disabled] {
cursor: not-allowed; }
/* --- e: sass extend method -- */
.dh-input-number {
position: relative;
padding: 4px 0;
width: 100%;
cursor: text;
color: #999;
background-color: transparent;
background-image: none;
-webkit-transition: all .3s;
transition: all .3s;
margin: 0;
font-size: 12px;
display: inline-block; }
.dh-input-number:hover .dh-input-number-handler-wrap {
opacity: 1; }
.dh-input-number-handler-wrap {
width: initial;
background: transparent;
position: absolute;
top: 2px;
right: 0;
bottom: 2px;
opacity: 0;
-webkit-transition: opacity .24s linear .1s;
transition: opacity .24s linear .1s; }
.dh-input-number-handler {
cursor: pointer;
text-align: center;
line-height: 0;
height: 50%;
overflow: hidden;
position: relative;
-webkit-transition: all .1s linear;
transition: all .1s linear;
display: block;
width: 100%;
color: #999; }
.dh-input-number-handler:hover i {
color: #666;
font-size: 14px; }