diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-12-10 13:40:49 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-12-10 13:43:30 +0100 |
commit | 5d90e704ef33dfb9815afa9e54ba6ce60afd95a6 (patch) | |
tree | 35bcf344bbb730ee702eb1b3951e36c35984304c /themes | |
parent | 165ba6f180d10f7a99c1abe386328efeccaf78eb (diff) |
luci-theme-{freifunk-generic,material,rosy}: fixup tab CSS
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes')
3 files changed, 39 insertions, 0 deletions
diff --git a/themes/luci-theme-freifunk-generic/htdocs/luci-static/freifunk-generic/cascade.css b/themes/luci-theme-freifunk-generic/htdocs/luci-static/freifunk-generic/cascade.css index 04f2941c9..590eb3d97 100644 --- a/themes/luci-theme-freifunk-generic/htdocs/luci-static/freifunk-generic/cascade.css +++ b/themes/luci-theme-freifunk-generic/htdocs/luci-static/freifunk-generic/cascade.css @@ -693,6 +693,18 @@ ul.cbi-tabmenu + .cbi-section-node { margin-top: -.5em; } +[data-tab-title] { + height: 0; + opacity: 0; + overflow: hidden; +} + +[data-tab-active="true"] { + opacity: 1; + height: auto; + overflow: visible; + transition: opacity .25s ease-in; +} div.cbi-tab-descr { background-image: url(/luci-static/resources/cbi/help.gif); 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 02c114254..dc5691136 100644 --- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css +++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css @@ -1102,6 +1102,19 @@ form[method="post"] + form[method="post"], background-color: #f9f9f9; } +[data-tab-title] { + height: 0; + opacity: 0; + overflow: hidden; +} + +[data-tab-active="true"] { + opacity: 1; + height: auto; + overflow: visible; + transition: opacity .25s ease-in; +} + .cbi-section[id] .cbi-section-remove:nth-of-type(4n+3), .cbi-section[id] .cbi-section-node:nth-of-type(4n+4) { background-color: #f9f9f9; diff --git a/themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css b/themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css index 6efafa334..1ced4ed76 100644 --- a/themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css +++ b/themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css @@ -568,6 +568,20 @@ td>table>tbody>tr>td, .cbi-tabmenu { background-color: #D4D4D4; } + +[data-tab-title] { + height: 0; + opacity: 0; + overflow: hidden; +} + +[data-tab-active="true"] { + opacity: 1; + height: auto; + overflow: visible; + transition: opacity .25s ease-in; +} + .cbi-section-remove:nth-of-type(2n) { background-color: #f9f9f9; } |