mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-24 21:12:38 -04:00
9997c4874f
* [web] Initialize BS5 in subscription page * [web] Update subscription-dashboard.tsx for BS5 * [web] Update row-link.tsx for BS5 * [web] Update modals * [web] Add `btn` to `btn-inline-link` classes * [web] Update circle change-to-group circle price element * [web] Replace `list-item-with-margin-bottom` with `mb-3` * [web] Update form elements to BS5 * [web] Use `useContactUsModal` * [web] Adjust tables margin/padding, and more * [web] Update change-to-group-modal.tsx * [web] Add gap to subscription buttons * [web] Remove subscription page colspan for md and above * [web] Use Notification component * [web] Update "leave group" buttons * [web] Fix tests: add `ol-user` meta tag * [web] Nest .hover-highlight in #subscription-dashboard-root * [web] Update to OLRow/OLCol * [web] Update to OLButtons * [web] Update to OLFormGroup * [web] Naming: use BSversion prefix * [web] Set CancelSubscriptionButton as ghost directly in component * [web] Set "Plan" font size * [web] Simplify cancel-subscription buttons * [web] Remove `--neutral-10` ModalFooter background * [web] Simplify circle styles * [web] Center discount badge * [web] Update fieldset label * [web] Add `<ul>` around RowLink * [web] Define SCSS for row-link component * [web] Remove some use of utility classes * [web] Revert and update `fieldset` changes (fixes tests) * [web] Fixup some more OLButtons * [web] Fixup use of OLRow/OLCol * [web] Reduce spacing below "legend-as-label" * [web] Use h5 instead of small in OLModalTitle * [web] Revert OLCol removal on lg screens I had removed them by mistake because I wasn't using the proper breakpoints * [web] Add backdrop to nested modal ContactUsModal * [web] Don't prefill project URL in ContactUsModal * [web] Fix lint * [web] Share `className` prop in BS5 and BS3 modals * [web] Set sub-title font sans serif (BS3) * [web] Update remaining Alerts to OLNotification GitOrigin-RevId: 7fd975ae3e992cebfaf71d4e182f8e13ec886d09
91 lines
1.8 KiB
SCSS
91 lines
1.8 KiB
SCSS
// Hack to make the contact modal appear above other modals
|
|
.contact-modal {
|
|
z-index: 1065;
|
|
}
|
|
|
|
.contact-backdrop {
|
|
z-index: 1060;
|
|
}
|
|
|
|
.contact-us-modal-textarea {
|
|
height: 120px;
|
|
}
|
|
|
|
.modal-form-messages .notification {
|
|
margin-bottom: var(--spacing-05);
|
|
}
|
|
|
|
.contact-suggestions {
|
|
@include body-sm;
|
|
|
|
margin: 0 calc(-1 * var(--bs-modal-padding)) var(--spacing-05);
|
|
padding: var(--spacing-05) 0;
|
|
color: var(--content-secondary);
|
|
background-color: var(--bg-light-secondary);
|
|
border-top: solid 1px var(--border-primary-dark);
|
|
border-bottom: solid 1px var(--border-primary-dark);
|
|
}
|
|
|
|
.contact-suggestion-label {
|
|
margin-bottom: var(--spacing-05);
|
|
padding: 0 var(--spacing-07);
|
|
}
|
|
|
|
.contact-suggestion-list {
|
|
padding-left: 0;
|
|
list-style: none;
|
|
background-color: var(--white);
|
|
border-top: solid 1px var(--border-primary-dark);
|
|
border-bottom: solid 1px var(--border-primary-dark);
|
|
margin: 0;
|
|
|
|
li:last-child .contact-suggestion-list-item {
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
|
|
.contact-suggestion-list-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
color: var(--content-secondary);
|
|
padding: var(--spacing-05) var(--spacing-07);
|
|
border-bottom: solid 1px var(--border-divider);
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
background-color: var(--bg-light-secondary);
|
|
|
|
span {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.fa {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
.fa {
|
|
color: var(--neutral-30);
|
|
}
|
|
}
|
|
|
|
.contact-suggestions-dropdown {
|
|
width: calc(100% - 2 * var(--bs-modal-padding));
|
|
|
|
.dropdown-header {
|
|
@include body-sm;
|
|
|
|
padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
|
|
}
|
|
|
|
.dropdown-item {
|
|
white-space: normal;
|
|
}
|
|
|
|
.form-group + & {
|
|
margin-top: $spacing-02 - $form-group-margin-bottom;
|
|
}
|
|
}
|