MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 60: Line 60:
/* Global Branding Colors */
/* Global Branding Colors */
:root {
:root {
     --color-brand-hero-cyan: #61d1fa40;
     --color-brand-hero-cyan: #61d1fa;
     --color-brand-hero-green: #59eb5c40;
     --color-brand-hero-green: #59eb5c;
     --color-brand-hero-orange: #e69e5040;
     --color-brand-hero-orange: #e69e50;
     --color-brand-hero-red: #ff767640;
     --color-brand-hero-red: #ff7676;
     --color-information: var(--color-brand-hero-cyan);
     --color-information: var(--color-brand-hero-cyan);
     --color-suggestion: var(--color-brand-hero-green);
     --color-suggestion: var(--color-brand-hero-green);
Line 69: Line 69:
     --color-warning: var(--color-brand-hero-orange);
     --color-warning: var(--color-brand-hero-orange);
     --color-danger: var(--color-brand-hero-red);
     --color-danger: var(--color-brand-hero-red);
    --color-information-bg: #61d1fa40;
    --color-suggestion-bg: #59eb5c40;
    --color-success-bg: #59eb5c40;
    --color-warning-bg: #e69e5040;
    --color-danger-bg: #ff767640;
}
}

Revision as of 00:41, 15 February 2024

/* CSS placed here will be applied to all skins */
/**
 * Styling for links generated by [[MediaWiki:Edittools]] in WikimediaUI inspired theme.
 * @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling
 * @updated 2020-03-17
 */
.mw-charinsert-buttons {
	margin-top: 8px;
	border: 1px solid #c8ccd1;
	padding: 2px 4px 4px;
	font-size: 1.1em;
	text-align: center;
}

.mw-charinsert-buttons a {
	background-color: #f8f9fa !important;
	color: #202122;
	border: thin #36c outset;
	padding: 0 1px 2px;
	font-size: 0.9em;
	font-weight: bold;
	text-decoration: none;
}

.mw-charinsert-buttons a:hover {
	background-color: #fff;
    color: #404244;
}

.mw-charinsert-buttons a:active {
	background-color: #c8ccd1;
	border-style: inset;
}

.client-js .mw-edittools-section {
	display: inline;
}

.client-js .mw-edittools-section input[type="button"] {
	background-color: #f8f9fa;
	color: #202122;
	margin-left: 1px;
    border-radius: 2px;
	padding: 1px 6px;
	font-size: 0.9em;
    /* Apply pointer cursor to all interactive elements. */
    cursor: pointer;
}

.client-js .mw-edittools-section input[type="button"]:hover {
	background-color: #fff;
    color: #404244;
}

.client-js .mw-edittools-section input[type="button"]:active {
	background-color: #c8ccd1;
    color: #000;
}

/* Global Branding Colors */
:root {
    --color-brand-hero-cyan: #61d1fa;
    --color-brand-hero-green: #59eb5c;
    --color-brand-hero-orange: #e69e50;
    --color-brand-hero-red: #ff7676;
    --color-information: var(--color-brand-hero-cyan);
    --color-suggestion: var(--color-brand-hero-green);
    --color-success: var(--color-brand-hero-green);
    --color-warning: var(--color-brand-hero-orange);
    --color-danger: var(--color-brand-hero-red);

    --color-information-bg: #61d1fa40;
    --color-suggestion-bg: #59eb5c40;
    --color-success-bg: #59eb5c40;
    --color-warning-bg: #e69e5040;
    --color-danger-bg: #ff767640;
}