Spaces:
Running
Running
Update src/App.css
Browse files- src/App.css +34 -3
src/App.css
CHANGED
|
@@ -8,6 +8,7 @@
|
|
| 8 |
justify-content: center;
|
| 9 |
font-size: calc(10px + 2vmin);
|
| 10 |
color: white;
|
|
|
|
| 11 |
}
|
| 12 |
|
| 13 |
.App-header {
|
|
@@ -16,6 +17,7 @@
|
|
| 16 |
align-items: center;
|
| 17 |
justify-content: center;
|
| 18 |
gap: 20px;
|
|
|
|
| 19 |
}
|
| 20 |
|
| 21 |
button {
|
|
@@ -41,20 +43,49 @@ button:disabled {
|
|
| 41 |
display: flex;
|
| 42 |
flex-direction: column;
|
| 43 |
gap: 20px;
|
| 44 |
-
margin
|
| 45 |
-
width:
|
| 46 |
max-width: 600px;
|
| 47 |
}
|
| 48 |
|
| 49 |
.scan-card {
|
| 50 |
background-color: #3a3f4a;
|
| 51 |
-
padding:
|
| 52 |
border-radius: 10px;
|
| 53 |
box-shadow: 0 2px 10px rgba(0,0,0,0.3);
|
| 54 |
}
|
| 55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
footer {
|
| 57 |
margin-top: 40px;
|
| 58 |
font-size: 12px;
|
| 59 |
color: #ccc;
|
|
|
|
|
|
|
|
|
|
| 60 |
}
|
|
|
|
| 8 |
justify-content: center;
|
| 9 |
font-size: calc(10px + 2vmin);
|
| 10 |
color: white;
|
| 11 |
+
padding: 20px;
|
| 12 |
}
|
| 13 |
|
| 14 |
.App-header {
|
|
|
|
| 17 |
align-items: center;
|
| 18 |
justify-content: center;
|
| 19 |
gap: 20px;
|
| 20 |
+
max-width: 800px;
|
| 21 |
}
|
| 22 |
|
| 23 |
button {
|
|
|
|
| 43 |
display: flex;
|
| 44 |
flex-direction: column;
|
| 45 |
gap: 20px;
|
| 46 |
+
margin: 20px 0;
|
| 47 |
+
width: 100%;
|
| 48 |
max-width: 600px;
|
| 49 |
}
|
| 50 |
|
| 51 |
.scan-card {
|
| 52 |
background-color: #3a3f4a;
|
| 53 |
+
padding: 15px;
|
| 54 |
border-radius: 10px;
|
| 55 |
box-shadow: 0 2px 10px rgba(0,0,0,0.3);
|
| 56 |
}
|
| 57 |
|
| 58 |
+
.scan-area {
|
| 59 |
+
width: 80%;
|
| 60 |
+
max-width: 400px;
|
| 61 |
+
height: 200px;
|
| 62 |
+
background-color: #4a90e2;
|
| 63 |
+
border: 2px dashed #fff;
|
| 64 |
+
border-radius: 15px;
|
| 65 |
+
display: flex;
|
| 66 |
+
flex-direction: column;
|
| 67 |
+
align-items: center;
|
| 68 |
+
justify-content: center;
|
| 69 |
+
margin: 30px 0;
|
| 70 |
+
cursor: pointer;
|
| 71 |
+
transition: background-color 0.3s;
|
| 72 |
+
user-select: none;
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
.scan-area.active {
|
| 76 |
+
background-color: #7ed321;
|
| 77 |
+
border-style: solid;
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
.scan-area:active {
|
| 81 |
+
background-color: #f5a623;
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
footer {
|
| 85 |
margin-top: 40px;
|
| 86 |
font-size: 12px;
|
| 87 |
color: #ccc;
|
| 88 |
+
position: fixed;
|
| 89 |
+
bottom: 10px;
|
| 90 |
+
width: 100%;
|
| 91 |
}
|