refactor(treewide): url("data:image/svg+xml,@{svg}") (#311)

This commit is contained in:
winston authored and GitHub committed 2023-11-14 21:22:01 +00:00
1 parent e08cfd5b64
commit 8db4b76751
4 files changed
+19 -23

No files matched your search

+5 -3
View File
@@ -617,9 +617,11 @@ domain("wetdry.world") {
}
.simple_form select {
background: @mantle
url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14.933 18.467' height='19.698' width='15.929'><path d='M3.467 14.967l-3.393-3.5H14.86l-3.392 3.5c-1.866 1.925-3.666 3.5-4 3.5-.335 0-2.135-1.575-4-3.5zm.266-11.234L7.467 0 11.2 3.733l3.733 3.734H0l3.733-3.734z' fill='%2342485A'/></svg>")
no-repeat right 8px center/auto 16px;
@svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.933 18.467" height="19.698" width="15.929"><path d="M3.467 14.967l-3.393-3.5H14.86l-3.392 3.5c-1.866 1.925-3.666 3.5-4 3.5-.335 0-2.135-1.575-4-3.5zm.266-11.234L7.467 0 11.2 3.733l3.733 3.734H0l3.733-3.734z" fill="@{overlay2}"/></svg>'
);
background: @mantle url("data:image/svg+xml,@{svg}") no-repeat right 8px
center/auto 16px;
border: 1px solid @crust;
}