forked from th-ch/youtube-music
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyoutube-music.css
56 lines (46 loc) · 1.03 KB
/
youtube-music.css
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
/**
* Overriding YouTube Music style
*/
/* Allow window dragging */
.center-content.ytmusic-nav-bar {
-webkit-user-select: none;
-webkit-app-region: drag;
}
.center-content.ytmusic-nav-bar > ytmusic-search-box{
-webkit-app-region: no-drag;
}
iron-icon,
ytmusic-pivot-bar-item-renderer,
.tab-title,
a {
-webkit-app-region: no-drag;
}
/* custom style for navbar */
ytmusic-app-layout {
--ytmusic-nav-bar-height: 90px;
}
ytmusic-search-box.ytmusic-nav-bar {
margin-top: 15px;
}
/* Blocking annoying elements */
ytmusic-mealbar-promo-renderer {
display: none !important;
}
/* Disable Image Selection */
img {
-webkit-user-select: none;
user-select: none;
}
/* Hide cast button which doesn't work */
ytmusic-cast-button {
display: none !important;
}
/* Remove useless inaccessible button on top-right corner of the video player */
.ytp-chrome-top-buttons {
display: none !important;
}
/* Make youtube-music logo un-draggable */
ytmusic-nav-bar>div.left-content>a,
ytmusic-nav-bar>div.left-content>a>picture>img {
-webkit-user-drag: none;
}