react-jam-ui
Version:
React JAM UI components
38 lines (34 loc) • 906 B
text/stylus
input-default($params) {
.input {
border-radius: 3px;
border: 1px solid #666666;
&::-webkit-input-placeholder {
color:#777777;
opacity: 0.6;
transition: opacity 0.3s ease;
}
&::-moz-placeholder {
color:#777777;
opacity: 0.6;
transition: opacity 0.3s ease;
}
&:focus {
border-color: #0f90fd;
box-shadow: 0 0 0 1px #0f90fd;
position: relative;
z-index: 3;
&::-webkit-input-placeholder {
opacity: 0;
}
&::-moz-placeholder {
opacity: 0;
}
}
}
.input {
background: $params.default.bg;
border-color: $params.default.border;
color: $params.default.color;
border-radius: $params.default.radius;
}
}