diff --git a/service.js b/service.js index 6053354..788e05c 100644 --- a/service.js +++ b/service.js @@ -2033,6 +2033,7 @@ class BesPopup extends HTMLElement { } .popup-text { font-size: 0.93rem; + font-weight: heavier; max-width: 160px; color: #333; text-align: center; @@ -2054,7 +2055,7 @@ class BesPopup extends HTMLElement { .bes-toolbar { display: flex; justify-content: end; - padding: 5px 2px; + padding: 3px 2px; } .bes-toolbar button { margin-right: 2px; @@ -2065,10 +2066,11 @@ class BesPopup extends HTMLElement { cursor: grab; } .bes-text-div{ - background-color: #eee; + background-color: #fff; padding: 10px; border-radius: 5px; border: 1px solid #f1f3f9; + box-shadow:rgba(0, 0, 0, 0.16) 0px 2px 6px -1px, rgba(0, 0, 0, 0.04) 0px 1px 4px -1px } .bes-replacement-btn{ margin: 4px 1px; @@ -2085,6 +2087,23 @@ class BesPopup extends HTMLElement { .bes-replacement-div{ margin-top: 4px; } + .bes-close-btn { + width: 20px; + height: 20px; + background: none; + border: none; + cursor: pointer; + padding: 2px; + } + .bes-close-btn svg { + width: 100%; + height: 100%; + fill: #333; + } + .bes-close-btn:hover { + background: #dee3ed; + border-radius: 8px + } :host(.show) .bes-popup-container { visibility: visible; animation: fadeIn 1s; @@ -2095,28 +2114,31 @@ class BesPopup extends HTMLElement { } @media (prefers-color-scheme: dark) { .popup-text { - font-weight: lighter; - color: #eee; + color: #fff; } .bes-popup-container { font-weight: lighter; - background-color: #57585A; + background-color: #2f3237; + border-color: 1px solid rgb(241, 243, 249) + box-shadow: rgb(94, 99, 110) 0px 0px 0px 1px } .bes-popup-title { - font-weight: lighter; - color: #eee; + font-weight: heavier; + color: #fff; } .bes-text-div { font-weight: lighter; - background-color: #333; - border: 1px solid #57585A; + background-color: #111213; + border: 1px solid #2e3036; } }
Besana
- +
`