summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material/htdocs/luci-static/material
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2021-08-04 18:04:54 +0200
committerAnsuel Smith <ansuelsmth@gmail.com>2021-08-05 15:51:02 +0200
commitbe028dce56410166d6950c6036dab97fa8c6a81a (patch)
treea08f5c9749cbcd8a471ab70ad987b0504d0608bf /themes/luci-theme-material/htdocs/luci-static/material
parent0f4f6e89f15aa1dac0bfd676cb8364ef0b6c6e1f (diff)
luci-theme: fix css for flash advanced settings
Fix themes for broken display of advanced button in the sysupgrade modal. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'themes/luci-theme-material/htdocs/luci-static/material')
-rw-r--r--themes/luci-theme-material/htdocs/luci-static/material/cascade.css30
1 files changed, 12 insertions, 18 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 10d8a02bdd..450aeca9fc 100644
--- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
+++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
@@ -189,7 +189,7 @@ button,
select,
input,
.cbi-dropdown {
- height: 1.8rem;
+ min-height: 1.8rem;
padding: 0;
color: rgba(0, 0, 0, .87);
border: 0;
@@ -1661,6 +1661,7 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child {
.modal ul {
margin-left: 2.2em;
+ word-break: break-word;
}
.modal li {
@@ -1673,23 +1674,20 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child {
word-break: break-word;
}
-.modal .label {
- font-size: .6rem;
- font-weight: normal;
- padding: .1rem .3rem;
- padding-bottom: 0;
- cursor: default;
- border-radius: 0;
+.modal label.btn {
+ display: flex;
+ align-items: center;
+ white-space: normal;
+ text-align: left;
+ text-transform: none;
+ padding-bottom: 0.2rem;
+ padding-top: 0.2rem;
}
-.modal .label.warning {
+.modal label.warning {
background-color: #f0ad4e !important;
}
-.modal .btn {
- padding: .3rem .6rem;
-}
-
.modal.cbi-modal {
max-width: 90%;
max-height: none;
@@ -2124,11 +2122,7 @@ span[data-tooltip] .label {
label > input[type="checkbox"],
label > input[type="radio"] {
- position: relative;
- top: .4rem;
- right: .2rem;
- margin: 0;
- vertical-align: bottom;
+ margin-right: 0.8rem;
}
label[data-index][data-depends] {