From 1b639a9b0f31d0475d855cab63fc8fc3cc7ef68c Mon Sep 17 00:00:00 2001 From: milan Date: Thu, 13 Feb 2025 15:23:10 +0100 Subject: [PATCH] styling fixes of topmenu avatar and "add to favorites" in the right side menu --- api/templates/default/etemplate2.css | 10 ++++++++++ pixelegg/css/fancy.css | 9 +++++++++ pixelegg/css/pixelegg.css | 3 +++ pixelegg/css/pixelegg.less | 5 +++++ 4 files changed, 27 insertions(+) diff --git a/api/templates/default/etemplate2.css b/api/templates/default/etemplate2.css index 4b9f3186a6..083cb25393 100644 --- a/api/templates/default/etemplate2.css +++ b/api/templates/default/etemplate2.css @@ -3731,6 +3731,16 @@ table.et2_grid > tbody > tr > td { table.et2_grid > tbody > tr > td:last-child { padding-right: 0px; } +table.et2_grid > tbody > tr > td.iphoto:last-child { + padding: 0px; + font-size: 22px; + vertical-align: middle; +} +table.et2_grid > tbody > tr > td:last-child et2-image.iphoto{ + width: auto; + flex-direction: column; + align-items: center; +} .dialogFooterToolbar, .dialogFooterToolbar td { padding-top: 10px !important; diff --git a/pixelegg/css/fancy.css b/pixelegg/css/fancy.css index e7cd83d8e4..056037dad2 100644 --- a/pixelegg/css/fancy.css +++ b/pixelegg/css/fancy.css @@ -7150,6 +7150,9 @@ img.et2_button_icon[src*="svg"]:hover { et2-dialog div#add_favorite et2-select-account_ro { display: none; } +#topmenu_info_user_avatar > et2-avatar { + padding: 0.6px 0 0 1.6px; +} :root, :host, .sl-theme-light, @@ -7253,6 +7256,12 @@ et2-dialog div#add_favorite et2-select-account_ro { padding: 0; border-bottom: var(--sl-panel-border-width) solid var(--sl-panel-border-color); } +.et2_nextmatch .nextmatch_header { + border-bottom: var(--sl-panel-border-width) solid var(--sl-panel-border-color); +} +.et2_nextmatch .nextmatch_header .nextmatch_header_row { + padding-bottom: 0.25em; +} div.flatpickr-calendar { border-radius: var(--sl-border-radius-medium); } diff --git a/pixelegg/css/pixelegg.css b/pixelegg/css/pixelegg.css index 89db4ab508..937c838024 100644 --- a/pixelegg/css/pixelegg.css +++ b/pixelegg/css/pixelegg.css @@ -7143,3 +7143,6 @@ img.et2_button_icon[src*="svg"]:hover { et2-dialog div#add_favorite et2-select-account_ro { display: none; } +#topmenu_info_user_avatar > et2-avatar { + padding: 0.6px 0 0 1.6px; +} diff --git a/pixelegg/css/pixelegg.less b/pixelegg/css/pixelegg.less index 0478997d38..f2afcfb1cd 100644 --- a/pixelegg/css/pixelegg.less +++ b/pixelegg/css/pixelegg.less @@ -419,4 +419,9 @@ img.et2_button_icon[src*="svg"], img.et2_button_icon[src*="svg"]:hover { /*New favorite hide groups if no rights */ et2-dialog div#add_favorite et2-select-account_ro{ display: none; +} + +// Topmenu Avatar centering +#topmenu_info_user_avatar > et2-avatar{ + padding: 0.6px 0 0 1.6px } \ No newline at end of file