mediawiki-skins-Citizen/skinStyles/mediawiki/mediawiki.rcfilters.filters.base.styles.less

108 lines
2.3 KiB
Plaintext
Raw Normal View History

2019-12-27 13:51:40 +00:00
/*
* Citizen - Recent Changes Styles
* TODO Split into separate files
* https://starcitizen.tools
*/
2020-06-30 21:50:39 +00:00
@import '../../resources/mixins.less';
@import '../../resources/variables.less';
2019-12-27 13:51:40 +00:00
.skin-citizen {
.mw-rcfilters-ui {
&-filter {
&TagMultiselectWidget {
&.oo-ui-widget-enabled {
.oo-ui-tagMultiselectWidget-handle {
border-color: var( --border-color-base );
background-color: var( --background-color-framed );
}
}
2020-06-30 21:25:12 +00:00
&-views-select-widget {
&.oo-ui-widget {
border-color: var( --border-color-base );
}
}
2019-12-27 13:51:40 +00:00
&-wrapper-content-title {
color: var( --color-base );
}
2019-12-27 13:51:40 +00:00
}
&Menu {
&HeaderWidget {
&-header {
border-color: var( --border-color-base--darker );
background-color: var( --background-color-dp-16 );
.boxshadow(2);
}
&-title {
color: var( --color-base );
}
}
2019-12-27 13:51:40 +00:00
&SectionOptionWidget {
background-color: var( --background-color-framed );
.boxshadow(1);
2019-12-27 13:51:40 +00:00
&-header-title.oo-ui-labelElement-label {
color: var( --color-base--subtle );
}
2019-12-27 13:51:40 +00:00
}
&OptionWidget.oo-ui-flaggedElement-muted:not( .oo-ui-optionWidget-selected ) {
background-color: var( --background-color-framed );
2019-12-27 13:51:40 +00:00
}
&SelectWidget-footer {
border-top: 1px solid var( --border-color-base--darker );
background-color: var( --background-color-dp-16 );
}
2019-12-27 13:51:40 +00:00
}
}
&-itemMenuOptionWidget {
&-label {
&-title {
color: var( --color-base--emphasized );
2019-12-27 13:51:40 +00:00
}
&-desc {
color: var( --color-base--subtle );
}
2019-12-27 13:51:40 +00:00
}
2021-01-14 22:06:00 +00:00
&:hover {
background-color: var( --background-color-quiet--hover );
}
&.oo-ui-optionWidget-selected {
background-color: var( --background-color-primary--hover );
2021-01-14 22:06:00 +00:00
}
&:not( :last-child ):not( .mw-rcfilters-ui-itemMenuOptionWidget-identifier-talk ) {
border-color: var( --border-color-base );
2019-12-27 13:51:40 +00:00
}
}
&-viewSwitchWidget label.oo-ui-labelWidget {
color: var( --color-base--subtle );
}
&-changesListWrapperWidget .mw-changeslist-legend {
border-color: var( --border-color-base );
background-color: var( --background-color-framed );
2019-12-27 13:51:40 +00:00
}
&-datePopupWidget {
border-color: var( --border-color-base );
}
}
// Override input field style because it feels out of place
.oo-ui-textInputWidget .oo-ui-inputWidget-input {
border-color: var( --border-color-base );
2019-12-27 13:51:40 +00:00
}
}