activityfix.com - Dark Mode

Dark mode theme for ActivityFix

Stan na 15-12-2024. Zobacz najnowsza wersja.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

/* ==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;
	}
}