2022-12-13 01:11:35 +00:00
|
|
|
/*
|
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for Extension:MediaSearch
|
|
|
|
* Module: mediasearch.styles
|
|
|
|
* Version: REL1_39 (e0aa7bb)
|
|
|
|
*
|
|
|
|
* Date: 2022-12-09
|
|
|
|
*/
|
|
|
|
|
|
|
|
@import '../../../resources/variables.less';
|
|
|
|
|
|
|
|
// Disable sticky header
|
2024-05-15 05:24:43 +00:00
|
|
|
#citizen-page-header-sticky-sentinel {
|
2022-12-13 01:11:35 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Be extra safe
|
|
|
|
// MediaSearch uses indicators for associated pages
|
|
|
|
// So let's tweak the styles to make it look that way
|
|
|
|
.mw-special-MediaSearch {
|
|
|
|
.firstHeading-container {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-indicators {
|
|
|
|
padding-left: 0;
|
|
|
|
margin-top: var( --space-xs );
|
|
|
|
margin-left: 0;
|
2023-07-28 01:19:27 +00:00
|
|
|
border-left: 0;
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Missing from the original stylesheet
|
|
|
|
.searchmatch {
|
2024-10-23 21:34:41 +00:00
|
|
|
font-weight: var( --font-weight-semi-bold );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* AutocompleteSearchInput.less */
|
|
|
|
.sd-input {
|
|
|
|
&__icon {
|
|
|
|
opacity: var( --opacity-icon-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
&__indicator {
|
|
|
|
color: var( --color-base-subtle );
|
|
|
|
}
|
|
|
|
|
|
|
|
&__input {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: transparent;
|
2024-04-19 19:14:18 +00:00
|
|
|
border-color: var( --border-color-interactive );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&::placeholder {
|
|
|
|
color: var( --color-base-subtle );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var( --color-surface-0 );
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive--hover );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background-color: var( --color-surface-0 );
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--pending .sd-input__input {
|
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
background-image: linear-gradient( 135deg, var( --color-surface-1 ) 25%, rgba( 255, 255, 255, 0 ) 25%, rgba( 255, 255, 255, 0 ) 50%, var( --color-surface-1 ) 50%, var( --color-surface-1 ) 75%, rgba( 255, 255, 255, 0 ) 75%, rgba( 255, 255, 255, 0 ) );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Button.less */
|
|
|
|
.sd-button {
|
|
|
|
font-family: var( --font-family-base );
|
2024-10-23 21:34:41 +00:00
|
|
|
font-weight: var( --font-weight-semi-bold );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&:hover {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-button-quiet--hover );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&--framed {
|
|
|
|
background-color: var( --color-surface-2 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --border-color-base );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&:hover {
|
2024-07-01 00:41:31 +00:00
|
|
|
color: var( --color-subtle );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-2--hover );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Add active state
|
|
|
|
&:active {
|
2024-07-01 00:41:31 +00:00
|
|
|
color: var( --color-emphasized );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-2--active );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--progressive {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&:hover {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive--hover );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Add active state
|
|
|
|
&:active {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive--active );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.sd-button--framed {
|
2024-06-10 23:47:49 +00:00
|
|
|
color: var( --color-inverted-primary );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&:hover {
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive--hover );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Add active state
|
|
|
|
&:active {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive--active );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--destructive {
|
|
|
|
color: var( --color-destructive );
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var( --color-destructive--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
// Add active state
|
|
|
|
&:active {
|
|
|
|
color: var( --color-destructive--active );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border-color: var( --color-destructive );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-destructive );
|
|
|
|
}
|
|
|
|
|
|
|
|
&.sd-button--framed {
|
2024-06-10 23:47:49 +00:00
|
|
|
color: var( --color-inverted-fixed );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: var( --color-destructive--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
// Add active state
|
|
|
|
&:active {
|
|
|
|
color: var( --color-destructive--active );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-destructive );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--primary {
|
|
|
|
&.sd-button--framed {
|
2024-06-30 05:04:30 +00:00
|
|
|
background-color: var( --color-progressive );
|
|
|
|
border-color: var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&:hover {
|
2024-06-30 05:04:30 +00:00
|
|
|
background-color: var( --color-progressive--hover );
|
|
|
|
border-color: var( --color-progressive--hover );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Add active state
|
|
|
|
&:active {
|
2024-06-30 05:04:30 +00:00
|
|
|
background-color: var( --color-progressive--active );
|
|
|
|
border-color: var( --color-progressive--active );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-progressive ), inset 0 0 0 2px var( --color-inverted-primary );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.sd-button--destructive {
|
|
|
|
background-color: var( --color-destructive );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-destructive );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var( --color-destructive--hover );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-destructive--hover );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Add active state
|
|
|
|
&:active {
|
|
|
|
background-color: var( --color-destructive--active );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-destructive--active );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border-color: var( --color-destructive );
|
2024-06-10 23:47:49 +00:00
|
|
|
box-shadow: inset 0 0 0 1px var( --color-destructive ), inset 0 0 0 2px var( --color-inverted-fixed );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.sd-button--framed {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-4 );
|
|
|
|
border-color: var( --color-surface-4 );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: var( --color-surface-4 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-surface-4 );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not( .sd-button--framed ) .sd-icon {
|
|
|
|
opacity: var( --opacity-base--disabled );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Checkbox.less */
|
|
|
|
.sd-checkbox {
|
|
|
|
&__icon {
|
|
|
|
// Show background when hovered
|
|
|
|
background-color: transparent;
|
2024-04-19 19:14:18 +00:00
|
|
|
border-color: var( --border-color-interactive );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__input {
|
|
|
|
&:focus + .sd-checkbox__icon {
|
|
|
|
background-color: var( --color-surface-0 );
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover + .sd-checkbox__icon {
|
|
|
|
background-color: var( --color-surface-0 );
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive--hover );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active + .sd-checkbox__icon {
|
2024-06-30 05:04:30 +00:00
|
|
|
background-color: var( --color-progressive--active );
|
|
|
|
border-color: var( --color-progressive--active );
|
2022-12-13 01:11:35 +00:00
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Set up check icon.
|
|
|
|
&:checked + .sd-checkbox__icon {
|
2024-06-30 05:04:30 +00:00
|
|
|
background-color: var( --color-progressive );
|
|
|
|
border-color: var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
& + .sd-checkbox__icon {
|
|
|
|
background-color: var( --color-surface-4 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-surface-4 );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
& ~ .sd-checkbox__label-text {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:checked:enabled:focus + .sd-checkbox__icon {
|
2024-06-30 05:04:30 +00:00
|
|
|
background-color: var( --color-progressive );
|
|
|
|
border-color: var( --color-progressive );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-progressive ), inset 0 0 0 2px var( --color-inverted-primary );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:checked:enabled:hover + .sd-checkbox__icon {
|
2024-06-30 05:04:30 +00:00
|
|
|
background-color: var( --color-progressive--hover );
|
|
|
|
border-color: var( --color-progressive--hover );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:checked:enabled:active + .sd-checkbox__icon {
|
2024-06-30 05:04:30 +00:00
|
|
|
background-color: var( --color-progressive--active );
|
|
|
|
border-color: var( --color-progressive--active );
|
2022-12-13 01:11:35 +00:00
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* CopyTextLayout.less */
|
|
|
|
.sd-copy-text-layout {
|
|
|
|
&__text {
|
|
|
|
border-right-color: var( --border-color-base );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Dialog.less */
|
|
|
|
.sd-dialog {
|
|
|
|
// Align with Citizen and Codex
|
|
|
|
z-index: @z-index-overlay;
|
|
|
|
|
|
|
|
&__overlay {
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-backdrop-light );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__shell {
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-1 );
|
2022-12-13 01:11:35 +00:00
|
|
|
border-color: transparent;
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-medium );
|
2024-07-25 01:53:51 +00:00
|
|
|
box-shadow: var( --box-shadow-drop-xx-large );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__header {
|
|
|
|
border-bottom-color: var( --border-color-base );
|
|
|
|
|
|
|
|
.sd-dialog__header-title {
|
2024-10-23 21:34:41 +00:00
|
|
|
font-weight: var( --font-weight-semi-bold );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__footer:not( :empty ) {
|
|
|
|
border-top-color: var( --border-color-base );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Message.less */
|
|
|
|
.sd-message {
|
2024-10-23 21:34:41 +00:00
|
|
|
font-weight: var( --font-weight-semi-bold );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&--error {
|
|
|
|
color: var( --color-destructive );
|
|
|
|
}
|
|
|
|
|
|
|
|
&--success {
|
|
|
|
color: var( --color-success );
|
|
|
|
}
|
|
|
|
|
|
|
|
// Sync with message box styles
|
|
|
|
&--block {
|
|
|
|
font-weight: var( --font-weight-normal );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&.sd-message--notice {
|
|
|
|
background-color: var( --color-surface-2 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-surface-2 );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.sd-message--error {
|
2024-07-01 03:50:21 +00:00
|
|
|
background-color: var( --background-color-destructive-subtle );
|
|
|
|
border-color: var( --background-color-destructive-subtle );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.sd-message--warning {
|
2024-07-01 03:50:21 +00:00
|
|
|
background-color: var( --background-color-warning-subtle );
|
|
|
|
border-color: var( --background-color-warning-subtle );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.sd-message--success {
|
2024-07-01 03:50:21 +00:00
|
|
|
background-color: var( --background-color-success-subtle );
|
|
|
|
border-color: var( --background-color-success-subtle );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Cancel out default Citizen margin
|
|
|
|
&__content p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Radio.less */
|
|
|
|
.sd-radio {
|
|
|
|
&__icon {
|
|
|
|
// Show background when hovered
|
|
|
|
background-color: transparent;
|
2024-04-19 19:14:18 +00:00
|
|
|
border-color: var( --border-color-interactive );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__input {
|
|
|
|
&:hover + .sd-radio__icon {
|
|
|
|
background-color: var( --color-surface-0 );
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive--hover );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active + .sd-radio__icon {
|
2024-06-30 05:04:30 +00:00
|
|
|
background-color: var( --color-progressive--active );
|
|
|
|
border-color: var( --color-progressive--active );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:checked + .sd-radio__icon {
|
2024-06-10 23:47:49 +00:00
|
|
|
background-color: var( --color-inverted-primary );
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
& + .sd-radio__icon {
|
|
|
|
background-color: var( --color-surface-4 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-surface-4 );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
& ~ .sd-radio__label-text {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:checked + .sd-radio__icon {
|
2024-06-10 23:47:49 +00:00
|
|
|
background-color: var( --color-inverted-fixed );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:checked:enabled {
|
|
|
|
&:focus + .sd-radio__icon {
|
2023-02-28 21:59:36 +00:00
|
|
|
&::before {
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive--active );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover + .sd-radio__icon {
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive--hover );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active + .sd-radio__icon {
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive--active );
|
2022-12-13 01:11:35 +00:00
|
|
|
box-shadow: none;
|
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
&::before {
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive--active );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Select.less */
|
|
|
|
.sd-select {
|
|
|
|
&__handle {
|
|
|
|
color: var( --color-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
2023-07-28 01:19:27 +00:00
|
|
|
font-family: var( --font-family-base ); // Browser overrides button font
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2022-12-13 01:11:35 +00:00
|
|
|
// Show background when hovered
|
|
|
|
background-color: transparent;
|
2024-04-19 19:14:18 +00:00
|
|
|
border-color: var( --border-color-interactive );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&:hover {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-1 );
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive--hover );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
.sd-select__handle {
|
|
|
|
color: var( --color-base );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background-color: var( --color-surface-1 );
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2024-07-01 00:41:31 +00:00
|
|
|
color: var( --color-emphasized );
|
2024-04-19 19:14:18 +00:00
|
|
|
border-color: var( --border-color-interactive );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--open {
|
|
|
|
.sd-select__content {
|
|
|
|
background-color: var( --color-surface-1 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.sd-select__handle {
|
|
|
|
color: var( --color-base );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--disabled {
|
|
|
|
.sd-select__content {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-4 );
|
|
|
|
border-color: var( --color-surface-4 );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.sd-select__handle {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border-color: var( --color-surface-4 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sd-select__handle {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* SelectMenu.less */
|
|
|
|
.sd-select-menu {
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-1 );
|
2024-04-19 19:14:18 +00:00
|
|
|
border-color: var( --border-color-interactive );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: 0 0 var( --border-radius-base ) var( --border-radius-base );
|
2024-07-25 01:53:51 +00:00
|
|
|
// box-shadow: var( --box-shadow-drop-xx-large );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&__list-item {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&--active {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-button-quiet--hover );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&--selected {
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-progressive-subtle );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&--active.sd-select-menu__list-item--selected {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Tabs.less */
|
|
|
|
.sd-tabs {
|
|
|
|
&__header {
|
|
|
|
// Use border instead of box-shadow to align with Citizen and Codex
|
2024-07-15 06:07:25 +00:00
|
|
|
border-bottom: var( --border-width-base ) solid var( --border-color-base );
|
2022-12-13 01:11:35 +00:00
|
|
|
box-shadow: none;
|
|
|
|
|
|
|
|
&--gradient {
|
2023-02-28 21:59:36 +00:00
|
|
|
&::after {
|
2022-12-13 01:11:35 +00:00
|
|
|
// TODO: Should really make this into a LESS variable or mixin since it is useful
|
|
|
|
background-image: linear-gradient( to right, rgba( 255, 255, 255, 0 ) 85%, var( --color-surface-0 ) 100% );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__tabs-list {
|
|
|
|
// Should show a scroll bar on pointer device so user can scroll the tabs
|
|
|
|
@media ( hover: hover ) {
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
display: block;
|
|
|
|
-webkit-appearance: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__item {
|
|
|
|
font-weight: var( --font-weight-medium );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&--current {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive );
|
|
|
|
box-shadow: inset 0 -2px var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive--hover );
|
|
|
|
box-shadow: inset 0 -2px var( --color-progressive--hover );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive--active );
|
|
|
|
box-shadow: inset 0 -2px var( --color-progressive--active );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&--disabled {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&--current,
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
.sd-tabs__tabs-list__item--current {
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2024-06-30 05:04:30 +00:00
|
|
|
box-shadow: inset 0 0 0 2px var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ImageResult.less */
|
|
|
|
// Sync with Citizen image styles
|
|
|
|
.sdms-image-result {
|
|
|
|
overflow: hidden; // needed for transition and rounded corners
|
|
|
|
// Keep original light background so that transparent images are more legible
|
|
|
|
// background-color: var( --color-surface-2 );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
box-shadow: none; // disable default style
|
|
|
|
|
|
|
|
img {
|
|
|
|
transform: scale( 1.1 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
2024-06-30 05:04:30 +00:00
|
|
|
outline: solid 2px var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
outline-offset: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
2023-07-07 21:02:27 +00:00
|
|
|
transition: var( --transition-hover );
|
|
|
|
transition-property: transform;
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* VideoResult.less */
|
|
|
|
.sdms-video-result {
|
|
|
|
overflow: hidden; // Hide transition overflow
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
border-color: transparent;
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&__title {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2022-12-13 01:11:35 +00:00
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__body {
|
2024-07-09 20:44:15 +00:00
|
|
|
z-index: @z-index-stacking-1;
|
2022-12-13 01:11:35 +00:00
|
|
|
padding: var( --space-sm ) 0 0 0;
|
|
|
|
// HACK: Hide thumbnail overflow
|
|
|
|
background-color: var( --color-surface-0 );
|
|
|
|
}
|
|
|
|
|
|
|
|
&__meta {
|
|
|
|
margin-top: var( --space-xxs );
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover &__title {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
box-shadow: none;
|
|
|
|
|
|
|
|
.sdms-video-result__thumbnail {
|
|
|
|
transform: scale( 1.1 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
2024-06-30 05:04:30 +00:00
|
|
|
outline: solid 2px var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
outline-offset: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__thumbnail {
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2023-07-07 21:02:27 +00:00
|
|
|
transition: var( --transition-hover );
|
|
|
|
transition-property: transform;
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__duration {
|
|
|
|
padding: var( --space-xxs ) var( --space-xs );
|
|
|
|
font-weight: var( --font-weight-medium );
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-base );
|
|
|
|
background-color: var( --color-surface-2 );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__mime {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* AudioResult.less */
|
|
|
|
.sdms-audio-result {
|
|
|
|
padding: var( --space-md ) 0;
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-bottom: 0;
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&__title + &__meta {
|
|
|
|
margin-top: var( --space-xxs );
|
|
|
|
}
|
|
|
|
|
|
|
|
&__meta {
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__duration {
|
|
|
|
padding: var( --space-xxs ) var( --space-xs );
|
|
|
|
font-weight: var( --font-weight-medium );
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-base );
|
|
|
|
background-color: var( --color-surface-2 );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__mime {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* PageResult.less */
|
|
|
|
.sdms-page-result {
|
|
|
|
padding: var( --space-md ) 0;
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-bottom: 0;
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
p {
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Sync with duration styles
|
|
|
|
&__namespace {
|
|
|
|
padding: var( --space-xxs ) var( --space-xs );
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small );
|
2022-12-13 01:11:35 +00:00
|
|
|
font-weight: var( --font-weight-medium );
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-base );
|
|
|
|
background-color: var( --color-surface-2 );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* OtherResult.less */
|
|
|
|
.sdms-other-result {
|
|
|
|
&__meta {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__extension {
|
2024-10-23 21:34:41 +00:00
|
|
|
font-weight: var( --font-weight-semi-bold );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* SearchResults.less */
|
|
|
|
.sdms-search-results {
|
|
|
|
&__details {
|
|
|
|
&--expanded {
|
|
|
|
top: var( --space-md );
|
|
|
|
height: ~'calc( 100vh - var( --space-md ) * 2 )';
|
|
|
|
background-color: var( --color-surface-2 );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-large );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
// Responsive handling
|
2023-11-16 22:55:23 +00:00
|
|
|
@media screen and ( max-width: @max-width-breakpoint-tablet ) {
|
2022-12-13 01:11:35 +00:00
|
|
|
position: fixed;
|
|
|
|
top: unset;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
max-height: 40vh;
|
|
|
|
padding-bottom: var( --header-size ); // So that header won't hide the bottom
|
|
|
|
border-bottom-right-radius: 0;
|
2023-07-28 01:19:27 +00:00
|
|
|
border-bottom-left-radius: 0;
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__details-dialog {
|
|
|
|
background-color: var( --color-surface-1 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.sdms-search-result--highlighted {
|
|
|
|
&.sdms-image-result,
|
|
|
|
&.sdms-video-result {
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__list-wrapper--collapsed {
|
|
|
|
// Responsive handling
|
2023-11-16 22:55:23 +00:00
|
|
|
@media screen and ( max-width: @max-width-breakpoint-tablet ) {
|
2022-12-13 01:11:35 +00:00
|
|
|
// Since the quickview card is a modal, we don't need the right margin anymore
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* QuickView.less */
|
|
|
|
.sdms-quick-view {
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&__body {
|
|
|
|
.sd-icon {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__cta {
|
2023-07-28 01:19:27 +00:00
|
|
|
font-weight: var( --font-weight-medium );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-2 );
|
2022-12-13 01:11:35 +00:00
|
|
|
border-color: var( --border-color-base );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&:hover {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive--hover );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-2--hover );
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive--hover );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive--active );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-2--active );
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive--active );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__button {
|
|
|
|
background-color: var( --color-surface-1 );
|
|
|
|
|
|
|
|
.sd-icon {
|
|
|
|
color: var( --color-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
.sd-icon {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Spinner.less */
|
|
|
|
.sdms-spinner {
|
|
|
|
& .sdms-spinner-bounce,
|
2023-02-28 21:59:36 +00:00
|
|
|
&::before,
|
|
|
|
&::after {
|
2024-06-30 05:04:30 +00:00
|
|
|
background-color: var( --color-subtle );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* EmptyState.less */
|
|
|
|
.sdms-empty-state {
|
2024-02-26 21:54:58 +00:00
|
|
|
font-size: var( --font-size-x-large );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* NoResults.less */
|
|
|
|
.sdms-no-results {
|
2024-02-26 21:54:58 +00:00
|
|
|
font-size: var( --font-size-x-large );
|
2024-10-23 21:34:41 +00:00
|
|
|
font-weight: var( --font-weight-semi-bold );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* EndOfResults.less */
|
|
|
|
.sdms-end-of-results {
|
2024-02-26 21:54:58 +00:00
|
|
|
font-size: var( --font-size-medium );
|
2024-10-23 21:34:41 +00:00
|
|
|
font-weight: var( --font-weight-semi-bold );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* SearchFilters.less */
|
|
|
|
.sdms-search-filters {
|
|
|
|
// Should show a scroll bar on pointer device so user can scroll the tabs
|
|
|
|
@media screen and ( hover: hover ) {
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
display: block;
|
|
|
|
-webkit-appearance: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sd-select {
|
|
|
|
&__content {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
2023-11-16 22:55:23 +00:00
|
|
|
@media screen and ( min-width: @min-width-breakpoint-tablet ) {
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-button-quiet--hover );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: transparent;
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: var( --color-surface-1 );
|
2024-04-19 19:14:18 +00:00
|
|
|
border-color: var( --border-color-interactive );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.sdms-search-filter--selected {
|
|
|
|
.sd-select__content {
|
2024-10-23 21:34:41 +00:00
|
|
|
font-weight: var( --font-weight-semi-bold );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
.sd-select__handle {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__namespace {
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
2023-11-16 22:55:23 +00:00
|
|
|
@media screen and ( min-width: @min-width-breakpoint-tablet ) {
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&--selected {
|
2024-10-23 21:34:41 +00:00
|
|
|
font-weight: var( --font-weight-semi-bold );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
|
|
|
|
&:hover {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-button-quiet--hover );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-progressive );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: var( --color-surface-1 );
|
2024-04-19 19:14:18 +00:00
|
|
|
border-color: var( --border-color-interactive );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sdms-search-results-count {
|
2023-11-16 22:55:23 +00:00
|
|
|
@media screen and ( min-width: @min-width-breakpoint-tablet ) {
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__clear {
|
|
|
|
&--no-js {
|
2023-11-16 22:55:23 +00:00
|
|
|
@media screen and ( min-width: @min-width-breakpoint-tablet ) {
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sdms-search-filters-wrapper--gradient {
|
2023-02-28 21:59:36 +00:00
|
|
|
&::after {
|
2022-12-13 01:11:35 +00:00
|
|
|
// TODO: Should really make this into a LESS variable or mixin since it is useful
|
|
|
|
background-image: linear-gradient( to right, rgba( 255, 255, 255, 0 ) 85%, var( --color-surface-0 ) 100% );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* DidYouMean.less */
|
|
|
|
.sdms-did-you-mean a {
|
2024-10-23 21:34:41 +00:00
|
|
|
font-weight: var( --font-weight-semi-bold );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* UserNotice.less */
|
|
|
|
.sdms-user-notice__title {
|
2024-10-23 21:34:41 +00:00
|
|
|
font-weight: var( --font-weight-semi-bold );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* SearchError.less */
|
|
|
|
.sdms-error {
|
2024-02-26 21:54:58 +00:00
|
|
|
font-size: var( --font-size-x-large );
|
2024-10-23 21:34:41 +00:00
|
|
|
font-weight: var( --font-weight-semi-bold );
|
2022-12-13 01:11:35 +00:00
|
|
|
}
|