MediaWiki:Gadget-NuclearColors.css: differenze tra le versioni

Da Semi del Verbo, l'enciclopedia dell'influenza del Vangelo sulla cultura
(altro gadget che aiuta a prevenire azioni involontarie... e anche se non l'ammetterà mai, il nome "NuclearColors" l'ha deciso Civvì... asd)
 
m (una versione importata)
 
(Nessuna differenza)

Versione attuale delle 22:40, 30 ago 2020

/*
 * This stylesheet dramatically increases your attention on dangerous actions.
 * In other words, prevents your wiki from being destroyed from the most nasty bug: *you*.
 *
 * P.S.
 * If you are that sort of user, also look at the "SureSureSure" gadget.
 */

/*
 * The rollback button should be associated to a terrible idea.
 * Think about a nuclear button: there is a reason if it's NOT designed as a lamp switch.
 */
.mw-rollback-link a {
	background-color: red;
	color: white;
}

/* The undo button should be associated to a certain level of pain too */
.mw-history-undo a {
	background-color: yellow;
	color: black;
}

/* Your truly unique friend here: a cute thanks button */
a.mw-thanks-thank-link {
	background-color: green;
	color: white;
}

/* Add here everything above */
.mw-rollback-link a,
.mw-history-undo a,
a.mw-thanks-thank-link {
	opacity: 0.5;
	transition: 1s opacity;
}

/* Add here everything above */
.mw-rollback-link a:hover,
.mw-history-undo a:hover,
a.mw-thanks-thank-link:hover {
	opacity: 1;
	transition: 1s opacity;
}