From d29b52b3bef26a84810485dfac58d4606eb39467 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 64408c4d50..8f0dfaecdb 100644 --- a/pixelegg/mobile/fw_mobile.css +++ b/pixelegg/mobile/fw_mobile.css @@ -7946,6 +7946,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 a23949387f..e2de95d690 100644 --- a/pixelegg/mobile/fw_mobile.less +++ b/pixelegg/mobile/fw_mobile.less @@ -802,6 +802,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;