Upload styles.css
Browse files- styles.css +12 -0
styles.css
CHANGED
|
@@ -16,6 +16,7 @@
|
|
| 16 |
--radius: 16px;
|
| 17 |
--glass-opacity: 0.8;
|
| 18 |
--glass-blur: 10px;
|
|
|
|
| 19 |
}
|
| 20 |
|
| 21 |
/* 2. Apply Gagalin globally */
|
|
@@ -237,3 +238,14 @@ footer {
|
|
| 237 |
.header, .stat-card, .card, .modal-card, .docs, .load-more {
|
| 238 |
@extend .glassy;
|
| 239 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
--radius: 16px;
|
| 17 |
--glass-opacity: 0.8;
|
| 18 |
--glass-blur: 10px;
|
| 19 |
+
--tap-scale: 0.95;
|
| 20 |
}
|
| 21 |
|
| 22 |
/* 2. Apply Gagalin globally */
|
|
|
|
| 238 |
.header, .stat-card, .card, .modal-card, .docs, .load-more {
|
| 239 |
@extend .glassy;
|
| 240 |
}
|
| 241 |
+
|
| 242 |
+
/* 14. Tap Animation */
|
| 243 |
+
@keyframes tap-animation {
|
| 244 |
+
0% { transform: scale(1); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }
|
| 245 |
+
50% { transform: scale(var(--tap-scale)); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); }
|
| 246 |
+
100% { transform: scale(1); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }
|
| 247 |
+
}
|
| 248 |
+
|
| 249 |
+
.card:active {
|
| 250 |
+
animation: tap-animation 0.2s forwards;
|
| 251 |
+
}
|