-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
164 lines (137 loc) · 3.57 KB
/
style.css
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
body {
font-family: 'Jua', sans-serif;
background-color: #fff;
max-width: 1280px;
margin: 0 auto;
}
.file-upload {
width: 80%;
border-radius: 20px 20px;
background-color: #f8f9fa;
margin: 0 auto;
padding: 15% 3%;
margin-bottom: 100px;
}
.file-upload-btn {
width: 100%;
margin: 0;
color: #fff;
background: #1FB264;
border: none;
padding: 10px;
border-radius: 4px;
border-bottom: 4px solid #15824B;
transition: all .2s ease;
outline: none;
text-transform: uppercase;
font-weight: 700;
}
.file-upload-btn:hover {
background: #1AA059;
color: #ffffff;
transition: all .2s ease;
cursor: pointer;
}
.file-upload-btn:active {
border: 0;
transition: all .2s ease;
}
.file-upload-content {
display: none;
text-align: center;
}
.file-upload-input {
position: absolute;
margin: 0;
padding: 0;
width: 100%;
height: 100%;
outline: none;
opacity: 0;
cursor: pointer;
}
.image-upload-wrap {
width: 60%;
margin: 0 auto;
border: 4px dashed #1FB264;
position: relative;
}
.image-dropping,
.image-upload-wrap:hover {
background-color: #1FB264;
border: 4px dashed #ffffff;
}
.image-title-wrap {
margin-top: 20px;
padding: 0 15px 15px 15px;
color: #222;
}
.drag-text {
text-align: center;
padding: 10px;
word-break: keep-all;
}
.drag-text h3 {
font-weight: 100;
text-transform: uppercase;
color: #15824B;
padding: 50% 0;
}
.file-upload-image {
max-height: 80%;
max-width: 80%;
margin: auto;
padding: 20px;
border-radius: 20px 20px;
}
.remove-image {
margin: 0;
color: #fff;
background: #cd4535;
border: none;
padding: 10px;
border-radius: 4px;
border-bottom: 4px solid #b02818;
transition: all .2s ease;
outline: none;
text-transform: uppercase;
font-weight: 700;
}
.remove-image:hover {
background: #c13b2a;
color: #ffffff;
transition: all .2s ease;
cursor: pointer;
}
.remove-image:active {
border: 0;
transition: all .2s ease;
}
.navbar-light .navbar-toggler {border: none;}
.title {text-align: center; margin: 50px 0; font-family: 'Jua', sans-serif;}
.title h1 {font-size: 36px; padding: 10px;}
.title h2 {font-size: 32px;}
#label-container {width: 80%; margin: 0 auto;}
.face-label {width: 15%; height: 2rem; font-size: 1rem; }
.white-bar {background-color: #6dfede; top: 0; height: 2rem; position: absolute; border-radius: 20px 20px;}
.white-box {width: 100%; background-color: #fff; height: 2rem; position: absolute; border-radius: 20px 20px;}
.bar-container {height: 3rem;}
.black-box {width: 100%; background-color: #fff; height: 2rem; position: absolute; border-radius: 20px 20px;}
.black-bar {background-color: #6dfede; top: 0; height: 2rem; position: absolute; border-radius: 20px 20px;}
.yellow-box {width: 100%; background-color: #fff; height: 2rem; position: absolute; border-radius: 20px 20px;}
.yellow-bar {background-color: #6dfede; top: 0; height: 2rem; position: absolute; border-radius: 20px 20px;}
.image_start {margin-top: 20px;}
@media (max-width: 1280px) {
.title h1 {font-size: 30px;}
.title h2 {font-size: 24px;}
}
@media (max-width: 768px) {
.file-upload {width: 100%;}
.drag-text h3 {padding: 30% 0;}
}
@media (max-width: 640px) {
html {font-size: 10px;}
.title {margin-top: 40px;}
.title h1 {font-size: 24px;}
.title h2 {font-size: 20px;}
}