Update src/index.css
Browse files- src/index.css +11 -10
src/index.css
CHANGED
|
@@ -74,19 +74,20 @@
|
|
| 74 |
}
|
| 75 |
|
| 76 |
/* Scan line effect for QR preview */
|
| 77 |
-
@keyframes scan
|
| 78 |
-
0% {
|
| 79 |
-
|
| 80 |
-
}
|
| 81 |
-
100% {
|
| 82 |
-
transform: translateX(100%);
|
| 83 |
-
}
|
| 84 |
}
|
| 85 |
.scan-line {
|
| 86 |
-
|
|
|
|
|
|
|
| 87 |
width: 100%;
|
| 88 |
-
height:
|
| 89 |
-
|
|
|
|
|
|
|
| 90 |
}
|
| 91 |
|
| 92 |
/* Custom scrollbar styles */
|
|
|
|
| 74 |
}
|
| 75 |
|
| 76 |
/* Scan line effect for QR preview */
|
| 77 |
+
@keyframes scan {
|
| 78 |
+
0% { top: 0%; }
|
| 79 |
+
50% { top: calc(100% - 5px); }
|
| 80 |
+
100% { top: 0%; }
|
|
|
|
|
|
|
|
|
|
| 81 |
}
|
| 82 |
.scan-line {
|
| 83 |
+
position: absolute;
|
| 84 |
+
top: 0;
|
| 85 |
+
left: 0;
|
| 86 |
width: 100%;
|
| 87 |
+
height: 5px;
|
| 88 |
+
background: linear-gradient(to right, transparent, rgba(0, 255, 255, 0.8), transparent);
|
| 89 |
+
animation: scan 3s infinite linear;
|
| 90 |
+
transform-origin: top;
|
| 91 |
}
|
| 92 |
|
| 93 |
/* Custom scrollbar styles */
|