assets/css/scss/components/_modals.scss
Line should be indented with spaces, not tabs Open
Open
.modal-content {
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&:before {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
div.modal-backdrop { z-index: 2049 !important; }
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.modal-body {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.modal-header {
- Exclude checks
!important should not be used Open
Open
padding: 32px 10px 0 !important;
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
body.modal-open {
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
div.modal-backdrop { z-index: 2049 !important; }
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.caldera-modal-body {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.modal-dialog {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
z-index: 2050;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
padding: 32px 10px 0 !important;
- Exclude checks
Shorthand form for property margin
should be written more concisely as 0 0 20px
instead of 0 0 20px 0
Open
Open
.modal-title { margin: 0 0 20px 0; }
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.remodal-close {
- Exclude checks
!important should not be used Open
Open
div.modal-backdrop { z-index: 2049 !important; }
- Exclude checks
Properties should be ordered display, flex-direction, justify-content, min-height, overflow, padding-right Open
Open
padding-right: 14px;
- Exclude checks
Shorthand form for property padding
should be written more concisely as 0 0 20px
instead of 0 0 20px 0
Open
Open
padding: 0 0 20px 0;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.close {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.modal-title { margin: 0 0 20px 0; }
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.remodal {
- Exclude checks