From 56b319a986cc2ad02bcabe7b5bdab7f5b2c65af7 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 11 Jun 2019 10:39:46 +0200 Subject: [PATCH] Fix avatar menu sometimes loses its position in the top header --- pixelegg/css/mobile.css | 5 +---- pixelegg/css/monochrome.css | 5 +---- pixelegg/css/pixelegg.css | 5 +---- pixelegg/less/layout_raster_buttons.less | 3 +-- pixelegg/mobile/fw_mobile.css | 5 +---- 5 files changed, 5 insertions(+), 18 deletions(-) diff --git a/pixelegg/css/mobile.css b/pixelegg/css/mobile.css index 074427dd1c..1f97b51010 100644 --- a/pixelegg/css/mobile.css +++ b/pixelegg/css/mobile.css @@ -4889,9 +4889,6 @@ td.message span.message { #egw_fw_topmenu_info_items .topmenu_info_item:hover { background-color: rgba(153, 204, 255, 0.4); } -#egw_fw_topmenu_info_items #topmenu_info_user_avatar { - position: relative; -} #egw_fw_topmenu_info_items #topmenu_info_user_avatar span { height: 40px; width: 40px; @@ -4909,7 +4906,7 @@ td.message span.message { width: 14px; height: 14px; position: absolute; - left: 0px; + right: 30px; bottom: 0px; border-radius: 50%; z-index: 100000; diff --git a/pixelegg/css/monochrome.css b/pixelegg/css/monochrome.css index 9435d34f68..7fe1a7690d 100644 --- a/pixelegg/css/monochrome.css +++ b/pixelegg/css/monochrome.css @@ -4878,9 +4878,6 @@ td.message span.message { #egw_fw_topmenu_info_items .topmenu_info_item:hover { background-color: rgba(153, 204, 255, 0.4); } -#egw_fw_topmenu_info_items #topmenu_info_user_avatar { - position: relative; -} #egw_fw_topmenu_info_items #topmenu_info_user_avatar span { height: 40px; width: 40px; @@ -4898,7 +4895,7 @@ td.message span.message { width: 14px; height: 14px; position: absolute; - left: 0px; + right: 30px; bottom: 0px; border-radius: 50%; z-index: 100000; diff --git a/pixelegg/css/pixelegg.css b/pixelegg/css/pixelegg.css index 73c63beeed..74f7ae7545 100644 --- a/pixelegg/css/pixelegg.css +++ b/pixelegg/css/pixelegg.css @@ -4889,9 +4889,6 @@ td.message span.message { #egw_fw_topmenu_info_items .topmenu_info_item:hover { background-color: rgba(153, 204, 255, 0.4); } -#egw_fw_topmenu_info_items #topmenu_info_user_avatar { - position: relative; -} #egw_fw_topmenu_info_items #topmenu_info_user_avatar span { height: 40px; width: 40px; @@ -4909,7 +4906,7 @@ td.message span.message { width: 14px; height: 14px; position: absolute; - left: 0px; + right: 30px; bottom: 0px; border-radius: 50%; z-index: 100000; diff --git a/pixelegg/less/layout_raster_buttons.less b/pixelegg/less/layout_raster_buttons.less index 2a4b87897c..caba16a97a 100644 --- a/pixelegg/less/layout_raster_buttons.less +++ b/pixelegg/less/layout_raster_buttons.less @@ -42,7 +42,6 @@ } } #topmenu_info_user_avatar { - position: relative; span { height: 40px; width: 40px; @@ -59,7 +58,7 @@ width: 14px; height: 14px; position: absolute; - left: 0px; + right: 30px; bottom: 0px; border-radius: 50%; z-index: 100000; diff --git a/pixelegg/mobile/fw_mobile.css b/pixelegg/mobile/fw_mobile.css index 5c4622b459..fbcccd0562 100644 --- a/pixelegg/mobile/fw_mobile.css +++ b/pixelegg/mobile/fw_mobile.css @@ -4900,9 +4900,6 @@ td.message span.message { #egw_fw_topmenu_info_items .topmenu_info_item:hover { background-color: rgba(153, 204, 255, 0.4); } -#egw_fw_topmenu_info_items #topmenu_info_user_avatar { - position: relative; -} #egw_fw_topmenu_info_items #topmenu_info_user_avatar span { height: 40px; width: 40px; @@ -4920,7 +4917,7 @@ td.message span.message { width: 14px; height: 14px; position: absolute; - left: 0px; + right: 30px; bottom: 0px; border-radius: 50%; z-index: 100000;