mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-17 03:19:31 +00:00
106 lines
3.7 KiB
Plaintext
106 lines
3.7 KiB
Plaintext
/*
|
||
* Citizen - OOJS UI Styles
|
||
* https://starcitizen.tools
|
||
*/
|
||
|
||
@import '../../resources/variables.less';
|
||
@import '../../resources/mixins.less';
|
||
|
||
/**
|
||
* 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;
|
||
}
|
||
|
||
/*!
|
||
* Based on OOUI v0.39.3
|
||
* https://www.mediawiki.org/wiki/OOUI
|
||
*
|
||
* Copyright 2011–2020 OOUI Team and other contributors.
|
||
* Released under the MIT license
|
||
* http://oojs.mit-license.org
|
||
*
|
||
* Date: 2020-07-10T06:32:25Z
|
||
*/
|
||
|
||
.oo-ui-messageDialog-content > .oo-ui-window-foot {
|
||
outline: 1px solid var( --border-color-base );
|
||
}
|
||
|
||
.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 {
|
||
outline: 1px solid var( --border-color-base );
|
||
}
|
||
|
||
.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 {
|
||
border-right-color: var( --border-color-base );
|
||
}
|
||
|
||
.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 {
|
||
border-left-color: var( --border-color-base );
|
||
}
|
||
|
||
.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 {
|
||
border-left-color: var( --border-color-base );
|
||
}
|
||
|
||
.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 {
|
||
border-right-color: var( --border-color-base );
|
||
}
|
||
|
||
.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not( .oo-ui-labelElement ) > .oo-ui-buttonElement-button:hover {
|
||
border-right-color: var( --border-color-base );
|
||
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 {
|
||
border-right-color: var( --border-color-base );
|
||
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 );
|
||
}
|
||
|
||
.oo-ui-windowManager-modal.oo-ui-windowManager-floating > .oo-ui-dialog > .oo-ui-window-frame {
|
||
border: 1px solid var( --border-color-base--lighter );
|
||
}
|