diff --git a/skinStyles/oojs/oojs-ui-toolbars.less b/skinStyles/oojs/oojs-ui-toolbars.less index 95f47134..47a5b2ea 100644 --- a/skinStyles/oojs/oojs-ui-toolbars.less +++ b/skinStyles/oojs/oojs-ui-toolbars.less @@ -7,259 +7,418 @@ @import '../../resources/mixins.less'; /*! - * OOUI v0.26.4 + * Based on OOUI v0.39.3 * https://www.mediawiki.org/wiki/OOUI * - * Copyright 2011–2018 OOUI Team and other contributors. + * Copyright 2011–2020 OOUI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2018-04-17T22:24:02Z + * Date: 2020-07-10T06:32:25Z */ +.oo-ui-tool.oo-ui-widget-enabled .oo-ui-tool-link:focus { + box-shadow: inset 0 0 0 1px var( --color-primary ); + outline: 1px solid var( --color-primary ); +} + +.oo-ui-tool.oo-ui-widget-enabled .oo-ui-iconElement-icon { + opacity: var( --opacity-icon-base ); +} + +.oo-ui-tool.oo-ui-widget-enabled:hover .oo-ui-iconElement-icon { + opacity: var( --opacity-icon-base--active ); +} + +.oo-ui-tool.oo-ui-widget-enabled[ class*='oo-ui-flaggedElement' ] .oo-ui-iconElement-icon { + opacity: var( --opacity-icon-base--active ); +} + +.oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:hover { + background-color: var( --background-color-quiet--hover ); +} + +.oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:active, +.oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:active:focus, +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active > .oo-ui-tool-link, +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-popupToolGroup-active > .oo-ui-tool-link { + background-color: var( --background-color-primary--hover ); + color: var( --color-base--emphasized ); +} + +.oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:focus { + box-shadow: inset 0 0 0 1px var( --color-primary ); + outline: 1px solid var( --color-primary ); +} + +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-tool-link { + color: var( --color-primary ); +} + +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-tool-link:hover { + background-color: var( --background-color-quiet--hover ); +} + +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-tool-link:active, +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-tool-link:active:focus, +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive.oo-ui-tool-active > .oo-ui-tool-link, +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive.oo-ui-popupToolGroup-active > .oo-ui-tool-link { + background-color: var( --background-color-primary--hover ); + color: var( --color-base--emphasized ); +} + +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-tool-link:focus { + box-shadow: inset 0 0 0 1px var( --color-primary ); + outline: 1px solid var( --color-primary ); +} + +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-tool-link { + color: var( --color-destructive ); +} + +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-tool-link:hover { + background-color: var( --background-color-quiet--hover ); +} + +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-tool-link:active, +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-tool-link:active:focus, +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive.oo-ui-tool-active > .oo-ui-tool-link, +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive.oo-ui-popupToolGroup-active > .oo-ui-tool-link { + background-color: var( --background-color-quiet--active ); + color: var( --color-base--emphasized ); +} + +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-tool-link:focus { + box-shadow: inset 0 0 0 1px var( --color-destructive ); + outline: 1px solid var( --color-destructive ); +} + +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link { + background-color: var( --color-primary ); +} + +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link:hover { + background-color: var( --color-primary--hover ); +} + +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link:active, +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link:active:focus, +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-tool-active > .oo-ui-tool-link { + background-color: var( --color-primary--active ); +} + +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link:focus { + box-shadow: inset 0 0 0 1px var( --color-primary ), inset 0 0 0 2px #fff; + outline: 1px solid var( --color-primary ); +} + +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-widget-disabled > .oo-ui-tool-link, +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-widget-disabled > .oo-ui-tool-link:active, +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-widget-disabled > .oo-ui-tool-link:active:focus { + background-color: var( --background-color-framed-active ); + color: var( --color-base--subtle ); +} + +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-tool-link { + background-color: var( --color-destructive ); +} + +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-tool-link:hover { + background-color: var( --color-destructive--hover ); +} + +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-tool-link:active, +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-tool-link:active:focus, +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive.oo-ui-tool-active > .oo-ui-tool-link { + background-color: var( --color-destructive--active ); +} + +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-tool-link:focus { + box-shadow: inset 0 0 0 1px var( --color-destructive ), inset 0 0 0 2px var( --color-destructive ); + outline: 1px solid var( --color-destructive ); +} + +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive.oo-ui-widget-disabled > .oo-ui-tool-link, +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive.oo-ui-widget-disabled > .oo-ui-tool-link:active, +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive.oo-ui-widget-disabled > .oo-ui-tool-link:active:focus { + background-color: var( --background-color-quiet--active ); + color: var( --color-base--emphasized ); +} + +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary > .oo-ui-tool-link > .oo-ui-iconElement-icon, +.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary > .oo-ui-tool-link > .oo-ui-indicatorElement-indicator { + opacity: var( --opacity-icon-base--active ); +} + +.oo-ui-toolGroup.oo-ui-widget-disabled:not( .oo-ui-flaggedElement-primary ) .oo-ui-indicatorElement-indicator, +.oo-ui-toolGroup.oo-ui-widget-disabled:not( .oo-ui-flaggedElement-primary ) .oo-ui-iconElement-icon { + opacity: var( --opacity-base--disabled ) !important; +} + +.oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools .oo-ui-tool.oo-ui-widget-disabled .oo-ui-iconElement-icon, +.oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool .oo-ui-iconElement-icon { + opacity: var( --opacity-base--disabled ); +} + +.oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools .oo-ui-tool.oo-ui-widget-disabled.oo-ui-flaggedElement-primary > .oo-ui-tool-link, +.oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool.oo-ui-flaggedElement-primary > .oo-ui-tool-link { + border-color: var( --background-color-quiet--active ); + background-color: var( --background-color-quiet--active ); +} + +.oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools .oo-ui-tool.oo-ui-widget-disabled.oo-ui-flaggedElement-primary > .oo-ui-tool-link .oo-ui-tool-title, +.oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool.oo-ui-flaggedElement-primary > .oo-ui-tool-link .oo-ui-tool-title { + color: var( --color-base--subtle ); +} + +.oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools .oo-ui-tool.oo-ui-widget-disabled.oo-ui-flaggedElement-primary.oo-ui-tool-active > .oo-ui-tool-link, +.oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool.oo-ui-flaggedElement-primary.oo-ui-tool-active > .oo-ui-tool-link { + background-color: var( --background-color-quiet--hover ); +} + +.oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools .oo-ui-tool.oo-ui-widget-disabled.oo-ui-flaggedElement-primary .oo-ui-iconElement-icon, +.oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool.oo-ui-flaggedElement-primary .oo-ui-iconElement-icon { + opacity: var( --opacity-icon-base--active ); +} + +.oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools .oo-ui-tool.oo-ui-widget-disabled > .oo-ui-tool-link .oo-ui-tool-title, +.oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool > .oo-ui-tool-link .oo-ui-tool-title { + color: var( --color-base--subtle ); +} + +.oo-ui-popupToolGroup:not( .oo-ui-labelElement ):not( .oo-ui-iconElement ) .oo-ui-indicatorElement-indicator { + opacity: var( --opacity-icon-base--active ); +} + +.oo-ui-popupToolGroup-header { + color: var( --color-base--subtle ); +} + +.oo-ui-popupToolGroup-tools { + border: 1px solid var( --border-color-base--lighter ); + background-color: var( --background-color-dp-08 ); +} + +.oo-ui-popupToolGroup-tools .oo-ui-tool-link .oo-ui-tool-accel { + color: var( --color-base--subtle ); +} + +.oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover { + background-color: var( --background-color-quiet--hover ); +} + +.oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:active { + background-color: var( --background-color-quiet--active ); +} + +.oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon, +.oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle .oo-ui-indicatorElement-indicator { + opacity: var( --opacity-icon-base ); +} + +.oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover .oo-ui-iconElement-icon, +.oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:active .oo-ui-iconElement-icon, +.oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover .oo-ui-indicatorElement-indicator, +.oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:active .oo-ui-indicatorElement-indicator { + opacity: var( --opacity-icon-base--active ); +} + +.oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:focus { + box-shadow: inset 0 0 0 1px var( --color-primary ); + outline: 1px solid var( --color-primary ); +} + +.oo-ui-popupToolGroup.oo-ui-widget-enabled[ class*='oo-ui-flaggedElement' ] > .oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon, +.oo-ui-popupToolGroup.oo-ui-widget-enabled[ class*='oo-ui-flaggedElement' ] > .oo-ui-popupToolGroup-handle:hover .oo-ui-iconElement-icon { + opacity: var( --opacity-icon-base--active ); +} + +.oo-ui-toolbar-actions .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover { + border-right-color: var( --background-color-quiet--hover ); +} + +.oo-ui-toolbar-actions .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:active { + border-right-color: var( --background-color-quiet--active ); +} + +.oo-ui-toolbar-actions .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:focus { + border-right-color: var( --color-primary ); +} + +.oo-ui-popupToolGroup.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle { + background-color: var( --background-color-framed ); + color: var( --color-primary ); +} + +.oo-ui-popupToolGroup.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle:hover { + background-color: var( --color-primary--hover ); + color: var( --color-primary ); +} + +.oo-ui-popupToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled .oo-ui-tool-link .oo-ui-tool-title { + color: var( --color-primary ); +} + +.oo-ui-popupToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled .oo-ui-tool-link:focus { + box-shadow: inset 0 0 0 2px var( --color-primary ); +} + +.oo-ui-popupToolGroup.oo-ui-flaggedElement-progressive > .oo-ui-popupToolGroup-handle { + color: var( --color-primary ); +} + +.oo-ui-popupToolGroup.oo-ui-flaggedElement-progressive > .oo-ui-popupToolGroup-handle:hover { + background-color: var( --background-color-framed--hover ); +} + +.oo-ui-popupToolGroup.oo-ui-flaggedElement-progressive > .oo-ui-popupToolGroup-handle:active, +.oo-ui-popupToolGroup.oo-ui-flaggedElement-progressive > .oo-ui-popupToolGroup-handle:active:focus, +.oo-ui-popupToolGroup.oo-ui-flaggedElement-progressive.oo-ui-tool-active > .oo-ui-popupToolGroup-handle, +.oo-ui-popupToolGroup.oo-ui-flaggedElement-progressive.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle { + background-color: var( --background-color-primary--hover ); + color: var( --color-base--emphasized ); +} + +.oo-ui-popupToolGroup.oo-ui-flaggedElement-progressive > .oo-ui-popupToolGroup-handle:focus { + box-shadow: inset 0 0 0 1px var( --color-primary ); + outline: 1px solid var( --color-primary ); +} + +.oo-ui-popupToolGroup.oo-ui-flaggedElement-destructive > .oo-ui-popupToolGroup-handle { + color: var( --color-destructive ); +} + +.oo-ui-popupToolGroup.oo-ui-flaggedElement-destructive > .oo-ui-popupToolGroup-handle:hover { + background-color: var( --background-color-quiet--hover ); +} + +.oo-ui-popupToolGroup.oo-ui-flaggedElement-destructive > .oo-ui-popupToolGroup-handle:active, +.oo-ui-popupToolGroup.oo-ui-flaggedElement-destructive > .oo-ui-popupToolGroup-handle:active:focus, +.oo-ui-popupToolGroup.oo-ui-flaggedElement-destructive.oo-ui-tool-active > .oo-ui-popupToolGroup-handle, +.oo-ui-popupToolGroup.oo-ui-flaggedElement-destructive.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle { + background-color: var( --background-color-quiet--active ); + color: var( --color-destructive--active ); +} + +.oo-ui-popupToolGroup.oo-ui-flaggedElement-destructive > .oo-ui-popupToolGroup-handle:focus { + box-shadow: inset 0 0 0 1px var( --color-destructive ); + outline: 1px solid var( --color-destructive ); +} + +.oo-ui-popupToolGroup.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-popupToolGroup-handle { + background-color: var( --color-primary ); +} + +.oo-ui-popupToolGroup.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-popupToolGroup-handle:hover { + background-color: var( --color-primary--hover ); +} + +.oo-ui-popupToolGroup.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-popupToolGroup-handle:active, +.oo-ui-popupToolGroup.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-popupToolGroup-handle:active:focus, +.oo-ui-popupToolGroup.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-tool-active > .oo-ui-popupToolGroup-handle { + background-color: var( --color-primary--active ); +} + +.oo-ui-popupToolGroup.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-popupToolGroup-handle:focus { + box-shadow: inset 0 0 0 1px var( --color-primary ), inset 0 0 0 2px #fff; + outline: 1px solid var( --color-primary ); +} + +.oo-ui-popupToolGroup.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-widget-disabled > .oo-ui-popupToolGroup-handle, +.oo-ui-popupToolGroup.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-widget-disabled > .oo-ui-popupToolGroup-handle:active, +.oo-ui-popupToolGroup.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-widget-disabled > .oo-ui-popupToolGroup-handle:active:focus { + background-color: var( --background-color-framed--active ); + color: var( --color-base--subtle: ); +} + +.oo-ui-popupToolGroup.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-popupToolGroup-handle { + background-color: var( --color-destructive ); +} + +.oo-ui-popupToolGroup.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-popupToolGroup-handle:hover { + background-color: var( --color-destructive--hover ); +} + +.oo-ui-popupToolGroup.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-popupToolGroup-handle:active, +.oo-ui-popupToolGroup.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-popupToolGroup-handle:active:focus, +.oo-ui-popupToolGroup.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive.oo-ui-tool-active > .oo-ui-popupToolGroup-handle { + background-color: var( --color-destructive--active ); +} + +.oo-ui-popupToolGroup.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-popupToolGroup-handle:focus { + box-shadow: inset 0 0 0 1px var( --color-destructive ), inset 0 0 0 2px #fff; + outline: 1px solid var( --color-destructive ); +} + +.oo-ui-popupToolGroup.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive.oo-ui-widget-disabled > .oo-ui-popupToolGroup-handle, +.oo-ui-popupToolGroup.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive.oo-ui-widget-disabled > .oo-ui-popupToolGroup-handle:active, +.oo-ui-popupToolGroup.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive.oo-ui-widget-disabled > .oo-ui-popupToolGroup-handle:active:focus { + background-color: var( --background-color-framed--active ); + color: var( --color-base--subtle ); +} + +.oo-ui-popupToolGroup.oo-ui-flaggedElement-primary > .oo-ui-popupToolGroup-handle > .oo-ui-iconElement-icon, +.oo-ui-popupToolGroup.oo-ui-flaggedElement-primary > .oo-ui-popupToolGroup-handle > .oo-ui-indicatorElement-indicator { + opacity: var( --opacity-icon-base--active ); +} + +.oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled:hover { + background-color: var( --background-color-quiet--hover ); + color: var( --color-base--emphasized ); +} + +.oo-ui-listToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled { + background-color: var( --background-color-primary ); +} + +.oo-ui-listToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled:hover { + background-color: var( --background-color-primary--hover ); +} + +.oo-ui-listToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled .oo-ui-tool-link .oo-ui-tool-title { + color: var( --color-primary ); +} + +.oo-ui-listToolGroup.oo-ui-widget-disabled, +.oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-disabled .oo-ui-tool-title { + color: var( --color-base--subtle ); +} + +.oo-ui-menuToolGroup { + border-right: 1px solid var( --border-color-base ); + border-left: 1px solid var( --border-color-base ); +} + +.oo-ui-menuToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled:hover { + background-color: var( --background-color-primary--hover ); +} + +.oo-ui-menuToolGroup-tools .oo-ui-tool.oo-ui-tool-active { + background-color: var( --background-color-primary ); +} + +.oo-ui-menuToolGroup.oo-ui-widget-disabled, +.oo-ui-menuToolGroup-tools .oo-ui-tool.oo-ui-widget-disabled .oo-ui-tool-title { + color: var( --color-base--subtle ); +} + +.oo-ui-toolbar-bar { + background-color: var( --background-color-dp-08 ); + color: var( --color-base ); +} + .oo-ui-toolbar-position-top > .oo-ui-toolbar-bar { - border: 0; - .boxshadow(3); + border-bottom: 1px solid var( --border-color-base--lighter ); } -.oo-ui-toolbar-bar .oo-ui-toolbar-bar { - box-shadow: none; +.oo-ui-toolbar-position-bottom > .oo-ui-toolbar-bar { + border-top: 1px solid var( --border-color-base--lighter ); } -.oo-ui-toolGroup, -.oo-ui-toolbar-actions .oo-ui-toolGroup { - border-color: @base-100; +.oo-ui-toolbar-narrow.oo-ui-toolbar-position-top .oo-ui-toolbar-bar:after { + border-bottom: 1px solid var( --border-color-base--lighter ); } -.oo-ui-popupToolGroup .oo-ui-toolGroup-tools { - border: 0; - .boxshadow(3); -} - -.skin-citizen-dark { - .oo-ui-toolbar-bar { - background-color: @dark-bg-0; - color: @dark-text-90; - } - - .oo-ui-toolGroup, - .oo-ui-toolbar-actions .oo-ui-toolGroup, - .oo-ui-toolbar-actions > .oo-ui-toolbar:not( :last-child ), - .oo-ui-toolbar-position-top .ve-ui-toolbarDialog-position-above { - border-color: @dark-bg-20; - } - - .oo-ui-popupToolGroup { - .oo-ui-toolGroup-tools { - background-color: @dark-bg-20; - } - - .oo-ui-tool-link .oo-ui-tool-title { - color: @dark-text-100; - } - } - - .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover, - .oo-ui-listToolGroup .oo-ui-tool.oo-ui-widget-enabled:hover { - background-color: @dark-bg-10; - color: @dark-text-100; - } - - .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:hover { - background-color: @dark-bg-20; - color: @dark-text-100; - } - - .oo-ui-tool.oo-ui-widget-enabled .oo-ui-tool-link:focus { - box-shadow: inset 0 0 0 1px solid @accent-50; - outline: 1px solid @accent-50; - } - - .oo-ui-toolGroup { - border-right: 1px solid @dark-bg-20; - } - - .oo-ui-toolbar-actions .oo-ui-toolGroup { - border-left: 1px solid @dark-bg-20; - } - - .oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools > .oo-ui-tool:not( .oo-ui-toolGroupTool ).oo-ui-widget-enabled:hover { - background-color: @dark-bg-20; - } - - .oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools > .oo-ui-tool:not( .oo-ui-toolGroupTool ).oo-ui-widget-enabled > .oo-ui-tool-link .oo-ui-tool-title { - color: @dark-text-90; - } - - .oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools > .oo-ui-tool:not( .oo-ui-toolGroupTool ).oo-ui-tool-active { - background-color: @accent-10; - } - - .oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools > .oo-ui-tool:not( .oo-ui-toolGroupTool ).oo-ui-tool-active:hover { - background-color: rgba( 41, 98, 204, 0.1 ); - } - - .oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools > .oo-ui-tool:not( .oo-ui-toolGroupTool ).oo-ui-tool-active > .oo-ui-tool-link .oo-ui-tool-title { - color: @accent-50; - } - - .oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools .oo-ui-tool.oo-ui-widget-disabled > .oo-ui-tool-link .oo-ui-tool-title, - .oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool > .oo-ui-tool-link .oo-ui-tool-title { - color: @dark-text-70; - } - - .oo-ui-popupToolGroup-header { - color: @dark-text-70; - } - - .oo-ui-popupToolGroup-tools { - border: 1px solid @dark-bg-30; - background-color: @dark-bg-0; - box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 ); - } - - .oo-ui-popupToolGroup-tools .oo-ui-tool-link .oo-ui-tool-title { - color: @dark-text-90; - } - - .oo-ui-popupToolGroup-tools .oo-ui-tool-link .oo-ui-tool-accel { - color: @dark-text-70; - } - - .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover { - background-color: @dark-bg-20; - } - - .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:active { - background-color: @accent-10; - } - - .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:focus { - box-shadow: inset 0 0 0 1px solid @accent-50; - outline: 1px solid @accent-50; - } - - .oo-ui-toolbar-actions .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover { - border-right-color: @dark-bg-20; - } - - .oo-ui-toolbar-actions .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:active { - border-right-color: @accent-10; - } - - .oo-ui-toolbar-actions .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:focus { - border-right-color: @accent-50; - } - - .oo-ui-popupToolGroup.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle { - background-color: @accent-10; - color: @accent-50; - - .oo-ui-labelElement-label { - color: @dark-text-100; - } - } - - .oo-ui-popupToolGroup.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle:hover { - background-color: rgba( 41, 98, 204, 0.1 ); - color: @accent-50; - } - - .oo-ui-popupToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled .oo-ui-tool-link .oo-ui-tool-title { - color: @accent-50; - } - - .oo-ui-popupToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled .oo-ui-tool-link:focus { - box-shadow: inset 0 0 0 2px @accent-50; - } - - .oo-ui-listToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled { - &:hover { - background-color: rgba( 41, 98, 204, 0.1 ); - color: @dark-text-100; - } - background-color: @accent-10; - } - - .oo-ui-listToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled .oo-ui-tool-link .oo-ui-tool-title { - color: @accent-50; - } - - .oo-ui-listToolGroup.oo-ui-widget-disabled, - .oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-disabled .oo-ui-tool-title { - color: @dark-text-70; - } - - .oo-ui-menuToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled:hover { - background-color: rgba( 41, 98, 204, 0.1 ); - } - - .oo-ui-menuToolGroup-tools .oo-ui-tool.oo-ui-tool-active { - background-color: @accent-10; - } - - .oo-ui-menuToolGroup.oo-ui-widget-disabled, - .oo-ui-menuToolGroup-tools .oo-ui-tool.oo-ui-widget-disabled .oo-ui-tool-title { - color: @dark-text-70; - } - - .oo-ui-toolbar-position-top > .oo-ui-toolbar-bar { - border-bottom: 1px solid @dark-bg-30; - box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 ); - } - - .oo-ui-toolbar-position-bottom > .oo-ui-toolbar-bar { - border-top: 1px solid @dark-bg-30; - box-shadow: 0 -1px 1px 0 rgba( 0, 0, 0, 0.1 ); - } - - .oo-ui-toolbar-narrow.oo-ui-toolbar-position-top .oo-ui-toolbar-bar:after { - border-bottom: 1px solid @dark-bg-30; - } - - .oo-ui-toolbar-narrow.oo-ui-toolbar-position-bottom .oo-ui-toolbar-bar:after { - border-top: 1px solid @dark-bg-30; - } - - .oo-ui-toolbar-actions > .oo-ui-buttonElement.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:focus { - box-shadow: inset 0 0 0 2px @accent-50, inset 0 0 0 3px @dark-bg-0; - } - - .oo-ui-toolbar-actions > .oo-ui-buttonGroupWidget > .oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-popupToolGroup-handle { - border-color: @accent-50; - background-color: @accent-50; - color: @dark-text-100; - } - - .oo-ui-toolbar-actions > .oo-ui-buttonGroupWidget > .oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-popupToolGroup-handle:hover { - border-color: #447ff5; - background-color: #447ff5; - } - - .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:active, - .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:active:focus, - .oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active > .oo-ui-tool-link, - .oo-ui-tool.oo-ui-widget-enabled.oo-ui-popupToolGroup-active > .oo-ui-tool-link, - .oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active > .oo-ui-tool-link .oo-ui-tool-title, - .oo-ui-tool.oo-ui-widget-enabled.oo-ui-popupToolGroup-active > .oo-ui-tool-link .oo-ui-tool-title, - .oo-ui-toolbar-actions > .oo-ui-buttonGroupWidget > .oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-popupToolGroup-handle:active, - .oo-ui-toolbar-actions > .oo-ui-buttonGroupWidget > .oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-popupToolGroup-handle:active:focus, - .oo-ui-toolbar-actions > .oo-ui-buttonGroupWidget > .oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-pressed > .oo-ui-popupToolGroup-handle, - .oo-ui-toolbar-actions > .oo-ui-buttonGroupWidget > .oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-active > .oo-ui-popupToolGroup-handle, - .oo-ui-toolbar-actions > .oo-ui-buttonGroupWidget > .oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle { - border-color: @accent-10; - background-color: @accent-10; - color: @dark-text-100; - } - - .oo-ui-toolbar-actions > .oo-ui-buttonGroupWidget > .oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-popupToolGroup-handle:focus { - border-color: @accent-50; - box-shadow: inset 0 0 0 1px solid @accent-50, inset 0 0 0 2px @dark-bg-0; - } - - .oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools .oo-ui-tool.oo-ui-widget-disabled.oo-ui-flaggedElement-primary > .oo-ui-tool-link, - .oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool.oo-ui-flaggedElement-primary > .oo-ui-tool-link { - border-color: @dark-bg-30; - background-color: @dark-bg-30; - } +.oo-ui-toolbar-narrow.oo-ui-toolbar-position-bottom .oo-ui-toolbar-bar:after { + border-top: 1px solid var( --border-color-base--lighter ); }