2019-12-30 16:02:31 +00:00
|
|
|
/*
|
2021-08-26 15:57:11 +00:00
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for Extension:AdvancedSearch
|
|
|
|
* Module: ext.advancedSearch.styles
|
2022-12-13 22:39:50 +00:00
|
|
|
* Version: REL1_39 3a0eed7
|
2021-08-26 15:57:11 +00:00
|
|
|
*
|
2022-12-13 22:39:50 +00:00
|
|
|
* Date: 2022-12-12
|
2019-12-30 16:02:31 +00:00
|
|
|
*/
|
|
|
|
|
2022-12-13 22:39:50 +00:00
|
|
|
.mw-advancedSearch-container {
|
|
|
|
margin-top: var( --space-xs );
|
2024-07-15 06:07:25 +00:00
|
|
|
border-bottom: var( --border-width-base ) solid var( --border-color-base );
|
2022-12-13 22:39:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Align with Citizen label styles
|
|
|
|
.mw-advancedSearch-searchPreview-label,
|
|
|
|
.advancedsearch-namespacesPreview-label {
|
|
|
|
margin-right: var( --space-xs );
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small );
|
2022-12-13 22:39:50 +00:00
|
|
|
font-weight: var( --font-weight-normal );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-12-13 22:39:50 +00:00
|
|
|
letter-spacing: 0.05em;
|
|
|
|
}
|
|
|
|
|
2021-08-26 15:57:11 +00:00
|
|
|
.mw-advancedSearch-fieldContainer {
|
2022-12-13 22:39:50 +00:00
|
|
|
max-width: none;
|
|
|
|
margin-top: 0;
|
|
|
|
background: var( --color-surface-2 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border: 0;
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2019-12-30 16:02:31 +00:00
|
|
|
|
2021-08-26 15:57:11 +00:00
|
|
|
fieldset {
|
2022-12-13 22:39:50 +00:00
|
|
|
margin-top: var( --space-md );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-top-color: var( --border-color-base );
|
2021-08-26 15:57:11 +00:00
|
|
|
}
|
2019-12-30 16:02:31 +00:00
|
|
|
|
2021-08-26 15:57:11 +00:00
|
|
|
.oo-ui-labelElement > .oo-ui-fieldsetLayout-header > .oo-ui-labelElement-label {
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small );
|
2022-12-13 22:39:50 +00:00
|
|
|
font-weight: var( --font-weight-normal );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-12-13 22:39:50 +00:00
|
|
|
letter-spacing: 0.05em;
|
2023-07-28 01:19:27 +00:00
|
|
|
background: var( --color-surface-2 );
|
2019-12-30 16:02:31 +00:00
|
|
|
}
|
2021-08-26 15:57:11 +00:00
|
|
|
}
|
2019-12-30 16:02:31 +00:00
|
|
|
|
2022-12-13 22:39:50 +00:00
|
|
|
.mw-advancedSearch-expandablePane-options,
|
|
|
|
.mw-advancedSearch-expandablePane-namespaces {
|
|
|
|
max-width: none;
|
|
|
|
padding-top: 0; // padding handled through container
|
|
|
|
}
|
|
|
|
|
2021-08-26 15:57:11 +00:00
|
|
|
.mw-advancedSearch-expandablePane-button {
|
|
|
|
&.oo-ui-widget-enabled.oo-ui-buttonWidget {
|
|
|
|
> .oo-ui-buttonElement-button {
|
2022-12-13 22:39:50 +00:00
|
|
|
padding-left: 0;
|
|
|
|
background-color: transparent;
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: transparent;
|
2022-12-13 22:39:50 +00:00
|
|
|
|
2021-08-26 15:57:11 +00:00
|
|
|
&:hover {
|
2022-12-13 22:39:50 +00:00
|
|
|
color: inherit;
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-button-quiet--hover );
|
2022-12-13 22:39:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Added active state
|
|
|
|
&:active {
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-button-quiet--active );
|
2022-12-13 22:39:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// HACK: Flip indicator when expanded
|
|
|
|
.oo-ui-indicator-down {
|
|
|
|
transition: opacity 100ms, transform 250ms ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[ aria-expanded='true' ] {
|
|
|
|
.oo-ui-indicator-down {
|
|
|
|
transform: rotate3d( 1, 0, 0, 180deg );
|
|
|
|
}
|
2019-12-30 16:02:31 +00:00
|
|
|
}
|
|
|
|
}
|
2022-12-13 22:39:50 +00:00
|
|
|
|
|
|
|
&.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-advancedSearch-namespace-selection-header {
|
|
|
|
> .mw-advancedSearch-namespace-search-in-label {
|
2024-10-23 21:34:41 +00:00
|
|
|
font-weight: var( --font-weight-semi-bold );
|
2019-12-30 16:02:31 +00:00
|
|
|
}
|
2021-08-26 15:57:11 +00:00
|
|
|
}
|
2019-12-30 16:02:31 +00:00
|
|
|
|
2021-08-26 15:57:11 +00:00
|
|
|
.mw-advancedSearch-namespace-selection {
|
2022-12-13 22:39:50 +00:00
|
|
|
max-width: none;
|
|
|
|
margin-top: 0;
|
2021-08-26 15:57:11 +00:00
|
|
|
background: var( --color-surface-2 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border: 0;
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2021-08-26 15:57:11 +00:00
|
|
|
}
|
2019-12-30 16:02:31 +00:00
|
|
|
|
2021-08-26 15:57:11 +00:00
|
|
|
.mw-advancedSearch-namespace-border {
|
2024-07-15 06:07:25 +00:00
|
|
|
border-top: var( --border-width-base ) solid var( --border-color-base );
|
2022-12-13 22:39:50 +00:00
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-advancedSearch-namespaceFilter.oo-ui-tagMultiselectWidget {
|
|
|
|
max-width: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-advancedSearch-namespaceFilter .oo-ui-tagMultiselectWidget-handle {
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: 0 0 var( --border-radius-base ) var( --border-radius-base );
|
2022-12-13 22:39:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-advancedSearch-namespaceFilter .oo-ui-tagMultiselectWidget-input .oo-ui-inputWidget-input {
|
|
|
|
background-color: var( --color-surface-0 );
|
2021-08-26 15:57:11 +00:00
|
|
|
}
|
2019-12-30 16:02:31 +00:00
|
|
|
|
2021-08-26 15:57:11 +00:00
|
|
|
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled {
|
|
|
|
&.selected {
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-progressive-subtle );
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive );
|
2019-12-30 16:02:31 +00:00
|
|
|
}
|
2021-08-26 15:57:11 +00:00
|
|
|
}
|
2019-12-30 16:02:31 +00:00
|
|
|
|
2021-08-26 15:57:11 +00:00
|
|
|
.oo-ui-popupWidget-popup .mw-advancedSearch-tooltip-head {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2019-12-30 16:02:31 +00:00
|
|
|
}
|