Skip to content

Commit

Permalink
Merge pull request #1454 from jschleic/download-ui
Browse files Browse the repository at this point in the history
Refactor Share & Download UI for better usability
  • Loading branch information
yohanboniface authored Jan 2, 2024
2 parents ced7f3d + dbf0179 commit 05401af
Show file tree
Hide file tree
Showing 11 changed files with 406 additions and 259 deletions.
21 changes: 15 additions & 6 deletions umap/static/umap/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,15 @@ textarea {
padding: 7px;
}
select {
border: 1px solid #222;
width: 100%;
height: 28px;
line-height: 28px;
margin-top: 5px;
}
.dark select {
color: #efefef;
border: 1px solid #222;
background-color: #393F3F;
margin-top: 5px;
}
select[multiple="multiple"] {
height: auto;
Expand Down Expand Up @@ -294,28 +296,34 @@ input[type="file"] + .error {
text-align: left;
display: block;
cursor: pointer;
background-color: #232729;
background-color: #eee;
height: 30px;
line-height: 30px;
color: #fff;
margin: 0;
font-family: fira_sans;
font-weight: normal;
font-size: 1.2em;
padding: 0 5px;
}
.dark .fieldset.toggle .legend {
background-color: #232729;
color: #fff;
}
.fieldset.toggle .legend:before {
background-repeat: no-repeat;
text-indent: 24px;
height: 24px;
width: 24px;
line-height: 24px;
display: inline-block;
background-image: url('./img/16-white.svg');
background-image: url('./img/16.svg');
vertical-align: bottom;
content: " ";
background-position: -144px -76px;
}
.dark .fieldset.toggle .legend:before {
background-image: url('./img/16-white.svg');
}
.fieldset.toggle.on .legend:before {
background-position: -144px -51px;
}
Expand Down Expand Up @@ -448,7 +456,8 @@ input.switch:checked ~ label:after {
}
.umap-field-iconUrl .action-button,
.inheritable .define,
.inheritable .undefine {
.inheritable .undefine,
.copy-button {
float: right;
width: initial;
min-height: 18px;
Expand Down
12 changes: 11 additions & 1 deletion umap/static/umap/img/16.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 61 additions & 5 deletions umap/static/umap/img/source/16.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 05401af

Please sign in to comment.