From d5a061d8ea0123c7fabb9c24f9153698ea55b2ec Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 9 Dec 2019 12:27:10 +0100 Subject: [PATCH] Fix search icons to use svg version --- pixelegg/css/mobile.css | 6 +++--- pixelegg/css/monochrome.css | 6 +++--- pixelegg/css/pixelegg.css | 6 +++--- pixelegg/images/view.svg | 24 ++++++++++++++++++++++++ pixelegg/less/jquery-ui.less | 6 +++--- pixelegg/mobile/fw_mobile.css | 6 +++--- 6 files changed, 39 insertions(+), 15 deletions(-) create mode 100644 pixelegg/images/view.svg diff --git a/pixelegg/css/mobile.css b/pixelegg/css/mobile.css index 37c998e23a..8ab344624c 100644 --- a/pixelegg/css/mobile.css +++ b/pixelegg/css/mobile.css @@ -1242,7 +1242,7 @@ option:checked { .ui-icon-close { /*visibility: hidden;*/ /*background-image: url(../images/search.png);*/ - background-image: url("../images/cancel.png"); + background-image: url("../images/cancel.svg"); background-repeat: no-repeat; background-color: #FFFFFF; background-size: 12px 12px; @@ -1272,7 +1272,7 @@ span.ui-icon-close { } /*Schliessen x*/ .ui-icon-closethick { - background-image: url(../images/close.png) !important; + background-image: url(../images/close.svg) !important; background-repeat: no-repeat; background-color: #FFFFFF; background-size: contain; @@ -1321,7 +1321,7 @@ span.ui-multiselect-header { color: #FFFFFF; } span.ui-icon-search { - background-image: url(../images/search.png) !important; + background-image: url(../images/search.svg) !important; background-position: 0px; background-size: 10px 10px; } diff --git a/pixelegg/css/monochrome.css b/pixelegg/css/monochrome.css index a45c3dbccd..04cffa09dd 100644 --- a/pixelegg/css/monochrome.css +++ b/pixelegg/css/monochrome.css @@ -1231,7 +1231,7 @@ option:checked { .ui-icon-close { /*visibility: hidden;*/ /*background-image: url(../images/search.png);*/ - background-image: url("../images/cancel.png"); + background-image: url("../images/cancel.svg"); background-repeat: no-repeat; background-color: #FFFFFF; background-size: 12px 12px; @@ -1261,7 +1261,7 @@ span.ui-icon-close { } /*Schliessen x*/ .ui-icon-closethick { - background-image: url(../images/close.png) !important; + background-image: url(../images/close.svg) !important; background-repeat: no-repeat; background-color: #FFFFFF; background-size: contain; @@ -1310,7 +1310,7 @@ span.ui-multiselect-header { color: #FFFFFF; } span.ui-icon-search { - background-image: url(../images/search.png) !important; + background-image: url(../images/search.svg) !important; background-position: 0px; background-size: 10px 10px; } diff --git a/pixelegg/css/pixelegg.css b/pixelegg/css/pixelegg.css index d11d7ed8f9..a41ccc89dd 100644 --- a/pixelegg/css/pixelegg.css +++ b/pixelegg/css/pixelegg.css @@ -1242,7 +1242,7 @@ option:checked { .ui-icon-close { /*visibility: hidden;*/ /*background-image: url(../images/search.png);*/ - background-image: url("../images/cancel.png"); + background-image: url("../images/cancel.svg"); background-repeat: no-repeat; background-color: #FFFFFF; background-size: 12px 12px; @@ -1272,7 +1272,7 @@ span.ui-icon-close { } /*Schliessen x*/ .ui-icon-closethick { - background-image: url(../images/close.png) !important; + background-image: url(../images/close.svg) !important; background-repeat: no-repeat; background-color: #FFFFFF; background-size: contain; @@ -1321,7 +1321,7 @@ span.ui-multiselect-header { color: #FFFFFF; } span.ui-icon-search { - background-image: url(../images/search.png) !important; + background-image: url(../images/search.svg) !important; background-position: 0px; background-size: 10px 10px; } diff --git a/pixelegg/images/view.svg b/pixelegg/images/view.svg new file mode 100644 index 0000000000..2edc6d5635 --- /dev/null +++ b/pixelegg/images/view.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + diff --git a/pixelegg/less/jquery-ui.less b/pixelegg/less/jquery-ui.less index 7e04a9ca85..685af520e1 100755 --- a/pixelegg/less/jquery-ui.less +++ b/pixelegg/less/jquery-ui.less @@ -185,7 +185,7 @@ option:checked {background-color: @color_hover_row;} .ui-icon-close{ /*visibility: hidden;*/ /*background-image: url(../images/search.png);*/ - background-image: url("../images/cancel.png"); + background-image: url("../images/cancel.svg"); background-repeat: no-repeat; background-color: @gray_0; background-size: 12px 12px; @@ -206,7 +206,7 @@ span.ui-icon-close {margin-top: 0px; top: 5px;} /*Schliessen x*/ .ui-icon-closethick { - background-image: url(../images/close.png) !important; + background-image: url(../images/close.svg) !important; background-repeat: no-repeat; background-color: @gray_0; background-size: contain; @@ -245,7 +245,7 @@ span.ui-icon-close {margin-top: 0px; top: 5px;} span.ui-multiselect-header {color: @gray_0;} span.ui-icon-search { - background-image: url(../images/search.png) !important; + background-image: url(../images/search.svg) !important; background-position: 0px; background-size: 10px 10px; diff --git a/pixelegg/mobile/fw_mobile.css b/pixelegg/mobile/fw_mobile.css index 3ec02dbe97..73bf4f2131 100644 --- a/pixelegg/mobile/fw_mobile.css +++ b/pixelegg/mobile/fw_mobile.css @@ -1253,7 +1253,7 @@ option:checked { .ui-icon-close { /*visibility: hidden;*/ /*background-image: url(../images/search.png);*/ - background-image: url("../images/cancel.png"); + background-image: url("../images/cancel.svg"); background-repeat: no-repeat; background-color: #FFFFFF; background-size: 12px 12px; @@ -1283,7 +1283,7 @@ span.ui-icon-close { } /*Schliessen x*/ .ui-icon-closethick { - background-image: url(../images/close.png) !important; + background-image: url(../images/close.svg) !important; background-repeat: no-repeat; background-color: #FFFFFF; background-size: contain; @@ -1332,7 +1332,7 @@ span.ui-multiselect-header { color: #FFFFFF; } span.ui-icon-search { - background-image: url(../images/search.png) !important; + background-image: url(../images/search.svg) !important; background-position: 0px; background-size: 10px 10px; }