MediaWiki:Vector-darkmode.less/gadgets.less

From Old School Near-Reality Wiki
Jump to navigation Jump to search

//

/* =====================
          gadgets
   ===================== */

// MediaWiki:Gadget-titleparenthesis.js
.title-parenthesis {
	color: #9aa4b7;
}


// MediaWiki:Gadget-skinToggles.css
#mw-head.sticky-hidden {
	background: @cloud-burst;
}

.rsw-skin-toggle-popup .reader-mode {
	background: @cloud-burst;
}

// MediaWiki:Gadget-ReferenceTooltips.css
.rsw-tooltip {
	background-color: @pickled-bluewood;
	color: @dark-text;
}

ol.references li:target, sup.reference:target {
	background-color: @pickled-bluewood;
}

// MediaWiki:Gadget-less.js
// This is going to load late because it's loading from meta, !important is necessary
#less-modal {
	background: @pickled-bluewood !important;
	color: @dark-text !important;
	
	a {
		color: @dark-links !important;
	}
	
	#less-header {
		border-color: @dark-wikitable-border !important;
	}
	
	#less-close {
		background-color: @pickled-bluewood !important;
	}
}

#less-overlay {
	background-color: rgba(25, 25, 25, 0.6) !important;
}

// MediaWiki:Gadget-dropDisplay.css
#rsw-drops-overlay2 {
	.oo-ui-popupWidget-popup {
		background-color: @dark-wikitable-background;
		border: 1px solid @dark-wikitable-border;
	}

	.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button {
		background-color: @dark-button;
		border-color: @dark-wikitable-border;
		opacity: 0.5;
	}

	.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
		background-color: @dark-button;
		border-color: @dark-wikitable-border;
	}

	.oo-ui-labelElement-label {
		color: @white;
		font-weight: normal;
	}

	.oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:after {
		border-top-color: @dark-wikitable-background;
	}
	
	.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor:after {
		border-bottom-color: @dark-wikitable-background;
	}
}