MediaWiki:Gadget-Less.css: Difference between revisions

From Illerai
Jump to navigation Jump to search
imported>Shayani
need to explicitly specify dark mode styles for each theme
 
Created page with "→‎This wouldn't be needed if the interface possibly used OOUI instead of being * hand-crafted: body.wgl-theme-dark #less-modal, body.wgl-theme-browntown #less-modal { background: var(--body-light) !important; color: var(--text-color) !important; } body.wgl-theme-dark #less-modal a, body.wgl-theme-browntown #less-modal a { color: var(--link-color) !important; } body.wgl-theme-dark #less-modal #less-header, body.wgl-theme-browntown #less-modal #less-header { bor..."
 
(No difference)

Latest revision as of 03:19, 2 November 2024

/* This wouldn't be needed if the interface possibly used OOUI instead of being
 * hand-crafted */

body.wgl-theme-dark #less-modal,
body.wgl-theme-browntown #less-modal {
	background: var(--body-light) !important;
	color: var(--text-color) !important;
}

body.wgl-theme-dark #less-modal a,
body.wgl-theme-browntown #less-modal a {
	color: var(--link-color) !important;
}

body.wgl-theme-dark #less-modal #less-header,
body.wgl-theme-browntown #less-modal #less-header {
	border-color: var(--body-main) !important;
}

body.wgl-theme-dark #less-modal #less-close,
body.wgl-theme-browntown #less-modal #less-close {
	background-color: transparent !important;
}

body.wgl-theme-dark #less-overlay,
body.wgl-theme-browntown #less-overlay {
	background-color: var(--ooui-window-background) !important;
}