activityfix.com - Dark Mode

Dark mode theme for ActivityFix

Verze ze dne 15. 12. 2024. Zobrazit nejnovější verzi.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

/* ==UserStyle==
@name           activityfix.com - Dark Mode
@namespace      typpi.online
@version        1.2
@description    Dark mode theme for ActivityFix
@author         Nick2bad4u
@license        UnLicense
@homepageURL    https://github.com/Nick2bad4u/UserStyles
==/UserStyle== */
@-moz-document domain("activityfix.com") {
	/* Invert colors except images and videos */
	:is(
		html:not([stylus-iframe]),
		img,
		svg,
		video,
		.w3-dark-gray,
		.w3-dark-grey,
		.w3-hover-dark-gray:hover,
		.w3-hover-dark-grey:hover,
		.w3-center,
		iframe,
		.af-disconnect-button
	) {
		/*Manipulations stuff*/
		filter: invert(1) hue-rotate(180deg) !important;
	}
	.w3-dark-gray,
	.w3-dark-grey,
	.w3-hover-dark-gray:hover,
	.w3-hover-dark-grey:hover,
	.w3-padding-16 {
		/*Box model stuff*/
		background-color: #000 !important;
		color: #fff !important;
		/*Typography stuff*/
		font-weight: 800;
	}
	.af-update-header,
	.af-version {
		color: #2196f3;
		/*Typography stuff*/
		text-decoration: underline;
	}
	.af-update-header span {
		/*Miscellaneous*/
		cursor: default;
		/*Typography stuff*/
		font-size: 13px;
		text-decoration: underline #333;
	}
	.w3-padding-16 {
		padding-top: 0 !important;
		/*Box model stuff*/
		padding-bottom: 16px !important;
	}
	.w3-bar.w3-top.af-blue.w3-large {
		/*Box model stuff*/
		background-color: #2196f3 !important;
	}
	.w3-main {
		/*Box model stuff*/
		background-color: #fff;
	}
	.w3-container.w3-black.w3-display-container {
		/*Box model stuff*/
		margin: 0 !important;
		background-color: white !important;
		/*Typography stuff*/
		color: black !important;
	}
	#save_success > div {
		/*Box model stuff*/
		border: 4px #2196f3 dashed;
	}
	.w3-bar-item.w3-left {
		/*Typography stuff*/
		font-style: italic;
		font-weight: 550;
	}
	.af-help-contents > div:nth-child(n) > img,
	.w3-center
		> table
		> tbody
		> tr:nth-child(1)
		> td:nth-child(1)
		> a
		> img {
		/*Manipulations stuff*/
		filter: invert(0) hue-rotate(0deg) !important;
	}
	body > br,
	body > hr {
		/*Display stuff*/
		display: none !important;
	}
	html {
		/*Box model stuff*/
		background: #fff;
	}
}