blob: 0d73b59d68c173633900f89b5a388e30f0dc0f82 (
plain) (
blame)
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
127
128
129
130
131
132
133
134
135
|
.player {
height: 100%;
width: 100%;
position: relative;
background-color: #000;
& > div:nth-of-type(1) {
height: calc(100% - 2em);
width: 100%;
padding-bottom: .5em;
video {
height: 100%;
width: 100%;
object-fit: contain;
}
}
& > div:nth-of-type(2) {
overflow-y: auto;
}
& > div:nth-of-type(2),
& > div:nth-of-type(3) {
width: 48%;
position: absolute;
top: 0;
bottom: 2em;
background-color: var(--color-glass);
transition: .3s transform;
@media(max-width: 40em) {
width: 96%;
}
ul {
width: 100%;
padding-top: .5em;
}
li {
display: flex;
align-items: center;
padding: 0 1em;
& > span:first-of-type {
margin: 0 .5em;
}
& > span:nth-of-type(2) {
flex-grow: 1;
overflow-x: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
& > span:nth-of-type(3) {
padding: .5em;
svg {
transition: .3s opacity linear .3s, .3s color;
@media(min-width: 40em) {
visibility: hidden;
opacity: 0;
}
}
}
& > span:nth-of-type(3) {
& > svg {
color: var(--color-error);
}
@media(hover: hover) {
&:hover > svg {
color: #f00;
}
}
}
@media(hover: hover) {
&:hover {
background-color: var(--color-glass-alt);
}
&:hover > span:nth-of-type(3) > svg {
visibility: visible;
opacity: 1;
}
}
}
}
& > div:nth-of-type(2) {
left: 0;
border-top-right-radius: 1em;
border-bottom-right-radius: 1em;
border-right: 1px solid var(--color-window-border-bottom);
& > div {
right: -0.5em;
}
}
& > div:nth-of-type(3) {
right: 0;
border-top-left-radius: 1em;
border-bottom-left-radius: 1em;
border-left: 1px solid var(--color-window-border-bottom);
& > div:last-of-type {
left: -0.5em;
}
& > div:first-of-type {
overflow-y: auto;
padding: 1em;
height: 100%;
}
pre {
line-height: 1.25;
white-space: break-spaces;
&:first-of-type {
font-weight: 600;
padding-bottom: 1em;
}
}
}
}
|