Add Extension UploadWizard darkmode

This commit is contained in:
Hannes 2019-12-30 20:38:37 +01:00
parent 66e5a730e4
commit 55ad6ad0c8
No known key found for this signature in database
GPG key ID: 371029119C5F0D51
4 changed files with 174 additions and 0 deletions

View file

@ -393,6 +393,10 @@
"+ext.Tabber": "skinStyles/extensions/Tabber/ext.Tabber.less",
"+ext.uploadWizard.uploadCampaign.display": "skinStyles/extensions/UploadWizard/ext.uploadWizard.uploadCampaign.display.less",
"+ext.uploadWizard.uploadCampaign.list": "skinStyles/extensions/UploadWizard/ext.uploadWizard.uploadCampaign.list.less",
"+ext.uploadWizard": "skinStyles/extensions/UploadWizard/ext.uploadWizard.less",
"+ext.visualEditor.core": "skinStyles/extensions/VisualEditor/ext.visualEditor.core.less",
"+mediawiki.action.history.styles": "skinStyles/mediawiki/action/mediawiki.action.history.styles.less",

View file

@ -0,0 +1,136 @@
/*
* Citizen - Upload Wizard
* https://starcitizen.tools
*/
@import '../../../resources/variables.less';
@media ( prefers-color-scheme: dark ) {
/**
resources/jquery.arrowSteps/jquery.arrowSteps.css
*/
.arrowSteps {
border: 1px solid @dark-bg-30;
}
.arrowSteps li {
color: @dark-text-70;
background-color: @dark-bg-20;
}
#mwe-upwiz-steps li.head {
color: @accent-90;
background-color: @accent-10;
}
.arrowSteps li.arrow:after {
border-left-color: @dark-bg-20;
}
.arrowSteps li.arrow:before {
border-left-color: @dark-bg-0;
}
#mwe-upwiz-steps li.head:after {
border-left-color: @accent-10;
}
/**
resources/uw.CopyMetadataWidget.less
*/
.mwe-upwiz-copyMetadataWidget {
border-top: 1px solid @dark-bg-30;
border-bottom: 1px solid @dark-bg-30;
}
/**
resources/uploadWizard.css
*/
#mwe-upwiz-steps {
background-color: @dark-bg-0;
}
.mwe-upwiz-file.odd .mwe-upwiz-visible-file {
background: @dark-bg-10;
}
.mwe-upwiz-file:hover .mwe-upwiz-visible-file {
background: @dark-bg-30 !important;
}
.mwe-upwiz-file-status {
color: @dark-text-70;
}
.mwe-upwiz-patent-rights .oo-ui-panelLayout .oo-ui-panelLayout:not( :last-child ) {
box-shadow: 0 1em 1px -1em @dark-bg-30;
}
.mwe-upwiz-patent-rights-filelist {
box-shadow: 0 0 1px 0 @dark-bg-30;
}
.mwe-upwiz-patent-weapon-policy {
border: 1px solid @dark-bg-30;
background-color: @dark-bg-20;
}
.mwe-upwiz-license-metadata {
border: 1px solid @dark-bg-30;
background-color: @dark-bg-20;
}
#mwe-upwiz-flickr-disclaimer {
background-color: @accent-10;
}
.filled + .filled {
border-top: 1px solid @dark-bg-30;
}
.mwe-upwiz-status-error {
color: @red-50;
}
.mwe-upwiz-thumbnail {
background-color: @dark-bg-0;
}
#mwe-upwiz-deeds-thumbnails {
background-color: @dark-bg-10;
}
.mwe-upwiz-thumbnail-link canvas,
.mwe-upwiz-thumbnail-link img {
box-shadow: 0 0 5px @dark-bg-50;
}
.mwe-readonly {
background-color: @dark-bg-0;
}
.mwe-upwiz-deed-license-group-subhead {
color: @dark-text-70;
}
.mwe-upwiz-objref-pick-image input:disabled + label {
color: @dark-text-70;
}
/**
resources/uw.FieldLayout.less
*/
.mwe-upwiz-fieldLayout {
.mwe-upwiz-fieldLayout-indicator {
color: @dark-text-70;
}
}
/**
resources/details/uw.SingleLanguageInputWidget.less
*/
.mwe-upwiz-singleLanguageInputWidget {
background-color: @dark-bg-10;
border: 1px solid @dark-bg-20;
}
}

View file

@ -0,0 +1,22 @@
/*
* Citizen - Upload Wizard Campaign Display
* https://starcitizen.tools
*/
@import '../../../resources/variables.less';
@media ( prefers-color-scheme: dark ) {
#mw-campaign-title {
border-bottom: 1px solid @dark-bg-30;
}
#mw-campaign-header {
background-color: @dark-bg-10;
border: 1px solid @dark-bg-30;
}
#mw-campaign-view-all {
background-color: @dark-bg-10;
border: 1px solid @dark-bg-30;
}
}

View file

@ -0,0 +1,12 @@
/*
* Citizen - Upload Wizard Campaign List
* https://starcitizen.tools
*/
@import '../../../resources/variables.less';
@media ( prefers-color-scheme: dark ) {
#mwe-upload-campaigns-pagination {
border-top: 1px solid @dark-bg-30;
}
}