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

139 lines
4.2 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 v0.26.4
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112018 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2018-04-17T22:24:02Z
*/
.oo-ui-dialog-content > .oo-ui-window-head {
2019-12-26 10:21:50 +00:00
z-index: 3; // To show the shadow
.boxshadow(2);
2019-08-15 17:40:13 +00:00
}
.oo-ui-processDialog-content .oo-ui-window-body {
2019-12-26 10:21:50 +00:00
border-bottom: 1px solid @base-80;
outline: 0;
2019-08-15 17:40:13 +00:00
}
.oo-ui-windowManager-modal.oo-ui-windowManager-floating > .oo-ui-dialog > .oo-ui-window-frame {
2019-12-26 10:21:50 +00:00
border: 0;
.boxshadow(5);
2019-08-15 17:40:13 +00:00
}
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-buttonElement-framed,
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget.oo-ui-buttonElement-framed,
.oo-ui-processDialog-actions-other .oo-ui-actionWidget.oo-ui-buttonElement-framed {
2019-12-26 10:21:50 +00:00
height: 100%;
margin: 0;
2019-08-15 17:40:13 +00:00
2019-12-26 10:21:50 +00:00
> a.oo-ui-buttonElement-button {
display: flex;
height: 100%;
2019-12-26 10:21:50 +00:00
align-items: center;
}
2019-08-15 17:40:13 +00:00
}
2019-12-28 23:52:36 +00:00
.skin-citizen-dark {
2019-12-28 23:52:36 +00:00
.oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame {
background-color: @dark-bg-0;
2019-12-28 23:52:36 +00:00
}
.oo-ui-processDialog-content .oo-ui-window-body {
border-color: @dark-bg-40;
outline: 1px solid @dark-bg-30;
2019-12-28 23:52:36 +00:00
}
2019-12-30 19:46:55 +00:00
.oo-ui-messageDialog-content > .oo-ui-window-foot {
outline: 1px solid @dark-bg-50;
}
.oo-ui-messageDialog-title {
color: @dark-text-100;
}
.oo-ui-messageDialog-message {
color: @dark-text-90;
}
.oo-ui-messageDialog-actions .oo-ui-actionWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive .oo-ui-buttonElement-button:active {
background-color: rgba( 8, 126, 204, 0.1 );
}
.oo-ui-messageDialog-actions .oo-ui-actionWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive .oo-ui-buttonElement-button:active {
background-color: rgba( 212, 83, 83, 0.1 );
}
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
border-right: 1px solid @dark-bg-50;
}
.oo-ui-messageDialog-actions-vertical .oo-ui-actionWidget {
border-bottom: 1px solid @dark-bg-50;
}
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-buttonElement-frameless:hover,
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget.oo-ui-buttonElement-frameless:hover {
background-color: rgba( 0, 0, 0, 0.05 );
}
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-buttonElement-frameless:active,
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget.oo-ui-buttonElement-frameless:active {
background-color: rgba( 0, 0, 0, 0.1 );
}
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-progressive:hover,
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-progressive:hover {
background-color: rgba( 8, 126, 204, 0.05 );
}
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-progressive:active,
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-progressive:active {
background-color: rgba( 8, 126, 204, 0.1 );
}
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-destructive:hover,
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-destructive:hover {
background-color: rgba( 212, 83, 83, 0.05 );
}
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-destructive:active,
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-destructive:active {
background-color: rgba( 212, 83, 83, 0.1 );
}
.oo-ui-processDialog-errors {
background-color: rgba( 0, 0, 0, 0.9 );
}
.oo-ui-processDialog-errors-title {
color: @dark-text-100;
}
.oo-ui-processDialog-error {
border: 1px solid @red-50;
background-color: @red-90;
}
.oo-ui-windowManager-modal > .oo-ui-dialog {
z-index: 10;
background-color: rgba( 0, 0, 0, 0.5 );
2019-12-30 19:46:55 +00:00
}
.oo-ui-windowManager-modal.oo-ui-windowManager-floating > .oo-ui-dialog > .oo-ui-window-frame {
border: 1px solid @dark-bg-50;
box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 );
}
}