mediawiki-skins-Citizen/skinStyles/oojs/oojs-ui-windows.less

106 lines
3.7 KiB
Plaintext
Raw Normal View History

2019-08-15 17:40:13 +00:00
/*
* Citizen - OOJS UI Styles
* https://starcitizen.tools
*/
@import '../../resources/variables.less';
@import '../../resources/mixins.less';
2019-08-15 17:40:13 +00:00
/**
* OOUI has some layout issues when the font size is not
* same as what is being used in Vector. This is a dirty
* hack to ensure that the UI is displayed correctly.
*/
.oo-ui-window {
font-size: 0.875rem;
}
2019-08-15 17:40:13 +00:00
/*!
2021-01-14 20:35:51 +00:00
* Based on OOUI v0.39.3
2019-08-15 17:40:13 +00:00
* https://www.mediawiki.org/wiki/OOUI
*
2021-01-14 20:35:51 +00:00
* Copyright 20112020 OOUI Team and other contributors.
2019-08-15 17:40:13 +00:00
* Released under the MIT license
* http://oojs.mit-license.org
*
2021-01-14 20:35:51 +00:00
* Date: 2020-07-10T06:32:25Z
2019-08-15 17:40:13 +00:00
*/
2021-01-14 20:35:51 +00:00
.oo-ui-messageDialog-content > .oo-ui-window-foot {
outline: 1px solid var( --border-color-base );
2019-08-15 17:40:13 +00:00
}
2021-01-14 20:35:51 +00:00
.oo-ui-messageDialog-title {
color: var( --color-base--emphasized );
}
.oo-ui-messageDialog-message {
color: var( --color-base );
}
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
border-right: 1px solid var( --border-color-base );
}
.oo-ui-messageDialog-actions-vertical .oo-ui-actionWidget {
border-bottom: 1px solid var( --border-color-base );
}
.oo-ui-processDialog-content .oo-ui-window-head,
.oo-ui-processDialog-content .oo-ui-window-foot {
2021-01-14 23:52:40 +00:00
outline: 1px solid var( --border-color-base );
2021-01-14 20:35:51 +00:00
}
.oo-ui-processDialog .oo-ui-actionWidget:not( .oo-ui-flaggedElement-progressive ):not( .oo-ui-flaggedElement-destructive ) > .oo-ui-buttonElement-button:hover,
.oo-ui-processDialog .oo-ui-actionWidget:not( .oo-ui-flaggedElement-progressive ):not( .oo-ui-flaggedElement-destructive ) > .oo-ui-buttonElement-button:active {
2021-01-14 23:52:40 +00:00
border-right-color: var( --border-color-base );
2021-01-14 20:35:51 +00:00
}
.oo-ui-processDialog .oo-ui-actionWidget:not( .oo-ui-flaggedElement-progressive ):not( .oo-ui-flaggedElement-destructive ) > .oo-ui-buttonElement-button:focus {
border-color: var( --color-primary );
}
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget > .oo-ui-buttonElement-button {
2021-01-14 23:52:40 +00:00
border-left-color: var( --border-color-base );
2021-01-14 20:35:51 +00:00
}
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget:not( .oo-ui-flaggedElement-progressive ):not( .oo-ui-flaggedElement-destructive ) > .oo-ui-buttonElement-button:hover,
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget:not( .oo-ui-flaggedElement-progressive ):not( .oo-ui-flaggedElement-destructive ) > .oo-ui-buttonElement-button:active {
2021-01-14 23:52:40 +00:00
border-left-color: var( --border-color-base );
2021-01-14 20:35:51 +00:00
}
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget:not( .oo-ui-flaggedElement-progressive ):not( .oo-ui-flaggedElement-destructive ) > .oo-ui-buttonElement-button:focus {
border-color: var( --color-primary );
}
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget > .oo-ui-buttonElement-button,
.oo-ui-processDialog-actions-other .oo-ui-actionWidget > .oo-ui-buttonElement-button {
2021-01-14 23:52:40 +00:00
border-right-color: var( --border-color-base );
2021-01-14 20:35:51 +00:00
}
.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not( .oo-ui-labelElement ) > .oo-ui-buttonElement-button:hover {
2021-01-14 23:52:40 +00:00
border-right-color: var( --border-color-base );
2021-01-14 20:35:51 +00:00
background-color: var( --background-color-framed--hover );
}
.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not( .oo-ui-labelElement ) > .oo-ui-buttonElement-button:active {
2021-01-14 23:52:40 +00:00
border-right-color: var( --border-color-base );
2021-01-14 20:35:51 +00:00
background-color: var( --background-color-framed--active );
}
.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not( .oo-ui-labelElement ) > .oo-ui-buttonElement-button:focus {
border-color: var( --color-primary );
}
.oo-ui-processDialog-errors-title {
color: var( --color-base--emphasized );
}
.oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame {
background-color: var( --background-color-dp-24 );
2019-08-15 17:40:13 +00:00
}
.oo-ui-windowManager-modal.oo-ui-windowManager-floating > .oo-ui-dialog > .oo-ui-window-frame {
2021-01-14 20:35:51 +00:00
border: 1px solid var( --border-color-base--lighter );
2019-12-30 19:46:55 +00:00
}