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

66 lines
1.4 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-toolbar-position-top > .oo-ui-toolbar-bar {
2019-12-26 10:21:50 +00:00
border: 0;
.boxshadow(3);
2019-08-15 17:40:13 +00:00
}
.oo-ui-toolbar-bar .oo-ui-toolbar-bar {
2019-12-26 10:21:50 +00:00
box-shadow: none;
2019-08-15 17:40:13 +00:00
}
.oo-ui-toolGroup,
.oo-ui-toolbar-actions .oo-ui-toolGroup {
2019-12-28 23:52:36 +00:00
border-color: @base-100;
2019-12-26 10:21:50 +00:00
}
2019-08-15 17:40:13 +00:00
.oo-ui-popupToolGroup .oo-ui-toolGroup-tools {
2019-12-26 10:21:50 +00:00
border: 0;
.boxshadow(3);
2019-08-15 17:40:13 +00:00
}
2019-12-28 23:52:36 +00:00
@media ( prefers-color-scheme: dark ) {
.oo-ui-toolbar-bar {
background-color: @dark-bg-20;
color: @dark-text-100;
}
.oo-ui-toolGroup,
2019-12-29 00:37:22 +00:00
.oo-ui-toolbar-actions .oo-ui-toolGroup,
.oo-ui-toolbar-actions > .oo-ui-toolbar:not(:last-child),
.oo-ui-toolbar-position-top .ve-ui-toolbarDialog-position-above {
2019-12-28 23:52:36 +00:00
border-color: @dark-bg-20;
}
.oo-ui-popupToolGroup {
.oo-ui-toolGroup-tools {
background-color: @dark-bg-20;
}
.oo-ui-tool-link .oo-ui-tool-title {
color: @dark-text-100;
}
}
.oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover,
.oo-ui-listToolGroup .oo-ui-tool.oo-ui-widget-enabled:hover {
background-color: @dark-bg-10;
color: @dark-text-100;
}
}