diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-05-31 15:38:03 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-05-31 15:38:42 +0200 |
commit | 79d793dffe7b67220fd38fc447bd72403c032b93 (patch) | |
tree | 78dabb1c78a0cd0459d0ce02efd39e2193f58f53 /themes/luci-theme-openwrt/htdocs | |
parent | 5427395649f8145053922ebc0df9882fc145e88e (diff) |
themes: adjust CSS for reworked apply widget
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes/luci-theme-openwrt/htdocs')
-rw-r--r-- | themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css b/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css index b474bb9fe..d5d2686e7 100644 --- a/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css @@ -181,6 +181,33 @@ code { background-color: white; } +.alert-message { + font-size: 9pt; + font-weight: normal; + padding: .5em; + border-radius: 3px; + color: #000; +} + +.alert-message.notice { + background: linear-gradient(#ccc 0%, #eee 100%); + color: #4a6b7c; +} + +.alert-message.warning { + background: linear-gradient(#dda 0%, #dd8 100%); + color: #c00; +} + +.alert-message > * { + margin: .5em; +} + +.alert-message > h4 { + font-weight: bold; + font-size: 10pt; +} + div.hostinfo { float: left; margin: 0; @@ -447,18 +474,20 @@ img.cbi-image-button { vertical-align: middle; } -.cbi-button { +.btn, .cbi-button { padding: 2px; border-radius: 3px; border: 1px solid #aaa; background: #eee 1px center no-repeat; } -.cbi-button:hover { +.btn:hover, .cbi-button:hover { border-color: #4a6b7c; background-color: #fff; } +.btn[disabled], +.btn[disabled]:hover, .cbi-button[disabled], .cbi-button[disabled]:hover { opacity: .6; |