forked from webosbrew/youtube-webos
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathui.css
77 lines (68 loc) · 1.42 KB
/
ui.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
.ytaf-ui-container {
position: absolute;
top: 10%;
left: 10%;
right: 10%;
bottom: 10%;
background: rgba(0, 0, 0, 0.8);
color: white;
border-radius: 20px;
padding: 20px;
font-size: 1.5rem;
z-index: 1000;
}
.ytaf-ui-container :focus {
outline: 4px red solid;
}
.ytaf-ui-container h1 {
margin: 0;
margin-bottom: 0.5em;
text-align: center;
}
.ytaf-ui-container input[type='checkbox'] {
width: 2rem;
height: 1.5rem;
}
.ytaf-ui-container label {
display: block;
font-size: 2rem;
}
.ytaf-notification-container {
position: absolute;
right: 10px;
bottom: 10px;
font-size: 16pt;
z-index: 1200;
}
.ytaf-notification-container .message {
background: rgba(0, 0, 0, 0.7);
color: white;
padding: 1em;
margin: 0.5em;
transition: all 0.3s ease-in-out;
opacity: 1;
line-height: 1;
border-right: 10px solid rgba(50, 255, 50, 0.3);
display: inline-block;
float: right;
}
.ytaf-notification-container .message-hidden {
opacity: 0;
margin: 0 0.5em;
padding: 0 1em;
line-height: 0;
}
/* Fixes transparency effect for the video player */
.ytlr-watch-default__shadow {
background-image: linear-gradient(
to bottom,
rgba(0, 0, 0, 0) 0,
rgba(0, 0, 0, 0.8) 90%
) !important;
background-color: rgba(0, 0, 0, 0.3) !important;
display: block !important;
height: 100% !important;
pointer-events: none !important;
position: absolute !important;
width: 100% !important;
}