stattracker.x10host.com - Dark Mode

Dark Theme for Strava Stat Tracker

Από την 23/12/2024. Δείτε την τελευταία έκδοση.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

/* ==UserStyle==
@name           stattracker.x10host.com - Dark Mode
@namespace      typpi.online
@version        1.1.0
@description    Dark Theme for Strava Stat Tracker
@author         Nick2bad4u
@license        UnLicense
@homepageURL    https://github.com/Nick2bad4u/UserStyles
==/UserStyle== */
@-moz-document domain("stattracker.x10host.com") {
	/* Invert colors except images and videos */
	:is(
		html:not([stylus-iframe]),
		img,
		svg:not(
				.leaflet-container
					.leaflet-overlay-pane
					svg,
				.leaflet-container
					.leaflet-marker-pane
					img,
				.leaflet-container
					.leaflet-shadow-pane
					img,
				.leaflet-container .leaflet-tile-pane img,
				.leaflet-container
					img.leaflet-image-layer,
				.leaflet-container .leaflet-tile
			),
		video
	),
	.filter-section-select td,
	.check-options-table td,
	.column-Quick-filters,
	.dataTable td,
	.dataTable th,
	.quick-filters,
	#scatterGraphGrid td,
	#progressGraphAxis td,
	#progressGraphAxis td:nth-child(1) {
		background: black;
		color: white;
	}

	.dashboardTable tr:nth-child(odd) {
		background: #262626;
	}

	.dashboardTable th {
		background: #003000;
	}

	body > header > div > div:nth-child(2) > img {
		filter: invert(1) hue-rotate(180deg);
		background: unset !important;
	}

	.progressSummaryTable tr:nth-child(odd),
	.logBook-dataDiv {
		background: unset !important;
	}

	#mapContainer,
	.leaflet-container.leaflet-touch-drag,
	.leaflet-container,
	#heatmap,
	#mapHead {
		background: #fff0 !important;
	}
}