-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
105 lines (93 loc) · 1.91 KB
/
styles.css
File metadata and controls
105 lines (93 loc) · 1.91 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
/* styles.css */
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background: linear-gradient(135deg, #667eea, #764ba2);
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
color: white;
}
.container {
background: rgba(255, 255, 255, 0.1);
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
text-align: center;
max-width: 600px;
width: 100%;
}
h1 {
margin-bottom: 20px;
}
.upload-container {
border: 2px dashed rgba(255, 255, 255, 0.5);
padding: 20px;
border-radius: 10px;
margin-bottom: 20px;
}
.upload-btn {
background: #667eea;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
display: inline-block;
margin-bottom: 10px;
}
.drag-drop-text {
font-size: 14px;
color: rgba(255, 255, 255, 0.7);
}
.preview-container {
margin-bottom: 20px;
min-height: 100px;
display: flex;
justify-content: center;
align-items: center;
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 5px;
padding: 10px;
}
.preview-container img {
max-width: 100%;
max-height: 200px;
border-radius: 5px;
}
.compress-btn {
background: #764ba2;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
border: none;
color: white;
font-size: 16px;
margin: 5px;
}
.compress-btn:disabled {
background: rgba(118, 75, 162, 0.5);
cursor: not-allowed;
}
.results-container {
margin-top: 20px;
}
.result-item {
background: rgba(255, 255, 255, 0.1);
padding: 10px;
border-radius: 5px;
margin-bottom: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
.download-btn {
background: #667eea;
padding: 5px 10px;
border-radius: 5px;
cursor: pointer;
border: none;
color: white;
font-size: 14px;
}