mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-06-19 05:59:26 +08:00
- 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).
28 lines
419 B
SCSS
Vendored
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;
|
|
}
|
|
}
|
|
}
|
|
}
|