protae5544 commited on
Commit
c2f5104
·
verified ·
1 Parent(s): 47d80d9

ห่วยแตกเสียเวลาสั่งอย่างทำอย่างไม่สร้างสรรค์แล้วยังจะมาทำลาย

Browse files
Files changed (1) hide show
  1. style.css +259 -1
style.css CHANGED
@@ -1,3 +1,4 @@
 
1
  :root {
2
  --primary-color: #7c2a4a;
3
  --header-height: 64px;
@@ -98,4 +99,261 @@ body.design-mode .page {
98
  box-shadow: none !important;
99
  page-break-after: always;
100
  }
101
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
  :root {
3
  --primary-color: #7c2a4a;
4
  --header-height: 64px;
 
99
  box-shadow: none !important;
100
  page-break-after: always;
101
  }
102
+ }
103
+
104
+ /* Creative enhancements */
105
+ .page {
106
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
107
+ transform-style: preserve-3d;
108
+ perspective: 1000px;
109
+ }
110
+
111
+ .page:hover {
112
+ transform: translateY(-2px) rotateX(2deg);
113
+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
114
+ }
115
+
116
+ .field {
117
+ transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
118
+ position: relative;
119
+ }
120
+
121
+ .field::after {
122
+ content: '';
123
+ position: absolute;
124
+ top: 0;
125
+ left: 0;
126
+ right: 0;
127
+ bottom: 0;
128
+ background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
129
+ transform: translateX(-100%);
130
+ transition: transform 0.6s ease;
131
+ }
132
+
133
+ .field:hover::after {
134
+ transform: translateX(100%);
135
+ }
136
+
137
+ /* Animated gradient background for pages */
138
+ .page::before {
139
+ content: '';
140
+ position: absolute;
141
+ top: 0;
142
+ left: 0;
143
+ right: 0;
144
+ bottom: 0;
145
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
146
+ opacity: 0;
147
+ transition: opacity 0.3s ease;
148
+ z-index: -1;
149
+ }
150
+
151
+ body.design-mode .page:hover::before {
152
+ opacity: 0.05;
153
+ }
154
+
155
+ /* Dynamic shadow effects */
156
+ .shadow-2xl.page {
157
+ box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
158
+ }
159
+
160
+ /* Floating animation for buttons */
161
+ .btn-primary, .btn-secondary, .action-btn, .icon-btn {
162
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
163
+ transform: translateZ(0);
164
+ }
165
+
166
+ .btn-primary:hover, .btn-secondary:hover, .action-btn:hover, .icon-btn:hover {
167
+ transform: translateY(-3px) scale(1.05);
168
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
169
+ }
170
+
171
+ .btn-primary:active, .btn-secondary:active, .action-btn:active, .icon-btn:active {
172
+ transform: translateY(-1px) scale(1.02);
173
+ }
174
+
175
+ /* Rainbow gradient animation for special elements */
176
+ @keyframes rainbow {
177
+ 0% { background-position: 0% 50%; }
178
+ 50% { background-position: 100% 50%; }
179
+ 100% { background-position: 0% 50%; }
180
+ }
181
+
182
+ .btn-primary {
183
+ background: linear-gradient(45deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b, #10b981);
184
+ background-size: 400% 400%;
185
+ animation: rainbow 8s ease infinite;
186
+ }
187
+
188
+ /* Neumorphic design for cards and containers */
189
+ .neumorphic {
190
+ background: #e0e5ec;
191
+ border-radius: 20px;
192
+ box-shadow: 9px 9px 16px #a3b1c6, -9px -9px 16px #ffffff;
193
+ }
194
+
195
+ [data-theme="dark"] .neumorphic {
196
+ background: #1a1f29;
197
+ box-shadow: 9px 9px 16px #0d1016, -9px -9px 16px #272d42;
198
+ }
199
+
200
+ /* Glowing effect for interactive elements */
201
+ .glow {
202
+ animation: glow 2s ease-in-out infinite alternate;
203
+ }
204
+
205
+ @keyframes glow {
206
+ from { box-shadow: 0 0 5px rgba(59, 130, 246, 0.5); }
207
+ to { box-shadow: 0 0 20px rgba(59, 130, 246, 0.9), 0 0 30px rgba(59, 130, 246, 0.6); }
208
+ }
209
+
210
+ /* Text shine effect */
211
+ .text-shine {
212
+ background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
213
+ background-size: 200% auto;
214
+ -webkit-background-clip: text;
215
+ background-clip: text;
216
+ -webkit-text-fill-color: transparent;
217
+ animation: shine 3s linear infinite;
218
+ }
219
+
220
+ @keyframes shine {
221
+ to { background-position: 200% center; }
222
+ }
223
+
224
+ /* Morphing blob animation */
225
+ @keyframes morph {
226
+ 0% { border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%; }
227
+ 50% { border-radius: 60% 40% 20% 80% / 80% 20% 60% 40%; }
228
+ 100% { border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%; }
229
+ }
230
+
231
+ .blob {
232
+ animation: morph 8s ease-in-out infinite;
233
+ background: linear-gradient(45deg, #3b82f6, #8b5cf6);
234
+ transition: all 0.5s ease;
235
+ }
236
+
237
+ /* Parallax effect for backgrounds */
238
+ .parallax-bg {
239
+ background-attachment: fixed;
240
+ background-position: center;
241
+ background-size: cover;
242
+ background-repeat: no-repeat;
243
+ }
244
+
245
+ /* Animated particles effect */
246
+ @keyframes float {
247
+ 0% { transform: translateY(0px); }
248
+ 50% { transform: translateY(-20px); }
249
+ 100% { transform: translateY(0px); }
250
+ }
251
+
252
+ .floating {
253
+ animation: float 6s ease-in-out infinite;
254
+ }
255
+
256
+ /* Bounce animation for notifications */
257
+ @keyframes bounce {
258
+ 0%, 20%, 53%, 80%, 100% { transform: translate3d(0, 0, 0); }
259
+ 40%, 43% { transform: translate3d(0, -30px, 0); }
260
+ 70% { transform: translate3d(0, -15px, 0); }
261
+ 90% { transform: translate3d(0, -4px, 0); }
262
+ }
263
+
264
+ .bounce {
265
+ animation: bounce 2s ease-in-out infinite;
266
+ }
267
+
268
+ /* Add these classes to your elements for creative effects */
269
+ .creative-title {
270
+ @apply text-shine text-3xl font-bold;
271
+ }
272
+
273
+ .creative-card {
274
+ @apply neumorphic p-6 hover:glow transition-all duration-300;
275
+ }
276
+
277
+ .creative-btn {
278
+ @apply btn-primary floating;
279
+ }
280
+
281
+ /* Animated background patterns */
282
+ .pattern-dots {
283
+ background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.15) 1px, transparent 0);
284
+ background-size: 20px 20px;
285
+ animation: slide 20s linear infinite;
286
+ }
287
+
288
+ @keyframes slide {
289
+ 0% { background-position: 0 0; }
290
+ 100% { background-position: 20px 20px; }
291
+ }
292
+
293
+ /* Glitch effect for special moments */
294
+ .glitch {
295
+ animation: glitch 1s linear infinite;
296
+ }
297
+
298
+ @keyframes glitch {
299
+ 2%,64% { transform: translate(2px, 0) skew(0deg); }
300
+ 4%,60% { transform: translate(-2px, 0) skew(0deg); }
301
+ 62% { transform: translate(0, 0) skew(5deg); }
302
+ }
303
+
304
+ /* Creative field styling */
305
+ .field {
306
+ font-family: 'Comic Neue', cursive;
307
+ font-weight: 700;
308
+ background: linear-gradient(45deg, #f59e0b, #f97316);
309
+ -webkit-background-clip: text;
310
+ background-clip: text;
311
+ -webkit-text-fill-color: transparent;
312
+ background-size: 200% 200%;
313
+ animation: rainbow 3s ease infinite;
314
+ }
315
+
316
+ /* Make the template view more engaging */
317
+ #template-view {
318
+ perspective: 1000px;
319
+ }
320
+
321
+ #template-view > div {
322
+ transform-style: preserve-3d;
323
+ }
324
+
325
+ /* Add some creative transitions to the sidebar */
326
+ #sidebar {
327
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
328
+ position: relative;
329
+ overflow: hidden;
330
+ }
331
+
332
+ #sidebar::before {
333
+ content: '';
334
+ position: absolute;
335
+ top: -50%;
336
+ left: -50%;
337
+ width: 200%;
338
+ height: 200%;
339
+ background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
340
+ animation: rotate 30s linear infinite;
341
+ }
342
+
343
+ @keyframes rotate {
344
+ 0% { transform: rotate(0deg); }
345
+ 100% { transform: rotate(360deg); }
346
+ }
347
+
348
+ /* Make the navbar dynamic */
349
+ app-navbar::part(container) {
350
+ background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #ff6b6b);
351
+ background-size: 300% 100%;
352
+ animation: gradientShift 8s ease infinite;
353
+ }
354
+
355
+ @keyframes gradientShift {
356
+ 0% { background-position: 0% 50%; }
357
+ 50% { background-position: 100% 50%; }
358
+ 100% { background-position: 0% 50%; }
359
+ }