diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-12-07 17:55:43 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-12-10 13:41:34 +0100 |
commit | 1cdce0280aa5200e1be5436601cedb72ed4c1802 (patch) | |
tree | b7e8d97e5e2f02cc2f8b958549b1f0ecf38cb600 /themes/luci-theme-bootstrap/htdocs | |
parent | 76e9c0305ed65480e0d1e3e86d831ac24de98bcd (diff) |
luci-theme-bootstrap: add required CSS rules for new tabbing code
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes/luci-theme-bootstrap/htdocs')
-rw-r--r-- | themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css index 98f6022ca0..966e5e4fa1 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -1053,6 +1053,7 @@ header .dropdown-menu a.hover, text-decoration: none; border-radius: 4px 4px 0 0; line-height: 25px; + outline: none; } .tabs > li:not(.active):hover, .cbi-tabmenu > .cbi-tab-disabled:hover { @@ -1064,6 +1065,18 @@ header .dropdown-menu a.hover, background: linear-gradient(#eee 90%, #ddd 100%); } +.cbi-tab-disabled[data-errors]::after { + content: attr(data-errors); + background: #c43c35; + color: #fff; + min-width: 12px; + line-height: 14px; + border-radius: 7px; + text-align: center; + margin: 0 5px 0 0; + padding: 1px 2px; +} + .cbi-tabmenu.map { margin: 0; } @@ -2200,3 +2213,16 @@ html body.apply-overlay-active { background: url(../resources/icons/loading.gif) no-repeat center; background-size: 16px; } + +[data-tab-title] { + height: 0; + opacity: 0; + overflow: hidden; +} + +[data-tab-active="true"] { + opacity: 1; + height: auto; + overflow: visible; + transition: opacity .25s ease-in; +} |