summaryrefslogtreecommitdiffhomepage
path: root/themes
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2020-10-10 00:50:19 +0200
committerAnsuel Smith <ansuelsmth@gmail.com>2020-10-30 21:34:10 +0100
commit01cefed7f008c9cdbd8b1312336c7a358b523856 (patch)
treefe74d751eeb0e8ea2cde0b50e382b3e145a7d056 /themes
parent5a485f8c686cdc918c008e75bbf96bc51515d6aa (diff)
luci-theme-material: fix bigger button for combo-box
Combobox are bigger than any other button. Align the dimension to all the other buttons. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'themes')
-rw-r--r--themes/luci-theme-material/htdocs/luci-static/material/cascade.css17
1 files changed, 17 insertions, 0 deletions
diff --git a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
index dfa9c5dc0..10d8a02bd 100644
--- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
+++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
@@ -1414,6 +1414,23 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child {
outline: 0;
}
+.cbi-dropdown.btn {
+ min-height: 1.8rem;
+ padding-top: 0px;
+ padding-bottom: 0px;
+ padding-right: 0px;
+}
+
+.cbi-dropdown.btn > .open {
+ font-size: 0.8rem;
+ padding: 0px;
+ margin: 0 5px;
+}
+
+.cbi-dropdown.btn > div {
+ margin: 0px;
+}
+
.cbi-dropdown > .more,
.cbi-dropdown > ul > li[placeholder] {
font-weight: bold;