mirror of
https://github.com/mastodon/mastodon.git
synced 2026-10-06 22:47:59 -05:00
53 lines
893 B
SCSS
53 lines
893 B
SCSS
@use '@/styles/mastodon/mixins';
|
|
|
|
.modal {
|
|
@include mixins.elevation-1;
|
|
|
|
border-radius: var(--radius-xl);
|
|
background: var(--color-bg-primary);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-md);
|
|
padding: var(--space-md);
|
|
pointer-events: auto;
|
|
user-select: text;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.modalElevated {
|
|
@include mixins.elevation-2;
|
|
}
|
|
|
|
.titleWrapper {
|
|
display: flex;
|
|
align-items: start;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.title {
|
|
@include mixins.type-heading-sm;
|
|
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.closeButton {
|
|
// Prevent close button from increasing spacing around title
|
|
margin-block: calc(-1 * var(--space-xs));
|
|
margin-inline-end: calc(-1 * var(--space-xs));
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.actionsLeft {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.actionsRight {
|
|
justify-content: flex-end;
|
|
}
|