From acd54fbfb39b00c33a36e38a7ffcf28be33cb4d1 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 21 Aug 2017 11:47:33 +0200 Subject: [PATCH] Add missing favorites icons in mobile view --- pixelegg/mobile/fw_mobile.css | 20 ++++++++++++++++++++ pixelegg/mobile/fw_mobile.less | 25 +++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/pixelegg/mobile/fw_mobile.css b/pixelegg/mobile/fw_mobile.css index 7dc469ff77..a85f1c5cd8 100644 --- a/pixelegg/mobile/fw_mobile.css +++ b/pixelegg/mobile/fw_mobile.css @@ -7678,6 +7678,26 @@ form[id^="wiki-"] .dialogHeadbar { border: 1px solid silver; overflow-y: auto !important; } + body .et2_nextmatch .nm-mob-header div.nm_favorites_div div[name="favorite"] ul.favorites li.ui-menu-item[data-id="blank"]:before { + content: ''; + background-image: url(../images/trash.png); + background-size: 12px; + background-repeat: no-repeat; + width: 12px; + height: 12px; + display: inline-block; + margin-left: 4px; + } + body .et2_nextmatch .nm-mob-header div.nm_favorites_div div[name="favorite"] ul.favorites li.ui-menu-item:not([data-id="add"]):not([data-id="blank"]):before { + content: ''; + background-image: url(../images/fav_filter.png); + background-size: 12px; + background-repeat: no-repeat; + width: 12px; + height: 12px; + display: inline-block; + margin-left: 4px; + } body .et2_nextmatch .nm-mob-header div.nm_favorites_div div[name="favorite"] ul.favorites li.ui-menu-item { white-space: nowrap; text-overflow: ellipsis; diff --git a/pixelegg/mobile/fw_mobile.less b/pixelegg/mobile/fw_mobile.less index d965616843..28e3789e98 100644 --- a/pixelegg/mobile/fw_mobile.less +++ b/pixelegg/mobile/fw_mobile.less @@ -773,6 +773,31 @@ box-shadow: 0px 4px 5px 2px silver; border: 1px solid silver; overflow-y:auto !important; + li.ui-menu-item[data-id="blank"] + { + &:before{ + content: ''; + background-image: url(../images/trash.png); + background-size: 12px; + background-repeat: no-repeat; + width: 12px; + height: 12px; + display: inline-block; + margin-left: 4px; + } + } + li.ui-menu-item:not([data-id="add"]):not([data-id="blank"]) { + &:before{ + content: ''; + background-image: url(../images/fav_filter.png); + background-size: 12px; + background-repeat: no-repeat; + width: 12px; + height: 12px; + display: inline-block; + margin-left: 4px; + } + } li.ui-menu-item { white-space: nowrap; text-overflow: ellipsis;