mirror of
https://github.com/s00500/ESPUI.git
synced 2024-11-25 03:50:54 +00:00
Merge pull request #38 from orithena/feature-style-input
Input style now similar to switches, fixed max-width
This commit is contained in:
commit
37bb44066b
@ -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