summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-07-23 14:26:56 +0200
committerJo-Philipp Wich <jo@mein.io>2018-07-23 14:26:56 +0200
commit2287e79a5c8cac26f0e8af6a9c90faf57217897a (patch)
treed45c0a18f2c8b3cacffbe416b6ef5cc95b4129f6
parent1961ce6df339485002385772d5d853c88c4f405f (diff)
luci-theme-openwrt: add styling for input-adjacent buttons
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css26
1 files changed, 20 insertions, 6 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 4e8ff7750..83eae4f7e 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
@@ -429,11 +429,11 @@ p {
}
.cbi-title-ref {
- color: inherit;
- text-decoration: none;
- padding-right: 18px;
- background: url('../resources/cbi/link.gif') no-repeat scroll right center;
- background-color: inherit;
+ color: #37c;
+}
+
+.cbi-title-ref::after {
+ content: "➙";
}
ul.cbi-apply {
@@ -850,7 +850,8 @@ div.cbi-optionals {
margin-left: 50%;
}
-.cbi-page-actions > .cbi-button-apply + .cbi-button-save {
+.cbi-page-actions > .cbi-button-apply + .cbi-button-save,
+.cbi-page-actions > .cbi-button-save + form[method="post"] {
margin-left: 3px;
}
@@ -1144,6 +1145,19 @@ ul.cbi-tabmenu li.cbi-tab {
opacity: .6;
}
+input[type="text"] + .cbi-button,
+input[type="password"] + .cbi-button,
+select + .cbi-button {
+ border-radius: 0 3px 3px 0;
+ border: 1px outset #000;
+ margin: 0 0 1px -2px;
+ padding: 0 6px;
+ vertical-align: top;
+ display: inline-block;
+ height: 14pt;
+ font-size: 10pt;
+ line-height: 12pt;
+}
.cbi-tooltip-container {
cursor: help;