From be08136a31cf0017cccbcb9099071c3c916b9760 Mon Sep 17 00:00:00 2001 From: Aljaz Grilc Date: Wed, 21 May 2025 09:14:06 +0200 Subject: [PATCH] Improve color of the popup close button #6 --- service.js | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/service.js b/service.js index 845a723..83e68b6 100644 --- a/service.js +++ b/service.js @@ -2786,11 +2786,14 @@ class BesPopup extends HTMLElement { .bes-close-btn svg { width: 100%; height: 100%; - fill: #333; } + :host{ + --bes-close-icon: #485362; + --hover-bg-clr: #dee3ed; + } .bes-close-btn:hover { - background: #dee3ed; - border-radius: 8px + background: var(--hover-bg-clr); + border-radius: 4px } :host(.show) .bes-popup-container { visibility: visible; @@ -2819,13 +2822,17 @@ class BesPopup extends HTMLElement { background-color: #111213; border: 1px solid #2e3036; } + :host{ + --bes-close-icon: #a4b5c7; + --hover-bg-clr:rgba(189, 189, 189, 0.28); + } }
Besana