luci-theme-bootstrap: add required CSS rules for new tabbing code
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
76e9c0305e
commit
1cdce0280a
1 changed files with 26 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue