2019-08-15 17:40:13 +00:00
|
|
|
|
/*
|
|
|
|
|
* Citizen - OOJS UI Styles
|
|
|
|
|
* https://starcitizen.tools
|
|
|
|
|
*/
|
|
|
|
|
|
2019-12-29 09:47:56 +00:00
|
|
|
|
@import '../../resources/variables.less';
|
|
|
|
|
@import '../../resources/mixins.less';
|
2019-08-15 17:40:13 +00:00
|
|
|
|
|
2021-01-15 00:42:37 +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 2011–2020 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 );
|
|
|
|
|
}
|
|
|
|
|
|
2021-03-09 17:11:01 +00:00
|
|
|
|
.oo-ui-processDialog-errors {
|
|
|
|
|
background-color: var( --background-color-overlay );
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-14 20:35:51 +00:00
|
|
|
|
.oo-ui-processDialog-errors-title {
|
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
|
}
|
|
|
|
|
|
2021-03-09 17:11:01 +00:00
|
|
|
|
.oo-ui-windowManager-modal > .oo-ui-dialog {
|
|
|
|
|
background-color: var( --background-color-overlay--lighter );
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-14 20:35:51 +00:00
|
|
|
|
.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
|
|
|
|
}
|