summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-openwrt/htdocs/luci-static
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-11-10 18:20:56 +0100
committerJo-Philipp Wich <jo@mein.io>2019-11-10 18:20:56 +0100
commit3a82faf21ab2bd69a5ce9e3bdb8083a22b458e99 (patch)
treec2ec811cc0977fa78418595fab8d51cea6301ebd /themes/luci-theme-openwrt/htdocs/luci-static
parent97a3bef84b9b68d6f88f209f80c284e3b2e7ea1a (diff)
themes: add necessary styles for ComboButton
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes/luci-theme-openwrt/htdocs/luci-static')
-rw-r--r--themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css17
1 files changed, 13 insertions, 4 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 4bdf055de..fe4640071 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
@@ -567,7 +567,7 @@ input[type=password] {
select,
input[type=text],
input[type=password],
-.cbi-dropdown {
+.cbi-dropdown:not(.btn):not(.cbi-button) {
width: 20em;
height: 22px;
font-family: inherit;
@@ -692,7 +692,8 @@ img.cbi-image-button {
background: #a22;
}
-.cbi-page-actions .cbi-button-apply + .cbi-button-save {
+.cbi-page-actions .cbi-button-apply + .cbi-button-save,
+.cbi-page-actions .cbi-button-negative + .cbi-button-save {
background: #fff;
color: #595;
}
@@ -926,6 +927,7 @@ div.cbi-optionals {
}
.cbi-page-actions > .cbi-button-apply + .cbi-button-save,
+.cbi-page-actions > .cbi-button-negative + .cbi-button-save,
.cbi-page-actions > .cbi-button-save + form[method="post"],
.cbi-page-actions > form[method="post"] + form[method="post"] {
margin-left: 3px;
@@ -1094,11 +1096,14 @@ ul.cbi-tabmenu li.cbi-tab-disabled[data-errors]::after {
position: relative;
padding: 0;
color: #000;
- min-width: 20em;
max-width: 100%;
}
-.cbi-dropdown:hover {
+.cbi-dropdown:not(.btn):not(.cbi-button) {
+ min-width: 20em;
+}
+
+.cbi-dropdown:not(.btn):not(.cbi-button):hover {
background: #fff;
}
@@ -1235,6 +1240,10 @@ ul.cbi-tabmenu li.cbi-tab-disabled[data-errors]::after {
background: linear-gradient(90deg, #a3c2e8 0%, #84aad9 100%);
}
+.cbi-dropdown[open] > ul.dropdown > li {
+ color: #444;
+}
+
.cbi-dropdown[open] > ul.dropdown > li:last-child {
margin-bottom: 0;
border-bottom: none;