mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 10:43:57 +08:00
f72899401d
This PR refactors the following: * leaving all the CSS applied to the old `modal-body` classes in their respective files * made new clean styling for `.d-modal` and refactored the template to use the new BEM classes * `inner-`, `middle-`, `outer-` container classes are gone and replaced with simplified `wrapper` and `container` classes * use standardised max-sizes with modifiers `-large` and `-max` * lighter backdrop, * min-width to prevent puny modals * other styling changes regarding padding, close button,… * pulled out all modal overrides into a general `modal-overrides` file + cleanup of outdated CSS * pulled out login and create account modal styling into their own file, cause it's such a big override * removed old general login.scss file for mobile & desktop * only kept some remainders I don't want to touch in `app/assets/stylesheets/common/base/login.scss`
65 lines
961 B
SCSS
65 lines
961 B
SCSS
.bookmark-reminder-modal {
|
|
.d-modal {
|
|
&__body {
|
|
box-sizing: border-box;
|
|
|
|
.control-label {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.ember-text-field.bookmark-name {
|
|
width: 100%;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
}
|
|
&__footer {
|
|
margin: 0;
|
|
|
|
.delete-bookmark {
|
|
margin-left: auto;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.existing-reminder-at-alert {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
|
|
.d-icon {
|
|
margin-right: 1em;
|
|
}
|
|
}
|
|
|
|
.bookmark-name-wrap {
|
|
display: inline-flex;
|
|
width: 100%;
|
|
align-items: end;
|
|
}
|
|
|
|
.bookmark-options-button {
|
|
margin-left: 0.5em;
|
|
margin-bottom: 0.5em;
|
|
background: transparent;
|
|
padding: 6px;
|
|
}
|
|
|
|
.bookmark-options-panel {
|
|
.select-kit {
|
|
width: 100%;
|
|
}
|
|
|
|
margin-bottom: 18px;
|
|
|
|
label {
|
|
display: flex;
|
|
|
|
span {
|
|
display: block;
|
|
flex: 1;
|
|
}
|
|
}
|
|
}
|
|
}
|