summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-openwrt/htdocs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-07-11 22:20:51 +0200
committerJo-Philipp Wich <jo@mein.io>2018-07-12 18:10:10 +0200
commit0d96655f8b9f77c11a6e15e1ef4bb1aae70f608f (patch)
tree2ce112ac2831ee3a41f5006021ab401096a031a3 /themes/luci-theme-openwrt/htdocs
parent6f773999ac80e9836166a98d85227cf34514f973 (diff)
luci-theme-openwrt: consolidate font sizes and button styles
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes/luci-theme-openwrt/htdocs')
-rw-r--r--themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css27
1 files changed, 11 insertions, 16 deletions
diff --git a/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css b/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css
index 5812940f0..06aad1c0c 100644
--- a/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css
+++ b/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css
@@ -19,8 +19,7 @@ body {
background-position: bottom center;
background-repeat: repeat-x;
font-family: Arial, Verdana, sans-serif;
- font-size: 16px;
- line-height: 100%;
+ font-size: 10pt;
padding-bottom: 1.5em;
}
@@ -87,7 +86,7 @@ a img {
background: #f5f5f5;
border: 1px solid #444;
border-width: 0 0 1px 1px;
- font-size: 85%;
+ font-size: 11pt;
padding-bottom: 1em;
}
@@ -249,18 +248,11 @@ hr {
color: #650;
}
-.alert-message .btn,
-.alert-message .cbi-button {
- background: inherit;
- border-color: inherit;
-}
-
div.hostinfo {
float: left;
margin: 0;
padding: 0;
width: auto;
- font-size: 80%;
padding: 0.5em;
}
@@ -302,8 +294,6 @@ html #menubar a:visited {
background: #000000;
color: #ffffff;
text-decoration: none;
- font-size: 80%;
- font-weight: normal;
}
@@ -384,7 +374,6 @@ textarea#syslog {
padding: 0.5em;
background: #f5f5f5;
color: #000000;
- font-size: 80%;
border-width: 0 1px 1px 1px;
border-style: solid;
border-color: #444444;
@@ -417,8 +406,8 @@ fieldset { border: none; }
fieldset > legend { float: left; }
fieldset > legend + * { clear: both; }
-#maincontent p {
- margin-bottom: 1em;
+p {
+ margin-bottom: .5em;
}
.cbi-section {
@@ -484,7 +473,7 @@ input[type=image] {
}
input:focus,
-input:not(.cbi-button):hover,
+input:not(.btn):not(.cbi-button):hover,
select:focus,
select:hover {
background-color: #ffffff;
@@ -609,6 +598,11 @@ img.cbi-image-button {
background: #595;
}
+.cbi-button-negative.important {
+ color: #fff;
+ background: #a22;
+}
+
.cbi-page-actions .cbi-button-apply + .cbi-button-save {
background: #fff;
color: #595;
@@ -1203,6 +1197,7 @@ ul.cbi-tabmenu li.cbi-tab {
left: 1em;
height: 1.5em;
font-size: 80%;
+ margin-bottom: 0;
}
.luci a:link,