2020-07-25 17:14:32 +00:00
|
|
|
.content-type-tabbedview,
|
|
|
|
.content-type-tabbedfieldsets {
|
|
|
|
|
|
|
|
nav.tab-nav {
|
|
|
|
|
|
|
|
height: 3rem;
|
|
|
|
line-height: 3rem;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: inline-block;
|
|
|
|
label {
|
|
|
|
display: block;
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 0 1rem;
|
|
|
|
background: $color_background_dark;
|
2021-05-14 19:46:33 +00:00
|
|
|
backdrop-filter: blur($backdrop_blur);
|
2020-07-25 17:14:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
section.tab {
|
|
|
|
display: none;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-top: 0.25rem solid;
|
|
|
|
border-color: $color_background_light;
|
|
|
|
}
|
|
|
|
|
|
|
|
input.tab-switch {
|
|
|
|
display: none; /* these inputs are :checked only through the associated <label> */
|
|
|
|
|
|
|
|
@for $i from 0 through 10 {
|
|
|
|
|
|
|
|
&.idx-$i:checked {
|
|
|
|
|
|
|
|
& ~ nav ul li label.idx-$i {
|
|
|
|
color: $color_highlight;
|
|
|
|
background: $color_background_light;
|
|
|
|
}
|
|
|
|
|
|
|
|
& ~ section.tab.idx-$i {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|