From bc923dfa1267d94062a8293443be76e832f43e97 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 2 Jun 2016 10:40:07 +0200 Subject: [PATCH] Try to mid align favorite icons --- api/templates/default/etemplate2.css | 4 ++-- pixelegg/css/mobile.css | 1 + pixelegg/css/pixelegg.css | 1 + pixelegg/less/etemplate2.less | 2 +- pixelegg/mobile/fw_mobile.css | 1 + 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/api/templates/default/etemplate2.css b/api/templates/default/etemplate2.css index 2be6304de6..5de95d2a92 100644 --- a/api/templates/default/etemplate2.css +++ b/api/templates/default/etemplate2.css @@ -1510,7 +1510,7 @@ div.message.floating { height: 9px; display: inline-block; padding: 0px 4px; - margin: 0px 5px; + margin: -2px 5px; /* TODO: This is template specific */ background-image: url(images/bullet.png); } @@ -1531,7 +1531,7 @@ div.message.floating { position: relative; float: left; display: inline-block; - margin: -3px 1px 0px 1px; + margin: -2px 1px 0px 1px; } .sidebox-favorites .favorites div.ui-icon-trash { margin-top: -5px; diff --git a/pixelegg/css/mobile.css b/pixelegg/css/mobile.css index e9d3910ceb..8a2d32bd2e 100644 --- a/pixelegg/css/mobile.css +++ b/pixelegg/css/mobile.css @@ -800,6 +800,7 @@ height: 12px; margin-left: 5px; margin-right: 10px; + margin-top: -3px; } .sidebox-favorites ul.favorites li.ui-menu-item [data-id="blank"] div.ui-icon-heart { background-image: url(../images/trash.png); diff --git a/pixelegg/css/pixelegg.css b/pixelegg/css/pixelegg.css index 6f9e2c83ec..f68155cde4 100644 --- a/pixelegg/css/pixelegg.css +++ b/pixelegg/css/pixelegg.css @@ -789,6 +789,7 @@ height: 12px; margin-left: 5px; margin-right: 10px; + margin-top: -3px; } .sidebox-favorites ul.favorites li.ui-menu-item [data-id="blank"] div.ui-icon-heart { background-image: url(../images/trash.png); diff --git a/pixelegg/less/etemplate2.less b/pixelegg/less/etemplate2.less index be278d7c9b..f3eada40de 100755 --- a/pixelegg/less/etemplate2.less +++ b/pixelegg/less/etemplate2.less @@ -749,7 +749,7 @@ div.header_row_right{ } // Aktuelle Ansicht als Favorit - img {.dimension_width_height_xs; margin-left: 5px;margin-right:10px;} + img {.dimension_width_height_xs; margin-left: 5px;margin-right:10px;margin-top:-3px;} // Filter aufheben [data-id="blank"]{ diff --git a/pixelegg/mobile/fw_mobile.css b/pixelegg/mobile/fw_mobile.css index e568cd3aa2..9cbfba20d8 100644 --- a/pixelegg/mobile/fw_mobile.css +++ b/pixelegg/mobile/fw_mobile.css @@ -811,6 +811,7 @@ height: 12px; margin-left: 5px; margin-right: 10px; + margin-top: -3px; } .sidebox-favorites ul.favorites li.ui-menu-item [data-id="blank"] div.ui-icon-heart { background-image: url(../images/trash.png);