Spaces:
Runtime error
Runtime error
Update css onclick
Browse files- frontend/src/App.css +70 -63
frontend/src/App.css
CHANGED
|
@@ -2,80 +2,87 @@
|
|
| 2 |
text-align: center;
|
| 3 |
}
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
.file-card {
|
| 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 |
.main {
|
| 75 |
-
|
| 76 |
-
|
| 77 |
}
|
| 78 |
|
| 79 |
.info {
|
| 80 |
-
|
| 81 |
}
|
|
|
|
| 2 |
text-align: center;
|
| 3 |
}
|
| 4 |
|
| 5 |
+
.title {
|
| 6 |
+
font-weight: bold;
|
| 7 |
+
font-size: 1.2rem;
|
| 8 |
+
margin-bottom: 1em;
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
.file-card {
|
| 12 |
+
padding: 1em;
|
| 13 |
+
display: flex;
|
| 14 |
+
flex-direction: column;
|
| 15 |
+
justify-content: center;
|
| 16 |
+
align-items: center;
|
| 17 |
+
border: 3px dashed #cbd5e0;
|
| 18 |
+
background-color: #edf2f7;
|
| 19 |
+
min-width: 380px;
|
| 20 |
+
min-height: 230px;
|
| 21 |
|
| 22 |
+
.file-inputs {
|
| 23 |
+
position: relative;
|
| 24 |
+
margin-bottom: 1.5em;
|
| 25 |
|
| 26 |
+
input {
|
| 27 |
+
position: relative;
|
| 28 |
+
text-align: right;
|
| 29 |
+
opacity: 0;
|
| 30 |
+
z-index: 2;
|
| 31 |
+
cursor: pointer;
|
| 32 |
+
height: 46px;
|
| 33 |
+
max-width: 200px;
|
| 34 |
+
}
|
| 35 |
|
| 36 |
+
span {
|
| 37 |
+
position: absolute;
|
| 38 |
+
top: 0px;
|
| 39 |
+
left: 0px;
|
| 40 |
+
width: 100%;
|
| 41 |
+
height: 100%;
|
| 42 |
+
z-index: 1;
|
| 43 |
+
display: flex;
|
| 44 |
+
justify-content: center;
|
| 45 |
+
align-items: center;
|
| 46 |
|
| 47 |
+
color: #fff;
|
| 48 |
+
background-color: #f55e30;
|
| 49 |
+
font-size: 1.1rem;
|
| 50 |
+
cursor: pointer;
|
| 51 |
+
border-radius: 4px;
|
| 52 |
+
border: none;
|
| 53 |
+
outline: none;
|
| 54 |
+
/* padding: 1em; */
|
| 55 |
+
transition: background-color 0.4s;
|
| 56 |
+
box-shadow: 0px 8px 24px rgba(149, 157, 165, 0.5);
|
| 57 |
|
| 58 |
+
i {
|
| 59 |
+
width: 1.5em;
|
| 60 |
+
height: 1.5em;
|
| 61 |
+
padding: 0.4em;
|
| 62 |
+
background-color: #fff;
|
| 63 |
+
color: #f55e30;
|
| 64 |
+
border-radius: 50%;
|
| 65 |
+
display: flex;
|
| 66 |
+
justify-content: center;
|
| 67 |
+
align-items: center;
|
| 68 |
+
margin-right: 0.8em;
|
| 69 |
+
font-size: 0.8em;
|
| 70 |
+
}
|
| 71 |
+
}
|
| 72 |
|
| 73 |
+
&:hover {
|
| 74 |
+
span {
|
| 75 |
+
background-color: #f15120;
|
| 76 |
+
}
|
| 77 |
+
}
|
| 78 |
+
}
|
| 79 |
}
|
| 80 |
|
| 81 |
.main {
|
| 82 |
+
font-weight: bold;
|
| 83 |
+
margin-bottom: 0.4em;
|
| 84 |
}
|
| 85 |
|
| 86 |
.info {
|
| 87 |
+
font-size: 0.8rem;
|
| 88 |
}
|