MediaWiki:Vector-darkmode.less/gadgets.less

From Old School RuneScape Wiki
Jump to: navigation, search
// <pre>
/* =====================
          gadgets
   ===================== */

// MediaWiki:Gadget-skinToggles.css

#mw-head.sticky-hidden {
	background: @cloud-burst;
}

.appearance-modal {
	color: @dark-text;
}

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



.rsw-skin-toggle-popup > .oo-ui-window-frame {
	border-color: @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: #fff;
		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;
	}
}

// GECharts
#GEchartpopup {
    background-color: @dark-wikitable-background;
}


.oo-ui-iconElement-icon.oo-ui-icon-advanced {
  filter: invert(1);
}

// MediaWiki:Gadget-realtimeExchange.js

.rs-realtimege-modal {
	color: @dark-text;
}