blob: 1e567693a5585b548cbeffbd6bc2246f4e1ca52d (
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
134
|
html, body {
margin: 0;
padding: 0;
text-align: center;
color: #ccd;
}
html {
background-color: #425;
}
#selector-label {
background-color: #333;
border-radius: 1em;
padding: 2em;
cursor: pointer;
display: inline-block;
min-width: 30%;
margin: 1em;
position: relative;
}
#dirlisting {
padding: 2em;
}
#storage {
margin: 2em;
}
#storage > progress {
width: 30%;
}
#upload {
width: 50%;
margin: 0 auto;
padding: 2em;
}
#files {
/*display: none;*/
position: absolute;
left: 0;
opacity: 0;
top: 0;
bottom: 0;
width: 100%;
}
#file-submit {
background-color: #333;
border-radius: 1em;
padding: 2em;
display: inline-block;
min-width: 30%;
border: none;
color: #ccd;
margin: 1em;
}
#header {
background-color: #728;
padding: 0.5em;
text-align: left;
font-size: 120%;
font-weight: bold;
font-family: sans;
}
#container {
display: inline-block;
width: 85%;
}
.tab-wrap > input {
display: none;
}
.tab-wrap {
justify-content: center;
display: flex;
flex-wrap: wrap;
position: relative;
list-style: none;
padding: 2rem 1rem;
}
.tab:checked:nth-of-type(1) ~ .tab-content:nth-of-type(1), .tab:checked:nth-of-type(2) ~ .tab-content:nth-of-type(2) {
opacity: 1;
transition: 0.5s opacity ease-in, 0.8s transform ease;
position: relative;
top: 0;
z-index: 100;
margin-top: 3rem;
}
.tab:checked + label {
color: #23cb97;
background-color: #246;
border-bottom: 2px solid #23cb97;
}
.tab + label {
max-width: 20%;
background-color: #333;
font-weight: normal;
font-size: 150%;
line-height: 1.4rem;
font-weight: 800;
color: white;
cursor: pointer;
display: block;
text-decoration: none;
flex-grow: 2;
text-align: center;
user-select: none;
transition: 0.3s background-color ease, 0.3s box-shadow ease;
height: 2rem;
padding: 0.5rem 1.5rem;
border-bottom: 2px solid rgba(255, 255, 255, 0.25);
margin-left: 1em;
margin-right: 1em;
}
.tab-content {
z-index: -1;
position: absolute;
display: block;
width: 100%;
opacity: 0;
border-radius: 1em;
background-color: #8885;
}
|