summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material/htdocs/luci-static/material
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-05-31 18:56:50 +0200
committerJo-Philipp Wich <jo@mein.io>2018-05-31 18:57:32 +0200
commite3bc12da6de535628e5f5488333c103be95b802a (patch)
tree68b78b633abc2c34128cc7d20f9d72dfa72c01af /themes/luci-theme-material/htdocs/luci-static/material
parent298d164dd7a3bce42dc37fab238d28fab4708582 (diff)
themes: unify no-password / no-javascript alert boxes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes/luci-theme-material/htdocs/luci-static/material')
-rwxr-xr-xthemes/luci-theme-material/htdocs/luci-static/material/css/style.css12
1 files changed, 9 insertions, 3 deletions
diff --git a/themes/luci-theme-material/htdocs/luci-static/material/css/style.css b/themes/luci-theme-material/htdocs/luci-static/material/css/style.css
index 0e2ebd5c76..1b08e4894a 100755
--- a/themes/luci-theme-material/htdocs/luci-static/material/css/style.css
+++ b/themes/luci-theme-material/htdocs/luci-static/material/css/style.css
@@ -290,7 +290,7 @@ header > .container > .brand {
.errorbox,
.alert-message {
margin: 2rem 0 0 0;
- padding: 2rem;
+ padding: 1rem;
border: 0;
font-weight: normal;
font-style: normal;
@@ -313,10 +313,13 @@ header > .container > .brand {
color: red;
}
-.alert-message h4 {
+.alert-message > h4 {
font-weight: bold;
font-size: 110%;
- padding-bottom: 1em;
+}
+
+.alert-message > * {
+ margin: .5rem 0;
}
#maincontent > .container > div:nth-child(1).alert-message.warning > a {
@@ -594,6 +597,8 @@ td > table > tbody > tr > td,
user-select: none;
font-size: 0.8rem;
width: auto !important;
+ display: inline-block;
+ text-decoration: none;
}
.btn:hover,
@@ -1349,6 +1354,7 @@ body.lang_pl.node-main-login .cbi-value-title {
width: calc(100% - 13rem);
}
+ .btn,
.cbi-button {
padding: 0.3rem 0.6rem;
font-size: 0.8rem;