1
0
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:
Dave Kliczbor 2018-11-27 22:01:59 +01:00
parent 999da37e11
commit 1d7da26dcd
3 changed files with 26 additions and 3 deletions

View File

@ -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%;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long