diff options
author | silverwind <me@silverwind.io> | 2023-08-21 12:49:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-21 12:49:49 +0200 |
commit | facdaee47b49f163e6927cc021eace18940ad441 (patch) | |
tree | 00450fd772661873d0691450dd8b18fd1231a4e5 /web_src/css/base.css | |
parent | f6e7798405ef9eb7b2936b112fd2a4ea1bab4082 (diff) | |
download | gitea-facdaee47b49f163e6927cc021eace18940ad441.tar.gz gitea-facdaee47b49f163e6927cc021eace18940ad441.zip |
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.
<img width="305" alt="Screenshot 2023-08-18 at 16 40 34"
src="https://github.com/go-gitea/gitea/assets/115237/a0aac9cb-6393-4d69-b0b3-00eaac5ccf9f">
<img width="202" alt="Screenshot 2023-08-18 at 16 40 22"
src="https://github.com/go-gitea/gitea/assets/115237/0a5fa3aa-7452-4dbd-86ed-ccbc1c872ebb">
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'web_src/css/base.css')
-rw-r--r-- | web_src/css/base.css | 4 |
1 files changed, 4 insertions, 0 deletions
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); |