overleaf/services/web/frontend/stylesheets/bootstrap-5/components/modal.scss
Rebeka Dekany 6cb956b1ff Merge pull request #19472 from overleaf/rd-stylelint-ci
[web] Add Stylelint formatting to the CI

GitOrigin-RevId: f31139f9f6f70aa96214b59db37ad1f79cd1e733
2024-07-23 08:04:09 +00:00

96 lines
1.6 KiB
SCSS

:root {
--bs-heading-color: var(--content-primary);
}
@include media-breakpoint-up(sm) {
.modal-dialog {
@include modal-md;
}
.modal-sm {
@include modal-sm;
}
}
@include media-breakpoint-up(md) {
.modal-md {
@include modal-md;
}
}
@include media-breakpoint-up(lg) {
.modal-lg {
@include modal-lg;
}
}
.modal-content {
@include shadow-lg;
border-radius: var(--border-radius-base);
.modal-header {
.modal-title {
@include heading-sm;
line-height: 35px;
}
.btn-close {
margin-right: 0;
}
}
.modal-footer {
padding: var(--spacing-06);
gap: var(--spacing-04);
> * {
margin: 0;
}
}
}
// Git bridge modal
.git-bridge-copy {
background: var(--bg-light-secondary);
color: var(--content-primary);
padding: var(--spacing-05);
border-radius: var(--border-radius-base);
display: flex;
justify-content: center;
gap: var(--spacing-05);
align-items: center;
margin: var(--spacing-09) 0;
& code {
color: var(--content-primary);
word-break: break-word;
}
}
.git-bridge-optional-tokens {
border: 1px solid var(--border-primary);
border-radius: var(--border-radius-base);
padding: var(--spacing-07);
margin: var(--spacing-09) 0;
}
.git-bridge-optional-tokens-header {
font-size: 120%;
font-weight: bold;
margin-bottom: var(--spacing-05);
}
.git-bridge-optional-tokens-actions {
margin-top: var(--spacing-05);
}
// Contact us modal
.contact-us-modal-textarea {
height: 120px;
}
.modal-form-messages .notification {
margin-bottom: var(--spacing-05);
}