-
Notifications
You must be signed in to change notification settings - Fork 8
/
playnextbutton.css
126 lines (109 loc) · 2.47 KB
/
playnextbutton.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
.video-list-item:hover .thumb-wrapper .addto-watch-next-button{
right: -120px;
}
.contains-addto:hover .video-actions.addto-watch-next-button, .ux-thumb-wrap:hover .video-actions.addto-watch-next-button, a:hover .video-actions.addto-watch-next-button, .addto-watch-next-button.video-actions.yt-uix-button-active{
right: 26px;
}
.addto-watch-next-button{
position: relative;
display: block;
height: 22px;
width: 22px;
right: 26px;
bottom: 24px;
border-radius: 2px;
cursor: pointer;
}
ytd-thumbnail:hover .new-look-addto-watch-next-button{
opacity: 0.8;
}
.new-look-addto-watch-next-button{
align-items: center;
background-color: rgb(17, 17, 17);
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
color: rgb(255, 255, 255);
cursor: pointer;
display: flex;
flex-direction: row;
font-family: Roboto, Arial, sans-serif;
font-size: 10px;
height: 28px;
justify-content: center;
margin-bottom: 4px;
margin-left: 4px;
margin-right: 4px;
margin-top: 4px;
opacity: 0;
outline-color: rgb(255, 255, 255);
outline-style: none;
outline-width: 0px;
position: absolute;
right: 0px;
top: 64px;
transition-delay: 0s;
transition-duration: 0.3s;
transition-property: opacity;
transition-timing-function: ease;
width: 28px;
z-index: 10;
}
.new-look-addto-watch-next-button:hover{
opacity: 0.6;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
}
.new-look-addto-watch-next-button::before{
opacity: 0;
content: "";
width: 0px;
right: 28px;
overflow: hidden;
position: absolute;
transition-delay: 0s;
transition-duration: 0.3s;
transition-property: width;
transition-timing-function: ease;
background-color: #000;
padding: 0 2px 0 8px;
font-size: 1.3rem;
font-weight: 500;
height: 28px;
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;
display: flex;
flex-direction: row;
align-items: center;
white-space: nowrap;
}
.new-look-addto-watch-next-button:hover::before{
content: "WATCH NEXT";
width: 89px;
opacity: 1;
}
.new-look-addto-watch-next-button yt-icon{
display: none;
}
.new-look-addto-watch-next-button img{
margin: auto;
}
.thumb-wrapper.contains-percent-duration-watched .addto-watch-next-button{
bottom: 28px;
}
.watch-next-button-video-in-playlist{
box-shadow: 0px 0px 0px 2px #9c6;
}
/*.watch-title-container {
}*/
.watch-next-controls {
float: right;
}
.watch-next-controls div{
float: left;
}
.watch-next-controls button{
width: 22px;
height: 22px;
}