From 64319eea0fbf835a34d25fd09325fd1f1ed829f3 Mon Sep 17 00:00:00 2001 From: Deimos Date: Mon, 13 Jan 2020 19:27:11 -0700 Subject: [PATCH] Replace dropdown shadow with outset-style border Shadows don't really fit with the site's overall style, and looked especially weird in dark themes. --- tildes/scss/modules/_menu.scss | 3 +++ tildes/scss/themes/_theme_base.scss | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tildes/scss/modules/_menu.scss b/tildes/scss/modules/_menu.scss index 17afd47..96e3f0d 100644 --- a/tildes/scss/modules/_menu.scss +++ b/tildes/scss/modules/_menu.scss @@ -2,6 +2,9 @@ // SPDX-License-Identifier: AGPL-3.0-or-later .menu { + box-shadow: none; + border: 1px outset; + .menu-item { > a:hover, > a:focus { diff --git a/tildes/scss/themes/_theme_base.scss b/tildes/scss/themes/_theme_base.scss index 4f26c2e..31c5393 100644 --- a/tildes/scss/themes/_theme_base.scss +++ b/tildes/scss/themes/_theme_base.scss @@ -401,7 +401,7 @@ .menu { background-color: map-get($theme, "background-primary"); - box-shadow: 0 0.1rem 0.2rem map-get($theme, "foreground-secondary"); + border-color: map-get($theme, "border"); } .message {