From 6a8196256ca839d71236557390496efbf15dd014 Mon Sep 17 00:00:00 2001 From: Hannes Date: Sun, 29 Dec 2019 10:47:56 +0100 Subject: [PATCH 1/9] Reorganize skinStyles into separate folders --- skin.json | 98 +++++++++++-------- .../echo}/ext.echo.styles.badge.less | 2 +- .../{ => extensions/echo}/ext.echo.ui.less | 4 +- .../ext.CookieWarning.styles.less | 4 +- skinStyles/{ => extensions}/ext.Tabber.less | 2 +- .../{ => extensions}/ext.popups.main.less | 4 +- .../ext.visualEditor.core.less | 2 +- .../{ => extensions/flow}/ext.flow.less | 2 +- .../flow}/ext.flow.styles.base.less | 2 +- .../{ => extensions/flow}/ext.flow.ui.less | 2 +- .../ext.relatedArticles.cards.less | 4 +- .../ext.relatedArticles.readMore.less | 2 +- .../translate}/ext.translate.editor.less | 4 +- .../translate}/ext.translate.less | 2 +- .../translate}/ext.translate.loader.less | 4 +- .../ext.translate.messagetable.less | 4 +- .../ext.translate.special.translate.less | 4 +- .../ext.translate.tag.languages.less | 4 +- .../{ => extensions/uls}/ext.uls.common.less | 4 +- .../{ => extensions/uls}/ext.uls.pt.less | 2 +- .../mediawiki.action.history.styles.less | 2 +- .../mediawiki.action.view.filepage.less | 4 +- .../mediawiki.diff.styles.less | 2 +- .../mediawiki.htmlform.ooui.styles.less | 2 +- .../mediawiki.legacy.shared.less | 2 +- .../mediawiki.page.gallery.styles.less | 4 +- ...diawiki.rcfilters.filters.base.styles.less | 2 +- ...iawiki.widgets.DateInputWidget.styles.less | 2 +- .../mediawiki.special.apisandbox.less | 2 +- ...ediawiki.special.changeslist.enhanced.less | 2 +- .../mediawiki.special.changeslist.less | 2 +- .../special}/mediawiki.special.less | 2 +- ...awiki.special.preferences.styles.ooui.less | 2 +- .../mediawiki.special.search.styles.less | 2 +- ...iawiki.special.userlogin.login.styles.less | 2 +- .../ui}/mediawiki.ui.components.button.less | 2 +- .../ui}/mediawiki.ui.components.checkbox.less | 2 +- .../ui}/mediawiki.ui.components.input.less | 2 +- skinStyles/{ => oojs}/oojs-ui-core.less | 4 +- skinStyles/{ => oojs}/oojs-ui-toolbars.less | 4 +- skinStyles/{ => oojs}/oojs-ui-widgets.less | 4 +- skinStyles/{ => oojs}/oojs-ui-windows.less | 4 +- 42 files changed, 113 insertions(+), 99 deletions(-) rename skinStyles/{ => extensions/echo}/ext.echo.styles.badge.less (95%) rename skinStyles/{ => extensions/echo}/ext.echo.ui.less (98%) rename skinStyles/{ => extensions}/ext.CookieWarning.styles.less (94%) rename skinStyles/{ => extensions}/ext.Tabber.less (95%) rename skinStyles/{ => extensions}/ext.popups.main.less (86%) rename skinStyles/{ => extensions}/ext.visualEditor.core.less (97%) rename skinStyles/{ => extensions/flow}/ext.flow.less (98%) rename skinStyles/{ => extensions/flow}/ext.flow.styles.base.less (95%) rename skinStyles/{ => extensions/flow}/ext.flow.ui.less (95%) rename skinStyles/{ => extensions/related_articles}/ext.relatedArticles.cards.less (93%) rename skinStyles/{ => extensions/related_articles}/ext.relatedArticles.readMore.less (86%) rename skinStyles/{ => extensions/translate}/ext.translate.editor.less (70%) rename skinStyles/{ => extensions/translate}/ext.translate.less (93%) rename skinStyles/{ => extensions/translate}/ext.translate.loader.less (65%) rename skinStyles/{ => extensions/translate}/ext.translate.messagetable.less (96%) rename skinStyles/{ => extensions/translate}/ext.translate.special.translate.less (70%) rename skinStyles/{ => extensions/translate}/ext.translate.tag.languages.less (95%) rename skinStyles/{ => extensions/uls}/ext.uls.common.less (84%) rename skinStyles/{ => extensions/uls}/ext.uls.pt.less (92%) rename skinStyles/{ => mediawiki/action}/mediawiki.action.history.styles.less (86%) rename skinStyles/{ => mediawiki/action}/mediawiki.action.view.filepage.less (96%) rename skinStyles/{ => mediawiki}/mediawiki.diff.styles.less (91%) rename skinStyles/{ => mediawiki}/mediawiki.htmlform.ooui.styles.less (91%) rename skinStyles/{ => mediawiki}/mediawiki.legacy.shared.less (93%) rename skinStyles/{ => mediawiki}/mediawiki.page.gallery.styles.less (93%) rename skinStyles/{ => mediawiki}/mediawiki.rcfilters.filters.base.styles.less (98%) rename skinStyles/{ => mediawiki}/mediawiki.widgets.DateInputWidget.styles.less (97%) rename skinStyles/{ => mediawiki/special}/mediawiki.special.apisandbox.less (81%) rename skinStyles/{ => mediawiki/special}/mediawiki.special.changeslist.enhanced.less (93%) rename skinStyles/{ => mediawiki/special}/mediawiki.special.changeslist.less (97%) rename skinStyles/{ => mediawiki/special}/mediawiki.special.less (84%) rename skinStyles/{ => mediawiki/special}/mediawiki.special.preferences.styles.ooui.less (94%) rename skinStyles/{ => mediawiki/special}/mediawiki.special.search.styles.less (94%) rename skinStyles/{ => mediawiki/special}/mediawiki.special.userlogin.login.styles.less (89%) rename skinStyles/{ => mediawiki/ui}/mediawiki.ui.components.button.less (96%) rename skinStyles/{ => mediawiki/ui}/mediawiki.ui.components.checkbox.less (90%) rename skinStyles/{ => mediawiki/ui}/mediawiki.ui.components.input.less (89%) rename skinStyles/{ => oojs}/oojs-ui-core.less (99%) rename skinStyles/{ => oojs}/oojs-ui-toolbars.less (94%) rename skinStyles/{ => oojs}/oojs-ui-widgets.less (98%) rename skinStyles/{ => oojs}/oojs-ui-windows.less (93%) diff --git a/skin.json b/skin.json index 21445e7c..55b7d6fb 100644 --- a/skin.json +++ b/skin.json @@ -344,48 +344,62 @@ }, "ResourceModuleSkinStyles": { "citizen": { - "+mediawiki.htmlform.ooui.styles": "skinStyles/mediawiki.htmlform.ooui.styles.less", - "+mediawiki.page.gallery.styles": "skinStyles/mediawiki.page.gallery.styles.less", - "+mediawiki.action.history.styles": "skinStyles/mediawiki.action.history.styles.less", - "+mediawiki.action.view.filepage": "skinStyles/mediawiki.action.view.filepage.less", - "+mediawiki.special": "skinStyles/mediawiki.special.less", - "+mediawiki.special.changeslist": "skinStyles/mediawiki.special.changeslist.less", - "+mediawiki.special.changeslist.enhanced": "skinStyles/mediawiki.special.changeslist.enhanced.less", - "+mediawiki.special.search.styles": "skinStyles/mediawiki.special.search.styles.less", - "+mediawiki.special.userlogin.login.styles": "skinStyles/mediawiki.special.userlogin.login.styles.less", - "+mediawiki.special.apisandbox": "skinStyles/mediawiki.special.apisandbox.less", - "+mediawiki.special.preferences.styles.ooui": "skinStyles/mediawiki.special.preferences.styles.ooui.less", - "+mediawiki.diff.styles": "skinStyles/mediawiki.diff.styles.less", - "+mediawiki.ui.input": "skinStyles/mediawiki.ui.components.input.less", - "+mediawiki.ui.checkbox": "skinStyles/mediawiki.ui.components.checkbox.less", - "+mediawiki.ui.button": "skinStyles/mediawiki.ui.components.button.less", - "+mediawiki.legacy.shared": "skinStyles/mediawiki.legacy.shared.less", - "+oojs-ui-core.styles": "skinStyles/oojs-ui-core.less", - "+oojs-ui-toolbars": "skinStyles/oojs-ui-toolbars.less", - "+oojs-ui-widgets": "skinStyles/oojs-ui-widgets.less", - "+oojs-ui-windows": "skinStyles/oojs-ui-windows.less", - "+mmv": "skinStyles/mmv.less", - "+mediawiki.rcfilters.filters.base.styles": "skinStyles/mediawiki.rcfilters.filters.base.styles.less", - "+mediawiki.widgets.DateInputWidget.styles": "skinStyles/mediawiki.widgets.DateInputWidget.styles.less", - "ext.CookieWarning.styles": "skinStyles/ext.CookieWarning.styles.less", - "+ext.echo.styles.badge": "skinStyles/ext.echo.styles.badge.less", - "+ext.echo.ui": "skinStyles/ext.echo.ui.less", - "+ext.popups.main": "skinStyles/ext.popups.main.less", - "+ext.relatedArticles.cards": "skinStyles/ext.relatedArticles.cards.less", - "+ext.relatedArticles.readMore": "skinStyles/ext.relatedArticles.readMore.less", - "+ext.Tabber": "skinStyles/ext.Tabber.less", - "+ext.translate": "skinStyles/ext.translate.less", - "+ext.translate.editor": "skinStyles/ext.translate.editor.less", - "+ext.translate.loader": "skinStyles/ext.translate.loader.less", - "+ext.translate.special.translate": "skinStyles/ext.translate.special.translate.less", - "+ext.translate.messagetable": "skinStyles/ext.translate.messagetable.less", - "+ext.translate.tag.languages": "skinStyles/ext.translate.tag.languages.less", - "+ext.uls.common": "skinStyles/ext.uls.common.less", - "+ext.uls.pt": "skinStyles/ext.uls.pt.less", - "+ext.visualEditor.core": "skinStyles/ext.visualEditor.core.less", - "+ext.flow": "skinStyles/ext.flow.less", - "+ext.flow.ui": "skinStyles/ext.flow.ui.less", - "+ext.flow.styles.base": "skinStyles/ext.flow.styles.base.less" + "+ext.echo.styles.badge": "skinStyles/extensions/echo/ext.echo.styles.badge.less", + "+ext.echo.ui": "skinStyles/extensions/echo/ext.echo.ui.less", + + "+ext.flow": "skinStyles/extensions/flow/ext.flow.less", + "+ext.flow.styles.base": "skinStyles/extensions/flow/ext.flow.styles.base.less", + "+ext.flow.ui": "skinStyles/extensions/flow/ext.flow.ui.less", + + "+ext.relatedArticles.cards": "skinStyles/extensions/related_articles/ext.relatedArticles.cards.less", + "+ext.relatedArticles.readMore": "skinStyles/extensions/related_articles/ext.relatedArticles.readMore.less", + + "+ext.translate": "skinStyles/extensions/translate/ext.translate.less", + "+ext.translate.editor": "skinStyles/extensions/translate/ext.translate.editor.less", + "+ext.translate.loader": "skinStyles/extensions/translate/ext.translate.loader.less", + "+ext.translate.messagetable": "skinStyles/extensions/translate/ext.translate.messagetable.less", + "+ext.translate.special.translate": "skinStyles/extensions/translate/ext.translate.special.translate.less", + "+ext.translate.tag.languages": "skinStyles/extensions/translate/ext.translate.tag.languages.less", + + "+ext.uls.common": "skinStyles/extensions/uls/ext.uls.common.less", + "+ext.uls.pt": "skinStyles/extensions/uls/ext.uls.pt.less", + + "ext.CookieWarning.styles": "skinStyles/extensions/ext.CookieWarning.styles.less", + + "+ext.popups.main": "skinStyles/extensions/ext.popups.main.less", + + "+ext.Tabber": "skinStyles/extensions/ext.Tabber.less", + + "+ext.visualEditor.core": "skinStyles/extensions/ext.visualEditor.core.less", + + "+mediawiki.action.history.styles": "skinStyles/mediawiki/action/mediawiki.action.history.styles.less", + "+mediawiki.action.view.filepage": "skinStyles/mediawiki/action/mediawiki.action.view.filepage.less", + + "+mediawiki.special": "skinStyles/mediawiki/special/mediawiki.special.less", + "+mediawiki.special.apisandbox": "skinStyles/mediawiki/special/mediawiki.special.apisandbox.less", + "+mediawiki.special.changeslist.enhanced": "skinStyles/mediawiki/special/mediawiki.special.changeslist.enhanced.less", + "+mediawiki.special.changeslist": "skinStyles/mediawiki/special/mediawiki.special.changeslist.less", + "+mediawiki.special.preferences.styles.ooui": "skinStyles/mediawiki/special/mediawiki.special.preferences.styles.ooui.less", + "+mediawiki.special.search.styles": "skinStyles/mediawiki/special/mediawiki.special.search.styles.less", + "+mediawiki.special.userlogin.login.styles": "skinStyles/mediawiki/special/mediawiki.special.userlogin.login.styles.less", + + "+mediawiki.ui.button": "skinStyles/mediawiki/ui/mediawiki.ui.components.button.less", + "+mediawiki.ui.checkbox": "skinStyles/mediawiki/ui/mediawiki.ui.components.checkbox.less", + "+mediawiki.ui.input": "skinStyles/mediawiki/ui/mediawiki.ui.components.input.less", + + "+mediawiki.diff.styles": "skinStyles/mediawiki/mediawiki.diff.styles.less", + "+mediawiki.htmlform.ooui.styles": "skinStyles/mediawiki/mediawiki.htmlform.ooui.styles.less", + "+mediawiki.legacy.shared": "skinStyles/mediawiki/mediawiki.legacy.shared.less", + "+mediawiki.page.gallery.styles": "skinStyles/mediawiki/mediawiki.page.gallery.styles.less", + "+mediawiki.rcfilters.filters.base.styles": "skinStyles/mediawiki/mediawiki.rcfilters.filters.base.styles.less", + "+mediawiki.widgets.DateInputWidget.styles": "skinStyles/mediawiki/mediawiki.widgets.DateInputWidget.styles.less", + + "+oojs-ui-core.styles": "skinStyles/oojs/oojs-ui-core.less", + "+oojs-ui-toolbars": "skinStyles/oojs/oojs-ui-toolbars.less", + "+oojs-ui-widgets": "skinStyles/oojs/oojs-ui-widgets.less", + "+oojs-ui-windows": "skinStyles/oojs/oojs-ui-windows.less", + + "+mmv": "skinStyles/mmv.less" } }, "AutoloadClasses": { diff --git a/skinStyles/ext.echo.styles.badge.less b/skinStyles/extensions/echo/ext.echo.styles.badge.less similarity index 95% rename from skinStyles/ext.echo.styles.badge.less rename to skinStyles/extensions/echo/ext.echo.styles.badge.less index e8bc9301..3c9b3bcf 100644 --- a/skinStyles/ext.echo.styles.badge.less +++ b/skinStyles/extensions/echo/ext.echo.styles.badge.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../../resources/variables.less'; // Styles for echo badges #pt-notifications { diff --git a/skinStyles/ext.echo.ui.less b/skinStyles/extensions/echo/ext.echo.ui.less similarity index 98% rename from skinStyles/ext.echo.ui.less rename to skinStyles/extensions/echo/ext.echo.ui.less index adc2db31..59a5e056 100644 --- a/skinStyles/ext.echo.ui.less +++ b/skinStyles/extensions/echo/ext.echo.ui.less @@ -3,8 +3,8 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; -@import '../resources/mixins.less'; +@import '../../../resources/variables.less'; +@import '../../../resources/mixins.less'; .mw-echo-ui-overlay { z-index: 6; diff --git a/skinStyles/ext.CookieWarning.styles.less b/skinStyles/extensions/ext.CookieWarning.styles.less similarity index 94% rename from skinStyles/ext.CookieWarning.styles.less rename to skinStyles/extensions/ext.CookieWarning.styles.less index 8e546fc4..38192f2a 100644 --- a/skinStyles/ext.CookieWarning.styles.less +++ b/skinStyles/extensions/ext.CookieWarning.styles.less @@ -3,8 +3,8 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; -@import '../resources/mixins.less'; +@import '../../resources/variables.less'; +@import '../../resources/mixins.less'; .mw-cookiewarning-container { top: unset; diff --git a/skinStyles/ext.Tabber.less b/skinStyles/extensions/ext.Tabber.less similarity index 95% rename from skinStyles/ext.Tabber.less rename to skinStyles/extensions/ext.Tabber.less index da4337c7..9280ba17 100644 --- a/skinStyles/ext.Tabber.less +++ b/skinStyles/extensions/ext.Tabber.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../resources/variables.less'; .tabber { ul.tabbernav { diff --git a/skinStyles/ext.popups.main.less b/skinStyles/extensions/ext.popups.main.less similarity index 86% rename from skinStyles/ext.popups.main.less rename to skinStyles/extensions/ext.popups.main.less index a40c39db..cb7b2e83 100644 --- a/skinStyles/ext.popups.main.less +++ b/skinStyles/extensions/ext.popups.main.less @@ -3,8 +3,8 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; -@import '../resources/mixins.less'; +@import '../../resources/variables.less'; +@import '../../resources/mixins.less'; .mwe-popups { border: 0; diff --git a/skinStyles/ext.visualEditor.core.less b/skinStyles/extensions/ext.visualEditor.core.less similarity index 97% rename from skinStyles/ext.visualEditor.core.less rename to skinStyles/extensions/ext.visualEditor.core.less index c2f1d2be..a02495bb 100644 --- a/skinStyles/ext.visualEditor.core.less +++ b/skinStyles/extensions/ext.visualEditor.core.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../resources/variables.less'; .ve-activated { .mw-header-container { diff --git a/skinStyles/ext.flow.less b/skinStyles/extensions/flow/ext.flow.less similarity index 98% rename from skinStyles/ext.flow.less rename to skinStyles/extensions/flow/ext.flow.less index 1389b468..2f5768eb 100644 --- a/skinStyles/ext.flow.less +++ b/skinStyles/extensions/flow/ext.flow.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../../resources/variables.less'; @media ( prefers-color-scheme: dark ) { /** diff --git a/skinStyles/ext.flow.styles.base.less b/skinStyles/extensions/flow/ext.flow.styles.base.less similarity index 95% rename from skinStyles/ext.flow.styles.base.less rename to skinStyles/extensions/flow/ext.flow.styles.base.less index 36cf0f40..6de8f42f 100644 --- a/skinStyles/ext.flow.styles.base.less +++ b/skinStyles/extensions/flow/ext.flow.styles.base.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../../resources/variables.less'; @media ( prefers-color-scheme: dark ) { .flow-component { diff --git a/skinStyles/ext.flow.ui.less b/skinStyles/extensions/flow/ext.flow.ui.less similarity index 95% rename from skinStyles/ext.flow.ui.less rename to skinStyles/extensions/flow/ext.flow.ui.less index 12a12e98..9a0fc192 100644 --- a/skinStyles/ext.flow.ui.less +++ b/skinStyles/extensions/flow/ext.flow.ui.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../../resources/variables.less'; @media ( prefers-color-scheme: dark ) { /** diff --git a/skinStyles/ext.relatedArticles.cards.less b/skinStyles/extensions/related_articles/ext.relatedArticles.cards.less similarity index 93% rename from skinStyles/ext.relatedArticles.cards.less rename to skinStyles/extensions/related_articles/ext.relatedArticles.cards.less index 3c026117..697f55f9 100644 --- a/skinStyles/ext.relatedArticles.cards.less +++ b/skinStyles/extensions/related_articles/ext.relatedArticles.cards.less @@ -3,8 +3,8 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; -@import '../resources/mixins.less'; +@import '../../../resources/variables.less'; +@import '../../../resources/mixins.less'; .ext-related-articles-card-list { margin-top: 0; diff --git a/skinStyles/ext.relatedArticles.readMore.less b/skinStyles/extensions/related_articles/ext.relatedArticles.readMore.less similarity index 86% rename from skinStyles/ext.relatedArticles.readMore.less rename to skinStyles/extensions/related_articles/ext.relatedArticles.readMore.less index aab3e3bd..0b93261f 100644 --- a/skinStyles/ext.relatedArticles.readMore.less +++ b/skinStyles/extensions/related_articles/ext.relatedArticles.readMore.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../../resources/variables.less'; .read-more-container { margin: 0 auto; diff --git a/skinStyles/ext.translate.editor.less b/skinStyles/extensions/translate/ext.translate.editor.less similarity index 70% rename from skinStyles/ext.translate.editor.less rename to skinStyles/extensions/translate/ext.translate.editor.less index 68eb003b..b7d38b34 100644 --- a/skinStyles/ext.translate.editor.less +++ b/skinStyles/extensions/translate/ext.translate.editor.less @@ -3,8 +3,8 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; -@import '../resources/mixins.less'; +@import '../../../resources/variables.less'; +@import '../../../resources/mixins.less'; .tux-message-editor { border: 0; diff --git a/skinStyles/ext.translate.less b/skinStyles/extensions/translate/ext.translate.less similarity index 93% rename from skinStyles/ext.translate.less rename to skinStyles/extensions/translate/ext.translate.less index 11e87cb0..0123f735 100644 --- a/skinStyles/ext.translate.less +++ b/skinStyles/extensions/translate/ext.translate.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../../resources/variables.less'; .mw-pt-translate-header { margin: 8px 0 0 ~'calc(-@{page-width} / 2 + 310px)'; diff --git a/skinStyles/ext.translate.loader.less b/skinStyles/extensions/translate/ext.translate.loader.less similarity index 65% rename from skinStyles/ext.translate.loader.less rename to skinStyles/extensions/translate/ext.translate.loader.less index 0b176a65..295d29b2 100644 --- a/skinStyles/ext.translate.loader.less +++ b/skinStyles/extensions/translate/ext.translate.loader.less @@ -3,8 +3,8 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; -@import '../resources/mixins.less'; +@import '../../../resources/variables.less'; +@import '../../../resources/mixins.less'; .tux-messagetable-loader { background: transparent !important; diff --git a/skinStyles/ext.translate.messagetable.less b/skinStyles/extensions/translate/ext.translate.messagetable.less similarity index 96% rename from skinStyles/ext.translate.messagetable.less rename to skinStyles/extensions/translate/ext.translate.messagetable.less index 73497b67..69c1ccf8 100644 --- a/skinStyles/ext.translate.messagetable.less +++ b/skinStyles/extensions/translate/ext.translate.messagetable.less @@ -3,8 +3,8 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; -@import '../resources/mixins.less'; +@import '../../../resources/variables.less'; +@import '../../../resources/mixins.less'; #page-tools { z-index: 0; diff --git a/skinStyles/ext.translate.special.translate.less b/skinStyles/extensions/translate/ext.translate.special.translate.less similarity index 70% rename from skinStyles/ext.translate.special.translate.less rename to skinStyles/extensions/translate/ext.translate.special.translate.less index 828ffa56..b0b99b5b 100644 --- a/skinStyles/ext.translate.special.translate.less +++ b/skinStyles/extensions/translate/ext.translate.special.translate.less @@ -3,8 +3,8 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; -@import '../resources/mixins.less'; +@import '../../../resources/variables.less'; +@import '../../../resources/mixins.less'; .firstHeading, #siteSub, diff --git a/skinStyles/ext.translate.tag.languages.less b/skinStyles/extensions/translate/ext.translate.tag.languages.less similarity index 95% rename from skinStyles/ext.translate.tag.languages.less rename to skinStyles/extensions/translate/ext.translate.tag.languages.less index dcbb2ae9..2d10b7b9 100644 --- a/skinStyles/ext.translate.tag.languages.less +++ b/skinStyles/extensions/translate/ext.translate.tag.languages.less @@ -3,8 +3,8 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; -@import '../resources/mixins.less'; +@import '../../../resources/variables.less'; +@import '../../../resources/mixins.less'; .mw-pt-languages { display: block; diff --git a/skinStyles/ext.uls.common.less b/skinStyles/extensions/uls/ext.uls.common.less similarity index 84% rename from skinStyles/ext.uls.common.less rename to skinStyles/extensions/uls/ext.uls.common.less index c94db9eb..9ddcecd7 100644 --- a/skinStyles/ext.uls.common.less +++ b/skinStyles/extensions/uls/ext.uls.common.less @@ -3,8 +3,8 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; -@import '../resources/mixins.less'; +@import '../../../resources/variables.less'; +@import '../../../resources/mixins.less'; // Need important to override .uls-menu { diff --git a/skinStyles/ext.uls.pt.less b/skinStyles/extensions/uls/ext.uls.pt.less similarity index 92% rename from skinStyles/ext.uls.pt.less rename to skinStyles/extensions/uls/ext.uls.pt.less index 8bd4ffe3..a9727c26 100644 --- a/skinStyles/ext.uls.pt.less +++ b/skinStyles/extensions/uls/ext.uls.pt.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../../resources/variables.less'; // Styles for ULS icon #pt-uls a.uls-trigger { diff --git a/skinStyles/mediawiki.action.history.styles.less b/skinStyles/mediawiki/action/mediawiki.action.history.styles.less similarity index 86% rename from skinStyles/mediawiki.action.history.styles.less rename to skinStyles/mediawiki/action/mediawiki.action.history.styles.less index d1d57b56..927c00ba 100644 --- a/skinStyles/mediawiki.action.history.styles.less +++ b/skinStyles/mediawiki/action/mediawiki.action.history.styles.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../../resources/variables.less'; @media ( prefers-color-scheme: dark ) { #pagehistory li { diff --git a/skinStyles/mediawiki.action.view.filepage.less b/skinStyles/mediawiki/action/mediawiki.action.view.filepage.less similarity index 96% rename from skinStyles/mediawiki.action.view.filepage.less rename to skinStyles/mediawiki/action/mediawiki.action.view.filepage.less index 0f5c9089..51b28369 100644 --- a/skinStyles/mediawiki.action.view.filepage.less +++ b/skinStyles/mediawiki/action/mediawiki.action.view.filepage.less @@ -3,8 +3,8 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; -@import '../resources/mixins.less'; +@import '../../../resources/variables.less'; +@import '../../../resources/mixins.less'; #filetoc { margin: 0; diff --git a/skinStyles/mediawiki.diff.styles.less b/skinStyles/mediawiki/mediawiki.diff.styles.less similarity index 91% rename from skinStyles/mediawiki.diff.styles.less rename to skinStyles/mediawiki/mediawiki.diff.styles.less index e4c1429f..014a3e9c 100644 --- a/skinStyles/mediawiki.diff.styles.less +++ b/skinStyles/mediawiki/mediawiki.diff.styles.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../resources/variables.less'; @media ( prefers-color-scheme: dark ) { .diff-context { diff --git a/skinStyles/mediawiki.htmlform.ooui.styles.less b/skinStyles/mediawiki/mediawiki.htmlform.ooui.styles.less similarity index 91% rename from skinStyles/mediawiki.htmlform.ooui.styles.less rename to skinStyles/mediawiki/mediawiki.htmlform.ooui.styles.less index cf246546..893e35b1 100644 --- a/skinStyles/mediawiki.htmlform.ooui.styles.less +++ b/skinStyles/mediawiki/mediawiki.htmlform.ooui.styles.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../resources/variables.less'; @media ( prefers-color-scheme: dark ) { .mw-htmlform-ooui { diff --git a/skinStyles/mediawiki.legacy.shared.less b/skinStyles/mediawiki/mediawiki.legacy.shared.less similarity index 93% rename from skinStyles/mediawiki.legacy.shared.less rename to skinStyles/mediawiki/mediawiki.legacy.shared.less index f0b44f4b..f032a0fd 100644 --- a/skinStyles/mediawiki.legacy.shared.less +++ b/skinStyles/mediawiki/mediawiki.legacy.shared.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../resources/variables.less'; @media ( prefers-color-scheme: dark ) { .catlinks li { diff --git a/skinStyles/mediawiki.page.gallery.styles.less b/skinStyles/mediawiki/mediawiki.page.gallery.styles.less similarity index 93% rename from skinStyles/mediawiki.page.gallery.styles.less rename to skinStyles/mediawiki/mediawiki.page.gallery.styles.less index 6a891059..5cc16409 100644 --- a/skinStyles/mediawiki.page.gallery.styles.less +++ b/skinStyles/mediawiki/mediawiki.page.gallery.styles.less @@ -3,8 +3,8 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; -@import '../resources/mixins.less'; +@import '../../resources/variables.less'; +@import '../../resources/mixins.less'; ul.gallery { position: relative; diff --git a/skinStyles/mediawiki.rcfilters.filters.base.styles.less b/skinStyles/mediawiki/mediawiki.rcfilters.filters.base.styles.less similarity index 98% rename from skinStyles/mediawiki.rcfilters.filters.base.styles.less rename to skinStyles/mediawiki/mediawiki.rcfilters.filters.base.styles.less index 7e0b018a..e08201ed 100644 --- a/skinStyles/mediawiki.rcfilters.filters.base.styles.less +++ b/skinStyles/mediawiki/mediawiki.rcfilters.filters.base.styles.less @@ -4,7 +4,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../resources/variables.less'; @media ( prefers-color-scheme: dark ) { /** diff --git a/skinStyles/mediawiki.widgets.DateInputWidget.styles.less b/skinStyles/mediawiki/mediawiki.widgets.DateInputWidget.styles.less similarity index 97% rename from skinStyles/mediawiki.widgets.DateInputWidget.styles.less rename to skinStyles/mediawiki/mediawiki.widgets.DateInputWidget.styles.less index 2cc40f05..442d708a 100644 --- a/skinStyles/mediawiki.widgets.DateInputWidget.styles.less +++ b/skinStyles/mediawiki/mediawiki.widgets.DateInputWidget.styles.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../resources/variables.less'; @media ( prefers-color-scheme: dark ) { .mw-widget-dateInputWidget { diff --git a/skinStyles/mediawiki.special.apisandbox.less b/skinStyles/mediawiki/special/mediawiki.special.apisandbox.less similarity index 81% rename from skinStyles/mediawiki.special.apisandbox.less rename to skinStyles/mediawiki/special/mediawiki.special.apisandbox.less index 860fd954..b31748eb 100644 --- a/skinStyles/mediawiki.special.apisandbox.less +++ b/skinStyles/mediawiki/special/mediawiki.special.apisandbox.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../../resources/variables.less'; @media ( prefers-color-scheme: dark ) { .mw-apisandbox-toolbar { diff --git a/skinStyles/mediawiki.special.changeslist.enhanced.less b/skinStyles/mediawiki/special/mediawiki.special.changeslist.enhanced.less similarity index 93% rename from skinStyles/mediawiki.special.changeslist.enhanced.less rename to skinStyles/mediawiki/special/mediawiki.special.changeslist.enhanced.less index c21a65bb..15ed625b 100644 --- a/skinStyles/mediawiki.special.changeslist.enhanced.less +++ b/skinStyles/mediawiki/special/mediawiki.special.changeslist.enhanced.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../../resources/variables.less'; /*! * Styling for Special:Watchlist and Special:RecentChanges when preference 'usenewrc' diff --git a/skinStyles/mediawiki.special.changeslist.less b/skinStyles/mediawiki/special/mediawiki.special.changeslist.less similarity index 97% rename from skinStyles/mediawiki.special.changeslist.less rename to skinStyles/mediawiki/special/mediawiki.special.changeslist.less index 9415054c..af8e8170 100644 --- a/skinStyles/mediawiki.special.changeslist.less +++ b/skinStyles/mediawiki/special/mediawiki.special.changeslist.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../../resources/variables.less'; /*! * Styling for Special:Watchlist and Special:RecentChanges diff --git a/skinStyles/mediawiki.special.less b/skinStyles/mediawiki/special/mediawiki.special.less similarity index 84% rename from skinStyles/mediawiki.special.less rename to skinStyles/mediawiki/special/mediawiki.special.less index 16258b13..a72bc838 100644 --- a/skinStyles/mediawiki.special.less +++ b/skinStyles/mediawiki/special/mediawiki.special.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../../resources/variables.less'; @media ( prefers-color-scheme: dark ) { #mw-allmessagestable tbody:hover td { diff --git a/skinStyles/mediawiki.special.preferences.styles.ooui.less b/skinStyles/mediawiki/special/mediawiki.special.preferences.styles.ooui.less similarity index 94% rename from skinStyles/mediawiki.special.preferences.styles.ooui.less rename to skinStyles/mediawiki/special/mediawiki.special.preferences.styles.ooui.less index 3d7636d5..3a2fba34 100644 --- a/skinStyles/mediawiki.special.preferences.styles.ooui.less +++ b/skinStyles/mediawiki/special/mediawiki.special.preferences.styles.ooui.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../../resources/variables.less'; @media ( prefers-color-scheme: dark ) { .mw-email-not-authenticated .oo-ui-labelWidget, diff --git a/skinStyles/mediawiki.special.search.styles.less b/skinStyles/mediawiki/special/mediawiki.special.search.styles.less similarity index 94% rename from skinStyles/mediawiki.special.search.styles.less rename to skinStyles/mediawiki/special/mediawiki.special.search.styles.less index 0090f6e1..9e8b4eb8 100644 --- a/skinStyles/mediawiki.special.search.styles.less +++ b/skinStyles/mediawiki/special/mediawiki.special.search.styles.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../../resources/variables.less'; /* Special:Search */ .search-types { diff --git a/skinStyles/mediawiki.special.userlogin.login.styles.less b/skinStyles/mediawiki/special/mediawiki.special.userlogin.login.styles.less similarity index 89% rename from skinStyles/mediawiki.special.userlogin.login.styles.less rename to skinStyles/mediawiki/special/mediawiki.special.userlogin.login.styles.less index b5a2e3fe..c6fb4525 100644 --- a/skinStyles/mediawiki.special.userlogin.login.styles.less +++ b/skinStyles/mediawiki/special/mediawiki.special.userlogin.login.styles.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../../resources/variables.less'; @media ( prefers-color-scheme: dark ) { #mw-createaccount-join { diff --git a/skinStyles/mediawiki.ui.components.button.less b/skinStyles/mediawiki/ui/mediawiki.ui.components.button.less similarity index 96% rename from skinStyles/mediawiki.ui.components.button.less rename to skinStyles/mediawiki/ui/mediawiki.ui.components.button.less index 59b00752..d8410e27 100644 --- a/skinStyles/mediawiki.ui.components.button.less +++ b/skinStyles/mediawiki/ui/mediawiki.ui.components.button.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../../resources/variables.less'; @media ( prefers-color-scheme: dark ) { .mw-ui-button { diff --git a/skinStyles/mediawiki.ui.components.checkbox.less b/skinStyles/mediawiki/ui/mediawiki.ui.components.checkbox.less similarity index 90% rename from skinStyles/mediawiki.ui.components.checkbox.less rename to skinStyles/mediawiki/ui/mediawiki.ui.components.checkbox.less index 7283ea75..b2f6fc35 100644 --- a/skinStyles/mediawiki.ui.components.checkbox.less +++ b/skinStyles/mediawiki/ui/mediawiki.ui.components.checkbox.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../../resources/variables.less'; @media ( prefers-color-scheme: dark ) { .mw-ui-checkbox:not( #noop ) { diff --git a/skinStyles/mediawiki.ui.components.input.less b/skinStyles/mediawiki/ui/mediawiki.ui.components.input.less similarity index 89% rename from skinStyles/mediawiki.ui.components.input.less rename to skinStyles/mediawiki/ui/mediawiki.ui.components.input.less index 44fb21e9..8fa7e3c8 100644 --- a/skinStyles/mediawiki.ui.components.input.less +++ b/skinStyles/mediawiki/ui/mediawiki.ui.components.input.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; +@import '../../../resources/variables.less'; @media ( prefers-color-scheme: dark ) { .mw-ui-input { diff --git a/skinStyles/oojs-ui-core.less b/skinStyles/oojs/oojs-ui-core.less similarity index 99% rename from skinStyles/oojs-ui-core.less rename to skinStyles/oojs/oojs-ui-core.less index a9333b51..c35967bb 100644 --- a/skinStyles/oojs-ui-core.less +++ b/skinStyles/oojs/oojs-ui-core.less @@ -3,8 +3,8 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; -@import '../resources/mixins.less'; +@import '../../resources/variables.less'; +@import '../../resources/mixins.less'; /*! * Based on OOUI v0.26.4 diff --git a/skinStyles/oojs-ui-toolbars.less b/skinStyles/oojs/oojs-ui-toolbars.less similarity index 94% rename from skinStyles/oojs-ui-toolbars.less rename to skinStyles/oojs/oojs-ui-toolbars.less index 185b4bc4..8a1d5bbe 100644 --- a/skinStyles/oojs-ui-toolbars.less +++ b/skinStyles/oojs/oojs-ui-toolbars.less @@ -3,8 +3,8 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; -@import '../resources/mixins.less'; +@import '../../resources/variables.less'; +@import '../../resources/mixins.less'; /*! * OOUI v0.26.4 diff --git a/skinStyles/oojs-ui-widgets.less b/skinStyles/oojs/oojs-ui-widgets.less similarity index 98% rename from skinStyles/oojs-ui-widgets.less rename to skinStyles/oojs/oojs-ui-widgets.less index 543d6dcf..f2f57053 100644 --- a/skinStyles/oojs-ui-widgets.less +++ b/skinStyles/oojs/oojs-ui-widgets.less @@ -3,8 +3,8 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; -@import '../resources/mixins.less'; +@import '../../resources/variables.less'; +@import '../../resources/mixins.less'; /*! * OOUI v0.26.4 diff --git a/skinStyles/oojs-ui-windows.less b/skinStyles/oojs/oojs-ui-windows.less similarity index 93% rename from skinStyles/oojs-ui-windows.less rename to skinStyles/oojs/oojs-ui-windows.less index 2da6da65..4249351f 100644 --- a/skinStyles/oojs-ui-windows.less +++ b/skinStyles/oojs/oojs-ui-windows.less @@ -3,8 +3,8 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; -@import '../resources/mixins.less'; +@import '../../resources/variables.less'; +@import '../../resources/mixins.less'; /*! * OOUI v0.26.4 From 7eec5d84d9b67fb657b862d7acf1649d3a7d56f7 Mon Sep 17 00:00:00 2001 From: Hannes Date: Sun, 29 Dec 2019 14:47:03 +0100 Subject: [PATCH 2/9] Add SMW darkmode --- skin.json | 20 + .../extensions/smw/ext.jquery.atwho.less | 49 ++ skinStyles/extensions/smw/ext.libs.tippy.less | 119 +++++ .../extensions/smw/ext.smw.ask.styles.less | 150 ++++++ .../extensions/smw/ext.smw.browse.styles.less | 114 +++++ .../extensions/smw/ext.smw.modal.styles.less | 42 ++ .../extensions/smw/ext.smw.page.styles.less | 127 +++++ .../extensions/smw/ext.smw.special.style.less | 66 +++ .../smw/ext.smw.special.styles.less | 19 + skinStyles/extensions/smw/ext.smw.style.less | 472 ++++++++++++++++++ .../extensions/smw/ext.smw.table.styles.less | 36 ++ .../smw/ext.smw.tooltip.styles.less | 24 + .../extensions/smw/ext.smw.vtabs.styles.less | 70 +++ .../extensions/smw/jquery.jsonview.less | 32 ++ .../smw/jquery.selectmenu.styles.less | 284 +++++++++++ .../extensions/smw/smw.content.schema.less | 84 ++++ skinStyles/extensions/smw/smw.jsonview.less | 22 + .../smw/smw.special.search.styles.less | 52 ++ .../extensions/smw/smw.summarytable.less | 28 ++ .../smw.tableprinter.datatable.styles.less | 97 ++++ skinStyles/extensions/smw/smw.tippy.less | 42 ++ 21 files changed, 1949 insertions(+) create mode 100644 skinStyles/extensions/smw/ext.jquery.atwho.less create mode 100644 skinStyles/extensions/smw/ext.libs.tippy.less create mode 100644 skinStyles/extensions/smw/ext.smw.ask.styles.less create mode 100644 skinStyles/extensions/smw/ext.smw.browse.styles.less create mode 100644 skinStyles/extensions/smw/ext.smw.modal.styles.less create mode 100644 skinStyles/extensions/smw/ext.smw.page.styles.less create mode 100644 skinStyles/extensions/smw/ext.smw.special.style.less create mode 100644 skinStyles/extensions/smw/ext.smw.special.styles.less create mode 100644 skinStyles/extensions/smw/ext.smw.style.less create mode 100644 skinStyles/extensions/smw/ext.smw.table.styles.less create mode 100644 skinStyles/extensions/smw/ext.smw.tooltip.styles.less create mode 100644 skinStyles/extensions/smw/ext.smw.vtabs.styles.less create mode 100644 skinStyles/extensions/smw/jquery.jsonview.less create mode 100644 skinStyles/extensions/smw/jquery.selectmenu.styles.less create mode 100644 skinStyles/extensions/smw/smw.content.schema.less create mode 100644 skinStyles/extensions/smw/smw.jsonview.less create mode 100644 skinStyles/extensions/smw/smw.special.search.styles.less create mode 100644 skinStyles/extensions/smw/smw.summarytable.less create mode 100644 skinStyles/extensions/smw/smw.tableprinter.datatable.styles.less create mode 100644 skinStyles/extensions/smw/smw.tippy.less diff --git a/skin.json b/skin.json index 55b7d6fb..d4f48cb1 100644 --- a/skin.json +++ b/skin.json @@ -354,6 +354,26 @@ "+ext.relatedArticles.cards": "skinStyles/extensions/related_articles/ext.relatedArticles.cards.less", "+ext.relatedArticles.readMore": "skinStyles/extensions/related_articles/ext.relatedArticles.readMore.less", + "+ext.libs.tippy": "skinStyles/extensions/smw/ext.libs.tippy.less", + "+ext.smw.ask.styles": "skinStyles/extensions/smw/ext.smw.ask.styles.less", + "+ext.smw.browse.styles": "skinStyles/extensions/smw/ext.smw.browse.styles.less", + "+ext.smw.modal.styles": "skinStyles/extensions/smw/ext.smw.modal.styles.less", + "+ext.smw.page.styles": "skinStyles/extensions/smw/ext.smw.page.styles.less", + "+ext.smw.special.style": "skinStyles/extensions/smw/ext.smw.special.style.less", + "+ext.smw.special.styles": "skinStyles/extensions/smw/ext.smw.special.styles.less", + "+ext.smw.style": "skinStyles/extensions/smw/ext.smw.style.less", + "+ext.smw.table.styles": "skinStyles/extensions/smw/ext.smw.table.styles.less", + "+ext.smw.tooltip.styles": "skinStyles/extensions/smw/ext.smw.tooltip.styles.less", + "+ext.smw.vtabs.styles": "skinStyles/extensions/smw/ext.smw.vtabs.styles.less", + "+jquery.jsonview": "skinStyles/extensions/smw/jquery.jsonview.less", + "+jquery.selectmenu.styles": "skinStyles/extensions/smw/jquery.selectmenu.styles.less", + "+smw.content.schema": "skinStyles/extensions/smw/smw.content.schema.less", + "+smw.jsonview": "skinStyles/extensions/smw/smw.jsonview.less", + "+smw.special.search.styles": "skinStyles/extensions/smw/smw.special.search.styles.less", + "+smw.summarytable": "skinStyles/extensions/smw/smw.summarytable.less", + "+smw.tableprinter.datatables.styles": "skinStyles/extensions/smw/smw.tableprinter.datatables.styles.less", + "+smw.tippy": "skinStyles/extensions/smw/smw.tippy.less", + "+ext.translate": "skinStyles/extensions/translate/ext.translate.less", "+ext.translate.editor": "skinStyles/extensions/translate/ext.translate.editor.less", "+ext.translate.loader": "skinStyles/extensions/translate/ext.translate.loader.less", diff --git a/skinStyles/extensions/smw/ext.jquery.atwho.less b/skinStyles/extensions/smw/ext.jquery.atwho.less new file mode 100644 index 00000000..5fd5c15d --- /dev/null +++ b/skinStyles/extensions/smw/ext.jquery.atwho.less @@ -0,0 +1,49 @@ +/* + * Citizen - SMW jQuery AtWho + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .atwho-view { + background: @dark-bg-0; + color: #6f8092; + border: 1px solid @dark-bg-20; + box-shadow: 0 0 5px rgba( 0, 0, 0, 0.1 ); + } + + .atwho-view .atwho-header { + border-bottom: solid 1px @dark-bg-20; + color: #6f8092; + } + + .atwho-view .atwho-header .small { + color: #6f8092; + } + + .atwho-view .cur { + background: @dark-bg-20; + color: #6f8092; + } + + .atwho-view .cur small { + color: @dark-text-100; + } + + .atwho-view strong { + color: #39f; + } + + .atwho-view .cur strong { + color: #39f; + } + + .atwho-view ul li { + border-bottom: 1px solid @dark-bg-20; + } + + .atwho-view small { + color: @dark-text-70; + } +} diff --git a/skinStyles/extensions/smw/ext.libs.tippy.less b/skinStyles/extensions/smw/ext.libs.tippy.less new file mode 100644 index 00000000..4050f3c0 --- /dev/null +++ b/skinStyles/extensions/smw/ext.libs.tippy.less @@ -0,0 +1,119 @@ +/* + * Citizen - SMW Lib Tippy + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + /** + tippy.css + */ + .tippy-tooltip { + color: @dark-text-100; + background-color: #333; + } + + /** + light-border.css + */ + .tippy-tooltip.light-border-theme { + background-color: @dark-bg-0; + border: 1px solid rgba( 0, 8, 16, 0.15 ); + color: @dark-text-90; + box-shadow: 0 3px 14px -0.5px rgba( 0, 8, 16, 0.08 ); + } + + .tippy-tooltip.light-border-theme .tippy-backdrop { + background-color: @dark-bg-0; + } + + .tippy-tooltip.light-border-theme .tippy-roundarrow { + fill: @dark-bg-0; + } + + .tippy-tooltip.light-border-theme .tippy-roundarrow:after { + fill: rgba( 0, 8, 16, 0.15 ); + } + + .tippy-tooltip.light-border-theme[ x-placement^=top ] .tippy-arrow { + border-top-color: @dark-bg-0; + } + + .tippy-tooltip.light-border-theme[ x-placement^=top ] .tippy-arrow:after { + border-top: 7px solid @dark-bg-0; + } + + .tippy-tooltip.light-border-theme[ x-placement^=top ] .tippy-arrow:before { + border-top: 7px solid rgba( 0, 8, 16, 0.2 ); + } + + .tippy-tooltip.light-border-theme[ x-placement^=bottom ] .tippy-arrow { + border-bottom-color: @dark-bg-0; + } + + .tippy-tooltip.light-border-theme[ x-placement^=bottom ] .tippy-arrow:after { + border-bottom: 7px solid @dark-bg-0; + } + + .tippy-tooltip.light-border-theme[ x-placement^=bottom ] .tippy-arrow:before { + border-bottom: 7px solid rgba( 0, 8, 16, 0.2 ); + } + + .tippy-tooltip.light-border-theme[ x-placement^=left ] .tippy-arrow { + border-left-color: @dark-bg-0; + } + + .tippy-tooltip.light-border-theme[ x-placement^=left ] .tippy-arrow:after { + border-left: 7px solid @dark-bg-0; + } + + .tippy-tooltip.light-border-theme[ x-placement^=left ] .tippy-arrow:before { + border-left: 7px solid rgba( 0, 8, 16, 0.2 ); + } + + .tippy-tooltip.light-border-theme[ x-placement^=right ] .tippy-arrow { + border-right-color: @dark-bg-0; + } + + .tippy-tooltip.light-border-theme[ x-placement^=right ] .tippy-arrow:after { + border-right: 7px solid @dark-bg-0; + } + + .tippy-tooltip.light-border-theme[ x-placement^=right ] .tippy-arrow:before { + border-right: 7px solid rgba( 0, 8, 16, 0.2 ); + } + + /** + light.css + */ + .tippy-tooltip.light-theme { + color: @dark-text-90; + box-shadow: 0 0 20px 4px rgba( 154, 161, 177, 0.15 ), 0 4px 80px -8px rgba( 36, 40, 47, 0.25 ), 0 4px 4px -2px rgba( 91, 94, 105, 0.15 ); + background-color: @dark-bg-0; + } + + .tippy-tooltip.light-theme[ x-placement^=top ] .tippy-arrow { + border-top: 8px solid @dark-bg-0; + } + + .tippy-tooltip.light-theme[ x-placement^=bottom ] .tippy-arrow { + border-bottom: 8px solid @dark-bg-0; + } + + .tippy-tooltip.light-theme[ x-placement^=left ] .tippy-arrow { + border-left: 8px solid @dark-bg-0; + } + + .tippy-tooltip.light-theme[ x-placement^=right ] .tippy-arrow { + border-right: 8px solid @dark-bg-0; + } + + .tippy-tooltip.light-theme .tippy-backdrop { + background-color: @dark-bg-0; + } + + .tippy-tooltip.light-theme .tippy-roundarrow { + fill: @dark-bg-0; + } +} diff --git a/skinStyles/extensions/smw/ext.smw.ask.styles.less b/skinStyles/extensions/smw/ext.smw.ask.styles.less new file mode 100644 index 00000000..43c347e7 --- /dev/null +++ b/skinStyles/extensions/smw/ext.smw.ask.styles.less @@ -0,0 +1,150 @@ +/* + * Citizen - SMW Special Ask + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .smw-ask-toplinks { + background-color: @dark-bg-10; + } + + .smw-ask-toplinks-edit { + border-right: 3px solid @dark-bg-0; + } + + .smw-ask-condition fieldset, + .smw-ask-printhead fieldset { + border: 1px solid @dark-bg-50; + } + + .smw-ask-query .smw-table-row .smw-table-cell { + border: 1px solid @dark-bg-50; + } + + .smw-ask-options-row-odd { + background: @dark-bg-20; + } + + .smw-ask-options-row-even { + background: @dark-bg-0; + } + + .smw-ask-button { + color: @dark-text-80; + border: 1px solid @dark-bg-20; + } + + .smw-ask-button-submit input { + border: 1px solid @dark-bg-10; + background-color: @dark-bg-20; + color: @dark-text-70; + } + + .smw-ask-button-submit input:hover { + background-color: @dark-bg-30; + border-color: @dark-bg-20; + } + + .smw-ask-button-right { + color: @dark-text-80; + border: 1px solid @dark-bg-20; + } + + .smw-ask-button:hover { + background-color: @dark-bg-10; + } + + .smw-ask-button input { + color: @dark-text-100 !important; + } + + .smw-ask-button-lblue { + color: @dark-text-100; + background-color: #5bc0de; + border-color: #46b8da; + } + + .smw-ask-button-lblue:hover { + background-color: #31b0d5; + border-color: #269abc; + } + + .smw-ask-button-dblue { + color: #fff; + background-color: #337ab7; + border-color: #2e6da4; + } + + .smw-ask-button-dblue:hover { + background-color: #286090; + border-color: #204d74; + } + + .smw-ask-button-lgrey { + background-color: @dark-bg-20; + border-color: @dark-bg-30; + } + + .smw-ask-button-lgrey:hover { + background-color: @dark-bg-30; + border-color: @dark-bg-30; + } + + .smw-ask-button a, + .smw-ask-button a:hover, + .smw-ask-button a:focus, + .smw-ask-button a:active, + .smw-ask-button a:visited { + color: @dark-text-80; + } + + .smw-ask-button-lblue a, + .smw-ask-button-lblue a:hover, + .smw-ask-button-lblue a:focus, + .smw-ask-button-lblue a:active, + .smw-ask-button-lblue a:visited { + color: @dark-text-100; + } + + .smw-ask-button-dblue a, + .smw-ask-button-dblue a:hover, + .smw-ask-button-dblue a:focus, + .smw-ask-button-dblue a:active, + .smw-ask-button-dblue a:visited { + color: @dark-text-100; + } + + .smw-ask-search fieldset, + .smw-ask-format fieldset, + .smw-ask-options fieldset { + border: 1px solid @dark-bg-50; + } + + .strike > span:before, + .strike > span:after { + background: @dark-bg-50; + } + + .smw-ask-sort-input input, + .smw-propertysubject-input { + border: 1px solid @dark-bg-50; + } + + #options-toggle:not( :checked ) + #options-list .options-parameter-list:after { + background-image: linear-gradient( to bottom, rgba( 0, 0, 0, 0 ), @dark-bg-0 90% ); + } + + .slowfade textarea::placeholder { + color: @dark-text-60; + } + + .export-links li { + border-left: 1px solid @dark-bg-50; + } + + .smw-tabs input.nav-tab:checked + label.nav-label.result-cache { + border-top: 2px solid @yellow-50; + } +} diff --git a/skinStyles/extensions/smw/ext.smw.browse.styles.less b/skinStyles/extensions/smw/ext.smw.browse.styles.less new file mode 100644 index 00000000..ce9540f7 --- /dev/null +++ b/skinStyles/extensions/smw/ext.smw.browse.styles.less @@ -0,0 +1,114 @@ +/* + * Citizen - SMW Browse + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .smwb-factbox { + border-left: 0.5em solid @dark-bg-20; + } + + .smwb-factbox .smwb-cell { + border: 0 solid @dark-bg-50; + border-top: 2px solid @dark-bg-0; + } + + .smwb-cell-empty { + border-left: 0.5em solid @dark-bg-20; + } + + .smwb-prophead { + background-color: @dark-bg-20; + } + + .smwb-title { + background-color: @dark-bg-20; + } + + .smwb-propvalue { + background-color: @dark-bg-10; + } + + .smwb-propvalue .smwb-prophead { + background-color: @dark-bg-20; + } + + .smwb-propvalue .smwb-propval { + background-color: @dark-bg-10; + } + + .smwb-center, + .smwb-actions { + background-color: @dark-bg-20; + } + + .smwb-bottom { + border-bottom: 2px solid @dark-bg-0; + } + + .smwb-ifactbox { + border-right: 0.5em solid @dark-bg-20; + } + + .smwb-ifactbox .smwb-cell { + border: 0 solid @dark-bg-50; + border-top: 2px solid @dark-bg-0; + } + + .smwb-ititle { + background-color: @dark-bg-20; + } + + .smwb-ititle td { + border-bottom: 2px solid @dark-bg-0; + } + + .smwb-ipropvalue { + background-color: @dark-bg-10; + } + + .smwb-ipropvalue .smwb-prophead { + background-color: @dark-bg-20; + } + + .smwb-ipropvalue .smwb-propval { + background-color: @dark-bg-10; + } + + .smwb-input .mw-ui-input:focus { + box-shadow: inset 0 0 0 1px @dark-bg-20; + border-color: @dark-bg-20; + } + + .smwb-action-separator { + border-left: 1px solid @dark-bg-60; + } + + .smwb-theme-light .smwb-factbox { + border-left: 0.5em solid @dark-bg-30; + } + + .smwb-theme-light .smwb-ifactbox { + border-right: 0.5em solid @dark-bg-30; + } + + .smwb-theme-light .smwb-title, + .smwb-theme-light .smwb-center, + .smwb-theme-light .smwb-actions, + .smwb-theme-light .smwb-prophead { + background-color: @dark-bg-20; + } + + .smwb-theme-light .smwb-propval { + background-color: @dark-bg-10; + } + + @media screen and ( max-width: 800px ) { + .smwb-group .smwb-propval, + .smwb-group .smwb-theme-light .smwb-propval { + background-color: @dark-bg-20; + } + } +} diff --git a/skinStyles/extensions/smw/ext.smw.modal.styles.less b/skinStyles/extensions/smw/ext.smw.modal.styles.less new file mode 100644 index 00000000..43e5e33c --- /dev/null +++ b/skinStyles/extensions/smw/ext.smw.modal.styles.less @@ -0,0 +1,42 @@ +/* + * Citizen - SMW Modal + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .smw-modal { + background-color: rgba( 0, 0, 0, 0.23 ); /* Black w */ + } + + .smw-modal-title { + color: @dark-text-90 !important; + } + + .smw-modal-content { + background-color: @dark-bg-0 !important; + border: 1px solid @dark-bg-20 !important; + box-shadow: 0 0 18px rgba( 27, 31, 35, 0.4 ) !important; + } + + .smw-modal-close:hover, + .smw-modal-close:focus { + color: @dark-text-100 !important; + } + + .smw-modal-header { + border-bottom: 1px solid @dark-bg-20 !important; + background-color: @dark-bg-10 !important; + } + + .smw-modal-header h2 { + border-bottom: 0 solid @dark-bg-50 !important; + color: @dark-text-100 !important; + } + + .smw-modal-footer { + background-color: #5cb85c; + color: @dark-text-100; + } +} diff --git a/skinStyles/extensions/smw/ext.smw.page.styles.less b/skinStyles/extensions/smw/ext.smw.page.styles.less new file mode 100644 index 00000000..7af8185d --- /dev/null +++ b/skinStyles/extensions/smw/ext.smw.page.styles.less @@ -0,0 +1,127 @@ +/* + * Citizen - SMW Special Ask + * https://starcitizen.tools + * TODO CHECK 'smw/ext.smw.table.css' +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .smw-property-page-content-line { + border-bottom: 1px solid @dark-bg-20; + } + + .smw-property-page-results .value-row:hover { + background-color: @dark-bg-10; + } + + .smw-property-page-results .header-row > .header-title { + border-bottom: 1px solid @dark-bg-20; + } + + .smw-ui-pagination .page-link { + color: #007bff; + background-color: @dark-bg-0; + border: 1px solid @dark-bg-20; + } + + .smw-ui-pagination .page-link:hover { + color: #0056b3; + background-color: @dark-bg-20; + border-color: @dark-bg-30; + } + + .smw-ui-pagination .page-link.link-disabled { + color: @dark-text-70; + background-color: @dark-bg-0; + border-color: @dark-bg-20; + } + + .smw-ui-pagination .page-link.link-active { + color: @dark-text-100; + background-color: #007bff; + border-color: #007bff; + } + + .smw-property-page-results .header-title { + color: @dark-text-80; + background-color: @dark-bg-0; + } + + .list-pager-value-filter input { + color: @dark-text-90; + background-color: @dark-bg-0; + border: 1px solid @dark-bg-20; + } + + .smw-ui-input-filter { + color: #007bff; + background-color: @dark-bg-0; + border: 1px solid @dark-bg-20; + } + + .smw-ui-input-filter input { + border: 0 solid @dark-bg-20 !important; + border-left: 1px solid @dark-bg-20 !important; + color: @dark-text-80 !important; + } + + .smw-property-page-results .header-title { + border-bottom: 1px solid @dark-bg-20; + } + + .smw-property-page-results.legacy .header-title { + border-bottom: 0 solid @dark-bg-20; + } + + .usage-count, + .item-count { + background-color: rgba( 27, 31, 35, 0.04 ); + color: @dark-text-70; + } + + #tab-smw-property-value:checked + label.nav-label .usage-count, + #tab-smw-concept-list:checked + label.nav-label .usage-count, + #tab-smw-property-subp:checked + label.nav-label .item-count, + #tab-smw-property-errp:checked + label.nav-label .item-count, + #tab-smw-property-redi:checked + label.nav-label .item-count, + #tab-smw-type-list:checked + label.nav-label .item-count, + #tab-smw-property-spec:checked + label.nav-label .item-count { + background-color: rgba( 27, 31, 35, 0.08 ); + color: #444d56; + } + + #tab-smw-property-value:checked + label.nav-label .usage-count.moderate, + #tab-smw-concept-list:checked + label.nav-label .usage-count.moderate { + background-color: rgba( 43, 157, 239, 0.18 ); + color: #444d56; + } + + #tab-smw-property-value:checked + label.nav-label .usage-count.high, + #tab-smw-concept-list:checked + label.nav-label .usage-count.high { + background-color: rgba( 186, 0, 0, 0.16 ); + color: #444d56; + } + + .smw-property input.nav-tab:checked + label.nav-label.smw-tab-warning, + .smw-concept input.nav-tab:checked + label.nav-label.smw-tab-warning, + .smw-types input.nav-tab:checked + label.nav-label.smw-tab-warning { + border-top: 2px solid rgb( 204, 0, 0 ); + } + + .smw-property input.nav-tab:checked + label.nav-label.smw-tab-spec, + .smw-concept input.nav-tab:checked + label.nav-label.smw-tab-spec { + border-top: 2px solid orange; + } + + .smw-property input.nav-tab:checked + label#tab-label-smw-property-constraint.nav-label { + border-top: 2px solid #42c0fb; + } + + @media screen and ( max-width: 800px ) { + .smw-property-page-results .header-title:first-child, + .smw-property-page-results .header-row > .header-title:first-child { + border-bottom: 1px solid @dark-bg-20; + } + } +} diff --git a/skinStyles/extensions/smw/ext.smw.special.style.less b/skinStyles/extensions/smw/ext.smw.special.style.less new file mode 100644 index 00000000..6a8ab549 --- /dev/null +++ b/skinStyles/extensions/smw/ext.smw.special.style.less @@ -0,0 +1,66 @@ +/* + * Citizen - SMW Special Admin + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .smw-admin-deprecation-notice-docu-section { + background-color: #fcf8e3; + border-color: #faf2cc; + color: #8a6d3b; + } + + .smw-admin-deprecation fieldset { + border-top: 1px solid @dark-bg-50; + } + + .smw-admin-hr { + background-color: @dark-bg-20; + } + + .smw-special-filter-button { + color: @dark-text-80; + border: 1px solid @dark-bg-20; + } + + .smw-special-filter-button:hover { + background-color: @dark-bg-10; + } + + .smw-special-filter-button a, + .smw-special-filter-button a:hover, + .smw-special-filter-button a:focus, + .smw-special-filter-button a:active, + .smw-special-filter-button a:visited { + color: @dark-text-80; + } + + .smw-admin section { + border: 0 solid @dark-bg-50; + } + + .smw-admin input.nav-tab:checked + label.nav-label { + border: 1px solid @dark-bg-50; + border-top: 2px solid @yellow-50; + border-bottom: 1px solid @dark-bg-0; + } + + .smw-admin input.nav-tab:checked + label.nav-label.smw-tab-warning { + border-top: 2px solid rgb( 204, 0, 0 ); + } + + .client-nojs .smw-admin-supplementary-duplookup-content:after { + color: @red-50; + background-color: @dark-bg-20; + } + + .smw-admin h3, + .smw-admin h4, + h3.smw-title, + h4.smw-title, + h3 .smw-title { + background: @dark-bg-10; + } +} diff --git a/skinStyles/extensions/smw/ext.smw.special.styles.less b/skinStyles/extensions/smw/ext.smw.special.styles.less new file mode 100644 index 00000000..488d0a29 --- /dev/null +++ b/skinStyles/extensions/smw/ext.smw.special.styles.less @@ -0,0 +1,19 @@ +/* + * Citizen - SMW Special Preferences + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + fieldset#mw-prefsection-smw-general-options, + fieldset#mw-prefsection-smw-ask-options, + fieldset#mw-prefsection-smw-srf { + border: 0 solid #2a4b8d; + border-top: 1px solid @dark-bg-20; + } + + #mw-prefsection-smw .oo-ui-fieldsetLayout-header .oo-ui-labelElement-label { + color: @dark-text-70; + } +} diff --git a/skinStyles/extensions/smw/ext.smw.style.less b/skinStyles/extensions/smw/ext.smw.style.less new file mode 100644 index 00000000..5377f41d --- /dev/null +++ b/skinStyles/extensions/smw/ext.smw.style.less @@ -0,0 +1,472 @@ +/* + * Citizen - SMW + * https://starcitizen.tools + * + * 'smw/ext.smw.css' + * 'smw/ext.smw.dropdown.css' + * 'smw/ext.smw.table.css' + * 'smw/ext.smw.tabs.css' + * 'smw/factbox/smw.factbox.css' + * 'smw/smw.indicators.css' +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + /** + smw/ext.smw.css + */ + .smw-placeholder { + background-color: @dark-bg-10; + } + + .client-nojs .smw-placeholder:after { + color: @red-50; + } + + .smw-personal-jobqueue-watchlist:hover, + .smw-personal-jobqueue-watchlist:focus, + .smw-personal-jobqueue-watchlist:active { + color: @accent-50; + } + + .item-count { + color: @dark-text-60; + } + + .item-count.active { + background-color: rgba( 27, 31, 35, 0.08 ); + color: @dark-text-80; + } + + .smwpre { + border: 1px dashed @accent-50; + color: @dark-text-100; + background-color: @dark-bg-10; + } + + .smw-debug-box { + border: 5px dotted @yellow-50; + background: @yellow-90; + } + + .smw-debug-box-header { + border-bottom: 1px dotted @yellow-50; + } + + div.smwtimeline { + border: 1px solid @dark-bg-50; + background-color: @dark-bg-10; + } + + .smwtable-striped tbody > tr:nth-child( even ) { + background-color: @dark-bg-10; + } + + .smwtable-striped tbody > tr:nth-child( odd ) { + background-color: @dark-bg-0; + } + + .smwtable-striped tbody > tr:hover { + background-color: @dark-bg-20; + } + + .smwtable-clean tr { + border-top: 1px solid @dark-bg-20; + } + + .smwtable-clean tr > th { + border-top: 1px solid @dark-bg-20; + } + + .smwtable-clean tr > td { + border-top: 1px solid @dark-bg-20; + } + + .smwtable-clean tbody > tr:nth-child( even ) { + background-color: @dark-bg-10; + } + + div.smwhr hr { + background-color: @dark-bg-20; + color: @dark-text-80; + } + + span.smwwarning { + color: @dark-text-60; + } + + span.smwsearchicon { + color: @dark-text-60; + } + + #bodyContent span.smwsearch a { + color: @dark-text-70; + } + + #bodyContent span.smwsearch a:hover { + color: @dark-text-60; + } + + #bodyContent span.smwbrowse a { + color: @dark-text-70; + } + + #bodyContent span.smwbrowse a:hover { + color: @dark-text-60; + } + + .concept-documenation { + border-top: 1px dotted @dark-bg-50; + } + + hr.smw-form-horizontalrule { + background-color: @dark-bg-20; + } + + .smw-horizontalrule { + border-bottom: 1px solid @dark-bg-20; + } + + .smw-editpage-help { + background-color: @dark-bg-20; + border: 1px solid @dark-bg-30; + } + + .smw-column-header { + color: @dark-text-100; + } + + .smw-note { + background-color: @dark-bg-10; + } + + .smw-callout-info { + background: #d9edf7; + border-left: 5px solid #1b809e; + } + + .smw-callout-info .title { + color: #1b809e; + } + + .smw-callout-info-light { + background: @dark-bg-10; + border-left: 5px solid @dark-bg-20; + } + + .smw-callout-info-light .title { + color: #1b809e; + } + + .smw-callout-warning { + background: @yellow-90; + border-left: 5px solid #aa6708; + color: @dark-text-60; + } + + .smw-callout-warning .title { + color: #aa6708; + } + + .smw-callout-success { + background: #dff0d8; + border-left: 5px solid #3c763d; + } + + .smw-callout-success .title { + color: #3c763d; + } + + .smw-callout-error { + background: #f2dede; + border-left: 5px solid #ce4844; + } + + .autocomplete-suggestions { + background: @dark-bg-0; + border: 1px solid @dark-bg-20; + box-shadow: rgba( 0, 0, 0, 0.1 ) 0 0 5px; + color: #6f8092; + } + + .autocomplete-suggestion { + border-bottom: 1px solid @dark-bg-20; + } + + .autocomplete-selected { + background: @dark-bg-20; + } + + .autocomplete-suggestions strong { + color: @accent-50; + } + + .autocomplete-group strong { + border-bottom: 1px solid @dark-bg-0; + } + + .autocomplete-arrow-light { + background-image: linear-gradient( 45deg, transparent 50%, @dark-bg-30 50% ), linear-gradient( 135deg, @dark-bg-30 50%, transparent 50% ), linear-gradient( to right, @dark-bg-0, @dark-bg-0 ); + } + + .smw-breadcrumb-link { + color: @dark-text-70; + } + + .smw-breadcrumb-arrow-right { + border-left: 5px solid @dark-bg-50; + } + + .smw-ask-action-btn-lgrey, + a.smw-ask-action-btn-lgrey:visited, + .smw-action-btn-lgrey, + .smw-action-btn-lgrey:visited { + color: @dark-text-90; + background-color: @dark-bg-20; + border-color: @dark-bg-20; + text-decoration: none; + } + + a.smw-ask-action-btn-lgrey:hover, + .smw-action-btn-lgrey:hover { + color: @dark-text-90; + background-color: @dark-bg-20; + border-color: @dark-bg-20; + } + + .smw-ask-action-btn-lblue, + a.smw-ask-action-btn-lblue:visited { + color: @dark-text-100; + background-color: #5bc0de; + border-color: #46b8da; + } + + a.smw-ask-action-btn-lblue:hover { + color: @dark-text-100; + background-color: #31b0d5; + border-color: #269abc; + } + + .smw-ask-action-btn-dblue, + a.smw-ask-action-btn-dblue:visited { + color: @dark-text-100; + background-color: #337ab7; + border-color: #2e6da4; + } + + .smw-ask-action-btn-dblue:hover, + .smw-ask-action-btn-dblue:focus, + a.smw-ask-action-btn-dblue:hover, + a.smw-ask-action-btn-dblue:focus { + color: @dark-text-100; + background-color: #286090; + border-color: #204d74; + } + + .smw-page-indicator { + color: @dark-text-90; + border-color: @dark-bg-20; + } + + .smw-protection-indicator { + color: @dark-text-90; + } + + .smw-protection-indicator.with-border { + border-color: @dark-bg-20; + } + + .smw-page-indicator.usage-count.moderate { + background-color: #f2d29b; + border: 1px solid #f2d29b; + color: #aa4c2c; + } + + .smw-page-indicator.usage-count.high { + background-color: #ff887f; + border: 1px solid #ffb79e; + color: #800000; + } + + .smw-admin-circle-orange { + background: #ffa500; + } + + .smw-overlay-spinner.mini { + border-left: 3px solid rgba( 0, 174, 239, 0.15 ); + border-right: 3px solid rgba( 0, 174, 239, 0.15 ); + border-bottom: 3px solid rgba( 0, 174, 239, 0.15 ); + border-top: 3px solid rgba( 0, 174, 239, 0.8 ); + } + + .smw-overlay-spinner { + border-left: 6px solid rgba( 0, 174, 239, 0.15 ); + border-right: 6px solid rgba( 0, 174, 239, 0.15 ); + border-bottom: 6px solid rgba( 0, 174, 239, 0.15 ); + border-top: 6px solid rgba( 0, 174, 239, 0.8 ); + } + + .ns-112.action-submit .error { + color: #721c24; + background: #f2dede; + border-left: 5px solid #ce4844; + } + + .ns-112.action-submit .error:before { + color: #721c24; + } + + /** + smw/ext.smw.dropdown.css + */ + .smw-dropdown > a, + .smw-dropdown > button { + background-color: @dark-bg-0; + border: 1px solid @dark-bg-30; + color: @dark-text-100; + } + + .smw-dropdown > a:before, + .smw-dropdown > button:before { + border-top: 5px solid @dark-bg-0; + } + + .smw-dropdown .smw-dropdown-menu { + border: 1px solid @dark-bg-30; + background-color: @dark-bg-0; + box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.175 ); + } + + .smw-dropdown .smw-dropdown-menu li:hover { + background-color: @dark-bg-10; + } + + .smw-dropdown .smw-dropdown-menu li a { + color: @dark-text-100; + } + + .smw-dropdown .smw-dropdown-menu .divider { + background-color: @dark-bg-20; + } + + .smw-dropdown-menu:before { + border-bottom-color: rgba( 27, 31, 35, 0.15 ); + } + + .smw-dropdown-menu:before { + border-bottom-color: rgba( 27, 31, 35, 0.15 ); + } + + .smw-dropdown-menu:after { + border-bottom-color: @dark-bg-0; + } + + /** + smw/ext.smw.tabs.css + */ + .smw-tabs section, + .smw-tabs .subtab-content { + border-top: 1px solid @dark-bg-20; + } + + .smw-tabs label.nav-label { + color: @dark-text-60; + } + + .smw-tabs label.nav-label:hover { + color: @dark-text-60; + } + + .smw-tabs input.nav-tab:checked + label.nav-label { + color: @dark-text-90; + border: 1px solid @dark-bg-20; + border-top: 2px solid #337ab7; + border-bottom: 1px solid @dark-bg-0; + } + + .smw-tabs input.nav-tab:checked + label.nav-label.cached { + border-top: 2px solid @yellow-30; + } + + @media screen and ( max-width: 800px ) { + .smw-tabs input.nav-tab:checked + label.nav-label { + background-color: @dark-bg-10; + } + } + + /** + smw/factbox/smw.factbox.css + */ + .smwfact { + background-color: @dark-bg-10; + border: 1px solid @dark-bg-50; + } + + .smwfact td, + .smwfact tr, + .smwfact table { + background-color: @dark-bg-10; + } + + .smwfact .smwfacttable { + border-top: 1px dotted @dark-bg-50; + } + + .smwfact .smw-table-row:nth-child( odd ) { + background-color: @dark-bg-10; + } + + .smwfact .smw-table-row:nth-child( even ) { + background-color: @dark-bg-0; + } + + .rdflink a { + color: @dark-text-60; + } + + .rdflink a:hover { + color: @accent-50; + } + + .smw-factbox section { + border: 1px solid @dark-bg-50; + } + + .smw-factbox input.nav-tab:checked + label.nav-label { + border: 1px solid @dark-bg-50; + border-top: 2px solid @yellow-30; + border-bottom: 1px solid @dark-bg-0; + background: @dark-bg-0; + } + + .smw-factbox input.nav-tab:checked + label#tab-label-facts-attachment.nav-label { + border: 1px solid @dark-bg-50; + border-top: 2px solid #42c0fb; + border-bottom: 1px solid @dark-bg-0; + } + + .smw-factbox .smwfact { + background-color: @dark-bg-0; + } + + /** + smw/smw.indicators.css + */ + .smw-icon-indicator-placeholder { + background-color: @dark-bg-20; + } + + .smw-list-rule-title { + border-bottom: 0 solid @dark-bg-20; + color: @dark-text-100; + } + + /** + Icons + */ + .smw-icon-info, + .smw-icon-compact { + filter: invert( 1 ) hue-rotate( 180deg ); + } +} diff --git a/skinStyles/extensions/smw/ext.smw.table.styles.less b/skinStyles/extensions/smw/ext.smw.table.styles.less new file mode 100644 index 00000000..861a9132 --- /dev/null +++ b/skinStyles/extensions/smw/ext.smw.table.styles.less @@ -0,0 +1,36 @@ +/* + * Citizen - SMW Table Styles + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .smw-table-header { + background-color: @dark-bg-20; + } + + .smw-table-cell, + .smw-table-head { + border: 1px solid @dark-bg-50; + } + + .smw-table-header { + background-color: @dark-bg-20; + } + + .smw-table-footer { + background-color: @dark-bg-20; + } + + /** + Should probably be -50 + */ + .smw-table-sort-asc:after { + color: @dark-text-60; + } + + .smw-table-sort-desc:after { + color: @dark-text-60; + } +} diff --git a/skinStyles/extensions/smw/ext.smw.tooltip.styles.less b/skinStyles/extensions/smw/ext.smw.tooltip.styles.less new file mode 100644 index 00000000..1a1abbca --- /dev/null +++ b/skinStyles/extensions/smw/ext.smw.tooltip.styles.less @@ -0,0 +1,24 @@ +/* + * Citizen - SMW Util Tooltip + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + div.smwtt { + color: @dark-text-100; + } + + span.smwttpersist span.smwttcontent { + color: @dark-text-70; + } + + span.smwttactivepersist { + color: #0000c8; + } + + span.smwttactiveinline { + color: #b70; + } +} diff --git a/skinStyles/extensions/smw/ext.smw.vtabs.styles.less b/skinStyles/extensions/smw/ext.smw.vtabs.styles.less new file mode 100644 index 00000000..4c6aff1b --- /dev/null +++ b/skinStyles/extensions/smw/ext.smw.vtabs.styles.less @@ -0,0 +1,70 @@ +/* + * Citizen - SMW Vertical Tabs + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + div.smw-vtab-nav button { + background-color: @dark-bg-0; + color: #428bca; + } + + div.smw-vtab-nav button a { + color: #428bca; + } + + div.smw-vtab-nav.nav-right button { + border-left: 1px solid @dark-bg-20; + } + + div.smw-vtab-nav.nav-left button { + border-right: 1px solid @dark-bg-20; + } + + div.smw-vtab-nav button:hover { + background-color: @dark-bg-20; + border-color: @dark-bg-30; + } + + div.smw-vtab-nav.nav-right button:hover { + border-left: 1px solid @dark-bg-20; + } + + div.smw-vtab-nav.nav-left button:hover { + border-right: 1px solid @dark-bg-20; + } + + div.smw-vtab-nav button.active { + background-color: @dark-bg-0; + border: 1px solid @dark-bg-20; + color: @dark-text-100; + } + + div.smw-vtab-nav button.active a { + color: @dark-text-100; + } + + div.smw-vtab-nav.nav-right button.active, + div.smw-vtab-nav.nav-right button.active a { + border-color: @dark-bg-20; + } + + div.smw-vtab-nav.nav-left button.active, + div.smw-vtab-nav.nav-left button.active a { + border-color: @dark-bg-20; + } + + .smw-vtab-content { + border: 1px solid @dark-bg-30; + } + + div.smw-vtab-nav .smw-vtab-warning a { + color: #ffc876; + } + + div.smw-vtab-nav .smw-vtab-warning.active a { + color: #eb8c00; + } +} diff --git a/skinStyles/extensions/smw/jquery.jsonview.less b/skinStyles/extensions/smw/jquery.jsonview.less new file mode 100644 index 00000000..53159ec1 --- /dev/null +++ b/skinStyles/extensions/smw/jquery.jsonview.less @@ -0,0 +1,32 @@ +/* + * Citizen - SMW jQuery Json View + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .jsonview .prop { + color: @dark-text-100; + } + + .jsonview .null { + color: @red-50; + } + + .jsonview .undefined { + color: @red-50; + } + + .jsonview .bool { + color: @accent-50; + } + + .jsonview .num { + color: @accent-50; + } + + .jsonview .string { + color: @green-50; + } +} diff --git a/skinStyles/extensions/smw/jquery.selectmenu.styles.less b/skinStyles/extensions/smw/jquery.selectmenu.styles.less new file mode 100644 index 00000000..258f7e89 --- /dev/null +++ b/skinStyles/extensions/smw/jquery.selectmenu.styles.less @@ -0,0 +1,284 @@ +/* + * Citizen - SMW Special Ask + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + /** + jquery/jquery.selectmenu.css + */ + .sm_target_clicked { + background-color: @dark-bg-20; + border-color: rgba( 27, 31, 35, 0.35 ); + box-shadow: inset 0 0.15em 0.3em rgba( 27, 31, 35, 0.15 ); + } + + .sm_sub_header:hover { + color: @dark-text-100 !important; + } + + .sm_sub_header button { + color: @dark-text-100; + } + + .sm_container { + border: 1px solid @dark-bg-30; + background-color: @dark-bg-10; + box-shadow: 0 3px 12px rgba( 0, 0, 0, 0.2 ); + -moz-box-shadow: 0 3px 12px rgba( 0, 0, 0, 0.2 ); + -webkit-box-shadow: 0 3px 12px rgba( 0, 0, 0, 0.2 ); + } + + .sm_header > h3 { + color: @dark-text-90; + } + + .sm_header button { + color: @dark-text-60; + } + + .sm_header button:hover { + color: @dark-text-100; + } + + .sm_input { + background-color: @dark-bg-0; + border: 1px solid @dark-bg-20; + -webkit-box-shadow: inset 0 1px 1px rgba( 0, 0, 0, 0.075 ); + -moz-box-shadow: inset 0 1px 1px rgba( 0, 0, 0, 0.075 ); + box-shadow: inset 0 1px 1px rgba( 0, 0, 0, 0.075 ); + } + + .sm_input:focus { + border: 1px solid @dark-bg-50; + box-shadow: 0 0 0 3px rgba( 150, 150, 150, 0.2 ); + } + + div.sm_clear_btn { + color: @dark-text-70; + } + + div.sm_clear_btn:hover { + color: @dark-text-100; + } + + .sm_result_area { + background-color: @dark-bg-0; + } + + .sm_result_area.sm_list_mode { + border-top: 1px solid @dark-bg-20; + } + + div.sm_result_area.shadowDown { + box-shadow: 0 3px 12px rgba( 0, 0, 0, 0.2 ); + -moz-box-shadow: 0 3px 12px rgba( 0, 0, 0, 0.2 ); + -webkit-box-shadow: 0 3px 12px rgba( 0, 0, 0, 0.2 ); + } + + div.sm_result_area.shadowUp { + box-shadow: 0 -1px 12px rgba( 0, 0, 0, 0.2 ); + -moz-box-shadow: 0 -1px 12px rgba( 0, 0, 0, 0.2 ); + -webkit-box-shadow: 0 -1px 12px rgba( 0, 0, 0, 0.2 ); + } + + .sm_result_tabs { + border-bottom: 1px solid @dark-bg-20; + } + + .sm_result_tabs ul li a { + color: @dark-text-70; + } + + .sm_result_tabs ul li a.active { + color: @dark-text-90; + background-color: @dark-bg-0; + border-color: @dark-bg-20; + border-bottom-color: @dark-bg-0; + } + + .sm_arrow_bottom > .sm_arrow { + border-bottom-color: @dark-bg-50; + border-bottom-color: rgba( 0, 0, 0, 0.25 ); + } + + .sm_arrow_bottom > .sm_arrow:after { + border-bottom-color: @dark-bg-0; + } + + .sm_arrow_bottom > .sm_arrow.sm_have_title:after { + border-bottom-color: @dark-bg-10; + } + + .sm_arrow_top > .sm_arrow { + border-top-color: @dark-bg-50; + border-top-color: rgba( 0, 0, 0, 0.25 ); + } + + .sm_arrow_top > .sm_arrow:after { + border-top-color: @dark-bg-0; + } + + .sm_results { + background-color: @dark-bg-0; + } + + .sm_regular .sm_results > li:hover { + background-color: #53a4ea; + color: @dark-text-100; + } + + .sm_regular .sm_results > li:hover a { + color: @dark-text-100; + } + + .sm_regular .sm_results > li.sm_disabled, + .sm_regular .sm_results > li.sm_disabled:hover, + .sm_regular .sm_results > li.sm_disabled a { + background-color: @dark-bg-0; + color: @dark-text-70; + } + + .sm_regular .sm_results > li.sm_header, + .sm_regular .sm_results > li.sm_header:hover, + .sm_regular .sm_results > li.sm_header a { + background-color: @dark-bg-0; + color: @dark-text-100; + } + + .sm_results > li { + color: @dark-text-100; + } + + .sm_results > li > a { + color: @dark-text-100; + } + + .sm_results > li.sm_divider { + border-bottom: 1px solid @dark-bg-20; + } + + ul.sm_results > li.sm_over { + background-color: #53a4ea !important; + color: @dark-text-100 !important; + } + + .sm_control_box { + background-color: @dark-bg-0; + border-top: 1px solid @dark-bg-20; + } + + .sm_control_box button { + background-color: @dark-bg-10; + color: @dark-text-80; + } + + .sm_control_box button:hover { + background-color: @dark-bg-20; + color: @dark-text-100; + } + + div.sm_container_combo { + border: 1px solid @dark-bg-30; + -webkit-box-shadow: inset 0 1px 1px rgba( 0, 0, 0, 0.075 ); + -moz-box-shadow: inset 0 1px 1px rgba( 0, 0, 0, 0.075 ); + box-shadow: inset 0 1px 1px rgba( 0, 0, 0, 0.075 ); + } + + div.sm_container_combo.sm_disabled, + div.sm_container_combo.sm_disabled ul.sm_element_box, + div.sm_container_combo.sm_disabled .sm_input { + background-color: @dark-bg-20; + } + + div.sm_container_combo.sm_container_open { + -webkit-box-shadow: inset 0 1px 1px rgba( 0, 0, 0, 0.075 ), 0 0 8px rgba( 82, 168, 236, 0.6 ); + -moz-box-shadow: inset 0 1px 1px rgba( 0, 0, 0, 0.075 ), 0 0 8px rgba( 82, 168, 236, 0.6 ); + box-shadow: inset 0 1px 1px rgba( 0, 0, 0, 0.075 ), 0 0 8px rgba( 82, 168, 236, 0.6 ); + border: 1px solid #75b9f0; + } + + input.sm_combo_input[ readonly ], + input.sm_combo_input[ disabled ] { + background-color: @dark-bg-0; + } + + ul.sm_element_box li.selected_tag { + border: 1px solid @dark-bg-50; + background-color: @dark-bg-20; + box-shadow: 0 0 2px @dark-bg-0 inset, 0 1px 0 rgba( 0, 0, 0, 0.05 ); + } + + .sm_input_off { + background: @dark-bg-20; + color: @dark-text-90; + } + + .sm_navi { + background: @dark-bg-20; + border-bottom: 1px solid #79b; + } + + .sm_navi > p > a:link, + .sm_navi > p > a:visited, + .sm_navi > p > a:hover, + .sm_navi > p > a:active { + color: @accent-50; + } + + .sm_navi > p { + color: @dark-text-100; + } + + .sm_navi > p > a > .current { + color: @accent-10; + } + + .sm_navi > p > .page_end { + color: @dark-text-70; + } + + .sm_container > .sm_select_ng { + background: #fcc; + } + + div.sm_result_area div.pagination > ul > li > a { + background-color: @dark-bg-0; + color: @dark-text-70; + } + + div.sm_result_area div.pagination > ul > li > a:hover { + color: @dark-text-100; + background-color: @dark-bg-20; + } + + div.sm_result_area div.pagination > ul > li.disabled > a { + color: @dark-text-80; + } + + div.sm_result_area div.pagination > ul > li.disabled > a:hover { + color: @dark-text-80; + background-color: @dark-bg-0; + } + + div.sm_result_area div.pagination > ul > li.pageInfoBox > a { + color: @dark-text-70; + } + + div.sm_result_area div.pagination > ul > li.pageInfoBox > a:hover { + color: @dark-text-70; + } + + /** + smw/smw.selectmenu.css + */ + .smw-selectmenu-button { + color: @dark-text-80; + } + + .smw-selectmenu-label { + color: @dark-text-80; + } +} diff --git a/skinStyles/extensions/smw/smw.content.schema.less b/skinStyles/extensions/smw/smw.content.schema.less new file mode 100644 index 00000000..209adc25 --- /dev/null +++ b/skinStyles/extensions/smw/smw.content.schema.less @@ -0,0 +1,84 @@ +/* + * Citizen - SMW Special Ask + * https://starcitizen.tools + * TODO CHECK 'smw/ext.smw.table.css' +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .content-highlight { + border-top: 1px solid @dark-bg-20; + border-left: 1px solid @dark-bg-20; + border-right: 1px solid @dark-bg-20; + border-bottom: 1px solid @dark-bg-20; + } + + .content-no-highlight-o { + background-color: @dark-bg-10; + border-top: 1px solid @dark-bg-20; + border-left: 1px solid @dark-bg-20; + border-right: 1px solid @dark-bg-20; + border-bottom: 1px solid @dark-bg-20; + } + + .unknown-type .content-highlight { + border-top: 1px solid @dark-bg-20; + } + + .schema-tags { + border-bottom: 1px solid @dark-bg-20; + border-left: 1px solid @dark-bg-20; + border-right: 1px solid @dark-bg-20; + background-color: @dark-bg-10; + } + + .schema-tags:first-child { + border: 1px solid @dark-bg-20; + background-color: @dark-bg-10; + } + + .schema-tags li { + border-left: 1px solid @dark-bg-50; + } + + .smw-schema-description { + color: @dark-text-70; + } + + .schema-error { + color: #c00; + } + + h3.smw-title { + background: @dark-bg-10; + color: @dark-text-100; + } + + .smw-schema #tab-schema-usage:checked + label.nav-label .item-count { + background-color: rgba( 27, 31, 35, 0.08 ); + color: @dark-text-80; + } + + .smw-schema section { + border-top: 1px solid @dark-bg-20; + border-left: 0 solid @dark-bg-20; + border-right: 0 solid @dark-bg-20; + } + + .smw-schema input.nav-tab:checked + label.nav-label { + border: 1px solid @dark-bg-20; + border-top: 2px solid #337ab7; + border-bottom: 1px solid @dark-bg-0; + } + + .smw-schema input.nav-tab:checked + label.nav-label.error-label { + border-top: 2px solid #c00; + } + + .schema-summary .smw-table-cell, + .smw-table-head { + border: 1px solid @dark-bg-50; + border-bottom: 1px solid @dark-bg-20; + } +} diff --git a/skinStyles/extensions/smw/smw.jsonview.less b/skinStyles/extensions/smw/smw.jsonview.less new file mode 100644 index 00000000..d922c7e1 --- /dev/null +++ b/skinStyles/extensions/smw/smw.jsonview.less @@ -0,0 +1,22 @@ +/* + * Citizen - SMW Json View + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .smw-jsonview-button { + background-color: #337ab7; + color: @dark-text-100; + } + + .smw-jsonview-button:first-child { + border-right: 1px solid @dark-bg-0; + } + + .smw-jsonview-button:hover { + background-color: #008cba; + color: @dark-text-100; + } +} diff --git a/skinStyles/extensions/smw/smw.special.search.styles.less b/skinStyles/extensions/smw/smw.special.search.styles.less new file mode 100644 index 00000000..2291970c --- /dev/null +++ b/skinStyles/extensions/smw/smw.special.search.styles.less @@ -0,0 +1,52 @@ +/* + * Citizen - SMW Special Search + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .smw-search-results-prepend { + background-color: @dark-bg-20; + border: 1px solid rgba( 94, 157, 200, 0.25 ); + } + + .smw-text-strike > span:before, + .smw-text-strike > span:after { + background: @dark-bg-50; + } + + .smw-input { + border-bottom: 1px solid @dark-bg-20; + } + + .smw-select-field { + border-bottom: 1px solid @dark-bg-20; + } + + .smw-button-field { + color: @dark-text-70; + } + + .smw-form-link-query { + border-right: 1px solid @dark-bg-50; + } + + #smw-searchoptions { + background-color: @dark-bg-10; + border: 1px solid @dark-bg-30; + } + + #smw-searchoptions .divider { + border-bottom: 1px solid @dark-bg-20; + } + + #smw-search-synatx-list code { + background-color: #5e9dc82e; + border: 1px solid #5e9dc84a; + } + + .search-types .current a:after { + color: @dark-text-80; + } +} diff --git a/skinStyles/extensions/smw/smw.summarytable.less b/skinStyles/extensions/smw/smw.summarytable.less new file mode 100644 index 00000000..01ac4f9d --- /dev/null +++ b/skinStyles/extensions/smw/smw.summarytable.less @@ -0,0 +1,28 @@ +/* + * Citizen - SMW Special Ask + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .smw-summarytable .smw-table-cell, + .smw-table-head { + border: 1px solid @dark-bg-50; + border-bottom: 1px solid @dark-bg-20; + } + + @media screen and ( max-width: 800px ) { + .smw-summarytable .smw-table-row .smwpropname { + border-bottom: 0 solid @dark-bg-20; + } + + .smw-summarytable-imagecolumn .smw-summarytable-image { + border-top: 1px solid @dark-bg-20; + } + + .smw-summarytable-columns .smw-summarytable-columns-2:first-child { + border-bottom: 1px solid @dark-bg-20; + } + } +} diff --git a/skinStyles/extensions/smw/smw.tableprinter.datatable.styles.less b/skinStyles/extensions/smw/smw.tableprinter.datatable.styles.less new file mode 100644 index 00000000..3166fb80 --- /dev/null +++ b/skinStyles/extensions/smw/smw.tableprinter.datatable.styles.less @@ -0,0 +1,97 @@ +/* + * Citizen - SMW Tableprinter + * 'smw/printer/ext.smw.tableprinter.css' + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .smw-datatable table.dataTable.no-footer { + border-bottom: 1px solid @dark-bg-50; + } + + .smw-datatable table.dataTable tfoot td { + border-bottom: 1px solid @dark-bg-50; + border-top: 1px solid @dark-bg-50; + } + + .smw-datatable table.dataTable.compact tfoot th, + .smw-datatable table.dataTable.compact tfoot td { + border-bottom: 1px solid @dark-bg-50; + border-top: 1px solid @dark-bg-50; + } + + .smw-datatable table.dataTable thead th, + .smw-datatable table.dataTable thead td, + .smw-datatable table.data.smw-datatable table.compact thead th, + .smw-datatable table.data.smw-datatable table.compact thead td, + .smw-datatable table.data.smw-datatable table.no-footer { + border-bottom: 1px solid @dark-bg-50; + } + + .smw-datatable table.dataTable thead th, + .smw-datatable table.dataTable thead td, + .smw-datatable table.data.smw-datatable table.compact thead th, + .smw-datatable table.data.smw-datatable table.compact thead td { + border-top: 1px solid @dark-bg-50; + } + + .smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button.current, + .smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover { + background: @dark-bg-30; + color: @dark-text-90; + border-color: @dark-bg-30; + } + + .smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button { + color: @dark-text-90; + border-color: @dark-bg-20; + } + + .smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button:hover { + background: @accent-50; + color: @dark-text-100; + border-color: @accent-50; + } + + .smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button.disabled, + .smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, + .smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active { + color: @dark-text-70; + } + + .smw-datatable .dataTables_wrapper .dataTables_filter input { + color: @dark-text-90; + border-color: @dark-bg-20; + } + + .smw-datatable .dataTables_wrapper select { + color: @dark-text-90; + border-color: @dark-bg-20; + } + + .smw-datatable .dataTables_wrapper select:focus, + .smw-datatable .dataTables_wrapper select:active, + .smw-datatable .dataTables_wrapper .dataTables_filter input:focus, + .smw-datatable .dataTables_wrapper .dataTables_filter input:active { + border: 1px solid @accent-50; + } + + .smw-datatable-toolbar .smw-dropdown button { + border: 1px solid @dark-bg-20; + } + + .smw-datatable-sep { + border-left: 1px solid @dark-bg-20; + } + + .smw-datatable-button { + color: #586069; + border: 1px solid @dark-bg-20; + } + + .smw-datatable-button:hover { + background-color: @dark-bg-10; + } +} diff --git a/skinStyles/extensions/smw/smw.tippy.less b/skinStyles/extensions/smw/smw.tippy.less new file mode 100644 index 00000000..7dd83ba2 --- /dev/null +++ b/skinStyles/extensions/smw/smw.tippy.less @@ -0,0 +1,42 @@ +/* + * Citizen - SMW Tippy Tooltips + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .tippy-header { + background-color: @dark-bg-10; + border-bottom: 1px solid @dark-bg-20; + } + + .tippy-bottom { + background-color: @dark-bg-0; + border-top: 1px solid @dark-bg-20; + } + + .tippy-tooltip.light-border-theme[ x-placement^=bottom ] .tippy-arrow, + .tippy-tooltip.light-theme[ x-placement^=bottom ] .tippy-arrow, + .tippy-tooltip.light-border-theme[ x-placement^=bottom ] .tippy-arrow:after, + .tippy-tooltip.light-theme[ x-placement^=bottom ] .tippy-arrow:after { + border-bottom-color: @dark-bg-10; + } + + .tippy-cancel { + color: @dark-text-100; + text-shadow: 0 1px 0 @dark-bg-0; + } + + .tippy-cancel:hover { + color: @dark-text-100; + } + + .tippy-warning-circle { + background-color: @yellow-50; + } + + .tippy-error-circle { + background-color: @red-50; + } +} From d4fa64fc53e5d25a11187e4812e33f3d37ff5bbd Mon Sep 17 00:00:00 2001 From: Hannes Date: Sun, 29 Dec 2019 14:54:12 +0100 Subject: [PATCH 3/9] Fix stylelint errors --- skinStyles/extensions/smw/ext.libs.tippy.less | 32 +++++++++---------- .../extensions/smw/ext.smw.ask.styles.less | 2 +- .../extensions/smw/ext.smw.modal.styles.less | 2 +- .../extensions/smw/ext.smw.page.styles.less | 6 ++-- .../extensions/smw/ext.smw.special.style.less | 2 +- .../smw/ext.smw.special.styles.less | 2 +- .../smw/ext.smw.tooltip.styles.less | 4 +-- .../extensions/smw/ext.smw.vtabs.styles.less | 4 +-- .../smw/jquery.selectmenu.styles.less | 4 +-- .../extensions/smw/smw.content.schema.less | 4 +-- skinStyles/extensions/smw/smw.jsonview.less | 2 +- skinStyles/extensions/smw/smw.tippy.less | 8 ++--- 12 files changed, 36 insertions(+), 36 deletions(-) diff --git a/skinStyles/extensions/smw/ext.libs.tippy.less b/skinStyles/extensions/smw/ext.libs.tippy.less index 4050f3c0..28818a2c 100644 --- a/skinStyles/extensions/smw/ext.libs.tippy.less +++ b/skinStyles/extensions/smw/ext.libs.tippy.less @@ -36,51 +36,51 @@ fill: rgba( 0, 8, 16, 0.15 ); } - .tippy-tooltip.light-border-theme[ x-placement^=top ] .tippy-arrow { + .tippy-tooltip.light-border-theme[ x-placement^='top' ] .tippy-arrow { border-top-color: @dark-bg-0; } - .tippy-tooltip.light-border-theme[ x-placement^=top ] .tippy-arrow:after { + .tippy-tooltip.light-border-theme[ x-placement^='top' ] .tippy-arrow:after { border-top: 7px solid @dark-bg-0; } - .tippy-tooltip.light-border-theme[ x-placement^=top ] .tippy-arrow:before { + .tippy-tooltip.light-border-theme[ x-placement^='top' ] .tippy-arrow:before { border-top: 7px solid rgba( 0, 8, 16, 0.2 ); } - .tippy-tooltip.light-border-theme[ x-placement^=bottom ] .tippy-arrow { + .tippy-tooltip.light-border-theme[ x-placement^='bottom' ] .tippy-arrow { border-bottom-color: @dark-bg-0; } - .tippy-tooltip.light-border-theme[ x-placement^=bottom ] .tippy-arrow:after { + .tippy-tooltip.light-border-theme[ x-placement^='bottom' ] .tippy-arrow:after { border-bottom: 7px solid @dark-bg-0; } - .tippy-tooltip.light-border-theme[ x-placement^=bottom ] .tippy-arrow:before { + .tippy-tooltip.light-border-theme[ x-placement^='bottom' ] .tippy-arrow:before { border-bottom: 7px solid rgba( 0, 8, 16, 0.2 ); } - .tippy-tooltip.light-border-theme[ x-placement^=left ] .tippy-arrow { + .tippy-tooltip.light-border-theme[ x-placement^='left' ] .tippy-arrow { border-left-color: @dark-bg-0; } - .tippy-tooltip.light-border-theme[ x-placement^=left ] .tippy-arrow:after { + .tippy-tooltip.light-border-theme[ x-placement^='left' ] .tippy-arrow:after { border-left: 7px solid @dark-bg-0; } - .tippy-tooltip.light-border-theme[ x-placement^=left ] .tippy-arrow:before { + .tippy-tooltip.light-border-theme[ x-placement^='left' ] .tippy-arrow:before { border-left: 7px solid rgba( 0, 8, 16, 0.2 ); } - .tippy-tooltip.light-border-theme[ x-placement^=right ] .tippy-arrow { + .tippy-tooltip.light-border-theme[ x-placement^='right' ] .tippy-arrow { border-right-color: @dark-bg-0; } - .tippy-tooltip.light-border-theme[ x-placement^=right ] .tippy-arrow:after { + .tippy-tooltip.light-border-theme[ x-placement^='right' ] .tippy-arrow:after { border-right: 7px solid @dark-bg-0; } - .tippy-tooltip.light-border-theme[ x-placement^=right ] .tippy-arrow:before { + .tippy-tooltip.light-border-theme[ x-placement^='right' ] .tippy-arrow:before { border-right: 7px solid rgba( 0, 8, 16, 0.2 ); } @@ -93,19 +93,19 @@ background-color: @dark-bg-0; } - .tippy-tooltip.light-theme[ x-placement^=top ] .tippy-arrow { + .tippy-tooltip.light-theme[ x-placement^='top' ] .tippy-arrow { border-top: 8px solid @dark-bg-0; } - .tippy-tooltip.light-theme[ x-placement^=bottom ] .tippy-arrow { + .tippy-tooltip.light-theme[ x-placement^='bottom' ] .tippy-arrow { border-bottom: 8px solid @dark-bg-0; } - .tippy-tooltip.light-theme[ x-placement^=left ] .tippy-arrow { + .tippy-tooltip.light-theme[ x-placement^='left' ] .tippy-arrow { border-left: 8px solid @dark-bg-0; } - .tippy-tooltip.light-theme[ x-placement^=right ] .tippy-arrow { + .tippy-tooltip.light-theme[ x-placement^='right' ] .tippy-arrow { border-right: 8px solid @dark-bg-0; } diff --git a/skinStyles/extensions/smw/ext.smw.ask.styles.less b/skinStyles/extensions/smw/ext.smw.ask.styles.less index 43c347e7..913b1113 100644 --- a/skinStyles/extensions/smw/ext.smw.ask.styles.less +++ b/skinStyles/extensions/smw/ext.smw.ask.styles.less @@ -72,7 +72,7 @@ } .smw-ask-button-dblue { - color: #fff; + color: @dark-text-100; background-color: #337ab7; border-color: #2e6da4; } diff --git a/skinStyles/extensions/smw/ext.smw.modal.styles.less b/skinStyles/extensions/smw/ext.smw.modal.styles.less index 43e5e33c..6f631e36 100644 --- a/skinStyles/extensions/smw/ext.smw.modal.styles.less +++ b/skinStyles/extensions/smw/ext.smw.modal.styles.less @@ -36,7 +36,7 @@ } .smw-modal-footer { - background-color: #5cb85c; + background-color: @green-50; color: @dark-text-100; } } diff --git a/skinStyles/extensions/smw/ext.smw.page.styles.less b/skinStyles/extensions/smw/ext.smw.page.styles.less index 7af8185d..3a572af8 100644 --- a/skinStyles/extensions/smw/ext.smw.page.styles.less +++ b/skinStyles/extensions/smw/ext.smw.page.styles.less @@ -106,16 +106,16 @@ .smw-property input.nav-tab:checked + label.nav-label.smw-tab-warning, .smw-concept input.nav-tab:checked + label.nav-label.smw-tab-warning, .smw-types input.nav-tab:checked + label.nav-label.smw-tab-warning { - border-top: 2px solid rgb( 204, 0, 0 ); + border-top: 2px solid @red-50; } .smw-property input.nav-tab:checked + label.nav-label.smw-tab-spec, .smw-concept input.nav-tab:checked + label.nav-label.smw-tab-spec { - border-top: 2px solid orange; + border-top: 2px solid @yellow-50; } .smw-property input.nav-tab:checked + label#tab-label-smw-property-constraint.nav-label { - border-top: 2px solid #42c0fb; + border-top: 2px solid @accent-50; } @media screen and ( max-width: 800px ) { diff --git a/skinStyles/extensions/smw/ext.smw.special.style.less b/skinStyles/extensions/smw/ext.smw.special.style.less index 6a8ab549..36690c4a 100644 --- a/skinStyles/extensions/smw/ext.smw.special.style.less +++ b/skinStyles/extensions/smw/ext.smw.special.style.less @@ -48,7 +48,7 @@ } .smw-admin input.nav-tab:checked + label.nav-label.smw-tab-warning { - border-top: 2px solid rgb( 204, 0, 0 ); + border-top: 2px solid @red-50; } .client-nojs .smw-admin-supplementary-duplookup-content:after { diff --git a/skinStyles/extensions/smw/ext.smw.special.styles.less b/skinStyles/extensions/smw/ext.smw.special.styles.less index 488d0a29..39ab0329 100644 --- a/skinStyles/extensions/smw/ext.smw.special.styles.less +++ b/skinStyles/extensions/smw/ext.smw.special.styles.less @@ -9,7 +9,7 @@ fieldset#mw-prefsection-smw-general-options, fieldset#mw-prefsection-smw-ask-options, fieldset#mw-prefsection-smw-srf { - border: 0 solid #2a4b8d; + border: 0 solid @accent-10; border-top: 1px solid @dark-bg-20; } diff --git a/skinStyles/extensions/smw/ext.smw.tooltip.styles.less b/skinStyles/extensions/smw/ext.smw.tooltip.styles.less index 1a1abbca..f67b02ab 100644 --- a/skinStyles/extensions/smw/ext.smw.tooltip.styles.less +++ b/skinStyles/extensions/smw/ext.smw.tooltip.styles.less @@ -15,10 +15,10 @@ } span.smwttactivepersist { - color: #0000c8; + color: @accent-50; } span.smwttactiveinline { - color: #b70; + color: @yellow-30; } } diff --git a/skinStyles/extensions/smw/ext.smw.vtabs.styles.less b/skinStyles/extensions/smw/ext.smw.vtabs.styles.less index 4c6aff1b..ba232670 100644 --- a/skinStyles/extensions/smw/ext.smw.vtabs.styles.less +++ b/skinStyles/extensions/smw/ext.smw.vtabs.styles.less @@ -61,10 +61,10 @@ } div.smw-vtab-nav .smw-vtab-warning a { - color: #ffc876; + color: @yellow-50; } div.smw-vtab-nav .smw-vtab-warning.active a { - color: #eb8c00; + color: @yellow-30; } } diff --git a/skinStyles/extensions/smw/jquery.selectmenu.styles.less b/skinStyles/extensions/smw/jquery.selectmenu.styles.less index 258f7e89..63621698 100644 --- a/skinStyles/extensions/smw/jquery.selectmenu.styles.less +++ b/skinStyles/extensions/smw/jquery.selectmenu.styles.less @@ -218,7 +218,7 @@ .sm_navi { background: @dark-bg-20; - border-bottom: 1px solid #79b; + border-bottom: 1px solid @accent-90; } .sm_navi > p > a:link, @@ -241,7 +241,7 @@ } .sm_container > .sm_select_ng { - background: #fcc; + background: @red-90; } div.sm_result_area div.pagination > ul > li > a { diff --git a/skinStyles/extensions/smw/smw.content.schema.less b/skinStyles/extensions/smw/smw.content.schema.less index 209adc25..c24018e8 100644 --- a/skinStyles/extensions/smw/smw.content.schema.less +++ b/skinStyles/extensions/smw/smw.content.schema.less @@ -47,7 +47,7 @@ } .schema-error { - color: #c00; + color: @red-50; } h3.smw-title { @@ -73,7 +73,7 @@ } .smw-schema input.nav-tab:checked + label.nav-label.error-label { - border-top: 2px solid #c00; + border-top: 2px solid @red-50; } .schema-summary .smw-table-cell, diff --git a/skinStyles/extensions/smw/smw.jsonview.less b/skinStyles/extensions/smw/smw.jsonview.less index d922c7e1..7be47c97 100644 --- a/skinStyles/extensions/smw/smw.jsonview.less +++ b/skinStyles/extensions/smw/smw.jsonview.less @@ -17,6 +17,6 @@ .smw-jsonview-button:hover { background-color: #008cba; - color: @dark-text-100; + color: @dark-text-100; } } diff --git a/skinStyles/extensions/smw/smw.tippy.less b/skinStyles/extensions/smw/smw.tippy.less index 7dd83ba2..898d2544 100644 --- a/skinStyles/extensions/smw/smw.tippy.less +++ b/skinStyles/extensions/smw/smw.tippy.less @@ -16,10 +16,10 @@ border-top: 1px solid @dark-bg-20; } - .tippy-tooltip.light-border-theme[ x-placement^=bottom ] .tippy-arrow, - .tippy-tooltip.light-theme[ x-placement^=bottom ] .tippy-arrow, - .tippy-tooltip.light-border-theme[ x-placement^=bottom ] .tippy-arrow:after, - .tippy-tooltip.light-theme[ x-placement^=bottom ] .tippy-arrow:after { + .tippy-tooltip.light-border-theme[ x-placement^='bottom' ] .tippy-arrow, + .tippy-tooltip.light-theme[ x-placement^='bottom' ] .tippy-arrow, + .tippy-tooltip.light-border-theme[ x-placement^='bottom' ] .tippy-arrow:after, + .tippy-tooltip.light-theme[ x-placement^='bottom' ] .tippy-arrow:after { border-bottom-color: @dark-bg-10; } From 05976a23aa53dcb5bc607a722c2013dc8fb168c3 Mon Sep 17 00:00:00 2001 From: Hannes Date: Sun, 29 Dec 2019 18:38:38 +0100 Subject: [PATCH 4/9] Move all extensions into separate folders --- skin.json | 8 ++++---- .../{ => cookie_warnings}/ext.CookieWarning.styles.less | 4 ++-- skinStyles/extensions/{ => popups}/ext.popups.main.less | 4 ++-- skinStyles/extensions/{ => tabber}/ext.Tabber.less | 2 +- .../{ => visual_editor}/ext.visualEditor.core.less | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) rename skinStyles/extensions/{ => cookie_warnings}/ext.CookieWarning.styles.less (93%) rename skinStyles/extensions/{ => popups}/ext.popups.main.less (85%) rename skinStyles/extensions/{ => tabber}/ext.Tabber.less (94%) rename skinStyles/extensions/{ => visual_editor}/ext.visualEditor.core.less (97%) diff --git a/skin.json b/skin.json index 55b7d6fb..a3f36cb7 100644 --- a/skin.json +++ b/skin.json @@ -364,13 +364,13 @@ "+ext.uls.common": "skinStyles/extensions/uls/ext.uls.common.less", "+ext.uls.pt": "skinStyles/extensions/uls/ext.uls.pt.less", - "ext.CookieWarning.styles": "skinStyles/extensions/ext.CookieWarning.styles.less", + "ext.CookieWarning.styles": "skinStyles/extensions/cookie_warning/ext.CookieWarning.styles.less", - "+ext.popups.main": "skinStyles/extensions/ext.popups.main.less", + "+ext.popups.main": "skinStyles/extensions/popups/ext.popups.main.less", - "+ext.Tabber": "skinStyles/extensions/ext.Tabber.less", + "+ext.Tabber": "skinStyles/extensions/tabber/ext.Tabber.less", - "+ext.visualEditor.core": "skinStyles/extensions/ext.visualEditor.core.less", + "+ext.visualEditor.core": "skinStyles/extensions/visual_editor/ext.visualEditor.core.less", "+mediawiki.action.history.styles": "skinStyles/mediawiki/action/mediawiki.action.history.styles.less", "+mediawiki.action.view.filepage": "skinStyles/mediawiki/action/mediawiki.action.view.filepage.less", diff --git a/skinStyles/extensions/ext.CookieWarning.styles.less b/skinStyles/extensions/cookie_warnings/ext.CookieWarning.styles.less similarity index 93% rename from skinStyles/extensions/ext.CookieWarning.styles.less rename to skinStyles/extensions/cookie_warnings/ext.CookieWarning.styles.less index 38192f2a..be1ba87c 100644 --- a/skinStyles/extensions/ext.CookieWarning.styles.less +++ b/skinStyles/extensions/cookie_warnings/ext.CookieWarning.styles.less @@ -3,8 +3,8 @@ * https://starcitizen.tools */ -@import '../../resources/variables.less'; -@import '../../resources/mixins.less'; +@import '../../../resources/variables.less'; +@import '../../../resources/mixins.less'; .mw-cookiewarning-container { top: unset; diff --git a/skinStyles/extensions/ext.popups.main.less b/skinStyles/extensions/popups/ext.popups.main.less similarity index 85% rename from skinStyles/extensions/ext.popups.main.less rename to skinStyles/extensions/popups/ext.popups.main.less index cb7b2e83..e7009214 100644 --- a/skinStyles/extensions/ext.popups.main.less +++ b/skinStyles/extensions/popups/ext.popups.main.less @@ -3,8 +3,8 @@ * https://starcitizen.tools */ -@import '../../resources/variables.less'; -@import '../../resources/mixins.less'; +@import '../../../resources/variables.less'; +@import '../../../resources/mixins.less'; .mwe-popups { border: 0; diff --git a/skinStyles/extensions/ext.Tabber.less b/skinStyles/extensions/tabber/ext.Tabber.less similarity index 94% rename from skinStyles/extensions/ext.Tabber.less rename to skinStyles/extensions/tabber/ext.Tabber.less index 9280ba17..596740dc 100644 --- a/skinStyles/extensions/ext.Tabber.less +++ b/skinStyles/extensions/tabber/ext.Tabber.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../../resources/variables.less'; +@import '../../../resources/variables.less'; .tabber { ul.tabbernav { diff --git a/skinStyles/extensions/ext.visualEditor.core.less b/skinStyles/extensions/visual_editor/ext.visualEditor.core.less similarity index 97% rename from skinStyles/extensions/ext.visualEditor.core.less rename to skinStyles/extensions/visual_editor/ext.visualEditor.core.less index a02495bb..3c759f22 100644 --- a/skinStyles/extensions/ext.visualEditor.core.less +++ b/skinStyles/extensions/visual_editor/ext.visualEditor.core.less @@ -3,7 +3,7 @@ * https://starcitizen.tools */ -@import '../../resources/variables.less'; +@import '../../../resources/variables.less'; .ve-activated { .mw-header-container { From 0e133407a125dd97101c631692c5032b81ce7a06 Mon Sep 17 00:00:00 2001 From: Hannes Date: Sun, 29 Dec 2019 14:47:03 +0100 Subject: [PATCH 5/9] Add SMW darkmode --- skin.json | 20 + .../extensions/smw/ext.jquery.atwho.less | 49 ++ skinStyles/extensions/smw/ext.libs.tippy.less | 119 +++++ .../extensions/smw/ext.smw.ask.styles.less | 150 ++++++ .../extensions/smw/ext.smw.browse.styles.less | 114 +++++ .../extensions/smw/ext.smw.modal.styles.less | 42 ++ .../extensions/smw/ext.smw.page.styles.less | 127 +++++ .../extensions/smw/ext.smw.special.style.less | 66 +++ .../smw/ext.smw.special.styles.less | 19 + skinStyles/extensions/smw/ext.smw.style.less | 472 ++++++++++++++++++ .../extensions/smw/ext.smw.table.styles.less | 36 ++ .../smw/ext.smw.tooltip.styles.less | 24 + .../extensions/smw/ext.smw.vtabs.styles.less | 70 +++ .../extensions/smw/jquery.jsonview.less | 32 ++ .../smw/jquery.selectmenu.styles.less | 284 +++++++++++ .../extensions/smw/smw.content.schema.less | 84 ++++ skinStyles/extensions/smw/smw.jsonview.less | 22 + .../smw/smw.special.search.styles.less | 52 ++ .../extensions/smw/smw.summarytable.less | 28 ++ .../smw.tableprinter.datatable.styles.less | 97 ++++ skinStyles/extensions/smw/smw.tippy.less | 42 ++ 21 files changed, 1949 insertions(+) create mode 100644 skinStyles/extensions/smw/ext.jquery.atwho.less create mode 100644 skinStyles/extensions/smw/ext.libs.tippy.less create mode 100644 skinStyles/extensions/smw/ext.smw.ask.styles.less create mode 100644 skinStyles/extensions/smw/ext.smw.browse.styles.less create mode 100644 skinStyles/extensions/smw/ext.smw.modal.styles.less create mode 100644 skinStyles/extensions/smw/ext.smw.page.styles.less create mode 100644 skinStyles/extensions/smw/ext.smw.special.style.less create mode 100644 skinStyles/extensions/smw/ext.smw.special.styles.less create mode 100644 skinStyles/extensions/smw/ext.smw.style.less create mode 100644 skinStyles/extensions/smw/ext.smw.table.styles.less create mode 100644 skinStyles/extensions/smw/ext.smw.tooltip.styles.less create mode 100644 skinStyles/extensions/smw/ext.smw.vtabs.styles.less create mode 100644 skinStyles/extensions/smw/jquery.jsonview.less create mode 100644 skinStyles/extensions/smw/jquery.selectmenu.styles.less create mode 100644 skinStyles/extensions/smw/smw.content.schema.less create mode 100644 skinStyles/extensions/smw/smw.jsonview.less create mode 100644 skinStyles/extensions/smw/smw.special.search.styles.less create mode 100644 skinStyles/extensions/smw/smw.summarytable.less create mode 100644 skinStyles/extensions/smw/smw.tableprinter.datatable.styles.less create mode 100644 skinStyles/extensions/smw/smw.tippy.less diff --git a/skin.json b/skin.json index a3f36cb7..57e59d36 100644 --- a/skin.json +++ b/skin.json @@ -354,6 +354,26 @@ "+ext.relatedArticles.cards": "skinStyles/extensions/related_articles/ext.relatedArticles.cards.less", "+ext.relatedArticles.readMore": "skinStyles/extensions/related_articles/ext.relatedArticles.readMore.less", + "+ext.libs.tippy": "skinStyles/extensions/smw/ext.libs.tippy.less", + "+ext.smw.ask.styles": "skinStyles/extensions/smw/ext.smw.ask.styles.less", + "+ext.smw.browse.styles": "skinStyles/extensions/smw/ext.smw.browse.styles.less", + "+ext.smw.modal.styles": "skinStyles/extensions/smw/ext.smw.modal.styles.less", + "+ext.smw.page.styles": "skinStyles/extensions/smw/ext.smw.page.styles.less", + "+ext.smw.special.style": "skinStyles/extensions/smw/ext.smw.special.style.less", + "+ext.smw.special.styles": "skinStyles/extensions/smw/ext.smw.special.styles.less", + "+ext.smw.style": "skinStyles/extensions/smw/ext.smw.style.less", + "+ext.smw.table.styles": "skinStyles/extensions/smw/ext.smw.table.styles.less", + "+ext.smw.tooltip.styles": "skinStyles/extensions/smw/ext.smw.tooltip.styles.less", + "+ext.smw.vtabs.styles": "skinStyles/extensions/smw/ext.smw.vtabs.styles.less", + "+jquery.jsonview": "skinStyles/extensions/smw/jquery.jsonview.less", + "+jquery.selectmenu.styles": "skinStyles/extensions/smw/jquery.selectmenu.styles.less", + "+smw.content.schema": "skinStyles/extensions/smw/smw.content.schema.less", + "+smw.jsonview": "skinStyles/extensions/smw/smw.jsonview.less", + "+smw.special.search.styles": "skinStyles/extensions/smw/smw.special.search.styles.less", + "+smw.summarytable": "skinStyles/extensions/smw/smw.summarytable.less", + "+smw.tableprinter.datatables.styles": "skinStyles/extensions/smw/smw.tableprinter.datatables.styles.less", + "+smw.tippy": "skinStyles/extensions/smw/smw.tippy.less", + "+ext.translate": "skinStyles/extensions/translate/ext.translate.less", "+ext.translate.editor": "skinStyles/extensions/translate/ext.translate.editor.less", "+ext.translate.loader": "skinStyles/extensions/translate/ext.translate.loader.less", diff --git a/skinStyles/extensions/smw/ext.jquery.atwho.less b/skinStyles/extensions/smw/ext.jquery.atwho.less new file mode 100644 index 00000000..5fd5c15d --- /dev/null +++ b/skinStyles/extensions/smw/ext.jquery.atwho.less @@ -0,0 +1,49 @@ +/* + * Citizen - SMW jQuery AtWho + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .atwho-view { + background: @dark-bg-0; + color: #6f8092; + border: 1px solid @dark-bg-20; + box-shadow: 0 0 5px rgba( 0, 0, 0, 0.1 ); + } + + .atwho-view .atwho-header { + border-bottom: solid 1px @dark-bg-20; + color: #6f8092; + } + + .atwho-view .atwho-header .small { + color: #6f8092; + } + + .atwho-view .cur { + background: @dark-bg-20; + color: #6f8092; + } + + .atwho-view .cur small { + color: @dark-text-100; + } + + .atwho-view strong { + color: #39f; + } + + .atwho-view .cur strong { + color: #39f; + } + + .atwho-view ul li { + border-bottom: 1px solid @dark-bg-20; + } + + .atwho-view small { + color: @dark-text-70; + } +} diff --git a/skinStyles/extensions/smw/ext.libs.tippy.less b/skinStyles/extensions/smw/ext.libs.tippy.less new file mode 100644 index 00000000..4050f3c0 --- /dev/null +++ b/skinStyles/extensions/smw/ext.libs.tippy.less @@ -0,0 +1,119 @@ +/* + * Citizen - SMW Lib Tippy + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + /** + tippy.css + */ + .tippy-tooltip { + color: @dark-text-100; + background-color: #333; + } + + /** + light-border.css + */ + .tippy-tooltip.light-border-theme { + background-color: @dark-bg-0; + border: 1px solid rgba( 0, 8, 16, 0.15 ); + color: @dark-text-90; + box-shadow: 0 3px 14px -0.5px rgba( 0, 8, 16, 0.08 ); + } + + .tippy-tooltip.light-border-theme .tippy-backdrop { + background-color: @dark-bg-0; + } + + .tippy-tooltip.light-border-theme .tippy-roundarrow { + fill: @dark-bg-0; + } + + .tippy-tooltip.light-border-theme .tippy-roundarrow:after { + fill: rgba( 0, 8, 16, 0.15 ); + } + + .tippy-tooltip.light-border-theme[ x-placement^=top ] .tippy-arrow { + border-top-color: @dark-bg-0; + } + + .tippy-tooltip.light-border-theme[ x-placement^=top ] .tippy-arrow:after { + border-top: 7px solid @dark-bg-0; + } + + .tippy-tooltip.light-border-theme[ x-placement^=top ] .tippy-arrow:before { + border-top: 7px solid rgba( 0, 8, 16, 0.2 ); + } + + .tippy-tooltip.light-border-theme[ x-placement^=bottom ] .tippy-arrow { + border-bottom-color: @dark-bg-0; + } + + .tippy-tooltip.light-border-theme[ x-placement^=bottom ] .tippy-arrow:after { + border-bottom: 7px solid @dark-bg-0; + } + + .tippy-tooltip.light-border-theme[ x-placement^=bottom ] .tippy-arrow:before { + border-bottom: 7px solid rgba( 0, 8, 16, 0.2 ); + } + + .tippy-tooltip.light-border-theme[ x-placement^=left ] .tippy-arrow { + border-left-color: @dark-bg-0; + } + + .tippy-tooltip.light-border-theme[ x-placement^=left ] .tippy-arrow:after { + border-left: 7px solid @dark-bg-0; + } + + .tippy-tooltip.light-border-theme[ x-placement^=left ] .tippy-arrow:before { + border-left: 7px solid rgba( 0, 8, 16, 0.2 ); + } + + .tippy-tooltip.light-border-theme[ x-placement^=right ] .tippy-arrow { + border-right-color: @dark-bg-0; + } + + .tippy-tooltip.light-border-theme[ x-placement^=right ] .tippy-arrow:after { + border-right: 7px solid @dark-bg-0; + } + + .tippy-tooltip.light-border-theme[ x-placement^=right ] .tippy-arrow:before { + border-right: 7px solid rgba( 0, 8, 16, 0.2 ); + } + + /** + light.css + */ + .tippy-tooltip.light-theme { + color: @dark-text-90; + box-shadow: 0 0 20px 4px rgba( 154, 161, 177, 0.15 ), 0 4px 80px -8px rgba( 36, 40, 47, 0.25 ), 0 4px 4px -2px rgba( 91, 94, 105, 0.15 ); + background-color: @dark-bg-0; + } + + .tippy-tooltip.light-theme[ x-placement^=top ] .tippy-arrow { + border-top: 8px solid @dark-bg-0; + } + + .tippy-tooltip.light-theme[ x-placement^=bottom ] .tippy-arrow { + border-bottom: 8px solid @dark-bg-0; + } + + .tippy-tooltip.light-theme[ x-placement^=left ] .tippy-arrow { + border-left: 8px solid @dark-bg-0; + } + + .tippy-tooltip.light-theme[ x-placement^=right ] .tippy-arrow { + border-right: 8px solid @dark-bg-0; + } + + .tippy-tooltip.light-theme .tippy-backdrop { + background-color: @dark-bg-0; + } + + .tippy-tooltip.light-theme .tippy-roundarrow { + fill: @dark-bg-0; + } +} diff --git a/skinStyles/extensions/smw/ext.smw.ask.styles.less b/skinStyles/extensions/smw/ext.smw.ask.styles.less new file mode 100644 index 00000000..43c347e7 --- /dev/null +++ b/skinStyles/extensions/smw/ext.smw.ask.styles.less @@ -0,0 +1,150 @@ +/* + * Citizen - SMW Special Ask + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .smw-ask-toplinks { + background-color: @dark-bg-10; + } + + .smw-ask-toplinks-edit { + border-right: 3px solid @dark-bg-0; + } + + .smw-ask-condition fieldset, + .smw-ask-printhead fieldset { + border: 1px solid @dark-bg-50; + } + + .smw-ask-query .smw-table-row .smw-table-cell { + border: 1px solid @dark-bg-50; + } + + .smw-ask-options-row-odd { + background: @dark-bg-20; + } + + .smw-ask-options-row-even { + background: @dark-bg-0; + } + + .smw-ask-button { + color: @dark-text-80; + border: 1px solid @dark-bg-20; + } + + .smw-ask-button-submit input { + border: 1px solid @dark-bg-10; + background-color: @dark-bg-20; + color: @dark-text-70; + } + + .smw-ask-button-submit input:hover { + background-color: @dark-bg-30; + border-color: @dark-bg-20; + } + + .smw-ask-button-right { + color: @dark-text-80; + border: 1px solid @dark-bg-20; + } + + .smw-ask-button:hover { + background-color: @dark-bg-10; + } + + .smw-ask-button input { + color: @dark-text-100 !important; + } + + .smw-ask-button-lblue { + color: @dark-text-100; + background-color: #5bc0de; + border-color: #46b8da; + } + + .smw-ask-button-lblue:hover { + background-color: #31b0d5; + border-color: #269abc; + } + + .smw-ask-button-dblue { + color: #fff; + background-color: #337ab7; + border-color: #2e6da4; + } + + .smw-ask-button-dblue:hover { + background-color: #286090; + border-color: #204d74; + } + + .smw-ask-button-lgrey { + background-color: @dark-bg-20; + border-color: @dark-bg-30; + } + + .smw-ask-button-lgrey:hover { + background-color: @dark-bg-30; + border-color: @dark-bg-30; + } + + .smw-ask-button a, + .smw-ask-button a:hover, + .smw-ask-button a:focus, + .smw-ask-button a:active, + .smw-ask-button a:visited { + color: @dark-text-80; + } + + .smw-ask-button-lblue a, + .smw-ask-button-lblue a:hover, + .smw-ask-button-lblue a:focus, + .smw-ask-button-lblue a:active, + .smw-ask-button-lblue a:visited { + color: @dark-text-100; + } + + .smw-ask-button-dblue a, + .smw-ask-button-dblue a:hover, + .smw-ask-button-dblue a:focus, + .smw-ask-button-dblue a:active, + .smw-ask-button-dblue a:visited { + color: @dark-text-100; + } + + .smw-ask-search fieldset, + .smw-ask-format fieldset, + .smw-ask-options fieldset { + border: 1px solid @dark-bg-50; + } + + .strike > span:before, + .strike > span:after { + background: @dark-bg-50; + } + + .smw-ask-sort-input input, + .smw-propertysubject-input { + border: 1px solid @dark-bg-50; + } + + #options-toggle:not( :checked ) + #options-list .options-parameter-list:after { + background-image: linear-gradient( to bottom, rgba( 0, 0, 0, 0 ), @dark-bg-0 90% ); + } + + .slowfade textarea::placeholder { + color: @dark-text-60; + } + + .export-links li { + border-left: 1px solid @dark-bg-50; + } + + .smw-tabs input.nav-tab:checked + label.nav-label.result-cache { + border-top: 2px solid @yellow-50; + } +} diff --git a/skinStyles/extensions/smw/ext.smw.browse.styles.less b/skinStyles/extensions/smw/ext.smw.browse.styles.less new file mode 100644 index 00000000..ce9540f7 --- /dev/null +++ b/skinStyles/extensions/smw/ext.smw.browse.styles.less @@ -0,0 +1,114 @@ +/* + * Citizen - SMW Browse + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .smwb-factbox { + border-left: 0.5em solid @dark-bg-20; + } + + .smwb-factbox .smwb-cell { + border: 0 solid @dark-bg-50; + border-top: 2px solid @dark-bg-0; + } + + .smwb-cell-empty { + border-left: 0.5em solid @dark-bg-20; + } + + .smwb-prophead { + background-color: @dark-bg-20; + } + + .smwb-title { + background-color: @dark-bg-20; + } + + .smwb-propvalue { + background-color: @dark-bg-10; + } + + .smwb-propvalue .smwb-prophead { + background-color: @dark-bg-20; + } + + .smwb-propvalue .smwb-propval { + background-color: @dark-bg-10; + } + + .smwb-center, + .smwb-actions { + background-color: @dark-bg-20; + } + + .smwb-bottom { + border-bottom: 2px solid @dark-bg-0; + } + + .smwb-ifactbox { + border-right: 0.5em solid @dark-bg-20; + } + + .smwb-ifactbox .smwb-cell { + border: 0 solid @dark-bg-50; + border-top: 2px solid @dark-bg-0; + } + + .smwb-ititle { + background-color: @dark-bg-20; + } + + .smwb-ititle td { + border-bottom: 2px solid @dark-bg-0; + } + + .smwb-ipropvalue { + background-color: @dark-bg-10; + } + + .smwb-ipropvalue .smwb-prophead { + background-color: @dark-bg-20; + } + + .smwb-ipropvalue .smwb-propval { + background-color: @dark-bg-10; + } + + .smwb-input .mw-ui-input:focus { + box-shadow: inset 0 0 0 1px @dark-bg-20; + border-color: @dark-bg-20; + } + + .smwb-action-separator { + border-left: 1px solid @dark-bg-60; + } + + .smwb-theme-light .smwb-factbox { + border-left: 0.5em solid @dark-bg-30; + } + + .smwb-theme-light .smwb-ifactbox { + border-right: 0.5em solid @dark-bg-30; + } + + .smwb-theme-light .smwb-title, + .smwb-theme-light .smwb-center, + .smwb-theme-light .smwb-actions, + .smwb-theme-light .smwb-prophead { + background-color: @dark-bg-20; + } + + .smwb-theme-light .smwb-propval { + background-color: @dark-bg-10; + } + + @media screen and ( max-width: 800px ) { + .smwb-group .smwb-propval, + .smwb-group .smwb-theme-light .smwb-propval { + background-color: @dark-bg-20; + } + } +} diff --git a/skinStyles/extensions/smw/ext.smw.modal.styles.less b/skinStyles/extensions/smw/ext.smw.modal.styles.less new file mode 100644 index 00000000..43e5e33c --- /dev/null +++ b/skinStyles/extensions/smw/ext.smw.modal.styles.less @@ -0,0 +1,42 @@ +/* + * Citizen - SMW Modal + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .smw-modal { + background-color: rgba( 0, 0, 0, 0.23 ); /* Black w */ + } + + .smw-modal-title { + color: @dark-text-90 !important; + } + + .smw-modal-content { + background-color: @dark-bg-0 !important; + border: 1px solid @dark-bg-20 !important; + box-shadow: 0 0 18px rgba( 27, 31, 35, 0.4 ) !important; + } + + .smw-modal-close:hover, + .smw-modal-close:focus { + color: @dark-text-100 !important; + } + + .smw-modal-header { + border-bottom: 1px solid @dark-bg-20 !important; + background-color: @dark-bg-10 !important; + } + + .smw-modal-header h2 { + border-bottom: 0 solid @dark-bg-50 !important; + color: @dark-text-100 !important; + } + + .smw-modal-footer { + background-color: #5cb85c; + color: @dark-text-100; + } +} diff --git a/skinStyles/extensions/smw/ext.smw.page.styles.less b/skinStyles/extensions/smw/ext.smw.page.styles.less new file mode 100644 index 00000000..7af8185d --- /dev/null +++ b/skinStyles/extensions/smw/ext.smw.page.styles.less @@ -0,0 +1,127 @@ +/* + * Citizen - SMW Special Ask + * https://starcitizen.tools + * TODO CHECK 'smw/ext.smw.table.css' +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .smw-property-page-content-line { + border-bottom: 1px solid @dark-bg-20; + } + + .smw-property-page-results .value-row:hover { + background-color: @dark-bg-10; + } + + .smw-property-page-results .header-row > .header-title { + border-bottom: 1px solid @dark-bg-20; + } + + .smw-ui-pagination .page-link { + color: #007bff; + background-color: @dark-bg-0; + border: 1px solid @dark-bg-20; + } + + .smw-ui-pagination .page-link:hover { + color: #0056b3; + background-color: @dark-bg-20; + border-color: @dark-bg-30; + } + + .smw-ui-pagination .page-link.link-disabled { + color: @dark-text-70; + background-color: @dark-bg-0; + border-color: @dark-bg-20; + } + + .smw-ui-pagination .page-link.link-active { + color: @dark-text-100; + background-color: #007bff; + border-color: #007bff; + } + + .smw-property-page-results .header-title { + color: @dark-text-80; + background-color: @dark-bg-0; + } + + .list-pager-value-filter input { + color: @dark-text-90; + background-color: @dark-bg-0; + border: 1px solid @dark-bg-20; + } + + .smw-ui-input-filter { + color: #007bff; + background-color: @dark-bg-0; + border: 1px solid @dark-bg-20; + } + + .smw-ui-input-filter input { + border: 0 solid @dark-bg-20 !important; + border-left: 1px solid @dark-bg-20 !important; + color: @dark-text-80 !important; + } + + .smw-property-page-results .header-title { + border-bottom: 1px solid @dark-bg-20; + } + + .smw-property-page-results.legacy .header-title { + border-bottom: 0 solid @dark-bg-20; + } + + .usage-count, + .item-count { + background-color: rgba( 27, 31, 35, 0.04 ); + color: @dark-text-70; + } + + #tab-smw-property-value:checked + label.nav-label .usage-count, + #tab-smw-concept-list:checked + label.nav-label .usage-count, + #tab-smw-property-subp:checked + label.nav-label .item-count, + #tab-smw-property-errp:checked + label.nav-label .item-count, + #tab-smw-property-redi:checked + label.nav-label .item-count, + #tab-smw-type-list:checked + label.nav-label .item-count, + #tab-smw-property-spec:checked + label.nav-label .item-count { + background-color: rgba( 27, 31, 35, 0.08 ); + color: #444d56; + } + + #tab-smw-property-value:checked + label.nav-label .usage-count.moderate, + #tab-smw-concept-list:checked + label.nav-label .usage-count.moderate { + background-color: rgba( 43, 157, 239, 0.18 ); + color: #444d56; + } + + #tab-smw-property-value:checked + label.nav-label .usage-count.high, + #tab-smw-concept-list:checked + label.nav-label .usage-count.high { + background-color: rgba( 186, 0, 0, 0.16 ); + color: #444d56; + } + + .smw-property input.nav-tab:checked + label.nav-label.smw-tab-warning, + .smw-concept input.nav-tab:checked + label.nav-label.smw-tab-warning, + .smw-types input.nav-tab:checked + label.nav-label.smw-tab-warning { + border-top: 2px solid rgb( 204, 0, 0 ); + } + + .smw-property input.nav-tab:checked + label.nav-label.smw-tab-spec, + .smw-concept input.nav-tab:checked + label.nav-label.smw-tab-spec { + border-top: 2px solid orange; + } + + .smw-property input.nav-tab:checked + label#tab-label-smw-property-constraint.nav-label { + border-top: 2px solid #42c0fb; + } + + @media screen and ( max-width: 800px ) { + .smw-property-page-results .header-title:first-child, + .smw-property-page-results .header-row > .header-title:first-child { + border-bottom: 1px solid @dark-bg-20; + } + } +} diff --git a/skinStyles/extensions/smw/ext.smw.special.style.less b/skinStyles/extensions/smw/ext.smw.special.style.less new file mode 100644 index 00000000..6a8ab549 --- /dev/null +++ b/skinStyles/extensions/smw/ext.smw.special.style.less @@ -0,0 +1,66 @@ +/* + * Citizen - SMW Special Admin + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .smw-admin-deprecation-notice-docu-section { + background-color: #fcf8e3; + border-color: #faf2cc; + color: #8a6d3b; + } + + .smw-admin-deprecation fieldset { + border-top: 1px solid @dark-bg-50; + } + + .smw-admin-hr { + background-color: @dark-bg-20; + } + + .smw-special-filter-button { + color: @dark-text-80; + border: 1px solid @dark-bg-20; + } + + .smw-special-filter-button:hover { + background-color: @dark-bg-10; + } + + .smw-special-filter-button a, + .smw-special-filter-button a:hover, + .smw-special-filter-button a:focus, + .smw-special-filter-button a:active, + .smw-special-filter-button a:visited { + color: @dark-text-80; + } + + .smw-admin section { + border: 0 solid @dark-bg-50; + } + + .smw-admin input.nav-tab:checked + label.nav-label { + border: 1px solid @dark-bg-50; + border-top: 2px solid @yellow-50; + border-bottom: 1px solid @dark-bg-0; + } + + .smw-admin input.nav-tab:checked + label.nav-label.smw-tab-warning { + border-top: 2px solid rgb( 204, 0, 0 ); + } + + .client-nojs .smw-admin-supplementary-duplookup-content:after { + color: @red-50; + background-color: @dark-bg-20; + } + + .smw-admin h3, + .smw-admin h4, + h3.smw-title, + h4.smw-title, + h3 .smw-title { + background: @dark-bg-10; + } +} diff --git a/skinStyles/extensions/smw/ext.smw.special.styles.less b/skinStyles/extensions/smw/ext.smw.special.styles.less new file mode 100644 index 00000000..488d0a29 --- /dev/null +++ b/skinStyles/extensions/smw/ext.smw.special.styles.less @@ -0,0 +1,19 @@ +/* + * Citizen - SMW Special Preferences + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + fieldset#mw-prefsection-smw-general-options, + fieldset#mw-prefsection-smw-ask-options, + fieldset#mw-prefsection-smw-srf { + border: 0 solid #2a4b8d; + border-top: 1px solid @dark-bg-20; + } + + #mw-prefsection-smw .oo-ui-fieldsetLayout-header .oo-ui-labelElement-label { + color: @dark-text-70; + } +} diff --git a/skinStyles/extensions/smw/ext.smw.style.less b/skinStyles/extensions/smw/ext.smw.style.less new file mode 100644 index 00000000..5377f41d --- /dev/null +++ b/skinStyles/extensions/smw/ext.smw.style.less @@ -0,0 +1,472 @@ +/* + * Citizen - SMW + * https://starcitizen.tools + * + * 'smw/ext.smw.css' + * 'smw/ext.smw.dropdown.css' + * 'smw/ext.smw.table.css' + * 'smw/ext.smw.tabs.css' + * 'smw/factbox/smw.factbox.css' + * 'smw/smw.indicators.css' +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + /** + smw/ext.smw.css + */ + .smw-placeholder { + background-color: @dark-bg-10; + } + + .client-nojs .smw-placeholder:after { + color: @red-50; + } + + .smw-personal-jobqueue-watchlist:hover, + .smw-personal-jobqueue-watchlist:focus, + .smw-personal-jobqueue-watchlist:active { + color: @accent-50; + } + + .item-count { + color: @dark-text-60; + } + + .item-count.active { + background-color: rgba( 27, 31, 35, 0.08 ); + color: @dark-text-80; + } + + .smwpre { + border: 1px dashed @accent-50; + color: @dark-text-100; + background-color: @dark-bg-10; + } + + .smw-debug-box { + border: 5px dotted @yellow-50; + background: @yellow-90; + } + + .smw-debug-box-header { + border-bottom: 1px dotted @yellow-50; + } + + div.smwtimeline { + border: 1px solid @dark-bg-50; + background-color: @dark-bg-10; + } + + .smwtable-striped tbody > tr:nth-child( even ) { + background-color: @dark-bg-10; + } + + .smwtable-striped tbody > tr:nth-child( odd ) { + background-color: @dark-bg-0; + } + + .smwtable-striped tbody > tr:hover { + background-color: @dark-bg-20; + } + + .smwtable-clean tr { + border-top: 1px solid @dark-bg-20; + } + + .smwtable-clean tr > th { + border-top: 1px solid @dark-bg-20; + } + + .smwtable-clean tr > td { + border-top: 1px solid @dark-bg-20; + } + + .smwtable-clean tbody > tr:nth-child( even ) { + background-color: @dark-bg-10; + } + + div.smwhr hr { + background-color: @dark-bg-20; + color: @dark-text-80; + } + + span.smwwarning { + color: @dark-text-60; + } + + span.smwsearchicon { + color: @dark-text-60; + } + + #bodyContent span.smwsearch a { + color: @dark-text-70; + } + + #bodyContent span.smwsearch a:hover { + color: @dark-text-60; + } + + #bodyContent span.smwbrowse a { + color: @dark-text-70; + } + + #bodyContent span.smwbrowse a:hover { + color: @dark-text-60; + } + + .concept-documenation { + border-top: 1px dotted @dark-bg-50; + } + + hr.smw-form-horizontalrule { + background-color: @dark-bg-20; + } + + .smw-horizontalrule { + border-bottom: 1px solid @dark-bg-20; + } + + .smw-editpage-help { + background-color: @dark-bg-20; + border: 1px solid @dark-bg-30; + } + + .smw-column-header { + color: @dark-text-100; + } + + .smw-note { + background-color: @dark-bg-10; + } + + .smw-callout-info { + background: #d9edf7; + border-left: 5px solid #1b809e; + } + + .smw-callout-info .title { + color: #1b809e; + } + + .smw-callout-info-light { + background: @dark-bg-10; + border-left: 5px solid @dark-bg-20; + } + + .smw-callout-info-light .title { + color: #1b809e; + } + + .smw-callout-warning { + background: @yellow-90; + border-left: 5px solid #aa6708; + color: @dark-text-60; + } + + .smw-callout-warning .title { + color: #aa6708; + } + + .smw-callout-success { + background: #dff0d8; + border-left: 5px solid #3c763d; + } + + .smw-callout-success .title { + color: #3c763d; + } + + .smw-callout-error { + background: #f2dede; + border-left: 5px solid #ce4844; + } + + .autocomplete-suggestions { + background: @dark-bg-0; + border: 1px solid @dark-bg-20; + box-shadow: rgba( 0, 0, 0, 0.1 ) 0 0 5px; + color: #6f8092; + } + + .autocomplete-suggestion { + border-bottom: 1px solid @dark-bg-20; + } + + .autocomplete-selected { + background: @dark-bg-20; + } + + .autocomplete-suggestions strong { + color: @accent-50; + } + + .autocomplete-group strong { + border-bottom: 1px solid @dark-bg-0; + } + + .autocomplete-arrow-light { + background-image: linear-gradient( 45deg, transparent 50%, @dark-bg-30 50% ), linear-gradient( 135deg, @dark-bg-30 50%, transparent 50% ), linear-gradient( to right, @dark-bg-0, @dark-bg-0 ); + } + + .smw-breadcrumb-link { + color: @dark-text-70; + } + + .smw-breadcrumb-arrow-right { + border-left: 5px solid @dark-bg-50; + } + + .smw-ask-action-btn-lgrey, + a.smw-ask-action-btn-lgrey:visited, + .smw-action-btn-lgrey, + .smw-action-btn-lgrey:visited { + color: @dark-text-90; + background-color: @dark-bg-20; + border-color: @dark-bg-20; + text-decoration: none; + } + + a.smw-ask-action-btn-lgrey:hover, + .smw-action-btn-lgrey:hover { + color: @dark-text-90; + background-color: @dark-bg-20; + border-color: @dark-bg-20; + } + + .smw-ask-action-btn-lblue, + a.smw-ask-action-btn-lblue:visited { + color: @dark-text-100; + background-color: #5bc0de; + border-color: #46b8da; + } + + a.smw-ask-action-btn-lblue:hover { + color: @dark-text-100; + background-color: #31b0d5; + border-color: #269abc; + } + + .smw-ask-action-btn-dblue, + a.smw-ask-action-btn-dblue:visited { + color: @dark-text-100; + background-color: #337ab7; + border-color: #2e6da4; + } + + .smw-ask-action-btn-dblue:hover, + .smw-ask-action-btn-dblue:focus, + a.smw-ask-action-btn-dblue:hover, + a.smw-ask-action-btn-dblue:focus { + color: @dark-text-100; + background-color: #286090; + border-color: #204d74; + } + + .smw-page-indicator { + color: @dark-text-90; + border-color: @dark-bg-20; + } + + .smw-protection-indicator { + color: @dark-text-90; + } + + .smw-protection-indicator.with-border { + border-color: @dark-bg-20; + } + + .smw-page-indicator.usage-count.moderate { + background-color: #f2d29b; + border: 1px solid #f2d29b; + color: #aa4c2c; + } + + .smw-page-indicator.usage-count.high { + background-color: #ff887f; + border: 1px solid #ffb79e; + color: #800000; + } + + .smw-admin-circle-orange { + background: #ffa500; + } + + .smw-overlay-spinner.mini { + border-left: 3px solid rgba( 0, 174, 239, 0.15 ); + border-right: 3px solid rgba( 0, 174, 239, 0.15 ); + border-bottom: 3px solid rgba( 0, 174, 239, 0.15 ); + border-top: 3px solid rgba( 0, 174, 239, 0.8 ); + } + + .smw-overlay-spinner { + border-left: 6px solid rgba( 0, 174, 239, 0.15 ); + border-right: 6px solid rgba( 0, 174, 239, 0.15 ); + border-bottom: 6px solid rgba( 0, 174, 239, 0.15 ); + border-top: 6px solid rgba( 0, 174, 239, 0.8 ); + } + + .ns-112.action-submit .error { + color: #721c24; + background: #f2dede; + border-left: 5px solid #ce4844; + } + + .ns-112.action-submit .error:before { + color: #721c24; + } + + /** + smw/ext.smw.dropdown.css + */ + .smw-dropdown > a, + .smw-dropdown > button { + background-color: @dark-bg-0; + border: 1px solid @dark-bg-30; + color: @dark-text-100; + } + + .smw-dropdown > a:before, + .smw-dropdown > button:before { + border-top: 5px solid @dark-bg-0; + } + + .smw-dropdown .smw-dropdown-menu { + border: 1px solid @dark-bg-30; + background-color: @dark-bg-0; + box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.175 ); + } + + .smw-dropdown .smw-dropdown-menu li:hover { + background-color: @dark-bg-10; + } + + .smw-dropdown .smw-dropdown-menu li a { + color: @dark-text-100; + } + + .smw-dropdown .smw-dropdown-menu .divider { + background-color: @dark-bg-20; + } + + .smw-dropdown-menu:before { + border-bottom-color: rgba( 27, 31, 35, 0.15 ); + } + + .smw-dropdown-menu:before { + border-bottom-color: rgba( 27, 31, 35, 0.15 ); + } + + .smw-dropdown-menu:after { + border-bottom-color: @dark-bg-0; + } + + /** + smw/ext.smw.tabs.css + */ + .smw-tabs section, + .smw-tabs .subtab-content { + border-top: 1px solid @dark-bg-20; + } + + .smw-tabs label.nav-label { + color: @dark-text-60; + } + + .smw-tabs label.nav-label:hover { + color: @dark-text-60; + } + + .smw-tabs input.nav-tab:checked + label.nav-label { + color: @dark-text-90; + border: 1px solid @dark-bg-20; + border-top: 2px solid #337ab7; + border-bottom: 1px solid @dark-bg-0; + } + + .smw-tabs input.nav-tab:checked + label.nav-label.cached { + border-top: 2px solid @yellow-30; + } + + @media screen and ( max-width: 800px ) { + .smw-tabs input.nav-tab:checked + label.nav-label { + background-color: @dark-bg-10; + } + } + + /** + smw/factbox/smw.factbox.css + */ + .smwfact { + background-color: @dark-bg-10; + border: 1px solid @dark-bg-50; + } + + .smwfact td, + .smwfact tr, + .smwfact table { + background-color: @dark-bg-10; + } + + .smwfact .smwfacttable { + border-top: 1px dotted @dark-bg-50; + } + + .smwfact .smw-table-row:nth-child( odd ) { + background-color: @dark-bg-10; + } + + .smwfact .smw-table-row:nth-child( even ) { + background-color: @dark-bg-0; + } + + .rdflink a { + color: @dark-text-60; + } + + .rdflink a:hover { + color: @accent-50; + } + + .smw-factbox section { + border: 1px solid @dark-bg-50; + } + + .smw-factbox input.nav-tab:checked + label.nav-label { + border: 1px solid @dark-bg-50; + border-top: 2px solid @yellow-30; + border-bottom: 1px solid @dark-bg-0; + background: @dark-bg-0; + } + + .smw-factbox input.nav-tab:checked + label#tab-label-facts-attachment.nav-label { + border: 1px solid @dark-bg-50; + border-top: 2px solid #42c0fb; + border-bottom: 1px solid @dark-bg-0; + } + + .smw-factbox .smwfact { + background-color: @dark-bg-0; + } + + /** + smw/smw.indicators.css + */ + .smw-icon-indicator-placeholder { + background-color: @dark-bg-20; + } + + .smw-list-rule-title { + border-bottom: 0 solid @dark-bg-20; + color: @dark-text-100; + } + + /** + Icons + */ + .smw-icon-info, + .smw-icon-compact { + filter: invert( 1 ) hue-rotate( 180deg ); + } +} diff --git a/skinStyles/extensions/smw/ext.smw.table.styles.less b/skinStyles/extensions/smw/ext.smw.table.styles.less new file mode 100644 index 00000000..861a9132 --- /dev/null +++ b/skinStyles/extensions/smw/ext.smw.table.styles.less @@ -0,0 +1,36 @@ +/* + * Citizen - SMW Table Styles + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .smw-table-header { + background-color: @dark-bg-20; + } + + .smw-table-cell, + .smw-table-head { + border: 1px solid @dark-bg-50; + } + + .smw-table-header { + background-color: @dark-bg-20; + } + + .smw-table-footer { + background-color: @dark-bg-20; + } + + /** + Should probably be -50 + */ + .smw-table-sort-asc:after { + color: @dark-text-60; + } + + .smw-table-sort-desc:after { + color: @dark-text-60; + } +} diff --git a/skinStyles/extensions/smw/ext.smw.tooltip.styles.less b/skinStyles/extensions/smw/ext.smw.tooltip.styles.less new file mode 100644 index 00000000..1a1abbca --- /dev/null +++ b/skinStyles/extensions/smw/ext.smw.tooltip.styles.less @@ -0,0 +1,24 @@ +/* + * Citizen - SMW Util Tooltip + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + div.smwtt { + color: @dark-text-100; + } + + span.smwttpersist span.smwttcontent { + color: @dark-text-70; + } + + span.smwttactivepersist { + color: #0000c8; + } + + span.smwttactiveinline { + color: #b70; + } +} diff --git a/skinStyles/extensions/smw/ext.smw.vtabs.styles.less b/skinStyles/extensions/smw/ext.smw.vtabs.styles.less new file mode 100644 index 00000000..4c6aff1b --- /dev/null +++ b/skinStyles/extensions/smw/ext.smw.vtabs.styles.less @@ -0,0 +1,70 @@ +/* + * Citizen - SMW Vertical Tabs + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + div.smw-vtab-nav button { + background-color: @dark-bg-0; + color: #428bca; + } + + div.smw-vtab-nav button a { + color: #428bca; + } + + div.smw-vtab-nav.nav-right button { + border-left: 1px solid @dark-bg-20; + } + + div.smw-vtab-nav.nav-left button { + border-right: 1px solid @dark-bg-20; + } + + div.smw-vtab-nav button:hover { + background-color: @dark-bg-20; + border-color: @dark-bg-30; + } + + div.smw-vtab-nav.nav-right button:hover { + border-left: 1px solid @dark-bg-20; + } + + div.smw-vtab-nav.nav-left button:hover { + border-right: 1px solid @dark-bg-20; + } + + div.smw-vtab-nav button.active { + background-color: @dark-bg-0; + border: 1px solid @dark-bg-20; + color: @dark-text-100; + } + + div.smw-vtab-nav button.active a { + color: @dark-text-100; + } + + div.smw-vtab-nav.nav-right button.active, + div.smw-vtab-nav.nav-right button.active a { + border-color: @dark-bg-20; + } + + div.smw-vtab-nav.nav-left button.active, + div.smw-vtab-nav.nav-left button.active a { + border-color: @dark-bg-20; + } + + .smw-vtab-content { + border: 1px solid @dark-bg-30; + } + + div.smw-vtab-nav .smw-vtab-warning a { + color: #ffc876; + } + + div.smw-vtab-nav .smw-vtab-warning.active a { + color: #eb8c00; + } +} diff --git a/skinStyles/extensions/smw/jquery.jsonview.less b/skinStyles/extensions/smw/jquery.jsonview.less new file mode 100644 index 00000000..53159ec1 --- /dev/null +++ b/skinStyles/extensions/smw/jquery.jsonview.less @@ -0,0 +1,32 @@ +/* + * Citizen - SMW jQuery Json View + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .jsonview .prop { + color: @dark-text-100; + } + + .jsonview .null { + color: @red-50; + } + + .jsonview .undefined { + color: @red-50; + } + + .jsonview .bool { + color: @accent-50; + } + + .jsonview .num { + color: @accent-50; + } + + .jsonview .string { + color: @green-50; + } +} diff --git a/skinStyles/extensions/smw/jquery.selectmenu.styles.less b/skinStyles/extensions/smw/jquery.selectmenu.styles.less new file mode 100644 index 00000000..258f7e89 --- /dev/null +++ b/skinStyles/extensions/smw/jquery.selectmenu.styles.less @@ -0,0 +1,284 @@ +/* + * Citizen - SMW Special Ask + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + /** + jquery/jquery.selectmenu.css + */ + .sm_target_clicked { + background-color: @dark-bg-20; + border-color: rgba( 27, 31, 35, 0.35 ); + box-shadow: inset 0 0.15em 0.3em rgba( 27, 31, 35, 0.15 ); + } + + .sm_sub_header:hover { + color: @dark-text-100 !important; + } + + .sm_sub_header button { + color: @dark-text-100; + } + + .sm_container { + border: 1px solid @dark-bg-30; + background-color: @dark-bg-10; + box-shadow: 0 3px 12px rgba( 0, 0, 0, 0.2 ); + -moz-box-shadow: 0 3px 12px rgba( 0, 0, 0, 0.2 ); + -webkit-box-shadow: 0 3px 12px rgba( 0, 0, 0, 0.2 ); + } + + .sm_header > h3 { + color: @dark-text-90; + } + + .sm_header button { + color: @dark-text-60; + } + + .sm_header button:hover { + color: @dark-text-100; + } + + .sm_input { + background-color: @dark-bg-0; + border: 1px solid @dark-bg-20; + -webkit-box-shadow: inset 0 1px 1px rgba( 0, 0, 0, 0.075 ); + -moz-box-shadow: inset 0 1px 1px rgba( 0, 0, 0, 0.075 ); + box-shadow: inset 0 1px 1px rgba( 0, 0, 0, 0.075 ); + } + + .sm_input:focus { + border: 1px solid @dark-bg-50; + box-shadow: 0 0 0 3px rgba( 150, 150, 150, 0.2 ); + } + + div.sm_clear_btn { + color: @dark-text-70; + } + + div.sm_clear_btn:hover { + color: @dark-text-100; + } + + .sm_result_area { + background-color: @dark-bg-0; + } + + .sm_result_area.sm_list_mode { + border-top: 1px solid @dark-bg-20; + } + + div.sm_result_area.shadowDown { + box-shadow: 0 3px 12px rgba( 0, 0, 0, 0.2 ); + -moz-box-shadow: 0 3px 12px rgba( 0, 0, 0, 0.2 ); + -webkit-box-shadow: 0 3px 12px rgba( 0, 0, 0, 0.2 ); + } + + div.sm_result_area.shadowUp { + box-shadow: 0 -1px 12px rgba( 0, 0, 0, 0.2 ); + -moz-box-shadow: 0 -1px 12px rgba( 0, 0, 0, 0.2 ); + -webkit-box-shadow: 0 -1px 12px rgba( 0, 0, 0, 0.2 ); + } + + .sm_result_tabs { + border-bottom: 1px solid @dark-bg-20; + } + + .sm_result_tabs ul li a { + color: @dark-text-70; + } + + .sm_result_tabs ul li a.active { + color: @dark-text-90; + background-color: @dark-bg-0; + border-color: @dark-bg-20; + border-bottom-color: @dark-bg-0; + } + + .sm_arrow_bottom > .sm_arrow { + border-bottom-color: @dark-bg-50; + border-bottom-color: rgba( 0, 0, 0, 0.25 ); + } + + .sm_arrow_bottom > .sm_arrow:after { + border-bottom-color: @dark-bg-0; + } + + .sm_arrow_bottom > .sm_arrow.sm_have_title:after { + border-bottom-color: @dark-bg-10; + } + + .sm_arrow_top > .sm_arrow { + border-top-color: @dark-bg-50; + border-top-color: rgba( 0, 0, 0, 0.25 ); + } + + .sm_arrow_top > .sm_arrow:after { + border-top-color: @dark-bg-0; + } + + .sm_results { + background-color: @dark-bg-0; + } + + .sm_regular .sm_results > li:hover { + background-color: #53a4ea; + color: @dark-text-100; + } + + .sm_regular .sm_results > li:hover a { + color: @dark-text-100; + } + + .sm_regular .sm_results > li.sm_disabled, + .sm_regular .sm_results > li.sm_disabled:hover, + .sm_regular .sm_results > li.sm_disabled a { + background-color: @dark-bg-0; + color: @dark-text-70; + } + + .sm_regular .sm_results > li.sm_header, + .sm_regular .sm_results > li.sm_header:hover, + .sm_regular .sm_results > li.sm_header a { + background-color: @dark-bg-0; + color: @dark-text-100; + } + + .sm_results > li { + color: @dark-text-100; + } + + .sm_results > li > a { + color: @dark-text-100; + } + + .sm_results > li.sm_divider { + border-bottom: 1px solid @dark-bg-20; + } + + ul.sm_results > li.sm_over { + background-color: #53a4ea !important; + color: @dark-text-100 !important; + } + + .sm_control_box { + background-color: @dark-bg-0; + border-top: 1px solid @dark-bg-20; + } + + .sm_control_box button { + background-color: @dark-bg-10; + color: @dark-text-80; + } + + .sm_control_box button:hover { + background-color: @dark-bg-20; + color: @dark-text-100; + } + + div.sm_container_combo { + border: 1px solid @dark-bg-30; + -webkit-box-shadow: inset 0 1px 1px rgba( 0, 0, 0, 0.075 ); + -moz-box-shadow: inset 0 1px 1px rgba( 0, 0, 0, 0.075 ); + box-shadow: inset 0 1px 1px rgba( 0, 0, 0, 0.075 ); + } + + div.sm_container_combo.sm_disabled, + div.sm_container_combo.sm_disabled ul.sm_element_box, + div.sm_container_combo.sm_disabled .sm_input { + background-color: @dark-bg-20; + } + + div.sm_container_combo.sm_container_open { + -webkit-box-shadow: inset 0 1px 1px rgba( 0, 0, 0, 0.075 ), 0 0 8px rgba( 82, 168, 236, 0.6 ); + -moz-box-shadow: inset 0 1px 1px rgba( 0, 0, 0, 0.075 ), 0 0 8px rgba( 82, 168, 236, 0.6 ); + box-shadow: inset 0 1px 1px rgba( 0, 0, 0, 0.075 ), 0 0 8px rgba( 82, 168, 236, 0.6 ); + border: 1px solid #75b9f0; + } + + input.sm_combo_input[ readonly ], + input.sm_combo_input[ disabled ] { + background-color: @dark-bg-0; + } + + ul.sm_element_box li.selected_tag { + border: 1px solid @dark-bg-50; + background-color: @dark-bg-20; + box-shadow: 0 0 2px @dark-bg-0 inset, 0 1px 0 rgba( 0, 0, 0, 0.05 ); + } + + .sm_input_off { + background: @dark-bg-20; + color: @dark-text-90; + } + + .sm_navi { + background: @dark-bg-20; + border-bottom: 1px solid #79b; + } + + .sm_navi > p > a:link, + .sm_navi > p > a:visited, + .sm_navi > p > a:hover, + .sm_navi > p > a:active { + color: @accent-50; + } + + .sm_navi > p { + color: @dark-text-100; + } + + .sm_navi > p > a > .current { + color: @accent-10; + } + + .sm_navi > p > .page_end { + color: @dark-text-70; + } + + .sm_container > .sm_select_ng { + background: #fcc; + } + + div.sm_result_area div.pagination > ul > li > a { + background-color: @dark-bg-0; + color: @dark-text-70; + } + + div.sm_result_area div.pagination > ul > li > a:hover { + color: @dark-text-100; + background-color: @dark-bg-20; + } + + div.sm_result_area div.pagination > ul > li.disabled > a { + color: @dark-text-80; + } + + div.sm_result_area div.pagination > ul > li.disabled > a:hover { + color: @dark-text-80; + background-color: @dark-bg-0; + } + + div.sm_result_area div.pagination > ul > li.pageInfoBox > a { + color: @dark-text-70; + } + + div.sm_result_area div.pagination > ul > li.pageInfoBox > a:hover { + color: @dark-text-70; + } + + /** + smw/smw.selectmenu.css + */ + .smw-selectmenu-button { + color: @dark-text-80; + } + + .smw-selectmenu-label { + color: @dark-text-80; + } +} diff --git a/skinStyles/extensions/smw/smw.content.schema.less b/skinStyles/extensions/smw/smw.content.schema.less new file mode 100644 index 00000000..209adc25 --- /dev/null +++ b/skinStyles/extensions/smw/smw.content.schema.less @@ -0,0 +1,84 @@ +/* + * Citizen - SMW Special Ask + * https://starcitizen.tools + * TODO CHECK 'smw/ext.smw.table.css' +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .content-highlight { + border-top: 1px solid @dark-bg-20; + border-left: 1px solid @dark-bg-20; + border-right: 1px solid @dark-bg-20; + border-bottom: 1px solid @dark-bg-20; + } + + .content-no-highlight-o { + background-color: @dark-bg-10; + border-top: 1px solid @dark-bg-20; + border-left: 1px solid @dark-bg-20; + border-right: 1px solid @dark-bg-20; + border-bottom: 1px solid @dark-bg-20; + } + + .unknown-type .content-highlight { + border-top: 1px solid @dark-bg-20; + } + + .schema-tags { + border-bottom: 1px solid @dark-bg-20; + border-left: 1px solid @dark-bg-20; + border-right: 1px solid @dark-bg-20; + background-color: @dark-bg-10; + } + + .schema-tags:first-child { + border: 1px solid @dark-bg-20; + background-color: @dark-bg-10; + } + + .schema-tags li { + border-left: 1px solid @dark-bg-50; + } + + .smw-schema-description { + color: @dark-text-70; + } + + .schema-error { + color: #c00; + } + + h3.smw-title { + background: @dark-bg-10; + color: @dark-text-100; + } + + .smw-schema #tab-schema-usage:checked + label.nav-label .item-count { + background-color: rgba( 27, 31, 35, 0.08 ); + color: @dark-text-80; + } + + .smw-schema section { + border-top: 1px solid @dark-bg-20; + border-left: 0 solid @dark-bg-20; + border-right: 0 solid @dark-bg-20; + } + + .smw-schema input.nav-tab:checked + label.nav-label { + border: 1px solid @dark-bg-20; + border-top: 2px solid #337ab7; + border-bottom: 1px solid @dark-bg-0; + } + + .smw-schema input.nav-tab:checked + label.nav-label.error-label { + border-top: 2px solid #c00; + } + + .schema-summary .smw-table-cell, + .smw-table-head { + border: 1px solid @dark-bg-50; + border-bottom: 1px solid @dark-bg-20; + } +} diff --git a/skinStyles/extensions/smw/smw.jsonview.less b/skinStyles/extensions/smw/smw.jsonview.less new file mode 100644 index 00000000..d922c7e1 --- /dev/null +++ b/skinStyles/extensions/smw/smw.jsonview.less @@ -0,0 +1,22 @@ +/* + * Citizen - SMW Json View + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .smw-jsonview-button { + background-color: #337ab7; + color: @dark-text-100; + } + + .smw-jsonview-button:first-child { + border-right: 1px solid @dark-bg-0; + } + + .smw-jsonview-button:hover { + background-color: #008cba; + color: @dark-text-100; + } +} diff --git a/skinStyles/extensions/smw/smw.special.search.styles.less b/skinStyles/extensions/smw/smw.special.search.styles.less new file mode 100644 index 00000000..2291970c --- /dev/null +++ b/skinStyles/extensions/smw/smw.special.search.styles.less @@ -0,0 +1,52 @@ +/* + * Citizen - SMW Special Search + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .smw-search-results-prepend { + background-color: @dark-bg-20; + border: 1px solid rgba( 94, 157, 200, 0.25 ); + } + + .smw-text-strike > span:before, + .smw-text-strike > span:after { + background: @dark-bg-50; + } + + .smw-input { + border-bottom: 1px solid @dark-bg-20; + } + + .smw-select-field { + border-bottom: 1px solid @dark-bg-20; + } + + .smw-button-field { + color: @dark-text-70; + } + + .smw-form-link-query { + border-right: 1px solid @dark-bg-50; + } + + #smw-searchoptions { + background-color: @dark-bg-10; + border: 1px solid @dark-bg-30; + } + + #smw-searchoptions .divider { + border-bottom: 1px solid @dark-bg-20; + } + + #smw-search-synatx-list code { + background-color: #5e9dc82e; + border: 1px solid #5e9dc84a; + } + + .search-types .current a:after { + color: @dark-text-80; + } +} diff --git a/skinStyles/extensions/smw/smw.summarytable.less b/skinStyles/extensions/smw/smw.summarytable.less new file mode 100644 index 00000000..01ac4f9d --- /dev/null +++ b/skinStyles/extensions/smw/smw.summarytable.less @@ -0,0 +1,28 @@ +/* + * Citizen - SMW Special Ask + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .smw-summarytable .smw-table-cell, + .smw-table-head { + border: 1px solid @dark-bg-50; + border-bottom: 1px solid @dark-bg-20; + } + + @media screen and ( max-width: 800px ) { + .smw-summarytable .smw-table-row .smwpropname { + border-bottom: 0 solid @dark-bg-20; + } + + .smw-summarytable-imagecolumn .smw-summarytable-image { + border-top: 1px solid @dark-bg-20; + } + + .smw-summarytable-columns .smw-summarytable-columns-2:first-child { + border-bottom: 1px solid @dark-bg-20; + } + } +} diff --git a/skinStyles/extensions/smw/smw.tableprinter.datatable.styles.less b/skinStyles/extensions/smw/smw.tableprinter.datatable.styles.less new file mode 100644 index 00000000..3166fb80 --- /dev/null +++ b/skinStyles/extensions/smw/smw.tableprinter.datatable.styles.less @@ -0,0 +1,97 @@ +/* + * Citizen - SMW Tableprinter + * 'smw/printer/ext.smw.tableprinter.css' + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .smw-datatable table.dataTable.no-footer { + border-bottom: 1px solid @dark-bg-50; + } + + .smw-datatable table.dataTable tfoot td { + border-bottom: 1px solid @dark-bg-50; + border-top: 1px solid @dark-bg-50; + } + + .smw-datatable table.dataTable.compact tfoot th, + .smw-datatable table.dataTable.compact tfoot td { + border-bottom: 1px solid @dark-bg-50; + border-top: 1px solid @dark-bg-50; + } + + .smw-datatable table.dataTable thead th, + .smw-datatable table.dataTable thead td, + .smw-datatable table.data.smw-datatable table.compact thead th, + .smw-datatable table.data.smw-datatable table.compact thead td, + .smw-datatable table.data.smw-datatable table.no-footer { + border-bottom: 1px solid @dark-bg-50; + } + + .smw-datatable table.dataTable thead th, + .smw-datatable table.dataTable thead td, + .smw-datatable table.data.smw-datatable table.compact thead th, + .smw-datatable table.data.smw-datatable table.compact thead td { + border-top: 1px solid @dark-bg-50; + } + + .smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button.current, + .smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover { + background: @dark-bg-30; + color: @dark-text-90; + border-color: @dark-bg-30; + } + + .smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button { + color: @dark-text-90; + border-color: @dark-bg-20; + } + + .smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button:hover { + background: @accent-50; + color: @dark-text-100; + border-color: @accent-50; + } + + .smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button.disabled, + .smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, + .smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active { + color: @dark-text-70; + } + + .smw-datatable .dataTables_wrapper .dataTables_filter input { + color: @dark-text-90; + border-color: @dark-bg-20; + } + + .smw-datatable .dataTables_wrapper select { + color: @dark-text-90; + border-color: @dark-bg-20; + } + + .smw-datatable .dataTables_wrapper select:focus, + .smw-datatable .dataTables_wrapper select:active, + .smw-datatable .dataTables_wrapper .dataTables_filter input:focus, + .smw-datatable .dataTables_wrapper .dataTables_filter input:active { + border: 1px solid @accent-50; + } + + .smw-datatable-toolbar .smw-dropdown button { + border: 1px solid @dark-bg-20; + } + + .smw-datatable-sep { + border-left: 1px solid @dark-bg-20; + } + + .smw-datatable-button { + color: #586069; + border: 1px solid @dark-bg-20; + } + + .smw-datatable-button:hover { + background-color: @dark-bg-10; + } +} diff --git a/skinStyles/extensions/smw/smw.tippy.less b/skinStyles/extensions/smw/smw.tippy.less new file mode 100644 index 00000000..7dd83ba2 --- /dev/null +++ b/skinStyles/extensions/smw/smw.tippy.less @@ -0,0 +1,42 @@ +/* + * Citizen - SMW Tippy Tooltips + * https://starcitizen.tools +*/ + +@import '../../../resources/variables.less'; + +@media ( prefers-color-scheme: dark ) { + .tippy-header { + background-color: @dark-bg-10; + border-bottom: 1px solid @dark-bg-20; + } + + .tippy-bottom { + background-color: @dark-bg-0; + border-top: 1px solid @dark-bg-20; + } + + .tippy-tooltip.light-border-theme[ x-placement^=bottom ] .tippy-arrow, + .tippy-tooltip.light-theme[ x-placement^=bottom ] .tippy-arrow, + .tippy-tooltip.light-border-theme[ x-placement^=bottom ] .tippy-arrow:after, + .tippy-tooltip.light-theme[ x-placement^=bottom ] .tippy-arrow:after { + border-bottom-color: @dark-bg-10; + } + + .tippy-cancel { + color: @dark-text-100; + text-shadow: 0 1px 0 @dark-bg-0; + } + + .tippy-cancel:hover { + color: @dark-text-100; + } + + .tippy-warning-circle { + background-color: @yellow-50; + } + + .tippy-error-circle { + background-color: @red-50; + } +} From 57489f464f9f575a8db8a81b3ee114b7f397a848 Mon Sep 17 00:00:00 2001 From: Hannes Date: Sun, 29 Dec 2019 14:54:12 +0100 Subject: [PATCH 6/9] Fix stylelint errors --- skinStyles/extensions/smw/ext.libs.tippy.less | 32 +++++++++---------- .../extensions/smw/ext.smw.ask.styles.less | 2 +- .../extensions/smw/ext.smw.modal.styles.less | 2 +- .../extensions/smw/ext.smw.page.styles.less | 6 ++-- .../extensions/smw/ext.smw.special.style.less | 2 +- .../smw/ext.smw.special.styles.less | 2 +- .../smw/ext.smw.tooltip.styles.less | 4 +-- .../extensions/smw/ext.smw.vtabs.styles.less | 4 +-- .../smw/jquery.selectmenu.styles.less | 4 +-- .../extensions/smw/smw.content.schema.less | 4 +-- skinStyles/extensions/smw/smw.jsonview.less | 2 +- skinStyles/extensions/smw/smw.tippy.less | 8 ++--- 12 files changed, 36 insertions(+), 36 deletions(-) diff --git a/skinStyles/extensions/smw/ext.libs.tippy.less b/skinStyles/extensions/smw/ext.libs.tippy.less index 4050f3c0..28818a2c 100644 --- a/skinStyles/extensions/smw/ext.libs.tippy.less +++ b/skinStyles/extensions/smw/ext.libs.tippy.less @@ -36,51 +36,51 @@ fill: rgba( 0, 8, 16, 0.15 ); } - .tippy-tooltip.light-border-theme[ x-placement^=top ] .tippy-arrow { + .tippy-tooltip.light-border-theme[ x-placement^='top' ] .tippy-arrow { border-top-color: @dark-bg-0; } - .tippy-tooltip.light-border-theme[ x-placement^=top ] .tippy-arrow:after { + .tippy-tooltip.light-border-theme[ x-placement^='top' ] .tippy-arrow:after { border-top: 7px solid @dark-bg-0; } - .tippy-tooltip.light-border-theme[ x-placement^=top ] .tippy-arrow:before { + .tippy-tooltip.light-border-theme[ x-placement^='top' ] .tippy-arrow:before { border-top: 7px solid rgba( 0, 8, 16, 0.2 ); } - .tippy-tooltip.light-border-theme[ x-placement^=bottom ] .tippy-arrow { + .tippy-tooltip.light-border-theme[ x-placement^='bottom' ] .tippy-arrow { border-bottom-color: @dark-bg-0; } - .tippy-tooltip.light-border-theme[ x-placement^=bottom ] .tippy-arrow:after { + .tippy-tooltip.light-border-theme[ x-placement^='bottom' ] .tippy-arrow:after { border-bottom: 7px solid @dark-bg-0; } - .tippy-tooltip.light-border-theme[ x-placement^=bottom ] .tippy-arrow:before { + .tippy-tooltip.light-border-theme[ x-placement^='bottom' ] .tippy-arrow:before { border-bottom: 7px solid rgba( 0, 8, 16, 0.2 ); } - .tippy-tooltip.light-border-theme[ x-placement^=left ] .tippy-arrow { + .tippy-tooltip.light-border-theme[ x-placement^='left' ] .tippy-arrow { border-left-color: @dark-bg-0; } - .tippy-tooltip.light-border-theme[ x-placement^=left ] .tippy-arrow:after { + .tippy-tooltip.light-border-theme[ x-placement^='left' ] .tippy-arrow:after { border-left: 7px solid @dark-bg-0; } - .tippy-tooltip.light-border-theme[ x-placement^=left ] .tippy-arrow:before { + .tippy-tooltip.light-border-theme[ x-placement^='left' ] .tippy-arrow:before { border-left: 7px solid rgba( 0, 8, 16, 0.2 ); } - .tippy-tooltip.light-border-theme[ x-placement^=right ] .tippy-arrow { + .tippy-tooltip.light-border-theme[ x-placement^='right' ] .tippy-arrow { border-right-color: @dark-bg-0; } - .tippy-tooltip.light-border-theme[ x-placement^=right ] .tippy-arrow:after { + .tippy-tooltip.light-border-theme[ x-placement^='right' ] .tippy-arrow:after { border-right: 7px solid @dark-bg-0; } - .tippy-tooltip.light-border-theme[ x-placement^=right ] .tippy-arrow:before { + .tippy-tooltip.light-border-theme[ x-placement^='right' ] .tippy-arrow:before { border-right: 7px solid rgba( 0, 8, 16, 0.2 ); } @@ -93,19 +93,19 @@ background-color: @dark-bg-0; } - .tippy-tooltip.light-theme[ x-placement^=top ] .tippy-arrow { + .tippy-tooltip.light-theme[ x-placement^='top' ] .tippy-arrow { border-top: 8px solid @dark-bg-0; } - .tippy-tooltip.light-theme[ x-placement^=bottom ] .tippy-arrow { + .tippy-tooltip.light-theme[ x-placement^='bottom' ] .tippy-arrow { border-bottom: 8px solid @dark-bg-0; } - .tippy-tooltip.light-theme[ x-placement^=left ] .tippy-arrow { + .tippy-tooltip.light-theme[ x-placement^='left' ] .tippy-arrow { border-left: 8px solid @dark-bg-0; } - .tippy-tooltip.light-theme[ x-placement^=right ] .tippy-arrow { + .tippy-tooltip.light-theme[ x-placement^='right' ] .tippy-arrow { border-right: 8px solid @dark-bg-0; } diff --git a/skinStyles/extensions/smw/ext.smw.ask.styles.less b/skinStyles/extensions/smw/ext.smw.ask.styles.less index 43c347e7..913b1113 100644 --- a/skinStyles/extensions/smw/ext.smw.ask.styles.less +++ b/skinStyles/extensions/smw/ext.smw.ask.styles.less @@ -72,7 +72,7 @@ } .smw-ask-button-dblue { - color: #fff; + color: @dark-text-100; background-color: #337ab7; border-color: #2e6da4; } diff --git a/skinStyles/extensions/smw/ext.smw.modal.styles.less b/skinStyles/extensions/smw/ext.smw.modal.styles.less index 43e5e33c..6f631e36 100644 --- a/skinStyles/extensions/smw/ext.smw.modal.styles.less +++ b/skinStyles/extensions/smw/ext.smw.modal.styles.less @@ -36,7 +36,7 @@ } .smw-modal-footer { - background-color: #5cb85c; + background-color: @green-50; color: @dark-text-100; } } diff --git a/skinStyles/extensions/smw/ext.smw.page.styles.less b/skinStyles/extensions/smw/ext.smw.page.styles.less index 7af8185d..3a572af8 100644 --- a/skinStyles/extensions/smw/ext.smw.page.styles.less +++ b/skinStyles/extensions/smw/ext.smw.page.styles.less @@ -106,16 +106,16 @@ .smw-property input.nav-tab:checked + label.nav-label.smw-tab-warning, .smw-concept input.nav-tab:checked + label.nav-label.smw-tab-warning, .smw-types input.nav-tab:checked + label.nav-label.smw-tab-warning { - border-top: 2px solid rgb( 204, 0, 0 ); + border-top: 2px solid @red-50; } .smw-property input.nav-tab:checked + label.nav-label.smw-tab-spec, .smw-concept input.nav-tab:checked + label.nav-label.smw-tab-spec { - border-top: 2px solid orange; + border-top: 2px solid @yellow-50; } .smw-property input.nav-tab:checked + label#tab-label-smw-property-constraint.nav-label { - border-top: 2px solid #42c0fb; + border-top: 2px solid @accent-50; } @media screen and ( max-width: 800px ) { diff --git a/skinStyles/extensions/smw/ext.smw.special.style.less b/skinStyles/extensions/smw/ext.smw.special.style.less index 6a8ab549..36690c4a 100644 --- a/skinStyles/extensions/smw/ext.smw.special.style.less +++ b/skinStyles/extensions/smw/ext.smw.special.style.less @@ -48,7 +48,7 @@ } .smw-admin input.nav-tab:checked + label.nav-label.smw-tab-warning { - border-top: 2px solid rgb( 204, 0, 0 ); + border-top: 2px solid @red-50; } .client-nojs .smw-admin-supplementary-duplookup-content:after { diff --git a/skinStyles/extensions/smw/ext.smw.special.styles.less b/skinStyles/extensions/smw/ext.smw.special.styles.less index 488d0a29..39ab0329 100644 --- a/skinStyles/extensions/smw/ext.smw.special.styles.less +++ b/skinStyles/extensions/smw/ext.smw.special.styles.less @@ -9,7 +9,7 @@ fieldset#mw-prefsection-smw-general-options, fieldset#mw-prefsection-smw-ask-options, fieldset#mw-prefsection-smw-srf { - border: 0 solid #2a4b8d; + border: 0 solid @accent-10; border-top: 1px solid @dark-bg-20; } diff --git a/skinStyles/extensions/smw/ext.smw.tooltip.styles.less b/skinStyles/extensions/smw/ext.smw.tooltip.styles.less index 1a1abbca..f67b02ab 100644 --- a/skinStyles/extensions/smw/ext.smw.tooltip.styles.less +++ b/skinStyles/extensions/smw/ext.smw.tooltip.styles.less @@ -15,10 +15,10 @@ } span.smwttactivepersist { - color: #0000c8; + color: @accent-50; } span.smwttactiveinline { - color: #b70; + color: @yellow-30; } } diff --git a/skinStyles/extensions/smw/ext.smw.vtabs.styles.less b/skinStyles/extensions/smw/ext.smw.vtabs.styles.less index 4c6aff1b..ba232670 100644 --- a/skinStyles/extensions/smw/ext.smw.vtabs.styles.less +++ b/skinStyles/extensions/smw/ext.smw.vtabs.styles.less @@ -61,10 +61,10 @@ } div.smw-vtab-nav .smw-vtab-warning a { - color: #ffc876; + color: @yellow-50; } div.smw-vtab-nav .smw-vtab-warning.active a { - color: #eb8c00; + color: @yellow-30; } } diff --git a/skinStyles/extensions/smw/jquery.selectmenu.styles.less b/skinStyles/extensions/smw/jquery.selectmenu.styles.less index 258f7e89..63621698 100644 --- a/skinStyles/extensions/smw/jquery.selectmenu.styles.less +++ b/skinStyles/extensions/smw/jquery.selectmenu.styles.less @@ -218,7 +218,7 @@ .sm_navi { background: @dark-bg-20; - border-bottom: 1px solid #79b; + border-bottom: 1px solid @accent-90; } .sm_navi > p > a:link, @@ -241,7 +241,7 @@ } .sm_container > .sm_select_ng { - background: #fcc; + background: @red-90; } div.sm_result_area div.pagination > ul > li > a { diff --git a/skinStyles/extensions/smw/smw.content.schema.less b/skinStyles/extensions/smw/smw.content.schema.less index 209adc25..c24018e8 100644 --- a/skinStyles/extensions/smw/smw.content.schema.less +++ b/skinStyles/extensions/smw/smw.content.schema.less @@ -47,7 +47,7 @@ } .schema-error { - color: #c00; + color: @red-50; } h3.smw-title { @@ -73,7 +73,7 @@ } .smw-schema input.nav-tab:checked + label.nav-label.error-label { - border-top: 2px solid #c00; + border-top: 2px solid @red-50; } .schema-summary .smw-table-cell, diff --git a/skinStyles/extensions/smw/smw.jsonview.less b/skinStyles/extensions/smw/smw.jsonview.less index d922c7e1..7be47c97 100644 --- a/skinStyles/extensions/smw/smw.jsonview.less +++ b/skinStyles/extensions/smw/smw.jsonview.less @@ -17,6 +17,6 @@ .smw-jsonview-button:hover { background-color: #008cba; - color: @dark-text-100; + color: @dark-text-100; } } diff --git a/skinStyles/extensions/smw/smw.tippy.less b/skinStyles/extensions/smw/smw.tippy.less index 7dd83ba2..898d2544 100644 --- a/skinStyles/extensions/smw/smw.tippy.less +++ b/skinStyles/extensions/smw/smw.tippy.less @@ -16,10 +16,10 @@ border-top: 1px solid @dark-bg-20; } - .tippy-tooltip.light-border-theme[ x-placement^=bottom ] .tippy-arrow, - .tippy-tooltip.light-theme[ x-placement^=bottom ] .tippy-arrow, - .tippy-tooltip.light-border-theme[ x-placement^=bottom ] .tippy-arrow:after, - .tippy-tooltip.light-theme[ x-placement^=bottom ] .tippy-arrow:after { + .tippy-tooltip.light-border-theme[ x-placement^='bottom' ] .tippy-arrow, + .tippy-tooltip.light-theme[ x-placement^='bottom' ] .tippy-arrow, + .tippy-tooltip.light-border-theme[ x-placement^='bottom' ] .tippy-arrow:after, + .tippy-tooltip.light-theme[ x-placement^='bottom' ] .tippy-arrow:after { border-bottom-color: @dark-bg-10; } From e3fc3d04589be5617d87e3ebfd30e19af08c96ad Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Sun, 29 Dec 2019 12:58:50 -0500 Subject: [PATCH 7/9] Use extension naming for folders --- skin.json | 40 +++++++++---------- .../ext.CookieWarning.styles.less | 0 .../MultimediaViewer}/mmv.less | 4 +- .../ext.relatedArticles.cards.less | 0 .../ext.relatedArticles.readMore.less | 0 .../ext.uls.common.less | 0 .../ext.uls.pt.less | 0 .../ext.visualEditor.core.less | 0 8 files changed, 22 insertions(+), 22 deletions(-) rename skinStyles/extensions/{cookie_warnings => CookieWarning}/ext.CookieWarning.styles.less (100%) rename skinStyles/{ => extensions/MultimediaViewer}/mmv.less (92%) rename skinStyles/extensions/{related_articles => RelatedArticles}/ext.relatedArticles.cards.less (100%) rename skinStyles/extensions/{related_articles => RelatedArticles}/ext.relatedArticles.readMore.less (100%) rename skinStyles/extensions/{uls => UniversalLanguageSelector}/ext.uls.common.less (100%) rename skinStyles/extensions/{uls => UniversalLanguageSelector}/ext.uls.pt.less (100%) rename skinStyles/extensions/{visual_editor => VisualEditor}/ext.visualEditor.core.less (100%) diff --git a/skin.json b/skin.json index a3f36cb7..fa383ac3 100644 --- a/skin.json +++ b/skin.json @@ -344,33 +344,33 @@ }, "ResourceModuleSkinStyles": { "citizen": { - "+ext.echo.styles.badge": "skinStyles/extensions/echo/ext.echo.styles.badge.less", - "+ext.echo.ui": "skinStyles/extensions/echo/ext.echo.ui.less", + "+ext.echo.styles.badge": "skinStyles/extensions/Echo/ext.echo.styles.badge.less", + "+ext.echo.ui": "skinStyles/extensions/Echo/ext.echo.ui.less", - "+ext.flow": "skinStyles/extensions/flow/ext.flow.less", - "+ext.flow.styles.base": "skinStyles/extensions/flow/ext.flow.styles.base.less", - "+ext.flow.ui": "skinStyles/extensions/flow/ext.flow.ui.less", + "+ext.flow": "skinStyles/extensions/Flow/ext.flow.less", + "+ext.flow.styles.base": "skinStyles/extensions/Flow/ext.flow.styles.base.less", + "+ext.flow.ui": "skinStyles/extensions/Flow/ext.flow.ui.less", - "+ext.relatedArticles.cards": "skinStyles/extensions/related_articles/ext.relatedArticles.cards.less", - "+ext.relatedArticles.readMore": "skinStyles/extensions/related_articles/ext.relatedArticles.readMore.less", + "+ext.relatedArticles.cards": "skinStyles/extensions/RelatedArticles/ext.relatedArticles.cards.less", + "+ext.relatedArticles.readMore": "skinStyles/extensions/RelatedArticles/ext.relatedArticles.readMore.less", - "+ext.translate": "skinStyles/extensions/translate/ext.translate.less", - "+ext.translate.editor": "skinStyles/extensions/translate/ext.translate.editor.less", - "+ext.translate.loader": "skinStyles/extensions/translate/ext.translate.loader.less", - "+ext.translate.messagetable": "skinStyles/extensions/translate/ext.translate.messagetable.less", - "+ext.translate.special.translate": "skinStyles/extensions/translate/ext.translate.special.translate.less", - "+ext.translate.tag.languages": "skinStyles/extensions/translate/ext.translate.tag.languages.less", + "+ext.translate": "skinStyles/extensions/Translate/ext.translate.less", + "+ext.translate.editor": "skinStyles/extensions/Translate/ext.translate.editor.less", + "+ext.translate.loader": "skinStyles/extensions/Translate/ext.translate.loader.less", + "+ext.translate.messagetable": "skinStyles/extensions/Translate/ext.translate.messagetable.less", + "+ext.translate.special.translate": "skinStyles/extensions/Translate/ext.translate.special.translate.less", + "+ext.translate.tag.languages": "skinStyles/extensions/Translate/ext.translate.tag.languages.less", - "+ext.uls.common": "skinStyles/extensions/uls/ext.uls.common.less", - "+ext.uls.pt": "skinStyles/extensions/uls/ext.uls.pt.less", + "+ext.uls.common": "skinStyles/extensions/UniversalLanguageSelector/ext.uls.common.less", + "+ext.uls.pt": "skinStyles/extensions/UniversalLanguageSelector/ext.uls.pt.less", - "ext.CookieWarning.styles": "skinStyles/extensions/cookie_warning/ext.CookieWarning.styles.less", + "ext.CookieWarning.styles": "skinStyles/extensions/CookieWarning/ext.CookieWarning.styles.less", - "+ext.popups.main": "skinStyles/extensions/popups/ext.popups.main.less", + "+ext.popups.main": "skinStyles/extensions/Popups/ext.popups.main.less", - "+ext.Tabber": "skinStyles/extensions/tabber/ext.Tabber.less", + "+ext.Tabber": "skinStyles/extensions/Tabber/ext.Tabber.less", - "+ext.visualEditor.core": "skinStyles/extensions/visual_editor/ext.visualEditor.core.less", + "+ext.visualEditor.core": "skinStyles/extensions/VisualEditor/ext.visualEditor.core.less", "+mediawiki.action.history.styles": "skinStyles/mediawiki/action/mediawiki.action.history.styles.less", "+mediawiki.action.view.filepage": "skinStyles/mediawiki/action/mediawiki.action.view.filepage.less", @@ -399,7 +399,7 @@ "+oojs-ui-widgets": "skinStyles/oojs/oojs-ui-widgets.less", "+oojs-ui-windows": "skinStyles/oojs/oojs-ui-windows.less", - "+mmv": "skinStyles/mmv.less" + "+mmv": "skinStyles/extensions/MultimediaViewer/mmv.less" } }, "AutoloadClasses": { diff --git a/skinStyles/extensions/cookie_warnings/ext.CookieWarning.styles.less b/skinStyles/extensions/CookieWarning/ext.CookieWarning.styles.less similarity index 100% rename from skinStyles/extensions/cookie_warnings/ext.CookieWarning.styles.less rename to skinStyles/extensions/CookieWarning/ext.CookieWarning.styles.less diff --git a/skinStyles/mmv.less b/skinStyles/extensions/MultimediaViewer/mmv.less similarity index 92% rename from skinStyles/mmv.less rename to skinStyles/extensions/MultimediaViewer/mmv.less index cf493d59..14c2e3db 100644 --- a/skinStyles/mmv.less +++ b/skinStyles/extensions/MultimediaViewer/mmv.less @@ -3,8 +3,8 @@ * https://starcitizen.tools */ -@import '../resources/variables.less'; -@import '../resources/mixins.less'; +@import '../../resources/variables.less'; +@import '../../resources/mixins.less'; .mw-mmv-image-metadata { border-color: @base-80; diff --git a/skinStyles/extensions/related_articles/ext.relatedArticles.cards.less b/skinStyles/extensions/RelatedArticles/ext.relatedArticles.cards.less similarity index 100% rename from skinStyles/extensions/related_articles/ext.relatedArticles.cards.less rename to skinStyles/extensions/RelatedArticles/ext.relatedArticles.cards.less diff --git a/skinStyles/extensions/related_articles/ext.relatedArticles.readMore.less b/skinStyles/extensions/RelatedArticles/ext.relatedArticles.readMore.less similarity index 100% rename from skinStyles/extensions/related_articles/ext.relatedArticles.readMore.less rename to skinStyles/extensions/RelatedArticles/ext.relatedArticles.readMore.less diff --git a/skinStyles/extensions/uls/ext.uls.common.less b/skinStyles/extensions/UniversalLanguageSelector/ext.uls.common.less similarity index 100% rename from skinStyles/extensions/uls/ext.uls.common.less rename to skinStyles/extensions/UniversalLanguageSelector/ext.uls.common.less diff --git a/skinStyles/extensions/uls/ext.uls.pt.less b/skinStyles/extensions/UniversalLanguageSelector/ext.uls.pt.less similarity index 100% rename from skinStyles/extensions/uls/ext.uls.pt.less rename to skinStyles/extensions/UniversalLanguageSelector/ext.uls.pt.less diff --git a/skinStyles/extensions/visual_editor/ext.visualEditor.core.less b/skinStyles/extensions/VisualEditor/ext.visualEditor.core.less similarity index 100% rename from skinStyles/extensions/visual_editor/ext.visualEditor.core.less rename to skinStyles/extensions/VisualEditor/ext.visualEditor.core.less From e2b3a313e1958c0c5730d9f84016eaab1750abd5 Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Sun, 29 Dec 2019 13:03:22 -0500 Subject: [PATCH 8/9] Renamed SMW to SemanticMediaWiki --- skin.json | 38 +++++++++---------- .../ext.jquery.atwho.less | 0 .../ext.libs.tippy.less | 0 .../ext.smw.ask.styles.less | 0 .../ext.smw.browse.styles.less | 0 .../ext.smw.modal.styles.less | 0 .../ext.smw.page.styles.less | 0 .../ext.smw.special.style.less | 0 .../ext.smw.special.styles.less | 0 .../ext.smw.style.less | 0 .../ext.smw.table.styles.less | 0 .../ext.smw.tooltip.styles.less | 0 .../ext.smw.vtabs.styles.less | 0 .../jquery.jsonview.less | 0 .../jquery.selectmenu.styles.less | 0 .../smw.content.schema.less | 0 .../smw.jsonview.less | 0 .../smw.special.search.styles.less | 0 .../smw.summarytable.less | 0 .../smw.tableprinter.datatable.styles.less | 0 .../{smw => SemanticMediaWiki}/smw.tippy.less | 0 21 files changed, 19 insertions(+), 19 deletions(-) rename skinStyles/extensions/{smw => SemanticMediaWiki}/ext.jquery.atwho.less (100%) rename skinStyles/extensions/{smw => SemanticMediaWiki}/ext.libs.tippy.less (100%) rename skinStyles/extensions/{smw => SemanticMediaWiki}/ext.smw.ask.styles.less (100%) rename skinStyles/extensions/{smw => SemanticMediaWiki}/ext.smw.browse.styles.less (100%) rename skinStyles/extensions/{smw => SemanticMediaWiki}/ext.smw.modal.styles.less (100%) rename skinStyles/extensions/{smw => SemanticMediaWiki}/ext.smw.page.styles.less (100%) rename skinStyles/extensions/{smw => SemanticMediaWiki}/ext.smw.special.style.less (100%) rename skinStyles/extensions/{smw => SemanticMediaWiki}/ext.smw.special.styles.less (100%) rename skinStyles/extensions/{smw => SemanticMediaWiki}/ext.smw.style.less (100%) rename skinStyles/extensions/{smw => SemanticMediaWiki}/ext.smw.table.styles.less (100%) rename skinStyles/extensions/{smw => SemanticMediaWiki}/ext.smw.tooltip.styles.less (100%) rename skinStyles/extensions/{smw => SemanticMediaWiki}/ext.smw.vtabs.styles.less (100%) rename skinStyles/extensions/{smw => SemanticMediaWiki}/jquery.jsonview.less (100%) rename skinStyles/extensions/{smw => SemanticMediaWiki}/jquery.selectmenu.styles.less (100%) rename skinStyles/extensions/{smw => SemanticMediaWiki}/smw.content.schema.less (100%) rename skinStyles/extensions/{smw => SemanticMediaWiki}/smw.jsonview.less (100%) rename skinStyles/extensions/{smw => SemanticMediaWiki}/smw.special.search.styles.less (100%) rename skinStyles/extensions/{smw => SemanticMediaWiki}/smw.summarytable.less (100%) rename skinStyles/extensions/{smw => SemanticMediaWiki}/smw.tableprinter.datatable.styles.less (100%) rename skinStyles/extensions/{smw => SemanticMediaWiki}/smw.tippy.less (100%) diff --git a/skin.json b/skin.json index d74720d9..f8e88e62 100644 --- a/skin.json +++ b/skin.json @@ -354,25 +354,25 @@ "+ext.relatedArticles.cards": "skinStyles/extensions/RelatedArticles/ext.relatedArticles.cards.less", "+ext.relatedArticles.readMore": "skinStyles/extensions/RelatedArticles/ext.relatedArticles.readMore.less", - "+ext.libs.tippy": "skinStyles/extensions/smw/ext.libs.tippy.less", - "+ext.smw.ask.styles": "skinStyles/extensions/smw/ext.smw.ask.styles.less", - "+ext.smw.browse.styles": "skinStyles/extensions/smw/ext.smw.browse.styles.less", - "+ext.smw.modal.styles": "skinStyles/extensions/smw/ext.smw.modal.styles.less", - "+ext.smw.page.styles": "skinStyles/extensions/smw/ext.smw.page.styles.less", - "+ext.smw.special.style": "skinStyles/extensions/smw/ext.smw.special.style.less", - "+ext.smw.special.styles": "skinStyles/extensions/smw/ext.smw.special.styles.less", - "+ext.smw.style": "skinStyles/extensions/smw/ext.smw.style.less", - "+ext.smw.table.styles": "skinStyles/extensions/smw/ext.smw.table.styles.less", - "+ext.smw.tooltip.styles": "skinStyles/extensions/smw/ext.smw.tooltip.styles.less", - "+ext.smw.vtabs.styles": "skinStyles/extensions/smw/ext.smw.vtabs.styles.less", - "+jquery.jsonview": "skinStyles/extensions/smw/jquery.jsonview.less", - "+jquery.selectmenu.styles": "skinStyles/extensions/smw/jquery.selectmenu.styles.less", - "+smw.content.schema": "skinStyles/extensions/smw/smw.content.schema.less", - "+smw.jsonview": "skinStyles/extensions/smw/smw.jsonview.less", - "+smw.special.search.styles": "skinStyles/extensions/smw/smw.special.search.styles.less", - "+smw.summarytable": "skinStyles/extensions/smw/smw.summarytable.less", - "+smw.tableprinter.datatables.styles": "skinStyles/extensions/smw/smw.tableprinter.datatables.styles.less", - "+smw.tippy": "skinStyles/extensions/smw/smw.tippy.less", + "+ext.libs.tippy": "skinStyles/extensions/SemanticMediaWiki/ext.libs.tippy.less", + "+ext.smw.ask.styles": "skinStyles/extensions/SemanticMediaWiki/ext.smw.ask.styles.less", + "+ext.smw.browse.styles": "skinStyles/extensions/SemanticMediaWiki/ext.smw.browse.styles.less", + "+ext.smw.modal.styles": "skinStyles/extensions/SemanticMediaWiki/ext.smw.modal.styles.less", + "+ext.smw.page.styles": "skinStyles/extensions/SemanticMediaWiki/ext.smw.page.styles.less", + "+ext.smw.special.style": "skinStyles/extensions/SemanticMediaWiki/ext.smw.special.style.less", + "+ext.smw.special.styles": "skinStyles/extensions/SemanticMediaWiki/ext.smw.special.styles.less", + "+ext.smw.style": "skinStyles/extensions/SemanticMediaWiki/ext.smw.style.less", + "+ext.smw.table.styles": "skinStyles/extensions/SemanticMediaWiki/ext.smw.table.styles.less", + "+ext.smw.tooltip.styles": "skinStyles/extensions/SemanticMediaWiki/ext.smw.tooltip.styles.less", + "+ext.smw.vtabs.styles": "skinStyles/extensions/SemanticMediaWiki/ext.smw.vtabs.styles.less", + "+jquery.jsonview": "skinStyles/extensions/SemanticMediaWiki/jquery.jsonview.less", + "+jquery.selectmenu.styles": "skinStyles/extensions/SemanticMediaWiki/jquery.selectmenu.styles.less", + "+smw.content.schema": "skinStyles/extensions/SemanticMediaWiki/smw.content.schema.less", + "+smw.jsonview": "skinStyles/extensions/SemanticMediaWiki/smw.jsonview.less", + "+smw.special.search.styles": "skinStyles/extensions/SemanticMediaWiki/smw.special.search.styles.less", + "+smw.summarytable": "skinStyles/extensions/SemanticMediaWiki/smw.summarytable.less", + "+smw.tableprinter.datatables.styles": "skinStyles/extensions/SemanticMediaWiki/smw.tableprinter.datatables.styles.less", + "+smw.tippy": "skinStyles/extensions/SemanticMediaWiki/smw.tippy.less", "+ext.translate": "skinStyles/extensions/Translate/ext.translate.less", "+ext.translate.editor": "skinStyles/extensions/Translate/ext.translate.editor.less", diff --git a/skinStyles/extensions/smw/ext.jquery.atwho.less b/skinStyles/extensions/SemanticMediaWiki/ext.jquery.atwho.less similarity index 100% rename from skinStyles/extensions/smw/ext.jquery.atwho.less rename to skinStyles/extensions/SemanticMediaWiki/ext.jquery.atwho.less diff --git a/skinStyles/extensions/smw/ext.libs.tippy.less b/skinStyles/extensions/SemanticMediaWiki/ext.libs.tippy.less similarity index 100% rename from skinStyles/extensions/smw/ext.libs.tippy.less rename to skinStyles/extensions/SemanticMediaWiki/ext.libs.tippy.less diff --git a/skinStyles/extensions/smw/ext.smw.ask.styles.less b/skinStyles/extensions/SemanticMediaWiki/ext.smw.ask.styles.less similarity index 100% rename from skinStyles/extensions/smw/ext.smw.ask.styles.less rename to skinStyles/extensions/SemanticMediaWiki/ext.smw.ask.styles.less diff --git a/skinStyles/extensions/smw/ext.smw.browse.styles.less b/skinStyles/extensions/SemanticMediaWiki/ext.smw.browse.styles.less similarity index 100% rename from skinStyles/extensions/smw/ext.smw.browse.styles.less rename to skinStyles/extensions/SemanticMediaWiki/ext.smw.browse.styles.less diff --git a/skinStyles/extensions/smw/ext.smw.modal.styles.less b/skinStyles/extensions/SemanticMediaWiki/ext.smw.modal.styles.less similarity index 100% rename from skinStyles/extensions/smw/ext.smw.modal.styles.less rename to skinStyles/extensions/SemanticMediaWiki/ext.smw.modal.styles.less diff --git a/skinStyles/extensions/smw/ext.smw.page.styles.less b/skinStyles/extensions/SemanticMediaWiki/ext.smw.page.styles.less similarity index 100% rename from skinStyles/extensions/smw/ext.smw.page.styles.less rename to skinStyles/extensions/SemanticMediaWiki/ext.smw.page.styles.less diff --git a/skinStyles/extensions/smw/ext.smw.special.style.less b/skinStyles/extensions/SemanticMediaWiki/ext.smw.special.style.less similarity index 100% rename from skinStyles/extensions/smw/ext.smw.special.style.less rename to skinStyles/extensions/SemanticMediaWiki/ext.smw.special.style.less diff --git a/skinStyles/extensions/smw/ext.smw.special.styles.less b/skinStyles/extensions/SemanticMediaWiki/ext.smw.special.styles.less similarity index 100% rename from skinStyles/extensions/smw/ext.smw.special.styles.less rename to skinStyles/extensions/SemanticMediaWiki/ext.smw.special.styles.less diff --git a/skinStyles/extensions/smw/ext.smw.style.less b/skinStyles/extensions/SemanticMediaWiki/ext.smw.style.less similarity index 100% rename from skinStyles/extensions/smw/ext.smw.style.less rename to skinStyles/extensions/SemanticMediaWiki/ext.smw.style.less diff --git a/skinStyles/extensions/smw/ext.smw.table.styles.less b/skinStyles/extensions/SemanticMediaWiki/ext.smw.table.styles.less similarity index 100% rename from skinStyles/extensions/smw/ext.smw.table.styles.less rename to skinStyles/extensions/SemanticMediaWiki/ext.smw.table.styles.less diff --git a/skinStyles/extensions/smw/ext.smw.tooltip.styles.less b/skinStyles/extensions/SemanticMediaWiki/ext.smw.tooltip.styles.less similarity index 100% rename from skinStyles/extensions/smw/ext.smw.tooltip.styles.less rename to skinStyles/extensions/SemanticMediaWiki/ext.smw.tooltip.styles.less diff --git a/skinStyles/extensions/smw/ext.smw.vtabs.styles.less b/skinStyles/extensions/SemanticMediaWiki/ext.smw.vtabs.styles.less similarity index 100% rename from skinStyles/extensions/smw/ext.smw.vtabs.styles.less rename to skinStyles/extensions/SemanticMediaWiki/ext.smw.vtabs.styles.less diff --git a/skinStyles/extensions/smw/jquery.jsonview.less b/skinStyles/extensions/SemanticMediaWiki/jquery.jsonview.less similarity index 100% rename from skinStyles/extensions/smw/jquery.jsonview.less rename to skinStyles/extensions/SemanticMediaWiki/jquery.jsonview.less diff --git a/skinStyles/extensions/smw/jquery.selectmenu.styles.less b/skinStyles/extensions/SemanticMediaWiki/jquery.selectmenu.styles.less similarity index 100% rename from skinStyles/extensions/smw/jquery.selectmenu.styles.less rename to skinStyles/extensions/SemanticMediaWiki/jquery.selectmenu.styles.less diff --git a/skinStyles/extensions/smw/smw.content.schema.less b/skinStyles/extensions/SemanticMediaWiki/smw.content.schema.less similarity index 100% rename from skinStyles/extensions/smw/smw.content.schema.less rename to skinStyles/extensions/SemanticMediaWiki/smw.content.schema.less diff --git a/skinStyles/extensions/smw/smw.jsonview.less b/skinStyles/extensions/SemanticMediaWiki/smw.jsonview.less similarity index 100% rename from skinStyles/extensions/smw/smw.jsonview.less rename to skinStyles/extensions/SemanticMediaWiki/smw.jsonview.less diff --git a/skinStyles/extensions/smw/smw.special.search.styles.less b/skinStyles/extensions/SemanticMediaWiki/smw.special.search.styles.less similarity index 100% rename from skinStyles/extensions/smw/smw.special.search.styles.less rename to skinStyles/extensions/SemanticMediaWiki/smw.special.search.styles.less diff --git a/skinStyles/extensions/smw/smw.summarytable.less b/skinStyles/extensions/SemanticMediaWiki/smw.summarytable.less similarity index 100% rename from skinStyles/extensions/smw/smw.summarytable.less rename to skinStyles/extensions/SemanticMediaWiki/smw.summarytable.less diff --git a/skinStyles/extensions/smw/smw.tableprinter.datatable.styles.less b/skinStyles/extensions/SemanticMediaWiki/smw.tableprinter.datatable.styles.less similarity index 100% rename from skinStyles/extensions/smw/smw.tableprinter.datatable.styles.less rename to skinStyles/extensions/SemanticMediaWiki/smw.tableprinter.datatable.styles.less diff --git a/skinStyles/extensions/smw/smw.tippy.less b/skinStyles/extensions/SemanticMediaWiki/smw.tippy.less similarity index 100% rename from skinStyles/extensions/smw/smw.tippy.less rename to skinStyles/extensions/SemanticMediaWiki/smw.tippy.less From 82d79d3696859223b9580a2f7fcdd84003ca43ac Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Sun, 29 Dec 2019 13:06:01 -0500 Subject: [PATCH 9/9] Bumped version --- skin.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skin.json b/skin.json index f8e88e62..31840509 100644 --- a/skin.json +++ b/skin.json @@ -1,7 +1,7 @@ { "name": "Citizen", "namemsg": "skinname-citizen", - "version": "0.3.2", + "version": "0.4.0", "author": "alistair3149", "url": "https://github.com/StarCitizenTools/mediawiki-skins-Citizen", "descriptionmsg": "citizen-desc",