activityfix.com - Dark Mode

Dark mode theme for ActivityFix

Stan na 08-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.0.1
@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
	) {
		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 {
		background-color: #000 !important;
		color: #fff !important;
		font-weight: 800;
	}

	.af-update-header,
	.af-version {
		color: #2196f3;
		text-decoration: underline;
	}

	.af-update-header span {
		cursor: default;
		font-size: 13px;
		text-decoration: underline #333;
	}

	.w3-padding-16 {
		padding-top: 0px !important;
		padding-bottom: 16px !important;
	}

	.w3-bar.w3-top.af-blue.w3-large {
		background-color: #2196f3 !important;
	}

	.w3-main {
		background-color: #fff;
	}

	.w3-container.w3-black.w3-display-container {
		margin: 0px 0px !important;
		background-color: white !important;
		color: black !important;
	}

	#save_success > div {
		border: 4px #2196f3 dashed;
	}

	.w3-bar-item.w3-left {
		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 {
		filter: invert(0) hue-rotate(0deg) !important;
	}

	body > br,
	body > hr {
		display: none !important;
	}

	html {
		background: #fff;
	}
}