discourse/app/assets/stylesheets/common/foundation
Jarek Radosz 1defb9449b
UX: Move user-cards above composer (#27491)
There is currently only one scenario when both the composer and a user card would be present at the same time:

if you have the composer open and then you click on something outside it that triggers a card. Which implies intent to see the card (unobstructed by the composer 😉)

The reverse doesn't happen because opening the composer would close an existing user card.

In theory there's also displaying a user card by clicking on a mention in composer's preview but that functionality is currently broken (and this PR is a prerequisite 😉)

---

I changed `.user-card, .group-card` to `.fk-d-menu[data-identifier="card"]` because that regressed when we moved user cards to float-kit – they are nested inside `.fk-d-menu` so its `z-index` is now important (effectively the cards had `z-index: z("dropdown")` instead of `z("usercard")`)
2024-06-18 15:12:41 +02:00
..
base.scss UX: new default border radius (#26560) 2024-04-08 22:21:57 +02:00
color_transformations.scss UX: softer dropdown and menu panel shadows (#22114) 2023-06-15 10:52:51 -04:00
colors.scss UX: Update selected colour var (#25500) 2024-01-31 09:32:38 +01:00
helpers.scss DEV: unused CSS cleanup, variable updates, simplification (#26111) 2024-03-11 09:07:53 -04:00
math.scss DEV: Move to Sass compilation to dart-sass (#19910) 2023-02-07 12:24:57 -03:00
mixins.scss UX: Tweak the mention padding (#26492) 2024-04-05 22:23:37 +02:00
variables.scss UX: Move user-cards above composer (#27491) 2024-06-18 15:12:41 +02:00