luci-theme-material: mobile style fixes

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2019-09-22 22:27:12 +02:00
parent 158515d5bd
commit 277053a5e9

View file

@ -214,6 +214,7 @@ input:not(.cbi-button):focus,
border-color: var(--main-color); border-color: var(--main-color);
} }
.cbi-dropdown,
select[multiple="multiple"] { select[multiple="multiple"] {
height: auto; height: auto;
} }
@ -711,6 +712,10 @@ h5 {
box-shadow: none; box-shadow: none;
} }
.cbi-modal .cbi-tabmenu {
margin-left: 0;
}
.cbi-map-descr, .cbi-map-descr,
.cbi-section-descr { .cbi-section-descr {
font-size: small; font-size: small;
@ -1615,6 +1620,7 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child {
line-height: normal; line-height: normal;
flex-basis: 100%; flex-basis: 100%;
margin-bottom: .5em; margin-bottom: .5em;
max-width: 100%;
} }
.modal > pre, .modal > pre,
@ -2845,7 +2851,7 @@ input[name="nslookup"] {
} }
#maincontent > .container { #maincontent > .container {
margin: 0 1rem 1.5rem 1rem; margin: 0 .5rem 1.5rem .5rem;
} }
.main > .main-left > .nav > .slide > .menu, .main > .main-left > .nav > .slide > .menu,
@ -3003,6 +3009,22 @@ input[name="nslookup"] {
.hide-xs:not([data-title="MAC-Address"]) { .hide-xs:not([data-title="MAC-Address"]) {
display: none; 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) { @media screen and (min-width: 600px) {