summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-09-22 22:27:12 +0200
committerJo-Philipp Wich <jo@mein.io>2019-09-22 22:27:12 +0200
commit277053a5e999bad4edbcdc5c491826b2d01ed307 (patch)
tree50a8f6117c268f594a7c9f111c5f474e22b740de /themes/luci-theme-material
parent158515d5bda661f98e41081dfdb77ce4d9d3afd4 (diff)
luci-theme-material: mobile style fixes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes/luci-theme-material')
-rw-r--r--themes/luci-theme-material/htdocs/luci-static/material/cascade.css24
1 files changed, 23 insertions, 1 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 a59e255a2..1d78edf0c 100644
--- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
+++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
@@ -214,6 +214,7 @@ input:not(.cbi-button):focus,
border-color: var(--main-color);
}
+.cbi-dropdown,
select[multiple="multiple"] {
height: auto;
}
@@ -711,6 +712,10 @@ h5 {
box-shadow: none;
}
+.cbi-modal .cbi-tabmenu {
+ margin-left: 0;
+}
+
.cbi-map-descr,
.cbi-section-descr {
font-size: small;
@@ -1615,6 +1620,7 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child {
line-height: normal;
flex-basis: 100%;
margin-bottom: .5em;
+ max-width: 100%;
}
.modal > pre,
@@ -2845,7 +2851,7 @@ input[name="nslookup"] {
}
#maincontent > .container {
- margin: 0 1rem 1.5rem 1rem;
+ margin: 0 .5rem 1.5rem .5rem;
}
.main > .main-left > .nav > .slide > .menu,
@@ -3003,6 +3009,22 @@ input[name="nslookup"] {
.hide-xs:not([data-title="MAC-Address"]) {
display: none;
}
+
+ .cbi-modal {
+ padding: .5rem;
+ }
+
+ .cbi-modal .cbi-value {
+ padding: 0 0 .25rem 0;
+ }
+
+ .cbi-modal [data-tab-title] {
+ padding: 0 .25rem !important;
+ }
+
+ [data-tab-title] {
+ padding: 0 .5rem !important;
+ }
}
@media screen and (min-width: 600px) {