Skip to content

Commit cf57cde

Browse files
committed
YouTube Dark
1 parent 24d14c3 commit cf57cde

File tree

7 files changed

+55
-33
lines changed

7 files changed

+55
-33
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
[submodule "app/sites/github/app/github-timeline"]
55
path = app/sites/github/app/github-timeline
66
url = https://github.com/romqin/github-timeline.git
7+
[submodule "app/sites/youtube/app/Dark-youtube-plugin-chrome"]
8+
path = app/sites/youtube/app/Dark-youtube-plugin-chrome
9+
url = https://github.com/stormbreakerbg/Dark-youtube-plugin-chrome.git
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.yt-uix-button-subscription-container {
2+
span,
3+
button,
4+
.yt-uix-button.yt-uix-button-size-default.yt-uix-button-default.yt-uix-button-empty.yt-uix-button-has-icon.yt-uix-subscription-preferences-button {
5+
border: 0 !important;
6+
background-color: transparent !important;
7+
}
8+
}
9+
10+
#watch8-sentiment-actions .yt-uix-button-content {
11+
-webkit-filter: invert(100%) !important;
12+
}
13+
14+
.no-icon-markup:before {
15+
-webkit-filter: invert(100%) !important;
16+
}
17+
18+
.yt-lockup-title a, .yt-lockup:hover a, .yt-lockup:hover .yt-lockup-meta a, .yt-lockup:hover .yt-lockup-description a {
19+
color: darkorange !important;
20+
}
21+
22+
.guide-item.guide-item-selected, .guide-item.guide-item-selected:hover, .guide-item.guide-item-selected .yt-deemphasized-text, .guide-item.guide-item-selected:hover .yt-deemphasized-text {
23+
background: transparent !important;
24+
color: greenyellow !important;
25+
}
26+
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.yt-masthead-user-icon {
2+
position: relative;
3+
z-index: 9999 !important;
4+
-webkit-transform-style: preserve-3d;
5+
-webkit-animation: spin 15s linear infinite;
6+
}
7+
@-webkit-keyframes spin {
8+
from { -webkit-transform: rotateZ(0deg); }
9+
to { -webkit-transform: rotateZ(360deg); }
10+
}
11+
12+
/*#watch-header {
13+
background: url(chrome-extension://__MSG_@@extension_id__/images/[email protected])
14+
100.2% -1.2px no-repeat !important;
15+
}*/
16+

app/sites/youtube/app/assets/less/responsive.less

-33
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,3 @@
1-
.yt-masthead-user-icon {
2-
position: relative;
3-
z-index: 9999 !important;
4-
-webkit-transform-style: preserve-3d;
5-
-webkit-animation: spin 15s linear infinite;
6-
}
7-
@-webkit-keyframes spin {
8-
from { -webkit-transform: rotateZ(0deg); }
9-
to { -webkit-transform: rotateZ(360deg); }
10-
}
11-
12-
/*#watch-header {
13-
background: url(chrome-extension://__MSG_@@extension_id__/images/[email protected])
14-
100.2% -1.2px no-repeat !important;
15-
}*/
16-
17-
.yt-uix-button-subscription-container {
18-
span,
19-
button,
20-
.yt-uix-button.yt-uix-button-size-default.yt-uix-button-default.yt-uix-button-empty.yt-uix-button-has-icon.yt-uix-subscription-preferences-button {
21-
border: 0 !important;
22-
background-color: transparent !important;
23-
}
24-
}
25-
26-
#watch8-sentiment-actions .yt-uix-button-content {
27-
-webkit-filter: invert(100%) !important;
28-
}
29-
30-
.no-icon-markup:before {
31-
-webkit-filter: invert(100%) !important;
32-
}
33-
341
@media (max-width: 833px) {
352

363
#body-container {

grunt/concat.js

+7
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,12 @@ module.exports = {
1212
'<%= config.app %>/sites/stackoverflow/app/assets/css/structure.css'
1313
],
1414
dest: '<%= config.app %>/sites/stackoverflow/dist/style.css'
15+
},
16+
youtube: {
17+
src: [
18+
'<%= config.app %>/sites/youtube/app/Dark-youtube-plugin-chrome/dark.css',
19+
'<%= config.app %>/sites/youtube/dist/style.css'
20+
],
21+
dest: '<%= config.app %>/sites/youtube/dist/style.css'
1522
}
1623
};

grunt/less.js

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ module.exports = {
1010
youtube: {
1111
files: {
1212
'<%= config.app %>/sites/youtube/dist/style.css': [
13+
'<%= config.app %>/sites/youtube/app/assets/less/fun.less',
14+
'<%= config.app %>/sites/youtube/app/assets/less/color-fixes.less',
1315
'<%= config.app %>/sites/youtube/app/assets/less/responsive.less'
1416
]
1517
}

0 commit comments

Comments
 (0)