mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-28 00:01:05 +00:00
ApiSandbox, Preferences, Login darkmode
This commit is contained in:
parent
5e7b6ba880
commit
da13b518e9
13
skinStyles/mediawiki.special.apisandbox.less
Normal file
13
skinStyles/mediawiki.special.apisandbox.less
Normal file
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* Citizen - API Sandbox
|
||||
* https://starcitizen.tools
|
||||
*/
|
||||
|
||||
@import '../resources/variables.less';
|
||||
|
||||
@media ( prefers-color-scheme: dark ) {
|
||||
.mw-apisandbox-toolbar {
|
||||
background: @dark-bg-0;
|
||||
border-bottom: 1px solid @dark-bg-50;
|
||||
}
|
||||
}
|
36
skinStyles/mediawiki.special.preferences.styles.ooui.less
Normal file
36
skinStyles/mediawiki.special.preferences.styles.ooui.less
Normal file
|
@ -0,0 +1,36 @@
|
|||
/*
|
||||
* Citizen - Special Preferences
|
||||
* https://starcitizen.tools
|
||||
*/
|
||||
|
||||
@import '../resources/variables.less';
|
||||
|
||||
@media ( prefers-color-scheme: dark ) {
|
||||
.mw-email-not-authenticated .oo-ui-labelWidget,
|
||||
.mw-email-none .oo-ui-labelWidget {
|
||||
background-color: @dark-bg-10;
|
||||
color: @dark-text-100;
|
||||
border: 1px solid @yellow-50;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
.mw-prefs-buttons {
|
||||
background-color: @dark-bg-0;
|
||||
border-color: @dark-bg-30;
|
||||
}
|
||||
|
||||
.mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed,
|
||||
.mw-prefs-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout {
|
||||
border-color: @dark-bg-30;
|
||||
}
|
||||
|
||||
.client-nojs {
|
||||
.mw-prefs-tabs {
|
||||
.mw-prefs-section-fieldset {
|
||||
> .oo-ui-fieldsetLayout-group {
|
||||
border-top: 1px solid @dark-bg-30;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
24
skinStyles/mediawiki.special.userlogin.login.styles.less
Normal file
24
skinStyles/mediawiki.special.userlogin.login.styles.less
Normal file
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Citizen - Login
|
||||
* https://starcitizen.tools
|
||||
*/
|
||||
|
||||
@import '../resources/variables.less';
|
||||
|
||||
@media ( prefers-color-scheme: dark ) {
|
||||
#mw-createaccount-join {
|
||||
background-color: @dark-bg-10;
|
||||
}
|
||||
|
||||
#mw-createaccount-join:hover {
|
||||
background-color: @dark-bg-0;
|
||||
border-color: @accent-10;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#mw-createaccount-join:active {
|
||||
background-color: @accent-10;
|
||||
color: @accent-90;
|
||||
border-color: @accent-90;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue