mediawiki-skins-Citizen/skinStyles/oojs/oojs-ui-windows.less
alistair3149 f72af5e76d
Improve CI and code clean up (#143)
* Replace existing grunt linter

* Fix stylesheet issues picked up by stylelint

* Update the git workflow

* Fix incorrect slash in workflow file

* Github CI lint - eslint/stylelint

* Clean up composer

* Fix phpcb error

* MediaWiki CI

* Change commit message

* Update status badge

* Add JSDoc

* Add SVGO

* Make a dinner reservation - MediaWiki CI

I clean up code to MediaWiki standards

* Optimize SVG files with SVGO

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2020-06-16 22:49:41 -04:00

140 lines
4.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* Citizen - OOJS UI Styles
* https://starcitizen.tools
*/
@import '../../resources/variables.less';
@import '../../resources/mixins.less';
/*!
* 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 {
z-index: 3; // To show the shadow
.boxshadow(2);
}
.oo-ui-processDialog-content .oo-ui-window-body {
outline: 0;
border-bottom: 1px solid @base-80;
}
.oo-ui-windowManager-modal.oo-ui-windowManager-floating > .oo-ui-dialog > .oo-ui-window-frame {
border: 0;
border-radius: 0;
.boxshadow(5);
}
.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 {
margin: 0;
height: 100%;
> a.oo-ui-buttonElement-button {
height: 100%;
display: flex;
align-items: center;
}
}
@media ( prefers-color-scheme: dark ) {
.oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame {
background-color: @dark-bg-0;
}
.oo-ui-processDialog-content .oo-ui-window-body {
border-color: @dark-bg-40;
outline: 1px solid @dark-bg-30;
}
.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 {
background-color: rgba( 0, 0, 0, 0.5 );
z-index: 10;
}
.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 );
}
}