| 1 |
/* |
| 2 |
* Styling for Special:Watchlist and Special:RecentChanges |
| 3 |
*/ |
| 4 |
|
| 5 |
@import 'mediawiki.skin.variables.less'; |
| 6 |
@import 'mediawiki.mixins.less'; |
| 7 |
|
| 8 |
/* Make sure namespace label is aligned correctly on mobile when checkboxes are displayed */ |
| 9 |
.mw-label.mw-namespace-label { |
| 10 |
vertical-align: top; |
| 11 |
} |
| 12 |
|
| 13 |
.mw-changeslist-line-watched .mw-title { |
| 14 |
font-weight: bold; |
| 15 |
} |
| 16 |
|
| 17 |
/* Colored watchlist and recent changes numbers */ |
| 18 |
.mw-plusminus-pos { |
| 19 |
color: @color-content-added; |
| 20 |
} |
| 21 |
|
| 22 |
.mw-plusminus-neg { |
| 23 |
color: @color-content-removed; |
| 24 |
} |
| 25 |
|
| 26 |
.mw-plusminus-null { |
| 27 |
color: @color-disabled; |
| 28 |
} |
| 29 |
|
| 30 |
/* Prevent FOUC if legend is initially collapsed */ |
| 31 |
.mw-changeslist-legend.mw-collapsed .mw-collapsible-content { |
| 32 |
display: none; |
| 33 |
} |
| 34 |
|
| 35 |
.mw-changeslist-legend.mw-collapsed { |
| 36 |
margin-bottom: 0; |
| 37 |
} |
| 38 |
|
| 39 |
/* Prevent pushing down the content if legend is collapsed */ |
| 40 |
.mw-changeslist-legend.mw-collapsed ~ ul:first-of-type > li:first-child, |
| 41 |
.mw-changeslist-legend.mw-collapsed + h4 + div > table.mw-changeslist-line:first-child { |
| 42 |
clear: right; |
| 43 |
} |
| 44 |
|
| 45 |
/* Hide RCFilters highlight containers if RCFilters is not enabled. |
| 46 |
This is overridden in mw.ui.rcfilters.ChangesListWrapperWidget.less if RCFilters is enabled. */ |
| 47 |
.mw-rcfilters-ui-highlights { |
| 48 |
display: none; |
| 49 |
} |
| 50 |
|
| 51 |
.mw-index-pager-list-header { |
| 52 |
.mixin-screen-reader-text(); |
| 53 |
} |