Update icons from base.css too

A bunch of those are unused:

- i.info was used in helpTooltip, but it's not anymore
- umap-delete, umap-to-polyline and such was used in contextmenu,
  but are not anymore
This commit is contained in:
Yohan Boniface 2023-06-29 07:46:26 +02:00
parent ad5057c5b8
commit 146e58a5bc
2 changed files with 34 additions and 34 deletions

View file

@ -417,7 +417,7 @@ input.switch:checked ~ label:after {
} }
i.info { i.info {
background-repeat: no-repeat; background-repeat: no-repeat;
background-image: url('./img/16.png'); background-image: url('./img/16.svg');
background-position: -170px -50px; background-position: -170px -50px;
display: inline-block; display: inline-block;
margin-left: 5px; margin-left: 5px;
@ -426,7 +426,7 @@ i.info {
height: 18px; height: 18px;
} }
.dark i.info { .dark i.info {
background-image: url('./img/16-white.png'); background-image: url('./img/16-white.svg');
} }
.with-transition { .with-transition {
/*transition: top .7s, right .7s, left .7s, width .7s, visibility .7s;*/ /*transition: top .7s, right .7s, left .7s, width .7s, visibility .7s;*/
@ -441,7 +441,7 @@ i.info {
height: 24px; height: 24px;
line-height: 24px; line-height: 24px;
display: inline-block; display: inline-block;
background-image: url('./img/24.png'); background-image: url('./img/24.svg');
vertical-align: bottom; vertical-align: bottom;
content: " "; content: " ";
} }
@ -450,7 +450,7 @@ i.info {
.dark .umap-clone:before, .dark .umap-clone:before,
.dark .umap-edit:before, .dark .umap-download:before, .dark .umap-edit:before, .dark .umap-download:before,
.dark .umap-to-polyline:before { .dark .umap-to-polyline:before {
background-image: url('./img/24-white.png'); background-image: url('./img/24-white.svg');
vertical-align: middle; vertical-align: middle;
} }
.umap-to-polygon:before { .umap-to-polygon:before {
@ -474,32 +474,6 @@ i.info {
.umap-download:before { .umap-download:before {
background-position: -88px -168px; background-position: -88px -168px;
} }
.umap-edit-actions {
padding-top: 5px;
clear: both;
}
.umap-edit-actions li {
height: 36px;
line-height: 36px;
cursor: pointer;
margin-bottom: 5px;
border-radius: 2px;
border: 1px solid #222;
}
.umap-edit-actions li i {
background-image: url('./img/24-white.png');
background-repeat: no-repeat;
display: table-cell;
width: 36px;
height: 36px;
}
.umap-edit-actions li span {
display: table-cell;
vertical-align: middle;
}
.umap-edit-actions li:hover {
background-color: #353c3e;
}
.permissions-panel, .permissions-panel,
.umap-upload, .umap-upload,
.umap-share, .umap-share,
@ -808,14 +782,14 @@ input[type=hidden].blur + .button {
/* *********** */ /* *********** */
.umap-close-icon { .umap-close-icon {
background-repeat: no-repeat; background-repeat: no-repeat;
background-image: url('./img/16.png'); background-image: url('./img/16.svg');
background-position: -52px -13px; background-position: -28px -6px;
display: inline; display: inline;
padding: 0 10px; padding: 0 10px;
vertical-align: middle; vertical-align: middle;
} }
.dark .umap-close-icon { .dark .umap-close-icon {
background-image: url('./img/16-white.png'); background-image: url('./img/16-white.svg');
} }
.dark .umap-close-link { .dark .umap-close-link {
border: 1px solid #202425; border: 1px solid #202425;
@ -833,7 +807,7 @@ input[type=hidden].blur + .button {
padding-right: 10px; padding-right: 10px;
} }
#umap-alert-container .umap-close-icon { #umap-alert-container .umap-close-icon {
background-position: -128px -93px; background-position: -74px -55px;
} }

View file

@ -326,6 +326,32 @@ ul.photon-autocomplete {
border-top: 1px solid #aaa; border-top: 1px solid #aaa;
padding-top: 10px; padding-top: 10px;
} }
.umap-edit-actions {
padding-top: 5px;
clear: both;
}
.umap-edit-actions li {
height: 36px;
line-height: 36px;
cursor: pointer;
margin-bottom: 5px;
border-radius: 2px;
border: 1px solid #222;
}
.umap-edit-actions li i {
background-image: url('./img/24-white.svg');
background-repeat: no-repeat;
display: table-cell;
width: 36px;
height: 36px;
}
.umap-edit-actions li span {
display: table-cell;
vertical-align: middle;
}
.umap-edit-actions li:hover {
background-color: #353c3e;
}
/* ********************************* */ /* ********************************* */