summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material/htdocs/luci-static
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-03-30 17:05:05 +0200
committerJo-Philipp Wich <jo@mein.io>2020-03-30 17:12:07 +0200
commitccb7e4a4a7aac34734dbda7e9ca7f5b53cbc51ff (patch)
tree7e39da0da0271d13bad72d926be2fd400a26c2a0 /themes/luci-theme-material/htdocs/luci-static
parent3d965195928b993f7e2dacebd4e296a547b32552 (diff)
themes: generalize indicator markup and styling
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes/luci-theme-material/htdocs/luci-static')
-rw-r--r--themes/luci-theme-material/htdocs/luci-static/material/cascade.css9
1 files changed, 6 insertions, 3 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 8645c60e42..f3922c00f9 100644
--- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
+++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
@@ -443,7 +443,8 @@ header > .fill > .container > .status > * {
background-color: #5cb85c !important;
}
-.notice {
+.notice,
+[data-indicator]:not([data-style="inactive"]) {
background-color: #5bc0de !important;
}
@@ -2091,7 +2092,8 @@ span[data-tooltip] .label {
flex-direction: column;
}
-.label {
+.label,
+[data-indicator] {
font-size: .8rem;
font-weight: bold;
padding: .3rem .8rem;
@@ -2480,7 +2482,8 @@ input[name="nslookup"] {
padding: .3rem .6rem;
}
- .label {
+ .label,
+ [data-indicator] {
padding: .2rem .6rem;
}