luci-theme: fix centering of form fields

This commit is contained in:
Nils Schneider 2014-08-08 14:45:19 +02:00
parent 4f65d49950
commit b169a169d6
2 changed files with 827 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -96,9 +96,12 @@ html {
position:relative; position:relative;
} }
body { body, input, select, option {
font-family: 'Open Sans', Arial, sans-serif; font-family: 'Open Sans', Arial, sans-serif;
font-size: 12pt; font-size: 12pt;
}
body {
color: rgb(77, 78, 83); color: rgb(77, 78, 83);
line-height: 1.5em; line-height: 1.5em;
margin: 0; margin: 0;
@ -387,7 +390,7 @@ input[type=checkbox] {
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 0; left: 0;
margin-top: -0.5em; margin-top: -0.6em;
width: 100%; width: 100%;
text-align: center; text-align: center;
font-size: 1.7em; font-size: 1.7em;
@ -638,13 +641,17 @@ div.cbi-value {
.cbi-value-title { .cbi-value-title {
flex: 2; flex: 2;
text-align: right; text-align: right;
padding-top: 0.39em;
padding-right: 1em; padding-right: 1em;
font-weight: bold; font-weight: bold;
} }
div.cbi-value-field { div.cbi-value-field {
flex: 3; flex: 3;
input, select {
position: relative;
top: -0.39em;
}
} }
div.cbi-value-description { div.cbi-value-description {