From 35118299cff2fed11a02d347c9de6bee18d44d09 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 13 Jul 2020 16:33:43 +0200 Subject: [PATCH] Fix some styling issues --- pixelegg/css/mobile.css | 7 ++++--- pixelegg/css/monochrome.css | 7 ++++--- pixelegg/css/pixelegg.css | 7 ++++--- pixelegg/less/etemplate2.less | 7 ++++--- pixelegg/mobile/fw_mobile.css | 7 ++++--- 5 files changed, 20 insertions(+), 15 deletions(-) diff --git a/pixelegg/css/mobile.css b/pixelegg/css/mobile.css index ff4dfbc1d3..d5afe8f551 100644 --- a/pixelegg/css/mobile.css +++ b/pixelegg/css/mobile.css @@ -775,7 +775,8 @@ .sidebox-favorites ul.favorites li.ui-menu-item:hover a .ui-icon-trash { background-image: url(../images/delete.svg); background-size: 12px 12px; - background-position: center 4px; + background-position: center 2px; + margin-top: 0px; } .sidebox-favorites ul.favorites li.ui-menu-item:first-of-type a { color: #000000; @@ -785,12 +786,12 @@ } .sidebox-favorites ul.favorites li.ui-menu-item a { line-height: inherit; - padding: 2px 3px; + padding: 2px 1px; } .sidebox-favorites ul.favorites li.ui-menu-item a div.ui-icon-heart { background-image: url(../images/favorites.svg); background-size: 12px 12px; - background-position: 0 0; + background-position: 1px 0; margin-right: 9px; margin-left: 2px; } diff --git a/pixelegg/css/monochrome.css b/pixelegg/css/monochrome.css index 74434edd42..060daa4cab 100644 --- a/pixelegg/css/monochrome.css +++ b/pixelegg/css/monochrome.css @@ -764,7 +764,8 @@ .sidebox-favorites ul.favorites li.ui-menu-item:hover a .ui-icon-trash { background-image: url(../images/delete.svg); background-size: 12px 12px; - background-position: center 4px; + background-position: center 2px; + margin-top: 0px; } .sidebox-favorites ul.favorites li.ui-menu-item:first-of-type a { color: #000000; @@ -774,12 +775,12 @@ } .sidebox-favorites ul.favorites li.ui-menu-item a { line-height: inherit; - padding: 2px 3px; + padding: 2px 1px; } .sidebox-favorites ul.favorites li.ui-menu-item a div.ui-icon-heart { background-image: url(../images/favorites.svg); background-size: 12px 12px; - background-position: 0 0; + background-position: 1px 0; margin-right: 9px; margin-left: 2px; } diff --git a/pixelegg/css/pixelegg.css b/pixelegg/css/pixelegg.css index dbbee666a4..22d4267e0e 100644 --- a/pixelegg/css/pixelegg.css +++ b/pixelegg/css/pixelegg.css @@ -775,7 +775,8 @@ .sidebox-favorites ul.favorites li.ui-menu-item:hover a .ui-icon-trash { background-image: url(../images/delete.svg); background-size: 12px 12px; - background-position: center 4px; + background-position: center 2px; + margin-top: 0px; } .sidebox-favorites ul.favorites li.ui-menu-item:first-of-type a { color: #000000; @@ -785,12 +786,12 @@ } .sidebox-favorites ul.favorites li.ui-menu-item a { line-height: inherit; - padding: 2px 3px; + padding: 2px 1px; } .sidebox-favorites ul.favorites li.ui-menu-item a div.ui-icon-heart { background-image: url(../images/favorites.svg); background-size: 12px 12px; - background-position: 0 0; + background-position: 1px 0; margin-right: 9px; margin-left: 2px; } diff --git a/pixelegg/less/etemplate2.less b/pixelegg/less/etemplate2.less index cc8dfe36ce..bf59c48335 100755 --- a/pixelegg/less/etemplate2.less +++ b/pixelegg/less/etemplate2.less @@ -733,7 +733,8 @@ div.header_row_right{ .ui-icon-trash { background-image: url(../images/delete.svg); background-size: 12px 12px; - background-position: center 4px; + background-position: center 2px; + margin-top: 0px; } } } @@ -750,9 +751,9 @@ div.header_row_right{ a { line-height: inherit; - padding: 2px 3px; + padding: 2px 1px; // Heart - div.ui-icon-heart {background-image: url(../images/favorites.svg); background-size: 12px 12px;background-position: 0 0;margin-right:9px;margin-left:2px;} + div.ui-icon-heart {background-image: url(../images/favorites.svg); background-size: 12px 12px;background-position: 1px 0;margin-right:9px;margin-left:2px;} // Bulltpoints div.sideboxstar { width: 4px; diff --git a/pixelegg/mobile/fw_mobile.css b/pixelegg/mobile/fw_mobile.css index e99abdd5d9..d9a8acc622 100644 --- a/pixelegg/mobile/fw_mobile.css +++ b/pixelegg/mobile/fw_mobile.css @@ -786,7 +786,8 @@ .sidebox-favorites ul.favorites li.ui-menu-item:hover a .ui-icon-trash { background-image: url(../images/delete.svg); background-size: 12px 12px; - background-position: center 4px; + background-position: center 2px; + margin-top: 0px; } .sidebox-favorites ul.favorites li.ui-menu-item:first-of-type a { color: #000000; @@ -796,12 +797,12 @@ } .sidebox-favorites ul.favorites li.ui-menu-item a { line-height: inherit; - padding: 2px 3px; + padding: 2px 1px; } .sidebox-favorites ul.favorites li.ui-menu-item a div.ui-icon-heart { background-image: url(../images/favorites.svg); background-size: 12px 12px; - background-position: 0 0; + background-position: 1px 0; margin-right: 9px; margin-left: 2px; }