-
Notifications
You must be signed in to change notification settings - Fork 0
/
mydealz-darkmode.user.js
74 lines (62 loc) · 2.4 KB
/
mydealz-darkmode.user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
// ==UserScript==
// @name mydealz.de Dark Mode
// @description Dark Mode for the Desktop version
// @version 0.0.2
// @author @bennyborn
// @namespace https://github.com/bennyborn
// @match https://www.mydealz.de/*
// @run-at document-end
// @grant GM_addStyle
// @updateURL https://raw.githubusercontent.com/bennyborn/tampermonkey-scripts/master/mydealz-darkmode.user.js
// @downloadURL https://raw.githubusercontent.com/bennyborn/tampermonkey-scripts/master/mydealz-darkmode.user.js
// @icon https://www.google.com/s2/favicons?domain=mydealz.de
// ==/UserScript==
(function() {
'use strict';
GM_addStyle(`
body,
#main,
.bg--color-brandSecondaryShade,
.nav,
[data-t="bottom"],
section.subNav,
#content-list,
.page-navigation{
background: #121212;
}
div[contenteditable="true"] {
color: #121212;
}
.stickyBar-bottom, .stickyBar-top,
.popover--default .popover-content, .popover--menu .popover-content, .popover--reactions .popover-content,
.text--overlay {
background: #0d0d0d;
}
.no-touch .carousel-list--air.carousel--isNext:after,
.overflow--fade-b-r--3:after, .overflow--fade-b-r--l:after, .overflow--fade-b-r--s:after, .overflow--fade-b-r:after, .overflow--fromW3-fade-b-r--l:after, .overflow--fromW3-fade-r--l:after, .thread-title--card:after, .thread-title--list--merchant-v2:after, .thread-title--list--merchant:after, .thread-title--list:after,
.text--overlay:before,
.fadeEdge--r:after, .overflow--fade:after {
background: linear-gradient(90deg,hsla(0,0%,100%,0) 0,#0d0d0d 80%);
}
.bg--color-greyPanel, .textBadge--inline--disabled,
.btn--mode-boxSec,
.navDropDown-link:focus, .navDropDown-link:hover,
.bg--color-white, .bg--main, .card, .listingProfile, .thread--type-card, .thread--type-list {
background-color: rgba(0,0,0,0.25);
}
.navDropDown-item, .navDropDown-link, .navDropDown-pItem,
.subNav {
border-color: rgba(0,0,0,0.25);
}
.thread-title,
.text--color-charcoal {
color: #fff;
}
#footer-description {
display: none;
}
.vote-box {
box-shadow: none;
}
`);
})();