mediawiki-skins-Citizen/skinStyles/mediawiki/special/mediawiki.special.changeslist.less

83 lines
1.5 KiB
Plaintext
Raw Normal View History

2019-08-15 17:40:13 +00:00
/*
* Citizen - Recent Changes Styles
* https://starcitizen.tools
*/
@import '../../../resources/mixins.less';
2019-08-15 17:40:13 +00:00
/*!
* Styling for Special:Watchlist and Special:RecentChanges
*/
.rcoptions {
2020-06-30 20:41:18 +00:00
padding: 0;
border: 0;
margin: var( --space-xl ) 0;
2019-08-15 17:40:13 +00:00
2019-12-26 10:21:50 +00:00
legend {
2020-06-30 20:41:18 +00:00
width: 100%;
padding: var( --space-xs ) 0;
2021-01-14 16:37:11 +00:00
border-bottom: 1px solid var( --border-color-base );
margin-bottom: var( --space-xs );
font-size: 0.8125rem;
2019-12-26 10:21:50 +00:00
}
2019-08-15 17:40:13 +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 {
border-color: var( --border-color-base );
border-radius: var( --border-radius--small );
background-color: var( --background-color-framed );
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
h4 {
padding: var( --space-sm ) 0;
2021-03-06 14:59:07 +00:00
border-bottom: 1px solid var( --border-color-base );
margin-bottom: 0;
2021-03-06 14:59:07 +00:00
color: var( --color-base--subtle );
font-size: 0.8125rem;
font-weight: var( --font-weight-normal );
letter-spacing: 0.05em;
.citizen-sticky-header( 0, false );
}
&-line {
+ .mw-changeslist-line {
border-top: 1px solid var( --border-color-base ); // Add separator
}
2021-03-06 14:59:07 +00:00
}
}
.client-js .mw-recentchanges-toplinks:not( .mw-recentchanges-toplinks-collapsed ) {
border-color: var( --border-color-base );
}
// Disable sticky header
#citizen-body-header-sticky-sentinel {
display: none;
}