2019-08-15 17:40:13 +00:00
|
|
|
/*
|
2022-12-07 19:38:04 +00:00
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for Special:RecentChanges and Watchlist
|
|
|
|
* Module: mediawiki.special.changeslist
|
|
|
|
* Version: 1.39.0
|
|
|
|
*
|
|
|
|
* Date: 2022-10-20
|
2019-08-15 17:40:13 +00:00
|
|
|
*/
|
|
|
|
|
2022-12-07 19:38:04 +00:00
|
|
|
@import '../../../resources/variables.less';
|
2022-12-01 21:13:25 +00:00
|
|
|
@import '../../../resources/mixins.less';
|
2019-08-15 17:40:13 +00:00
|
|
|
|
2022-12-07 19:38:04 +00:00
|
|
|
/* default.less */
|
2022-05-12 21:43:39 +00:00
|
|
|
.mw-plusminus {
|
|
|
|
&-pos {
|
|
|
|
color: var( --color-success );
|
|
|
|
}
|
|
|
|
|
|
|
|
&-minus {
|
|
|
|
color: var( --color-destructive );
|
|
|
|
}
|
|
|
|
|
|
|
|
&-null {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-15 17:40:13 +00:00
|
|
|
.mw-changeslist {
|
2019-12-26 10:21:50 +00:00
|
|
|
.comment {
|
2021-01-14 16:37:11 +00:00
|
|
|
color: var( --color-base--subtle );
|
2019-12-26 10:21:50 +00:00
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
|
2021-01-14 16:37:11 +00:00
|
|
|
// Need additional parent to override
|
|
|
|
.mw-changeslist-legend {
|
2023-01-31 20:38:03 +00:00
|
|
|
padding: 0.6em; // Sync with rcfilter
|
|
|
|
border-color: transparent;
|
2021-05-27 14:35:21 +00:00
|
|
|
border-radius: var( --border-radius--small );
|
2023-01-31 20:38:03 +00:00
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
|
|
|
|
// Citizen label styles
|
|
|
|
strong {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
font-weight: var( --font-weight-normal );
|
|
|
|
letter-spacing: 0.05em;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media ( max-width: @width-breakpoint-tablet ) {
|
|
|
|
margin: 0;
|
|
|
|
float: none;
|
|
|
|
}
|
2019-12-26 10:21:50 +00:00
|
|
|
}
|
2019-12-03 02:39:36 +00:00
|
|
|
|
2021-01-14 16:37:11 +00:00
|
|
|
.mw-tag-markers {
|
|
|
|
.mw-tag-marker {
|
|
|
|
color: var( --color-base--subtle );
|
2019-12-26 10:21:50 +00:00
|
|
|
}
|
|
|
|
}
|
2021-03-06 14:59:07 +00:00
|
|
|
|
2022-12-01 21:13:25 +00:00
|
|
|
h4 {
|
2022-11-16 23:25:02 +00:00
|
|
|
padding: var( --space-sm ) 0;
|
2021-03-06 14:59:07 +00:00
|
|
|
border-bottom: 1px solid var( --border-color-base );
|
2022-12-01 21:13:25 +00:00
|
|
|
margin-bottom: 0;
|
2021-03-06 14:59:07 +00:00
|
|
|
color: var( --color-base--subtle );
|
2022-11-16 23:06:23 +00:00
|
|
|
font-size: 0.8125rem;
|
2022-10-23 23:40:19 +00:00
|
|
|
font-weight: var( --font-weight-normal );
|
2022-10-28 03:26:52 +00:00
|
|
|
letter-spacing: 0.05em;
|
2022-12-01 21:13:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-line {
|
|
|
|
+ .mw-changeslist-line {
|
|
|
|
border-top: 1px solid var( --border-color-base ); // Add separator
|
|
|
|
}
|
2021-03-06 14:59:07 +00:00
|
|
|
}
|
|
|
|
}
|
2022-06-03 00:21:18 +00:00
|
|
|
|
2022-12-07 19:38:04 +00:00
|
|
|
.rcoptions {
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
margin: var( --space-xl ) 0;
|
|
|
|
|
|
|
|
legend {
|
|
|
|
width: 100%;
|
|
|
|
padding: var( --space-xs ) 0;
|
|
|
|
border-bottom: 1px solid var( --border-color-base );
|
|
|
|
margin-bottom: var( --space-xs );
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-03 00:21:18 +00:00
|
|
|
.client-js .mw-recentchanges-toplinks:not( .mw-recentchanges-toplinks-collapsed ) {
|
|
|
|
border-color: var( --border-color-base );
|
|
|
|
}
|
2022-12-01 21:13:25 +00:00
|
|
|
|
2023-01-31 20:38:03 +00:00
|
|
|
/*
|
|
|
|
* Only apply stick header style on the special pages
|
|
|
|
* Sometimes wiki transclude those pages and these styles will break regular pages
|
|
|
|
*/
|
|
|
|
.ns-special {
|
|
|
|
.mw-changeslist h4 {
|
|
|
|
.citizen-sticky-header( 0, false, false );
|
|
|
|
}
|
|
|
|
|
|
|
|
// Disable sticky header
|
|
|
|
#citizen-body-header-sticky-sentinel {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-12-01 21:13:25 +00:00
|
|
|
}
|