1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-11-25 14:10: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:
Lukas Bachschwell 2018-11-27 22:18:51 +01:00 committed by GitHub
commit 37bb44066b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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