From facdaee47b49f163e6927cc021eace18940ad441 Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 21 Aug 2023 12:49:49 +0200 Subject: Replace box-shadow for `floating` dropdown as well (#26581) Add `box-shadow` replacement to the `floating` dropdown variant as well, which was missed in https://github.com/go-gitea/gitea/pull/26469. The Fomantic style has `!important`, so this has to have too. Also made a tiny adjustment to shadow color on dark theme. Screenshot 2023-08-18 at 16 40 34 Screenshot 2023-08-18 at 16 40 22 Co-authored-by: Giteabot --- web_src/css/base.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'web_src/css/base.css') diff --git a/web_src/css/base.css b/web_src/css/base.css index 94dd85814e..f2b4d3d98c 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -1204,6 +1204,7 @@ img.ui.avatar, box-shadow: none; } +/* replace fomantic popover box shadows */ .ui.dropdown .menu, .ui.upward.dropdown > .menu, .ui.menu .dropdown.item .menu, @@ -1213,6 +1214,9 @@ img.ui.avatar, .ui.upward.active.selection.dropdown:hover .menu { box-shadow: 0 6px 18px var(--color-shadow); } +.ui.floating.dropdown .menu { + box-shadow: 0 6px 18px var(--color-shadow) !important; +} .ui.dimmer { background: var(--color-overlay-backdrop); -- cgit v1.2.3