MediaWiki:Common.less/smw.less

From Old School RuneScape Wiki
Jump to navigation Jump to search
:root {
	--fieldset-border-color: @BODY_BORDER;
	--smw-ask-options-even-bg: @BODY_MID;
	--smw-ask-options-odd-bg: @BODY_LIGHT;
	--smw-ask-action-btn-lblue-bg: @BODY_MAIN;
	--smw-ask-action-btn-lblue-color: @black;
	--smw-ask-action-btn-lblue-border-color: @OSRSW_BROWN;
	--smw-ask-action-btn-dblue-bg: @OSRSW_BROWN;
	--smw-ask-action-btn-dblue-color: @white;
	--smw-ask-action-btn-dblue-border-color: @BUTTON_BORDER;
}

fieldset {
	border-color: var(--fieldset-border-color);
}

.smw-ask-options-fields {
	tr td {
		background-color: var(--smw-ask-options-even-bg);
	}

	tr:nth-child(odd) td {
		background-color: var(--smw-ask-options-odd-bg);
	}
}

.smw-ask-action-btn {
	&.smw-ask-action-btn-lblue,
	&.smw-ask-action-btn-lblue:hover,
	&.smw-ask-action-btn-lblue:visited {
		background-color: var(--smw-ask-action-btn-lblue-bg);
		color: var(--smw-ask-action-btn-lblue-color);
		border-color: var(--smw-ask-action-btn-lblue-border-color);
	}

	&.smw-ask-action-btn-dblue,
	&.smw-ask-action-btn-dblue:hover,
	&.smw-ask-action-btn-dblue:visited {
		background-color: var(--smw-ask-action-btn-dblue-bg);
		color: var(--smw-ask-action-btn-dblue-color);
		border-color: var(--smw-ask-action-btn-dblue-border-color);
	}
}


.mw-body .mw-indicators.mw-body-content #mw-indicator-smw-entity-examiner.mw-indicator .smw-indicator-vertical-bar-loader {
	display: none;
}