-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
224 lines (224 loc) · 5.46 KB
/
Copy pathstyle.css
File metadata and controls
224 lines (224 loc) · 5.46 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
};
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); /* deep slate gradient */
color: #f1f5f9;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 20px;
}
.container {
background: linear-gradient(145deg, #1e293b 0%, #334155 100%); /* layered slate */
border: 1px solid rgba(20, 184, 166, 0.1);
border-radius: 20px;
box-shadow:
0 20px 50px rgba(0, 0, 0, 0.6),
0 0 0 1px rgba(20, 184, 166, 0.05);
max-width: 1000px;
width: 100%;
padding: 32px;
}
h2 {
text-align: center;
font-size: 2.2rem;
margin-bottom: 24px;
background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-weight: 700;
}
.wrapper {
display: flex;
flex-wrap: wrap;
gap: 24px;
justify-content: space-between;
}
.editor-panel {
flex: 1;
min-width: 250px;
max-width: 300px;
display: flex;
flex-direction: column;
gap: 24px;
}
.filter, .rotate {
background: linear-gradient(145deg, #475569 0%, #64748b 100%);
border: 1px solid rgba(20, 184, 166, 0.15);
padding: 24px;
border-radius: 16px;
box-shadow:
0 8px 24px rgba(0, 0, 0, 0.3),
inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.title {
font-weight: 700;
font-size: 1.2rem;
margin-bottom: 16px;
display: block;
color: #14b8a6;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.options {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 16px;
}
.options button {
padding: 12px 18px;
background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
border: 1px solid rgba(20, 184, 166, 0.2);
border-radius: 10px;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
font-size: 0.9rem;
font-weight: 500;
color: #cbd5e1;
}
.options button:hover {
background: linear-gradient(145deg, #14b8a6 0%, #06b6d4 100%);
border-color: rgba(20, 184, 166, 0.4);
color: #ffffff;
transform: translateY(-2px);
box-shadow: 0 8px 16px rgba(20, 184, 166, 0.3);
}
.options button.active {
background: linear-gradient(145deg, #14b8a6 0%, #06b6d4 100%);
border-color: #14b8a6;
color: #ffffff;
box-shadow: 0 4px 12px rgba(20, 184, 166, 0.4);
}
.slider {
display: flex;
flex-direction: column;
gap: 12px;
}
.filter-info {
display: flex;
justify-content: space-between;
font-size: 0.9rem;
color: #94a3b8;
font-weight: 500;
}
input[type="range"] {
width: 100%;
appearance: none;
height: 8px;
background: linear-gradient(to right, #0f172a 0%, #475569 100%);
border-radius: 6px;
outline: none;
border: 1px solid rgba(20, 184, 166, 0.2);
}
input[type="range"]::-webkit-slider-thumb {
appearance: none;
width: 20px;
height: 20px;
background: linear-gradient(145deg, #14b8a6 0%, #06b6d4 100%);
border: 2px solid #ffffff;
border-radius: 50%;
cursor: pointer;
box-shadow: 0 4px 8px rgba(20, 184, 166, 0.4);
transition: all 0.3s ease;
}
input[type="range"]::-webkit-slider-thumb:hover {
transform: scale(1.1);
box-shadow: 0 6px 12px rgba(20, 184, 166, 0.6);
}
.preview-img {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(145deg, #334155 0%, #475569 100%);
border: 2px solid rgba(20, 184, 166, 0.1);
border-radius: 16px;
min-height: 400px;
overflow: hidden;
position: relative;
}
.preview-img::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg, transparent 49%, rgba(20, 184, 166, 0.03) 50%, transparent 51%);
pointer-events: none;
}
.preview-img img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
border-radius: 12px;
filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}
.controls {
margin-top: 32px;
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
}
.controls .row {
display: flex;
gap: 12px;
flex-wrap: wrap;
justify-content: center;
}
.controls button, .choose-img {
padding: 14px 28px;
background: linear-gradient(145deg, #14b8a6 0%, #06b6d4 100%);
color: white;
border: none;
border-radius: 12px;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
font-size: 1rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
box-shadow: 0 6px 16px rgba(20, 184, 166, 0.3);
}
.controls button:hover {
background: linear-gradient(145deg, #0d9488 0%, #0284c7 100%);
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(20, 184, 166, 0.4);
}
.reset-filter {
background: linear-gradient(145deg, #ef4444 0%, #dc2626 100%);
box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}
.reset-filter:hover {
background: linear-gradient(145deg, #dc2626 0%, #b91c1c 100%);
box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}
.file-input {
display: none;
}
.visually-hidden {
position: absolute;
left: -9999px;
}
@media (max-width: 768px) {
.wrapper {
flex-direction: column;
}
.preview-img {
min-height: 300px;
}
.container {
padding: 24px;
}
h2 {
font-size: 1.8rem;
}
}: