mirror of
https://github.com/0x1d/esp8266-laser.git
synced 2025-12-16 18:45:05 +01:00
stylin
This commit is contained in:
24
frontend/styles/form/input.less
Normal file
24
frontend/styles/form/input.less
Normal file
@@ -0,0 +1,24 @@
|
||||
.sui {
|
||||
|
||||
input {
|
||||
padding: .5em;
|
||||
}
|
||||
|
||||
input[type="text"], input[type="password"] {
|
||||
height: @input-text-height;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: @color-white;
|
||||
&:focus, &:hover {
|
||||
outline: none;
|
||||
border-bottom: solid 1px @color-main;
|
||||
box-shadow: 3px @color-main;
|
||||
}
|
||||
}
|
||||
input[type="checkbox"] {
|
||||
transform: scale(@input-checkbox-scale);
|
||||
}
|
||||
input[type="range"] {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -30,17 +30,17 @@ form {
|
||||
.form-row input[type="range"] {
|
||||
|
||||
}
|
||||
@media screen and (min-width: 768px) {
|
||||
@media screen and (min-width: 768px) {
|
||||
.form-row > input, .form-row > span {
|
||||
flex: 3;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 992px) {
|
||||
@media screen and (min-width: 992px) {
|
||||
.form-row > input, .form-row > span {
|
||||
flex: 4;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1200px) {
|
||||
@media screen and (min-width: 1200px) {
|
||||
.form-row > input, .form-row > span {
|
||||
flex: 5;
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@ input[type=range] {
|
||||
-webkit-appearance: none;
|
||||
width: 100%;
|
||||
margin: 8.4px 0;
|
||||
padding: 0 !important;
|
||||
}
|
||||
input[type=range]:focus {
|
||||
outline: none;
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
position: relative;
|
||||
display: inline;
|
||||
|
||||
input {display:none;}
|
||||
input {
|
||||
display:none;
|
||||
}
|
||||
|
||||
/* The slider */
|
||||
.slider {
|
||||
|
||||
Reference in New Issue
Block a user