57 lines
915 B
SCSS
Raw Normal View History

2019-12-06 17:53:19 +09:00
.ucap-step-input-container {
position: relative;
display: flex;
width: 100%;
height: 30px;
padding: 0 5px;
box-sizing: border-box;
&--active {
&:after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 100%;
height: 1px;
background-color: deepskyblue;
}
}
.stepper-input {
width: 100%;
height: 100%;
padding: 0 10px 0 0;
border: 0;
font-size: 1rem;
color: inherit;
outline: none;
text-align: end;
&:disabled {
background-color: transparent;
}
}
.steppers {
position: absolute;
right: 3px;
top: -2px;
display: flex;
flex-direction: column;
}
.stepper {
height: 15px;
font-size: 11px;
cursor: pointer;
color: rgba(0, 0, 0, 0.4);
transition: color 0.2s;
user-select: none;
&:hover {
color: rgba(0, 0, 0, 0.9);
}
}
}