From 5d968c567f583b6f60e5f38b9d2bb5dfbc22465f Mon Sep 17 00:00:00 2001 From: milan Date: Wed, 20 Nov 2024 16:45:46 +0100 Subject: [PATCH] hide groups for "add favorite" if you have no rights to set it for other groups --- pixelegg/css/fancy.css | 4 ++++ pixelegg/css/pixelegg.css | 4 ++++ pixelegg/css/pixelegg.less | 5 +++++ 3 files changed, 13 insertions(+) diff --git a/pixelegg/css/fancy.css b/pixelegg/css/fancy.css index 18315e48b8..3693a5ed47 100644 --- a/pixelegg/css/fancy.css +++ b/pixelegg/css/fancy.css @@ -7155,6 +7155,10 @@ img.et2_button_icon[src*="svg"]:hover { --et2-button-image-padding-left: 0; padding-inline-start: 0; } +/*New favorite hide groups if no rights */ +et2-dialog div#add_favorite et2-select-account_ro { + display: none; +} :root, :host, .sl-theme-light, diff --git a/pixelegg/css/pixelegg.css b/pixelegg/css/pixelegg.css index 532f8b43b9..a10974cf46 100644 --- a/pixelegg/css/pixelegg.css +++ b/pixelegg/css/pixelegg.css @@ -7148,3 +7148,7 @@ img.et2_button_icon[src*="svg"]:hover { --et2-button-image-padding-left: 0; padding-inline-start: 0; } +/*New favorite hide groups if no rights */ +et2-dialog div#add_favorite et2-select-account_ro { + display: none; +} diff --git a/pixelegg/css/pixelegg.less b/pixelegg/css/pixelegg.less index d42efe7e2a..bd98e61e38 100644 --- a/pixelegg/css/pixelegg.less +++ b/pixelegg/css/pixelegg.less @@ -424,4 +424,9 @@ img.et2_button_icon[src*="svg"], img.et2_button_icon[src*="svg"]:hover { justify-content: center; --et2-button-image-padding-left: 0; padding-inline-start: 0; +} + +/*New favorite hide groups if no rights */ +et2-dialog div#add_favorite et2-select-account_ro{ + display: none; } \ No newline at end of file