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

57 lines
1.3 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';
/*!
* 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
outline: 0;
border-bottom: 1px solid @base-80;
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;
border-radius: 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
margin: 0;
height: 100%;
2019-08-15 17:40:13 +00:00
2019-12-26 10:21:50 +00:00
> a.oo-ui-buttonElement-button {
height: 100%;
display: flex;
align-items: center;
}
2019-08-15 17:40:13 +00:00
}
2019-12-28 23:52:36 +00:00
@media ( prefers-color-scheme: dark ) {
.oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame {
background-color: @dark-bg-50;
}
.oo-ui-processDialog-content .oo-ui-window-body {
border-color: @dark-bg-40;
}
}