Radish alpha
r
Radicle desktop app
Radicle
Git (anonymous pull)
Log in to clone via SSH
Add elevation shadow to popover
Rūdolfs Ošiņš committed 1 year ago
commit 7ec692738ecd5592321fead26b8894cfacf906f7
parent b05bc05b3ce273c162cc954c5a01082d4b571f36
2 files changed +9 -0
modified public/index.css
@@ -57,6 +57,14 @@ body {
}

:root {
+
  --elevation-low: 0 0 48px 0 #000000ee;
+
}
+

+
[data-theme="light"] {
+
  --elevation-low: 0 0 16px 0 #00000022;
+
}
+

+
:root {
  --1px-corner-fill: polygon(
    0 2px,
    2px 2px,
modified src/components/Popover.svelte
@@ -42,6 +42,7 @@
    position: relative;
  }
  .popover {
+
    box-shadow: var(--elevation-low);
    position: absolute;
    z-index: 10;
  }