blob: e4156ee8eaf7145e73485d428f7b4e2904b96ce2 (
plain)
1
2
3
4
5
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
@import '../client/views/global/globalCssVariables.module.scss';
.imgupload_cont {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
max-width: 400px;
min-width: 400px;
.upload_label {
font-weight: 700;
color: black;
background-color: rgba(0, 0, 0, 0);
border: solid 3px black;
margin: 10px;
font-size: 30;
height: 70px;
width: 80%;
display: flex;
font-family: sans-serif;
text-transform: uppercase;
justify-content: center;
flex-direction: column;
border-radius: 10px;
}
.file {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
direction: ltr;
}
.button_file {
text-align: center;
height: 50%;
width: 50%;
background-color: paleturquoise;
color: grey;
font-size: 3em;
}
.inputfile {
width: 0.1px;
height: 0.1px;
opacity: 0;
overflow: hidden;
position: absolute;
z-index: -1;
}
.inputfile + label {
font-weight: 700;
color: black;
background-color: rgba(0, 0, 0, 0);
border: solid 3px black;
margin: 10px;
font-size: 30;
height: 70px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-top: 30px;
width: 80%;
display: flex;
font-family: sans-serif;
text-transform: uppercase;
justify-content: center;
flex-direction: column;
border-radius: 10px;
}
.inputfile.active + label {
font-style: italic;
color: black;
background-color: lightgreen;
border: solid 3px darkgreen;
}
.status {
font-size: 2em;
}
}
.image-upload {
top: 100%;
opacity: 0;
}
.image-upload.active {
top: 0;
position: absolute;
z-index: 999;
height: 100vh;
width: 100vw;
opacity: 1;
}
.uploadContainer {
top: 40;
position: absolute;
z-index: 1000;
height: 20vh;
width: 80vw;
opacity: 1;
}
.closeUpload {
position: absolute;
border-radius: 10px;
top: 3;
color: black;
font-size: 30;
right: 3;
z-index: 1002;
padding: 0px 3px;
background: rgba(0, 0, 0, 0);
transition: 0.5s ease all;
border: 0px solid;
}
.loadingImage {
display: inline-flex;
width: max-content;
}
.loadingSlab {
position: relative;
width: 30px;
height: 30px;
margin: 10;
border-radius: 20px;
opacity: 0.2;
background-color: black;
transition:
all 2s,
opacity 1.5s;
}
|