Remove png icons and use svg icons

Since svg support was poor, we had used a fallback approach.
But browsers support svg these days.
This commit is contained in:
Santhosh Thottingal
2020-07-30 09:41:45 +05:30
committed by Niklas Laxström
parent 5b615109ea
commit f8ed687422
4 changed files with 3 additions and 9 deletions

View File

@@ -1,7 +1,5 @@
.uls-trigger {
background: url( ../images/language.png ) no-repeat left center;
/* @embed */
background-image: linear-gradient( transparent, transparent ), url( ../images/language.svg );
background: url( ../images/language.svg ) no-repeat left center;
padding-left: 24px;
}
@@ -65,9 +63,7 @@
}
.uls-search-label {
background: url( ../images/search.png ) no-repeat center center;
/* @embed */
background-image: linear-gradient( transparent, transparent ), url( ../images/search.svg );
background: url( ../images/search.svg ) no-repeat center center;
background-size: 20px;
height: 32px;
width: 44px;
@@ -110,9 +106,7 @@
}
.uls-languagefilter-clear {
background: url( ../images/close.png ) no-repeat left center;
/* @embed */
background-image: linear-gradient( transparent, transparent ), url( ../images/close.svg );
background: url( ../images/close.svg ) no-repeat left center;
background-size: 15px;
cursor: pointer;
height: 15px;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 447 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 364 B