MediaWiki:Common.css/src/extension/SearchDigest.scss

From Terraria Wiki
Jump to navigation Jump to search
/********* Extension:SearchDigest *********/

/* overwriting styles from here:
 * https://github.com/weirdgloop/mediawiki-extensions-SearchDigest/blob/1be2fe/src/modules/ext.searchdigest.redirect.css
 * https://github.com/weirdgloop/mediawiki-extensions-SearchDigest/blob/1be2fe/src/modules/ext.searchdigest.stats.styles.css
 * https://github.com/weirdgloop/mediawiki-extensions-SearchDigest/blob/1be2fe/src/modules/ext.searchdigest.stats.styles.css */

.searchdigest-stats-table {
	border-color: var(--oouihelper--borderdark);
}

.searchdigest-stats-table thead th,
.searchdigest-stats-table tr:not(:last-child) th,
.searchdigest-stats-table tr:not(:last-child) td {
	border-bottom-color: var(--oouihelper--borderdark);
}

.searchdigest-stats-table thead th:last-child,
.searchdigest-stats-table td {
	border-left-color: var(--oouihelper--borderdark);
}

.searchdigest-stats-table thead tr {
	background: var(--theme-highlight-background);
}


/* allow scrolling the background when the "redirect" popup is open */
/* overwrite from OOUI:
 * https://gerrit.wikimedia.org/r/plugins/gitiles/oojs/ui/+/refs/heads/master/src/styles/WindowManager.less#39 */
body.mw-special-SearchDigest.oo-ui-windowManager-modal-active {
	overflow: unset;
}