2021-07-27 06:13:22 +00:00
|
|
|
/*
|
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for OOUI
|
|
|
|
* Module: oojs-ui-core.styles
|
2022-12-01 02:42:28 +00:00
|
|
|
* Version: v0.44.3
|
2021-07-27 06:13:22 +00:00
|
|
|
*
|
2023-06-24 16:48:56 +00:00
|
|
|
* Date: 2023-06-24
|
|
|
|
*/
|
|
|
|
|
|
|
|
@import '../../resources/variables.less';
|
2021-07-27 06:13:22 +00:00
|
|
|
|
2022-12-01 02:42:28 +00:00
|
|
|
.oo-ui-buttonElement > .oo-ui-buttonElement-button {
|
2022-12-02 03:03:42 +00:00
|
|
|
font-weight: var( --font-weight-medium );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-radius: var( --border-radius--small );
|
2022-12-01 02:42:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement.oo-ui-widget-enabled > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon:not( .oo-ui-image-invert ),
|
|
|
|
.oo-ui-buttonElement.oo-ui-widget-enabled > .oo-ui-buttonElement-button > .oo-ui-indicatorElement-indicator:not( .oo-ui-image-invert ) {
|
|
|
|
opacity: var( --opacity-icon-base );
|
|
|
|
}
|
|
|
|
|
2021-07-27 06:13:22 +00:00
|
|
|
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
|
|
|
|
color: var( --color-base--emphasized );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --background-color-quiet--hover );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
2022-12-01 02:42:28 +00:00
|
|
|
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:focus {
|
2021-07-27 06:13:22 +00:00
|
|
|
border-color: var( --color-primary );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-primary );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > input.oo-ui-buttonElement-button,
|
|
|
|
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active {
|
2022-12-01 02:42:28 +00:00
|
|
|
color: var( --color-base--subtle );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --background-color-quiet--active );
|
|
|
|
border-color: var( --background-color-quiet--active );
|
2022-12-01 02:42:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-indicatorElement:not( .oo-ui-iconElement ):not( .oo-ui-labelElement ) > .oo-ui-buttonElement-button:focus {
|
|
|
|
box-shadow: 0 0 0 2px var( --color-primary );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
|
|
|
|
color: var( --color-primary );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
|
|
|
|
color: var( --color-primary--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:active,
|
|
|
|
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
|
|
|
|
color: var( --color-primary--active );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary--active );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button {
|
|
|
|
color: var( --color-destructive );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover {
|
|
|
|
color: var( --color-destructive--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:active,
|
|
|
|
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
|
|
|
|
color: var( --color-destructive--active );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-destructive--active );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon,
|
|
|
|
.oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button > .oo-ui-indicatorElement-indicator {
|
|
|
|
opacity: var( --opacity-base--disabled );
|
|
|
|
}
|
|
|
|
|
2022-12-01 02:42:28 +00:00
|
|
|
.oo-ui-buttonElement-framed > .oo-ui-buttonElement-button {
|
|
|
|
border-radius: var( --border-radius--small );
|
|
|
|
}
|
|
|
|
|
2021-07-27 06:13:22 +00:00
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
|
|
|
|
color: var( --color-base--subtle );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-4 );
|
|
|
|
border-color: var( --color-surface-4 );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-disabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button {
|
|
|
|
background-color: var( --color-surface-4 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
|
|
|
|
color: var( --color-base--emphasized );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
border-color: var( --border-color-base );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
|
2022-12-01 02:42:28 +00:00
|
|
|
color: var( --color-base--emphasized );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-2--hover );
|
|
|
|
border-color: var( --border-color-base );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover > .oo-ui-iconElement-icon:not( .oo-ui-image-invert ),
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover > .oo-ui-indicatorElement-indicator:not( .oo-ui-image-invert ) {
|
|
|
|
opacity: var( --opacity-icon-base--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:focus {
|
|
|
|
border-color: var( --color-primary );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-primary );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button {
|
|
|
|
background-color: var( --color-primary--active );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary--active );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button:focus {
|
|
|
|
border-color: var( --color-primary );
|
2024-06-10 23:47:49 +00:00
|
|
|
box-shadow: inset 0 0 0 1px var( --color-primary ), inset 0 0 0 2px var( --color-inverted-primary );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
2022-12-01 02:42:28 +00:00
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active,
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
|
|
|
|
color: var( --color-base--subtle );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-2--active );
|
|
|
|
border-color: var( --color-surface-2--active );
|
2022-12-01 02:42:28 +00:00
|
|
|
}
|
|
|
|
|
2021-07-27 06:13:22 +00:00
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
|
|
|
|
color: var( --color-primary );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
|
|
|
|
background-color: var( --color-surface-2--hover );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary--hover );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
2022-12-01 02:42:28 +00:00
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:focus {
|
|
|
|
border-color: var( --color-primary );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-primary );
|
|
|
|
}
|
|
|
|
|
2021-07-27 06:13:22 +00:00
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:active,
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button,
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-active > .oo-ui-buttonElement-button,
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive.oo-ui-popupToolGroup-active > .oo-ui-buttonElement-button {
|
|
|
|
color: var( --color-primary--active );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-2--active );
|
|
|
|
border-color: var( --color-primary--active );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button {
|
|
|
|
color: var( --color-destructive );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover {
|
|
|
|
background-color: var( --color-surface-2--hover );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-destructive--hover );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
2022-12-01 02:42:28 +00:00
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:focus {
|
|
|
|
border-color: var( --color-destructive );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-destructive );
|
|
|
|
}
|
|
|
|
|
2021-07-27 06:13:22 +00:00
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:active,
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button,
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive.oo-ui-buttonElement-active > .oo-ui-buttonElement-button,
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive.oo-ui-popupToolGroup-active > .oo-ui-buttonElement-button {
|
|
|
|
color: var( --color-destructive--active );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-2--active );
|
|
|
|
border-color: var( --color-destructive--active );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
|
2024-06-11 03:10:54 +00:00
|
|
|
color: var( --color-inverted-primary );
|
2021-07-27 06:13:22 +00:00
|
|
|
background-color: var( --color-primary );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
|
|
|
|
background-color: var( --color-primary--hover );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary--hover );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
2022-12-01 02:42:28 +00:00
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:focus {
|
|
|
|
border-color: var( --color-primary );
|
2024-06-10 23:47:49 +00:00
|
|
|
box-shadow: inset 0 0 0 1px var( --color-primary ), inset 0 0 0 2px var( --color-inverted-primary );
|
2022-12-01 02:42:28 +00:00
|
|
|
}
|
|
|
|
|
2021-07-27 06:13:22 +00:00
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:active,
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button,
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-active > .oo-ui-buttonElement-button,
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-popupToolGroup-active > .oo-ui-buttonElement-button {
|
|
|
|
background-color: var( --color-primary--active );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary--active );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button {
|
|
|
|
background-color: var( --color-destructive );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-destructive );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover {
|
|
|
|
background-color: var( --color-destructive--hover );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-destructive--hover );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
2022-12-01 02:42:28 +00:00
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button: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-primary );
|
2022-12-01 02:42:28 +00:00
|
|
|
}
|
|
|
|
|
2021-07-27 06:13:22 +00:00
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:active,
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button,
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive.oo-ui-buttonElement-active > .oo-ui-buttonElement-button,
|
|
|
|
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive.oo-ui-popupToolGroup-active > .oo-ui-buttonElement-button {
|
|
|
|
background-color: var( --color-destructive--active );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-destructive--active );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
2022-12-01 02:42:28 +00:00
|
|
|
.oo-ui-labelElement .oo-ui-labelElement-label-highlight {
|
|
|
|
font-weight: var( --font-weight-semibold );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-pendingElement-pending {
|
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
background-image: -webkit-linear-gradient( 135deg, var( --color-surface-1 ) 25%, transparent 25%, transparent 50%, var( --color-surface-1 ) 50%, var( --color-surface-1 ) 75%, transparent 75%, transparent );
|
|
|
|
background-image: -moz-linear-gradient( 135deg, var( --color-surface-1 ) 25%, transparent 25%, transparent 50%, var( --color-surface-1 ) 50%, var( --color-surface-1 ) 75%, transparent 75%, transparent );
|
|
|
|
background-image: linear-gradient( 135deg, var( --color-surface-1 ) 25%, transparent 25%, transparent 50%, var( --color-surface-1 ) 50%, var( --color-surface-1 ) 75%, transparent 75%, transparent );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-fieldLayout-disabled > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header > .oo-ui-labelElement-label {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
|
2022-12-01 02:42:28 +00:00
|
|
|
.oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget.oo-ui-textInputWidget > .oo-ui-inputWidget-input,
|
|
|
|
.oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget .oo-ui-dropdownWidget-handle,
|
|
|
|
.oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget .oo-ui-tagMultiselectWidget-handle {
|
|
|
|
border-radius: var( --border-radius--small ) 0 0 var( --border-radius--small );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-button .oo-ui-buttonElement-framed > .oo-ui-buttonElement-button {
|
|
|
|
border-radius: 0 var( --border-radius--small ) var( --border-radius--small ) 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-fieldsetLayout.oo-ui-labelElement > .oo-ui-fieldsetLayout-header > .oo-ui-labelElement-label {
|
|
|
|
font-weight: var( --font-weight-semibold );
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-base--emphasized );
|
2022-12-01 02:42:28 +00:00
|
|
|
letter-spacing: 0; // reset legend style in Citizen core
|
|
|
|
}
|
|
|
|
|
2021-07-27 06:13:22 +00:00
|
|
|
.oo-ui-panelLayout-framed {
|
|
|
|
border-color: var( --border-color-base );
|
2022-12-01 02:42:28 +00:00
|
|
|
border-radius: var( --border-radius--small );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-optionWidget.oo-ui-widget-disabled {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
|
2022-12-01 02:42:28 +00:00
|
|
|
.oo-ui-decoratedOptionWidget.oo-ui-widget-enabled:hover .oo-ui-iconElement-icon,
|
|
|
|
.oo-ui-decoratedOptionWidget.oo-ui-widget-enabled:hover .oo-ui-indicatorElement-indicator {
|
|
|
|
opacity: var( --opacity-icon-hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-decoratedOptionWidget.oo-ui-widget-enabled .oo-ui-iconElement-icon,
|
|
|
|
.oo-ui-decoratedOptionWidget.oo-ui-widget-enabled .oo-ui-indicatorElement-indicator {
|
|
|
|
opacity: var( --opacity-icon-base );
|
|
|
|
}
|
|
|
|
|
2021-07-27 06:13:22 +00:00
|
|
|
.oo-ui-decoratedOptionWidget.oo-ui-widget-disabled .oo-ui-iconElement-icon,
|
|
|
|
.oo-ui-decoratedOptionWidget.oo-ui-widget-disabled .oo-ui-indicatorElement-indicator {
|
|
|
|
opacity: var( --opacity-base--disabled );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-labelWidget.oo-ui-inline-help {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
|
2022-12-01 02:42:28 +00:00
|
|
|
.oo-ui-messageWidget {
|
|
|
|
font-weight: var( --font-weight-semibold );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-radius: var( --border-radius--medium );
|
2022-12-01 02:42:28 +00:00
|
|
|
}
|
|
|
|
|
2021-07-27 06:13:22 +00:00
|
|
|
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-error {
|
|
|
|
background-color: var( --background-color-destructive );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: transparent;
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-warning {
|
|
|
|
background-color: var( --background-color-warning );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: transparent;
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-success {
|
|
|
|
background-color: var( --background-color-success );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: transparent;
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-notice {
|
2022-12-01 02:42:28 +00:00
|
|
|
background-color: var( --color-surface-2 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: transparent;
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-messageWidget.oo-ui-flaggedElement-error:not( .oo-ui-messageWidget-block ) {
|
2023-06-01 22:47:40 +00:00
|
|
|
color: var( --color-text-error );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-messageWidget.oo-ui-flaggedElement-success:not( .oo-ui-messageWidget-block ) {
|
2023-06-01 22:47:40 +00:00
|
|
|
color: var( --color-text-warning );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-iconWidget.oo-ui-widget-disabled {
|
|
|
|
opacity: var( --opacity-base--disabled );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-indicatorWidget.oo-ui-widget-disabled {
|
|
|
|
opacity: var( --opacity-base--disabled );
|
|
|
|
}
|
|
|
|
|
2022-12-01 02:42:28 +00:00
|
|
|
.oo-ui-buttonGroupWidget {
|
|
|
|
border-radius: var( --border-radius--small );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonGroupWidget .oo-ui-buttonElement-framed:first-child .oo-ui-buttonElement-button {
|
|
|
|
border-top-left-radius: var( --border-radius--small );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-bottom-left-radius: var( --border-radius--small );
|
2022-12-01 02:42:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonGroupWidget .oo-ui-buttonElement-framed:last-child .oo-ui-buttonElement-button {
|
|
|
|
border-top-right-radius: var( --border-radius--small );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-bottom-right-radius: var( --border-radius--small );
|
2022-12-01 02:42:28 +00:00
|
|
|
}
|
|
|
|
|
2021-07-27 06:13:22 +00:00
|
|
|
.oo-ui-buttonGroupWidget .oo-ui-buttonElement-framed.oo-ui-widget-disabled + .oo-ui-widget-disabled > .oo-ui-buttonElement-button {
|
2022-12-01 02:42:28 +00:00
|
|
|
border-left-color: var( --border-color-base );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonGroupWidget.oo-ui-widget-enabled .oo-ui-buttonElement.oo-ui-toggleWidget-on + .oo-ui-toggleWidget-on > .oo-ui-buttonElement-button,
|
|
|
|
.oo-ui-buttonGroupWidget.oo-ui-widget-enabled .oo-ui-buttonElement.oo-ui-toggleWidget-on + .oo-ui-toggleWidget-on > .oo-ui-buttonElement-button:active {
|
|
|
|
border-left-color: var( --border-color-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-popupWidget-popup {
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-1 );
|
2023-03-01 20:02:34 +00:00
|
|
|
border-color: var( --border-color-base );
|
2022-05-03 02:09:43 +00:00
|
|
|
border-radius: var( --border-radius--medium );
|
|
|
|
box-shadow: var( --box-shadow-dialog );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
2022-12-01 02:42:28 +00:00
|
|
|
/*
|
|
|
|
TODO: Need to refactor the current shadow for filter drop-shadow, see variables.less
|
|
|
|
@supports ( filter: drop-shadow( 0 0 0 ) ) {
|
|
|
|
.oo-ui-popupWidget {
|
|
|
|
filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.3));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::before {
|
2021-07-27 06:13:22 +00:00
|
|
|
border-bottom-color: var( --border-color-base );
|
|
|
|
}
|
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::after {
|
2021-07-27 06:13:22 +00:00
|
|
|
border-bottom-color: var( --color-surface-1 );
|
|
|
|
}
|
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
.oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor::before {
|
2021-07-27 06:13:22 +00:00
|
|
|
border-top-color: var( --border-color-base );
|
|
|
|
}
|
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
.oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor::after {
|
2021-07-27 06:13:22 +00:00
|
|
|
border-top-color: var( --color-surface-1 );
|
|
|
|
}
|
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
.oo-ui-popupWidget-anchored-start .oo-ui-popupWidget-anchor::before {
|
2021-07-27 06:13:22 +00:00
|
|
|
border-right-color: var( --border-color-base );
|
|
|
|
}
|
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
.oo-ui-popupWidget-anchored-start .oo-ui-popupWidget-anchor::after {
|
2021-07-27 06:13:22 +00:00
|
|
|
border-right-color: var( --color-surface-1 );
|
|
|
|
}
|
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
.oo-ui-popupWidget-anchored-end .oo-ui-popupWidget-anchor::before {
|
2021-07-27 06:13:22 +00:00
|
|
|
border-left-color: var( --border-color-base );
|
|
|
|
}
|
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
.oo-ui-popupWidget-anchored-end .oo-ui-popupWidget-anchor::after {
|
2021-07-27 06:13:22 +00:00
|
|
|
border-left-color: var( --color-surface-1 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-checkboxInputWidget [ type='checkbox' ] + span {
|
2022-12-01 02:42:28 +00:00
|
|
|
// Show background when hovered
|
|
|
|
background-color: transparent;
|
2024-04-19 19:14:18 +00:00
|
|
|
border-color: var( --border-color-interactive );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-checkboxInputWidget [ type='checkbox' ]:disabled + span {
|
|
|
|
background-color: var( --color-surface-4 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-surface-4 );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [ type='checkbox' ]:focus + span {
|
2022-12-01 02:42:28 +00:00
|
|
|
background-color: var( --color-surface-0 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary );
|
2021-07-27 06:13:22 +00:00
|
|
|
box-shadow: inset 0 0 0 1px var( --color-primary );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [ type='checkbox' ]:hover + span {
|
2022-12-01 02:42:28 +00:00
|
|
|
background-color: var( --color-surface-0 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary--hover );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [ type='checkbox' ]:active + span {
|
|
|
|
background-color: var( --color-primary--active );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary--active );
|
2021-07-27 06:13:22 +00:00
|
|
|
box-shadow: inset 0 0 0 1px var( --color-primary--active );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [ type='checkbox' ]:checked + span,
|
|
|
|
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [ type='checkbox' ]:indeterminate + span {
|
|
|
|
background-color: var( --color-primary );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [ type='checkbox' ]:checked:focus + span,
|
|
|
|
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [ type='checkbox' ]:indeterminate:focus + span {
|
|
|
|
background-color: var( --color-primary );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary );
|
2024-06-10 23:47:49 +00:00
|
|
|
box-shadow: inset 0 0 0 1px var( --color-primary ), inset 0 0 0 2px var( --color-inverted-primary );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [ type='checkbox' ]:checked:hover + span,
|
|
|
|
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [ type='checkbox' ]:indeterminate:hover + span {
|
|
|
|
background-color: var( --color-primary--hover );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary--hover );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [ type='checkbox' ]:checked:active + span,
|
|
|
|
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [ type='checkbox' ]:indeterminate:active + span {
|
|
|
|
background-color: var( --color-primary--active );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary--active );
|
2021-07-27 06:13:22 +00:00
|
|
|
box-shadow: inset 0 0 0 1px var( --color-primary--active );
|
|
|
|
}
|
|
|
|
|
2022-12-01 02:42:28 +00:00
|
|
|
.oo-ui-dropdownInputWidget select {
|
2024-04-19 19:14:18 +00:00
|
|
|
border-color: var( --border-color-interactive );
|
2022-12-01 02:42:28 +00:00
|
|
|
border-radius: var( --border-radius--small );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled {
|
|
|
|
// Show background when hovered
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
2021-07-27 06:13:22 +00:00
|
|
|
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled:hover {
|
2022-12-01 02:42:28 +00:00
|
|
|
background-color: var( --color-surface-0 );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled select {
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:hover {
|
|
|
|
color: var( --color-base );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary--hover );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:active {
|
|
|
|
color: var( --color-base--emphasized );
|
2024-04-19 19:14:18 +00:00
|
|
|
border-color: var( --border-color-interactive );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:focus {
|
|
|
|
border-color: var( --color-primary );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-primary );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-dropdownInputWidget.oo-ui-widget-disabled {
|
2022-12-01 02:42:28 +00:00
|
|
|
background-color: var( --color-surface-4 );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-dropdownInputWidget.oo-ui-widget-disabled select {
|
|
|
|
color: var( --color-base--subtle );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-surface-4 );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-radioInputWidget [ type='radio' ] + span {
|
2022-12-01 02:42:28 +00:00
|
|
|
// Show background when hovered
|
|
|
|
background-color: transparent;
|
2024-04-19 19:14:18 +00:00
|
|
|
border-color: var( --border-color-interactive );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-radioInputWidget [ type='radio' ]:disabled + span {
|
|
|
|
background-color: var( --color-surface-4 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-surface-4 );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-radioInputWidget.oo-ui-widget-enabled [ type='radio' ]:hover + span {
|
2022-12-01 02:42:28 +00:00
|
|
|
background-color: var( --color-surface-0 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary--hover );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-radioInputWidget.oo-ui-widget-enabled [ type='radio' ]:active + span {
|
|
|
|
background-color: var( --color-primary--active );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary--active );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-radioInputWidget.oo-ui-widget-enabled [ type='radio' ]:checked + span {
|
2024-06-10 23:47:49 +00:00
|
|
|
background-color: var( --color-inverted-primary );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-radioInputWidget.oo-ui-widget-enabled [ type='radio' ]:checked:hover + span {
|
|
|
|
border-color: var( --color-primary--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-radioInputWidget.oo-ui-widget-enabled [ type='radio' ]:checked:active + span {
|
|
|
|
border-color: var( --color-primary--active );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-primary--active );
|
|
|
|
}
|
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
.oo-ui-radioInputWidget.oo-ui-widget-enabled [ type='radio' ]:checked:active + span::before {
|
2021-07-27 06:13:22 +00:00
|
|
|
border-color: var( --color-primary--active );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-textInputWidget .oo-ui-inputWidget-input {
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-base--emphasized );
|
2022-12-01 02:42:28 +00:00
|
|
|
// Show background when hovered
|
|
|
|
background-color: transparent;
|
2024-04-19 19:14:18 +00:00
|
|
|
border-color: var( --border-color-interactive );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-radius: var( --border-radius--small );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-textInputWidget .oo-ui-pendingElement-pending {
|
2022-12-01 02:42:28 +00:00
|
|
|
background-color: var( --color-surface-3 );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-textInputWidget > .oo-ui-labelElement-label {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input::placeholder {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:focus {
|
|
|
|
border-color: var( --color-primary );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-primary );
|
|
|
|
}
|
|
|
|
|
2022-12-01 02:42:28 +00:00
|
|
|
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input[ readonly ]:not( .oo-ui-pendingElement-pending ) {
|
2021-07-27 06:13:22 +00:00
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-textInputWidget.oo-ui-widget-enabled:hover .oo-ui-inputWidget-input {
|
2022-12-01 02:42:28 +00:00
|
|
|
background-color: var( --color-surface-0 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary--hover );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-textInputWidget.oo-ui-widget-enabled:hover .oo-ui-inputWidget-input:focus {
|
|
|
|
border-color: var( --color-primary );
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and ( min-width: 0 ) {
|
|
|
|
.oo-ui-textInputWidget.oo-ui-widget-enabled textarea.oo-ui-inputWidget-input:focus {
|
|
|
|
outline: 1px solid var( --color-primary );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-textInputWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-invalid textarea.oo-ui-inputWidget-input:focus {
|
|
|
|
outline-color: var( --color-destructive );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-textInputWidget.oo-ui-widget-enabled > .oo-ui-iconElement-icon {
|
|
|
|
opacity: var( --opacity-icon-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-textInputWidget.oo-ui-widget-enabled > .oo-ui-indicatorElement-indicator {
|
|
|
|
opacity: var( --opacity-icon-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-textInputWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-invalid .oo-ui-inputWidget-input {
|
|
|
|
border-color: var( --color-destructive );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-textInputWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-invalid .oo-ui-inputWidget-input:hover {
|
|
|
|
border-color: var( --color-destructive );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-textInputWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-invalid .oo-ui-inputWidget-input:focus {
|
|
|
|
border-color: var( --color-destructive );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-destructive );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-textInputWidget.oo-ui-widget-disabled .oo-ui-inputWidget-input {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
text-shadow: none;
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-4 );
|
2024-04-19 19:14:18 +00:00
|
|
|
border-color: var( --border-color-interactive );
|
2023-07-28 01:19:27 +00:00
|
|
|
-webkit-text-fill-color: var( --color-base--subtle );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-textInputWidget.oo-ui-widget-disabled > .oo-ui-iconElement-icon,
|
|
|
|
.oo-ui-textInputWidget.oo-ui-widget-disabled > .oo-ui-indicatorElement-indicator {
|
|
|
|
opacity: var( --opacity-base--disabled );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-textInputWidget.oo-ui-widget-disabled > .oo-ui-labelElement-label {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-menuSelectWidget {
|
2023-06-24 16:49:46 +00:00
|
|
|
z-index: @z-index-overlay;
|
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 );
|
2022-12-01 02:42:28 +00:00
|
|
|
border-radius: 0 0 var( --border-radius--small ) var( --border-radius--small );
|
|
|
|
box-shadow: var( --box-shadow-dialog );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
|
|
|
|
color: var( --color-base--emphasized );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --background-color-quiet--hover );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
|
|
|
|
color: var( --color-primary );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --background-color-primary--hover );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted,
|
|
|
|
.oo-ui-menuOptionWidget.oo-ui-optionWidget-pressed.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
|
|
|
|
color: var( --color-primary );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --background-color-primary--active );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget {
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-menuSectionOptionWidget {
|
2022-12-02 03:03:42 +00:00
|
|
|
font-weight: var( --font-weight-medium );
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-base--subtle );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-dropdownWidget-handle {
|
2024-04-19 19:14:18 +00:00
|
|
|
border-color: var( --border-color-interactive );
|
2022-12-01 02:42:28 +00:00
|
|
|
border-radius: var( --border-radius--small );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle {
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-base--emphasized );
|
2022-12-01 02:42:28 +00:00
|
|
|
// Show background when hovered
|
|
|
|
background-color: transparent;
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover {
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-base--emphasized );
|
2022-12-01 02:42:28 +00:00
|
|
|
// Sync with oo-ui-menuSelectWidget
|
|
|
|
background-color: var( --color-surface-1 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary--hover );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover .oo-ui-iconElement-icon,
|
|
|
|
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover .oo-ui-indicatorElement-indicator {
|
|
|
|
opacity: var( --opacity-icon-base--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:active {
|
|
|
|
color: var( --color-base--emphasized );
|
2024-04-19 19:14:18 +00:00
|
|
|
border-color: var( --border-color-interactive );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:focus {
|
|
|
|
border-color: var( --color-primary );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-primary );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle .oo-ui-iconElement-icon,
|
|
|
|
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle .oo-ui-indicatorElement-indicator {
|
|
|
|
opacity: var( --opacity-icon-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle {
|
2022-12-01 02:42:28 +00:00
|
|
|
// Sync with oo-ui-menuSelectWidget
|
|
|
|
background-color: var( --color-surface-1 );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
text-shadow: none;
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-4 );
|
|
|
|
border-color: var( --color-surface-4 );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle .oo-ui-indicatorElement-indicator {
|
|
|
|
opacity: var( --opacity-base--disabled );
|
|
|
|
}
|
|
|
|
|
2022-12-01 02:42:28 +00:00
|
|
|
.oo-ui-comboBoxInputWidget.oo-ui-comboBoxInputWidget-empty .oo-ui-inputWidget-input,
|
|
|
|
.oo-ui-comboBoxInputWidget-php .oo-ui-inputWidget-input {
|
|
|
|
border-top-right-radius: var( --border-radius--small );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-bottom-right-radius: var( --border-radius--small );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
2022-12-01 02:42:28 +00:00
|
|
|
.oo-ui-comboBoxInputWidget-open .oo-ui-comboBoxInputWidget-dropdownButton > .oo-ui-buttonElement-button {
|
|
|
|
// Sync with oo-ui-menuSelectWidget
|
|
|
|
background-color: var( --color-surface-1 );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-comboBoxInputWidget.oo-ui-widget-disabled .oo-ui-indicatorElement-indicator {
|
|
|
|
opacity: var( --opacity-base--disabled );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-multioptionWidget.oo-ui-widget-disabled {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-progressBarWidget {
|
|
|
|
border-color: var( --border-color-base );
|
2022-12-01 02:42:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-progressBarWidget:not( .oo-ui-pendingElement-pending ) {
|
2021-07-27 06:13:22 +00:00
|
|
|
background-color: var( --color-surface-1 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-progressBarWidget.oo-ui-widget-enabled .oo-ui-progressBarWidget-bar {
|
|
|
|
background-color: var( --color-primary );
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-progressBarWidget.oo-ui-widget-disabled .oo-ui-progressBarWidget-bar {
|
|
|
|
background-color: var( --color-surface-4 );
|
|
|
|
}
|
|
|
|
|
|
|
|
// Invert icon for dark mode
|
2023-07-10 20:56:56 +00:00
|
|
|
.oo-ui-iconElement-icon:not( .oo-ui-image-invert ),
|
|
|
|
.oo-ui-indicatorElement-indicator:not( .oo-ui-image-invert ) {
|
|
|
|
filter: var( --filter-invert );
|
2021-07-27 06:13:22 +00:00
|
|
|
}
|
2022-12-01 02:42:28 +00:00
|
|
|
|
|
|
|
// Reset style if light mode
|
|
|
|
@media ( forced-colors: active ) and ( prefers-color-scheme: dark ) {
|
2024-04-25 00:48:43 +00:00
|
|
|
.skin-theme-clientpref-light {
|
2022-12-01 02:42:28 +00:00
|
|
|
.oo-ui-iconElement-icon:not( .oo-ui-image-invert ),
|
|
|
|
.oo-ui-indicatorElement-indicator:not( .oo-ui-image-invert ) {
|
|
|
|
filter: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|