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

65 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';
/*!
* Based on 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-popupWidget-popup {
2019-12-26 10:21:50 +00:00
border: 0;
border-radius: 0;
.boxshadow(4);
2019-08-15 17:40:13 +00:00
}
.oo-ui-buttonElement > .oo-ui-buttonElement-button {
2019-12-26 10:21:50 +00:00
border-radius: 0;
2019-08-15 17:40:13 +00:00
}
.oo-ui-buttonElement-framed > .oo-ui-buttonElement-button {
2019-12-26 10:21:50 +00:00
border-radius: 0;
2019-08-15 17:40:13 +00:00
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
2019-12-26 10:21:50 +00:00
background-color: @base-90;
border-color: @base-90;
2019-08-15 17:40:13 +00:00
2019-12-26 10:21:50 +00:00
&:hover {
border-color: @base-100;
.boxshadow(3);
}
2019-08-15 17:40:13 +00:00
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active,
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active:focus,
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
2019-12-26 10:21:50 +00:00
border-color: #c8ccd1;
2019-08-15 17:40:13 +00:00
}
.oo-ui-textInputWidget input,
.oo-ui-textInputWidget textarea {
2019-12-26 10:21:50 +00:00
border-color: @base-80;
border-radius: 0;
.boxshadow(1);
2019-08-15 17:40:13 +00:00
}
.oo-ui-textInputWidget.oo-ui-widget-enabled input,
.oo-ui-textInputWidget.oo-ui-widget-enabled textarea {
2019-12-26 10:21:50 +00:00
.boxshadow(1);
2019-08-15 17:40:13 +00:00
2019-12-26 10:21:50 +00:00
&:focus {
.boxshadow(3);
}
2019-08-15 17:40:13 +00:00
}