-
Notifications
You must be signed in to change notification settings - Fork 0
/
youtube-compact.css
51 lines (44 loc) · 1.89 KB
/
youtube-compact.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
/* Copyright Daniel Smith
licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
http://creativecommons.org/licenses/by-nc-sa/4.0 */
@-moz-document domain("youtube.com") {
/* comment header spacing */
ytd-comment-thread-renderer {margin-bottom: .3rem}
#header.ytd-comment-renderer,
#author-text.yt-simple-endpoint.ytd-comment-renderer {margin-bottom: 0}
/* like & dislike buttons */
ytd-comment-action-buttons-renderer yt-icon-button.ytd-toggle-button-renderer {
height: 2rem;
padding: .1rem;
}
/* reply button */
ytd-comment-action-buttons-renderer paper-button.ytd-button-renderer {padding: .2rem}
#creator-heart-button.ytd-creator-heart-renderer {height: 1.7rem}
#hearted-thumbnail.ytd-creator-heart-renderer {margin: .2rem}
#unhearted.ytd-creator-heart-renderer {padding: 0}
/* 'save to playlist' menu */
#playlists.ytd-add-to-playlist-renderer {padding: 1rem}
#playlists.ytd-add-to-playlist-renderer > *.ytd-add-to-playlist-renderer:not(:last-child) {margin-bottom: 0}
}
@-moz-document domain("music.youtube.com") {
/* 'add to playlist menu' */
.headline.ytmusic-add-to-playlist-renderer {
padding-top: .2em;
padding-bottom: .2em;
}
#playlists.ytmusic-add-to-playlist-renderer > .ytmusic-add-to-playlist-renderer:first-child {margin-top: .5em}
#playlists.ytmusic-add-to-playlist-renderer > .ytmusic-add-to-playlist-renderer:last-child {margin-bottom: .5em}
/* items size & spacing */
ytmusic-playlist-add-to-option-renderer {height: auto}
.button.ytmusic-playlist-add-to-option-renderer {
padding-top: 0;
padding-bottom: 0;
}
/* put title and privacy setting on same line to reduce height further */
.information-container.ytmusic-playlist-add-to-option-renderer {
flex-direction: row;
justify-content: space-between;
}
/* 'Create new playlist' button */
ytmusic-add-to-playlist-renderer paper-button.yt-button-renderer {height: 2em}
}