MediaWiki:Citizen.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 202: Line 202:
     transition: opacity 200ms ease;
     transition: opacity 200ms ease;
     background-image: linear-gradient(transparent,transparent),url(/extensions/UniversalLanguageSelector/lib/jquery.uls/images/language.svg?80b0b);
     background-image: linear-gradient(transparent,transparent),url(/extensions/UniversalLanguageSelector/lib/jquery.uls/images/language.svg?80b0b);
}
#pt-uls2 .uls-trigger:after {
    content: none !important
}
}



Revision as of 02:55, 4 May 2021

:root {
	--background-color-overlay: rgba(255,255,255,0.92)
}

:root.skin-citizen-dark {
	--background-color-dp-00: #171a1d;
	--background-color-dp-01: #222629;
	--background-color-dp-03: #292d31;
	--background-color-dp-04: #25282b;
	--background-color-dp-06: #292c2e;
	--background-color-dp-08: #25282b;
	--background-color-dp-12: #35393c;
	--background-color-dp-16: #393c3f;
	--background-color-dp-24: #25282b;
	--background-color-overlay: rgba(9, 10, 12, 0.95);
	--background-color-overlay--lighter: rgba(9, 10, 12, 0.6);
	--background-color-framed--active: #171a1d;
	--background-color-framed--hover: #292d31;
	--background-color-framed: #222629;
	--color-link: #5b8ad6;
}

html {
	background: linear-gradient(0, var(--background-color-overlay), var(--background-color-overlay)), url(https://minecraft.rtgame.co.uk/assets/images/bg.jpg);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

body {
	background: none;
}

/* Footer colours */
.last-modified-bar {
    background: #1f2428;
}

.mw-footer {
	background-color: var(--background-color-dp-00);
}

#footer-bottom {
	background-color: #111416;
}

/* Preferences page */
.mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed, .mw-prefs-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout {
    background-color: var(--background-color-framed--active);
}

/* Fix popup background */
.mwe-popups .mwe-popups-container {
	background-color: transparent;
}

/* Fix multimedia viewer attribution warning */
.mw-mmv-download-dialog .mw-mmv-dialog-warning {
    padding: 20px 20px 10px;
}

.mw-mmv-dialog .mw-mmv-dialog-warning {
    background-color: transparent;
    color: var(--color-warning);
}

/* Fix white recent changes filter dropdown footer */
.mw-rcfilters-ui-menuSelectWidget-footer {
    background-color: var(--background-color-dp-16);
    border-top: none;
}

/* Notifications dropdown */
.skin-citizen-dark .mw-echo-ui-notificationItemWidget:hover {
    background-color: var(--background-color-dp-12);
}

.skin-citizen-dark .mw-echo-ui-notificationItemWidget {
    background-color: var(--background-color-dp-24);
}

/* Universal Language Selector */
#languagesettings-settings-panel {
   color: var(--color-base);	
}

.uls-menu {
	background-color: var(--background-color-dp-08);
}

#languagesettings-settings-panel {
	background-color: var(--background-color-dp-24);
}

.uls-language-settings-close-block {
	background-color: transparent;
}

.language-settings-buttons {
	border-color: var(--border-color-base);
}

.languagesettings-menu h1,
#languagesettings-settings-panel h3,
#languagesettings-settings-panel h4 {
	color: var(--color-base--emphasized);
}

.uls-ui-languages p, .checkbox {
	color: var(--color-base);
}

.languagesettings-menu .menu-section {
	color: inherit;
}

.languagesettings-menu .menu-section .settings-text {
    color: var(--color-base);
}

.languagesettings-menu .menu-section.active {
	color: var(--color-base--emphasized);
	background-color: var(--background-color-primary--active);
}

.languagesettings-menu .menu-section {
	color: var(--color-base--emphasized);
}

.languagesettings-menu .menu-section:hover {
	color: var(--color-base--emphasized);
	background-color: var(--background-color-primary--hover);
}

.languagesettings-menu .menu-section:hover .settings-text {
	color: var(--color-base);
}

.ext-uls-sub-panel {
	border-color: var(--border-color-base);
}

.checkbox strong {
	color: var(--color-base--emphasized);
}

.uls-input-settings .uls-input-settings-inputmethods-list {
	background: var(--background-color-dp-00);
}

.skin-citizen-dark #uls-settings-block {
	filter: none;
}

.uls-input-settings-disable-info, .uls-input-settings-no-inputmethods {
	color: var(--color-base--subtle);
}

.skin-citizen-dark .mw-echo-ui-placeholderItemWidget {
    background-color: var(--background-color-dp-24);
}

.uls-font-label {
    color: var(--color-base);
}

.uls-font-label strong {
    color: var(--color-base--emphasized);
}

.uls-font-item {
    border-bottom: none;
    background: none;
}

#p-lang .uls-settings-trigger {
    margin-top: 15px;
    margin-right: 10px;
}

/* Hacky personal tools uls button */
#pt-uls2 .uls-trigger {
	flex-direction: row-reverse;
    padding-top: 10px !important;
}

#pt-uls2 .uls-trigger:before {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    align-self: center;
    background-position: center;
    background-repeat: no-repeat;
    content: '';
    display: block;
    padding: 0;
    margin-left: 15px;
    background-size: contain;
    opacity: var(--opacity-icon-base);
    transition: opacity 200ms ease;
    background-image: linear-gradient(transparent,transparent),url(/extensions/UniversalLanguageSelector/lib/jquery.uls/images/language.svg?80b0b);
}

#pt-uls2 .uls-trigger:after {
    content: none !important
}

.uls-trigger {
	background-image: none;
}

/* Fix uls font selection */
html, body {
    font-family: 'Roboto', sans-serif;
}