Skip to content

Commit 05401af

Browse files
Merge pull request #1454 from jschleic/download-ui
Refactor Share & Download UI for better usability
2 parents ced7f3d + dbf0179 commit 05401af

File tree

11 files changed

+406
-259
lines changed

11 files changed

+406
-259
lines changed

umap/static/umap/base.css

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,15 @@ textarea {
162162
padding: 7px;
163163
}
164164
select {
165+
border: 1px solid #222;
165166
width: 100%;
166167
height: 28px;
167168
line-height: 28px;
169+
margin-top: 5px;
170+
}
171+
.dark select {
168172
color: #efefef;
169-
border: 1px solid #222;
170173
background-color: #393F3F;
171-
margin-top: 5px;
172174
}
173175
select[multiple="multiple"] {
174176
height: auto;
@@ -294,28 +296,34 @@ input[type="file"] + .error {
294296
text-align: left;
295297
display: block;
296298
cursor: pointer;
297-
background-color: #232729;
299+
background-color: #eee;
298300
height: 30px;
299301
line-height: 30px;
300-
color: #fff;
301302
margin: 0;
302303
font-family: fira_sans;
303304
font-weight: normal;
304305
font-size: 1.2em;
305306
padding: 0 5px;
306307
}
308+
.dark .fieldset.toggle .legend {
309+
background-color: #232729;
310+
color: #fff;
311+
}
307312
.fieldset.toggle .legend:before {
308313
background-repeat: no-repeat;
309314
text-indent: 24px;
310315
height: 24px;
311316
width: 24px;
312317
line-height: 24px;
313318
display: inline-block;
314-
background-image: url('./img/16-white.svg');
319+
background-image: url('./img/16.svg');
315320
vertical-align: bottom;
316321
content: " ";
317322
background-position: -144px -76px;
318323
}
324+
.dark .fieldset.toggle .legend:before {
325+
background-image: url('./img/16-white.svg');
326+
}
319327
.fieldset.toggle.on .legend:before {
320328
background-position: -144px -51px;
321329
}
@@ -448,7 +456,8 @@ input.switch:checked ~ label:after {
448456
}
449457
.umap-field-iconUrl .action-button,
450458
.inheritable .define,
451-
.inheritable .undefine {
459+
.inheritable .undefine,
460+
.copy-button {
452461
float: right;
453462
width: initial;
454463
min-height: 18px;

umap/static/umap/img/16.svg

Lines changed: 11 additions & 1 deletion
Loading

umap/static/umap/img/source/16.svg

Lines changed: 61 additions & 5 deletions
Loading

0 commit comments

Comments
 (0)