luci-theme-openwrt: consolidate font sizes and button styles

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2018-07-11 22:20:51 +02:00
parent 6f773999ac
commit 0d96655f8b

View file

@ -19,8 +19,7 @@ body {
background-position: bottom center; background-position: bottom center;
background-repeat: repeat-x; background-repeat: repeat-x;
font-family: Arial, Verdana, sans-serif; font-family: Arial, Verdana, sans-serif;
font-size: 16px; font-size: 10pt;
line-height: 100%;
padding-bottom: 1.5em; padding-bottom: 1.5em;
} }
@ -87,7 +86,7 @@ a img {
background: #f5f5f5; background: #f5f5f5;
border: 1px solid #444; border: 1px solid #444;
border-width: 0 0 1px 1px; border-width: 0 0 1px 1px;
font-size: 85%; font-size: 11pt;
padding-bottom: 1em; padding-bottom: 1em;
} }
@ -249,18 +248,11 @@ hr {
color: #650; color: #650;
} }
.alert-message .btn,
.alert-message .cbi-button {
background: inherit;
border-color: inherit;
}
div.hostinfo { div.hostinfo {
float: left; float: left;
margin: 0; margin: 0;
padding: 0; padding: 0;
width: auto; width: auto;
font-size: 80%;
padding: 0.5em; padding: 0.5em;
} }
@ -302,8 +294,6 @@ html #menubar a:visited {
background: #000000; background: #000000;
color: #ffffff; color: #ffffff;
text-decoration: none; text-decoration: none;
font-size: 80%;
font-weight: normal;
} }
@ -384,7 +374,6 @@ textarea#syslog {
padding: 0.5em; padding: 0.5em;
background: #f5f5f5; background: #f5f5f5;
color: #000000; color: #000000;
font-size: 80%;
border-width: 0 1px 1px 1px; border-width: 0 1px 1px 1px;
border-style: solid; border-style: solid;
border-color: #444444; border-color: #444444;
@ -417,8 +406,8 @@ fieldset { border: none; }
fieldset > legend { float: left; } fieldset > legend { float: left; }
fieldset > legend + * { clear: both; } fieldset > legend + * { clear: both; }
#maincontent p { p {
margin-bottom: 1em; margin-bottom: .5em;
} }
.cbi-section { .cbi-section {
@ -484,7 +473,7 @@ input[type=image] {
} }
input:focus, input:focus,
input:not(.cbi-button):hover, input:not(.btn):not(.cbi-button):hover,
select:focus, select:focus,
select:hover { select:hover {
background-color: #ffffff; background-color: #ffffff;
@ -609,6 +598,11 @@ img.cbi-image-button {
background: #595; background: #595;
} }
.cbi-button-negative.important {
color: #fff;
background: #a22;
}
.cbi-page-actions .cbi-button-apply + .cbi-button-save { .cbi-page-actions .cbi-button-apply + .cbi-button-save {
background: #fff; background: #fff;
color: #595; color: #595;
@ -1203,6 +1197,7 @@ ul.cbi-tabmenu li.cbi-tab {
left: 1em; left: 1em;
height: 1.5em; height: 1.5em;
font-size: 80%; font-size: 80%;
margin-bottom: 0;
} }
.luci a:link, .luci a:link,