ApiSandbox, Preferences, Login darkmode

This commit is contained in:
Hannes 2019-12-27 14:53:17 +01:00
parent 5e7b6ba880
commit da13b518e9
No known key found for this signature in database
GPG key ID: 371029119C5F0D51
3 changed files with 73 additions and 0 deletions

View 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;
}
}

View 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;
}
}
}
}
}

View 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;
}
}