commit: c9cba417281fb92b5a838e2e7a927215485278cf
parent 0509a38730f3d3313bedf92563b8b8484da0ec49
Author: Henry Jameson <me@hjkos.com>
Date: Thu, 20 Feb 2025 12:02:34 +0200
improve RedmondDX popovers
Diffstat:
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/components/popover/popover.scss b/src/components/popover/popover.scss
@@ -7,7 +7,8 @@
position: fixed;
min-width: 0;
max-width: calc(100vw - 20px);
- box-shadow: var(--shadow);
+
+ --_shadow: var(--shadow);
}
.popover-default {
@@ -19,7 +20,7 @@
left: -1px;
right: -1px;
z-index: -1px;
- box-shadow: var(--shadow);
+ box-shadow: var(--_shadow);
pointer-events: none;
}
diff --git a/static/styles/Redmond DX.iss b/static/styles/Redmond DX.iss
@@ -167,3 +167,12 @@ Tab:hover:active {
TopBar Link {
textColor: #ffffff
}
+
+MenuItem:hover {
+ background: --fg
+}
+
+Popover {
+ shadow: --buttonDefaultBevel, 5 5 0 0 #000000 / 0.2;
+ roundness: 0
+}