aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader/static/main.css
blob: 66b91611a9fcfbb747986ada572260e00fb48c7b (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
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
hr {
    margin: auto 0;
}

body {
    color: #101010;
    background-color: #F5FFFF;
    margin: 0;
}


h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    color: #008066;
}

h1 {
    text-align: center;
}

.intro {
    color: #505050;
    // font-weight: 300;
}

.header {
    background-color: white;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    height: 150px;
}

#Counter {
    color: lightgrey;
    background-color: black;
    font-size: large;
    padding: 3px;
}

h2 > svg {
    position: relative;
    top: 8px;
}

.logo {
    float: right;
}

#mapid {
    height: 200px;
}
/* ---- start menu ---- */

/* Add a black background color to the top navigation */
.topnav {
    background-color: #333;
    overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #008066;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
        float: right;
        display: block;
    }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}

/* ---- end menu ---- */

p, form, .about, .footer {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

form h4 {
    text-transform: 'uppercase';
}

.intro, form, .search {
    padding: 20px;
}

.intro {
    background-color: inherit;
    margin: 0 auto;
    padding: 20px;
}

.about {
    background-color: #B2F8F8;
    margin: 30px auto;
    padding: 20px;
    width: 95%;
    border-radius: 20px;
}

.button {
    border-radius: 5px;
    background: #B2F8F8;
    margin: 0.3em auto;
    padding: 0.4em;
}

.footer {
    background: #058280;;
    margin: 0 auto;
    float: left;
    color: #fff;
}

.footer a {
    color: #fff;
}

span.dropt {border-bottom: thin dotted; background: #ffeedd;}
span.dropt:hover {text-decoration: none; background: #ffffff; z-index: 6; }

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    row-gap:5px;
    grid-template-areas:
        "a a b b"
            "a a c c"
            "a a d d"
            "e e e e"
            "f f f f";
    grid-auto-flow: column;
}

.about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: row;
}

.about h1 {
    text-align: left;
}

.about p {
    // font-weight: 300;
    color: #505050;
}

.intro {
    grid-area: a;
}

.fasta-file-select {
    padding: 1em;
    grid-area: b;
}

a {
    color: #008066;
    font-weight: 700;
}

.fasta-file-select label, .metadata label {
    font-weight: 600;
}

.metadata {
    padding: 1em;
    grid-area: c;
}
.metadata_upload_form {
    padding: 1em;
    grid-area: c;
}

#metadata_upload_form_spot {
    grid-area: d;
}

#metadata_fill_form_spot {
    grid-area: e;
}

#metadata_fill_form {
    column-count: 4;
    margin-top: 0.5em;
    column-width: 250px;
}

.record, .record .field-group, .record .field-group .field {
    display: flex;
    flex-direction: column;
    -webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
    page-break-inside: avoid; /* Firefox */
    break-inside: avoid;
}

.record {
    border: solid 1px #808080;
    padding: 1em;
    background: #F8F8F8;
    margin-bottom: 1em;
}

.record label {
    font-size: small;
    margin-top: 10px;
}

.search-section {
    display: flex;
    justify-content: space-between;
    width: max-content;
}

.filter-options {
    width: 100%;
}
.search-section .filter-options {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.search-section p {
    margin: 0;
}

.submit {
    grid-area: f;
    width: 17em;
    justify-self: center;
}

footer {
    display: block;
    width: 100%;
}

.sponsors {
    width: inherit;
    display: inline-block;
    flex-direction: row;
    justify-content: space-evenly;
    align-content: space-evenly;
}

.sponsors a {
    // flex-grow: 4;
    // height: 50px;
    // margin: 10px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sponsorimg {
}

.sponsors img {
    width: 80%;
    display:block;
    margin:auto;
}

.loader {
    display: block;
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    margin-right: auto;
    margin-left: auto;
    animation: spin 1.5s linear infinite;
}

.invisible {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media only screen and (max-device-width: 480px) {
    .grid-container {
        display: flex;
        flex-direction: column;
    }
}

.blog-table {
    display: table;
    width: 100%;
}
.blog-table-row {
    display: table-row;
}
.blog-table-heading {
    display: table-header-group;
    background-color: #ddd;
}
.blog-table-cell, .blog-table-head {
    display: table-cell;
    padding: 3px 10px;
    border: 1px solid #999999;
}
.blog-table-footer {
    display: table-footer-group;
    font-weight: bold;
    background-color: #ddd;
}
.blog-table-body {
    display: table-row-group;
}