discourse/app/assets/stylesheets/common/modal/user-status.scss
chapoi ada0aa0d4e
UX: modal modifier class BEM rename + new modifier (#40369)
- Renames .d-modal modifiers from single-dash (-large, -max) to --large,
--max across SCSS, <DModal>, and all callers (core +
discourse-local-dates plugin) to match Discourse's BEM convention.
- Moves per-modal overrides out of modal.scss into the dedicated
modal-overrides.scss file
- Add new `has-search` modifier, for use in modals with a inline
filter/search element to avoid jumping height
- Move all core `.modal selectors` to `.d-modal`

This commit should not change anything visually (if all goes well).
2026-05-28 17:36:48 +02:00

28 lines
419 B
SCSS
Vendored

.user-status.d-modal {
.d-modal {
&__footer {
.delete-status {
margin-left: auto;
margin-right: 0;
}
}
&__body {
.control-group-remove-status {
margin-top: 25px;
}
.pause-notifications {
margin-top: 1.5em;
}
.control-label {
font-weight: 700;
}
.tap-tile:last-child {
border: 0;
}
}
}
}