luci-theme-{freifunk-generic,material,rosy}: fixup tab CSS
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
165ba6f180
commit
5d90e704ef
3 changed files with 39 additions and 0 deletions
|
@ -693,6 +693,18 @@ ul.cbi-tabmenu + .cbi-section-node {
|
||||||
margin-top: -.5em;
|
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 {
|
div.cbi-tab-descr {
|
||||||
background-image: url(/luci-static/resources/cbi/help.gif);
|
background-image: url(/luci-static/resources/cbi/help.gif);
|
||||||
|
|
|
@ -1102,6 +1102,19 @@ form[method="post"] + form[method="post"],
|
||||||
background-color: #f9f9f9;
|
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-remove:nth-of-type(4n+3),
|
||||||
.cbi-section[id] .cbi-section-node:nth-of-type(4n+4) {
|
.cbi-section[id] .cbi-section-node:nth-of-type(4n+4) {
|
||||||
background-color: #f9f9f9;
|
background-color: #f9f9f9;
|
||||||
|
|
|
@ -568,6 +568,20 @@ td>table>tbody>tr>td,
|
||||||
.cbi-tabmenu {
|
.cbi-tabmenu {
|
||||||
background-color: #D4D4D4;
|
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) {
|
.cbi-section-remove:nth-of-type(2n) {
|
||||||
background-color: #f9f9f9;
|
background-color: #f9f9f9;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue