blob: 063e5b1c6aea6910b844cea1d1591b39b370037e (
plain)
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
|
#container {
position: relative;
height: 100%;
min-height: 100px;
border-radius: var(--border-radius);
overflow: none;
box-shadow: #223223aa 1px 1px 4px;
background: var(--card-background);
}
#container img {
border-radius: var(--border-radius);
max-width: 700px;
width: calc(100vw - 20px);
visibility: hidden;
margin-bottom: -5px;
height: calc((100vw - 20px) * 0.8);
}
#container.loaded img {
visibility: visible;
width: 100%;
height: unset;
}
@keyframes loader {
0% {
width: 60px;
height: 60px;
}
25% {
border: 5px solid var(--page-background);
}
50% {
width: 80px;
height: 80px;
}
75% {
border: 10px solid var(--page-background);
}
100% {
width: 60px;
height: 60px;
}
}
#loading {
position: absolute;
border: 10px solid var(--page-background);
border-radius: 100%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
animation: 0.5s infinite loader ease;
}
.loaded #loading {
display: none;
}
#menu {
position: absolute;
top: 0px;
left: 0px;
height: 100%;
width: 0px;
background: #efefef99;
backdrop-filter: blur(5px);
border-radius: var(--border-radius);
transition: width 0.2s ease, padding 0.2s ease;
overflow: hidden;
align-content: center;
overflow: hidden;
padding: 0px;
display: grid;
grid-template-columns: 1fr;
gap: 10px;
}
#menu.open {
width: 100%;
padding: 10px;
}
#delete {
background: #ee5151;
padding: 10px;
color: #fff;
font-weight: bold;
border-radius: var(--border-radius);
cursor: pointer;
user-select: none;
}
#download {
background: var(--primary);
padding: 10px;
border-radius: var(--border-radius);
color: #fff;
font-weight: bold;
user-select: none;
cursor: pointer;
}
#label {
display: grid;
grid-template-columns: 55px auto;
}
#label #title {
padding: 10px;
background: var(--primary);
border-top-left-radius: var(--border-radius);
border-bottom-left-radius: var(--border-radius);
color: #fff;
font-weight: bold;
user-select: none;
}
.element {
background: #efefef99;
padding: 10px;
font-weight: bold;
overflow-x: auto;
user-select: none;
white-space: nowrap;
border-top-right-radius: var(--border-radius);
border-bottom-right-radius: var(--border-radius);
}
|