From 5d90e704ef33dfb9815afa9e54ba6ce60afd95a6 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 10 Dec 2018 13:40:49 +0100 Subject: luci-theme-{freifunk-generic,material,rosy}: fixup tab CSS Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/material/cascade.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'themes/luci-theme-material/htdocs/luci-static/material') 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 02c1142549..dc56911366 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; -- cgit v1.2.3