-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
244 lines (238 loc) · 9.01 KB
/
styles.css
File metadata and controls
244 lines (238 loc) · 9.01 KB
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
body {
display: flex;
flex-direction: column;
justify-content: flex-start; /* Align to top to see initial state better */
align-items: center;
background-color: #000000;
color: #ffffff;
font-family: GmarketSansMedium, Arial, sans-serif;
min-height: 100vh;
margin: 0;
padding-top: 5vh; /* Add some top padding */
padding-bottom: 80px; /* Space for elements */
}
h1 {
margin-top: 20px;
}
h2 {
font-family: GmarketSansLight, Arial, sans-serif;
font-size: 1.3em; /* Slightly smaller for the context */
margin-bottom: 10px;
}
.ml2 {
font-weight: 900;
font-size: 3.5em;
}
.ml2 .letter {
display: inline-block;
line-height: 1em;
}
.lock-icon {
font-size: 100px; /* Adjusted size */
animation: fade-in 1.5s forwards; /* Slightly faster */
margin-bottom: 10px; /* Space below lock */
}
@keyframes fade-in {
0% {
opacity: 0;
transform: translateY(-15px) scale(0.95);
}
100% {
opacity: 1;
transform: translateY(0) scale(1);
}
}
.header {
text-align: center;
/* margin-top adjusted by body padding-top */
margin-bottom: 30px; /* Space before dropzone */
}
.mediacontainer {
width: clamp(350px, 50vw, 600px); /* Responsive width */
min-height: 220px; /* Adjusted min height */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #0a0a0a; /* Slightly off-black */
border: 2px dashed #444444; /* Darker dash */
border-radius: 15px; /* More rounded */
margin-top: 20px;
padding: 25px;
box-sizing: border-box;
text-align: center;
transition: background-color 0.3s, transform 0.2s ease-out, border-color 0.3s;
}
.mediacontainer:hover {
background-color: #131313; /* Hover background */
border-color: #007bff; /* Highlight border on hover */
transform: scale(1.01); /* Subtle scale on hover */
cursor: default; /* Default cursor as buttons are inside */
}
.mediacontainer.dragover { /* Style when dragging over */
background-color: #1a1a1a;
border-color: #00A0FF; /* Brighter blue for drag over */
transform: scale(1.03);
}
.mediacontainer .fa-cloud-arrow-up {
font-size: 3em; /* Larger icon */
color: #007bff; /* Icon color */
margin-bottom: 15px;
}
.upload-options {
margin-top: 20px;
display: flex;
gap: 15px;
justify-content: center;
}
.upload-button {
padding: 10px 18px;
font-family: GmarketSansMedium, Arial, sans-serif;
background-color: #007bff;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s, transform 0.15s;
font-size: 0.95em;
}
.upload-button:hover {
background-color: #0056b3;
transform: translateY(-2px);
}
.upload-button:active {
transform: translateY(0px);
}
.upload-button i {
margin-right: 8px;
}
#password-section {
margin-top: 30px;
padding: 25px 30px; /* More padding */
background-color: #111111;
border: 1px solid #333;
border-radius: 10px;
display: none;
flex-direction: column;
align-items: center;
gap: 18px; /* Increased gap */
width: clamp(350px, 50vw, 550px); /* Responsive width */
box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}
#password-section label {
font-size: 1.05em; /* Slightly adjusted */
font-family: GmarketSansLight, Arial, sans-serif;
color: #cccccc; /* Lighter label color */
}
#password-section input[type="password"],
#password-section input[type="text"] {
padding: 12px 15px;
border-radius: 8px;
border: 1px solid #444;
background-color: #1c1c1c; /* Darker input background */
color: #fff;
width: 90%; /* Relative to parent */
font-family: GmarketSansMedium, Arial, sans-serif;
font-size: 1em;
transition: border-color 0.3s, box-shadow 0.3s;
}
#password-section input[type="password"]:focus,
#password-section input[type="text"]:focus {
outline: none;
border-color: #007bff;
box-shadow: 0 0 0 3px rgba(0,123,255,0.2);
}
#password-section button { /* Submit button */
padding: 12px 30px;
border-radius: 8px;
border: none;
background-color: #28a745; /* Green for proceed */
color: white;
cursor: pointer;
font-family: GmarketSansMedium, Arial, sans-serif;
font-size: 1.05em;
transition: background-color 0.3s, transform 0.1s;
margin-top: 10px; /* Space above button */
}
#password-section button:hover {
background-color: #1e7e34; /* Darker green */
}
#password-section button:disabled {
background-color: #555;
cursor: not-allowed;
}
#password-section button:active:not(:disabled) {
transform: translateY(1px);
}
#progress-container {
width: clamp(350px, 50vw, 550px); /* Match password section width */
background-color: #222; /* Darker background */
border-radius: 8px;
margin-top: 25px;
display: none;
height: 28px; /* Slightly taller */
overflow: hidden;
border: 1px solid #444;
box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}
#progress-bar {
width: 0%;
height: 100%;
background-color: #007bff; /* Blue progress */
text-align: center;
line-height: 28px;
color: white;
font-family: GmarketSansMedium, Arial, sans-serif;
transition: width 0.25s ease-out; /* Smoother transition */
font-size: 0.9em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding: 0 5px; /* Padding for text */
}
#status-message {
margin-top: 20px;
font-family: GmarketSansLight, Arial, sans-serif;
min-height: 1.6em; /* Adjusted min-height */
font-size: 1em;
text-align: center;
width: clamp(350px, 80%, 650px); /* Wider for longer messages */
padding: 8px 0; /* Padding for better look if it has a background later */
border-radius: 5px;
opacity: 0; /* Start hidden for animation */
transform: translateY(10px); /* Start below for animation */
transition: opacity 0.4s ease-out, transform 0.4s ease-out, color 0.3s;
}
#status-message.visible {
opacity: 1;
transform: translateY(0);
}
#status-message.success { color: #28a745; } /* Green for success */
#status-message.error { color: #dc3545; } /* Red for error */
#status-message.info { color: #17a2b8; } /* Blue for info */
/* Animation for sections appearing */
.fade-slide-in {
animation: fadeSlideInAnimation 0.5s ease-out forwards;
}
@keyframes fadeSlideInAnimation {
from {
opacity: 0;
transform: translateY(15px) scale(0.98);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
@media (max-width: 768px) {
.ml2 { font-size: 2.5em; }
.lock-icon { font-size: 80px; }
.mediacontainer, #password-section, #progress-container, #status-message {
width: 90vw;
}
.upload-options { flex-direction: column; gap: 10px; }
.upload-button { width: 100%; }
h2 { font-size: 1.1em; }
#password-section input[type="password"],
#password-section input[type="text"] { width: 100%; box-sizing: border-box; }
}