mirror of
https://github.com/s00500/ESPUI.git
synced 2024-12-22 19:30:50 +00:00
Input style now similar to switches, fixed max-width
This commit is contained in:
parent
999da37e11
commit
1d7da26dcd
@ -786,3 +786,26 @@
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
/* --------------------------------------------------------------
|
||||
* Text and number inputs
|
||||
*--------------------------------------------------------------- */
|
||||
|
||||
input {
|
||||
margin: 0 auto 1.2rem auto;
|
||||
padding: 2px 5px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
||||
background: rgba(255, 255, 255, 0.8);
|
||||
}
|
||||
|
||||
input[id^="num"] {
|
||||
max-width: 6em;
|
||||
width:auto;
|
||||
text-align: right;
|
||||
font-weight: bold;
|
||||
font-size: 115%;
|
||||
}
|
||||
|
2
examples/gui/data/css/style.min.css
vendored
2
examples/gui/data/css/style.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user