A darkmode for WME / Waze
当前为
// ==UserScript==
// @name Waze Darkmode
// @name:de Waze Darkmode (schön augen schonen)
// @namespace http://tampermonkey.net/
// @version 0.69
// @description A darkmode for WME / Waze
// @description:de Dunkler Modus für WME / Waze
// @author SaiCode
// @match https://www.waze.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=waze.com
// @grant GM_addStyle
// @license MIT
// @run-at document-start
// ==/UserScript==
GM_addStyle(`
:host, :root {
--background_default: #0e0e0e !important;
--background_variant: #222 !important;
--content_default: #a7a7a7 !important;
--surface_default: #1e1e1e !important;
--surface_variant: #333 !important;
--surface_variant_blue: #003a5e !important;
--surface_variant_green: #003f10 !important;
--surface_variant_yellow: #565201 !important;
--surface_variant_orange: #421200 !important;
--surface_variant_red: #420000 !important;
--surface_variant_purple: #2e0042 !important;
}
body {
color: #fff !important;
}
html, body {
background-color: var(--background_default) !important;
}
.wz-logo,
#app-head wz-header #left-app-head #logo-and-env #waze-logo {
filter: invert(1);
}
.wz-sidebar-button, .wz-sidebar-toggle-label {
color: #ddd !important;
}
#sidebar {
background-color: #111 !important;
}
#header {
border-bottom: 2px solid #50c9f2 !important;
background-color: #11242a !important;
}
#header .user-highlights,
#header .user-avatar {
color: #6fc1e6 !important;
}
#WWSU-Container {
background-color: #111 !important;
}
#WWSU-script-update-info {
background-color: #222 !important;
}
WWSUFooter a {
color: #6fc1e6 !important;
}
#header .user-headline .header-info {
background-color: #2c484f !important;
}
#recent-edits .recent-edits-list .recent-edits-list-header {
background-color: #111 !important;
}
#recent-edits .recent-edits-list .recent-edits-list-items .transaction-header {
background-color: #111 !important;
}
#recent-edits .recent-edits-list .recent-edits-list-items .transaction-header.active, #recent-edits .recent-edits-list .recent-edits-list-items .transaction-header:hover {
background-color: #222 !important;
}
#recent-edits .recent-edits-list .recent-edits-load-more {
background-color: #111 !important;
}
#recent-edits .recent-edits-map .map {
filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}
.issues-tracker-wrapper .issues-tracker-footer {
background-color: #111 !important;
}
.layer-switcher .menu {
background-color: #111 !important;
}
.layer-switcher .menu > .title {
color: #eee !important;
}
.wz-map-ol-footer {
background-color: #111 !important;
}
.wz-map-ol-control-attribution, a.wz-map-black-link, .wz-map-ol-control-mouse-position {
color: #eee !important;
}
.form-search .search-query {
background-color: #222 !important;
color: #89c4ff !important;
}
.form-search input.search-query::placeholder {
color: #666 !important;
}
.wz-tooltip-content-holder {
background-color: #222 !important;
}
.house-number-marker {
background: #353535 !important;
}
.wm-map__leaflet {
filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}
.wm-routing__title {
background-color: #111 !important;
color: #d6dae7 !important;
}
.wm-routing-schedule .wz-react-dropdown__head {
color: #d6dae7 !important;
}
.wz-react-dropdown__head::after {
border-top-color: #d6dae7 !important;
}
.wm-routes__header {
background-color: #111 !important;
}
.wz-search-from-to {
background-color: #111 !important;
}
.wm-routing-schedule {
background-color: #111 !important;
}
.wm-routing-actions {
background-color: #111 !important;
}
.wm-routing-status {
background-color: #111 !important;
border-top: 8px solid #222 !important;
}
.wm-routes {
background-color: #111 !important;
border-top: 8px solid #222 !important;
}
.wm-routing-poi {
background-color: #111 !important;
border-top: 8px solid #222 !important;
}
.wm-routing__sticky-delimeter {
background-color: #333 !important;
}
.wm-card.is-routing {
background-color: #111 !important;
}
.wm-routes-item-desktop.is-active {
background-color: #222 !important;
}
.wm-routes-item-desktop__header {
color: #fff !important;
}
.wz-tabs__button {
color: #d6dae7 !important;
}
.wm-routing-poi-card section.wide:last-child {
background-color: #111 !important;
}
.wz-search-from-to .wm-search .wm-search__input, .wz-search-from-to .wm-search .wm-search__selected {
background-color: #333 !important;
}
.wz-search-from-to .wm-search__primary {
color: #d7def2 !important;
}
.wm-search__secondary {
color: #bbb !important;
}
.wz-venue h6 {
color: #c8cee1 !important;
}
.wz-sidebar {
background-color: #111 !important;
}
.ls-modal {
background-color: #111 !important;
color: #d6dae7 !important;
}
.ls-link.is-selected, .ls-link:hover {
background-color: #333 !important;
}
.welcome_popup_container--MpGOT {
background-color: #111 !important;
}
.welcome_popup_image--SSxnF {
filter: brightness(93.2%) invert(1) hue-rotate(180deg);
}
.wz-cc-container {
background-color: #333 !important;
color: #d6dae7 !important;
}
h1, h2 {
color: #fff !important;
}
p {
color: #aaa !important;
}
#username {
background-color: #333 !important;
color: #d6dae7 !important;
}
#password {
background-color: #333 !important;
color: #d6dae7 !important;
}
[dir] .wz-nav {
background-color: #333 !important;
}
[dir] .wz-footer {
background-color: #333 !important;
}
.wz-footer-meta-logo {
filter: invert(1);
}
.wz-footer-meta-social-link-container {
filter: invert(1);
}
.wz-footer-meta-social-link-container::marker {
opacity: 0;
}
.modal-content {
background-color: #111 !important;
}
.add-opening-hour .section {
background-color: #222 !important;
}
.form-control {
background-color: #333 !important;
color: #d6dae7 !important;
}
`);