| 1 |
@import '../../../minerva.less/minerva.variables.less'; |
| 2 |
@import '../../../minerva.less/minerva.mixins.less'; |
| 3 |
@import 'mediawiki.mixins.less'; |
| 4 |
|
| 5 |
.toggle-list-item { |
| 6 |
display: block; |
| 7 |
} |
| 8 |
|
| 9 |
.toggle-list-item__anchor { |
| 10 |
display: flex; |
| 11 |
align-items: center; |
| 12 |
padding: 0.75em 0.875em; |
| 13 |
text-decoration: none; |
| 14 |
} |
| 15 |
|
| 16 |
.toggle-list-item__label { |
| 17 |
color: @color-subtle; |
| 18 |
font-weight: bold; |
| 19 |
font-size: @font-size-minerva-small; |
| 20 |
// Overflow text is ellipsized in one line. |
| 21 |
.text-overflow( @visible: false ); |
| 22 |
} |
| 23 |
|
| 24 |
.toggle-list__checkbox { |
| 25 |
// Always occlude the checkbox. The checkbox display cannot be none since its focus state is used |
| 26 |
// for other selectors. |
| 27 |
position: absolute; |
| 28 |
z-index: @z-index-occluded; |
| 29 |
opacity: 0; |
| 30 |
} |