MediaWiki:Gadget-Colors.css: Difference between revisions
No edit summary |
No edit summary |
||
| (8 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
/** Root **/ | /** Root **/ | ||
:root . | :root, .wgl-lightmode, .wgl-theme-light { | ||
--theme-accent-color: #47cab2; | |||
--theme-accent-color--rgba: 71, 202, 178; | --theme-accent-color--rgba: 71, 202, 178; | ||
--theme-page-text-color: #43403D; | --theme-page-text-color: #43403D; | ||
--theme-page-text-color-inverse: #FFFFFF; | --theme-page-text-color-inverse: #FFFFFF; | ||
--theme-link-color: #a65000; | |||
--theme-border-color: #CECECE !important; | --theme-border-color: #CECECE !important; | ||
--theme-page-background-color: #fff; | |||
--theme-page-background-color--secondary: #f2f2f2; | --theme-page-background-color--secondary: #f2f2f2; | ||
--background-color-neutral-subtle: #f8f9fa; | |||
--group-color: var(--theme-color-5); | --group-color: var(--theme-color-5); | ||
| Line 64: | Line 68: | ||
--color-help: #BB8010; | --color-help: #BB8010; | ||
--color- | --color-R4S: #9563C8; | ||
--color- | --color-R5S: #E7B442; | ||
/* background */ | /* background */ | ||
| Line 85: | Line 89: | ||
} | } | ||
:root . | :root .wgl-darkmode , :root .wgl-theme-dark { | ||
--theme-accent-color: #47cab2; | |||
--theme-accent-color--rgba: 71, 202, 178; | --theme-accent-color--rgba: 71, 202, 178; | ||
--theme-page-text-color: #FFFFFF; | --theme-page-text-color: #FFFFFF; | ||
--theme-page-text-color-inverse: #3d4342; | --theme-page-text-color-inverse: #3d4342; | ||
--theme-link-color: #4cc2ad; | |||
--theme-border-color: var(--theme-color-7) !important; | --theme-border-color: var(--theme-color-7) !important; | ||
--theme-page-background-color: #111a20; | |||
--theme-page-background-color--secondary: var(--theme-color-6); | --theme-page-background-color--secondary: var(--theme-color-6); | ||
--background-color-neutral-subtle: #1b1c1c; | |||
--group-color: var(--theme-accent-color); | --group-color: var(--theme-accent-color); | ||
| Line 148: | Line 156: | ||
--color-help: #e0bb00; | --color-help: #e0bb00; | ||
--color- | --color-R4S: #9563C8; | ||
--color- | --color-R5S: #E7B442; | ||
/* background */ | /* background */ | ||
| Line 172: | Line 180: | ||
--desc-content: #bf8c4015; | --desc-content: #bf8c4015; | ||
} | } | ||
/* Skin-specific */ | |||
:root { | |||
--background-color-base: var(--theme-page-background-color); | |||
--color-base: var(--theme-page-text-color); | |||
--border-base: var(--theme-border-color); | |||
} | |||
/* Style scrollbars to match wiki theme */ | /* Style scrollbars to match wiki theme */ | ||
#content { scrollbar-color: var(--theme-link-color) var(--theme-body-background-color); } | #content { | ||
scrollbar-color: var(--theme-link-color) var(--theme-body-background-color); | |||
} | |||
/* Darker version of alert */ | /* Darker version of alert */ | ||
.theme | .wgl-darkmode, .wgl-theme-dark { | ||
--theme-alert-highlight: #a90000; | --theme-alert-highlight: #a90000; | ||
--theme-alert-highlight--rgb: rgb(169, 0, 0); | --theme-alert-highlight--rgb: rgb(169, 0, 0); | ||
--theme-alert-highlight--hover: #c30000; | --theme-alert-highlight--hover: #c30000; | ||
} | |||
/** Highlighting **/ | |||
.bg-highlight { | |||
background-color: rgb(137, 137, 137); | |||
background-color: rgba(137, 137, 137, 0.4); | |||
} | } | ||
/** Invert filter **/ | /** Invert filter **/ | ||
. | .wgl-darkmode .invert-dark { filter: invert(1); } | ||
. | .wgl-lightmode .invert-light { filter: invert(1); } | ||
/** Theme colors **/ | /** Theme colors **/ | ||
| Line 217: | Line 241: | ||
/* Change color of classes that used alert-color as bg color */ | /* Change color of classes that used alert-color as bg color */ | ||
. | .wgl-darkmode #mw-notification-area.mw-notification.mw-notification-type-error, | ||
. | .wgl-darkmode .postedit.mw-notification.mw-notification-type-error, | ||
. | .wgl-darkmode .wds-table-td-alert, | ||
. | .wgl-darkmode .diff td.diff-deletedline .diffchange { | ||
background-color: var(--theme-alert-highlight); | background-color: var(--theme-alert-highlight); | ||
} | } | ||
. | .wgl-darkmode .diff td.diff-deletedline { | ||
border-color: var(--theme-alert-highlight); | border-color: var(--theme-alert-highlight); | ||
} | } | ||
| Line 250: | Line 274: | ||
.text- | .text-R4S, .text-R4S * { color: var(--color-R4S); } | ||
.bg- | .bg-R4S { background-color: var(--color-R4S); } | ||
.text- | .text-R5S, .text-R5S * { color: var(--color-R5S); } | ||
.bg- | .bg-R5S { background-color: var(--color-R5S); } | ||
| Line 262: | Line 286: | ||
/* Syntax highlight for source editor */ | /* Syntax highlight for source editor */ | ||
. | .wgl-darkmode.skin-fandomdesktop .cm { | ||
--codemirror-purple: #D2A8FF; | --codemirror-purple: #D2A8FF; | ||
} | } | ||