refactor: Move modal related style to modal.scss
This commit is contained in:
parent
76f67fbb3a
commit
92ea445721
2 changed files with 31 additions and 28 deletions
|
|
@ -49,34 +49,6 @@
|
|||
border: 0 !important;
|
||||
}
|
||||
|
||||
.modal {
|
||||
.form-section {
|
||||
padding: var(--padding-sm) 0;
|
||||
|
||||
&:not(:first-child) {
|
||||
border-top: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.form-column {
|
||||
&:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
&:last-child {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.section-head {
|
||||
padding: 0;
|
||||
font-size: var(--text-md);
|
||||
|
||||
&:not(.collapsed) {
|
||||
padding-bottom: var(--padding-sm);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.form-section.card-section,
|
||||
.form-dashboard-section {
|
||||
margin-bottom: var(--margin-lg);
|
||||
|
|
|
|||
|
|
@ -84,6 +84,37 @@ h5.modal-title {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.form-section {
|
||||
padding: var(--padding-sm) 0;
|
||||
|
||||
&:not(:first-child) {
|
||||
border-top: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
&.hide-border {
|
||||
border-top: none !important;
|
||||
padding-top: 0px !important;
|
||||
}
|
||||
|
||||
.form-column {
|
||||
&:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
&:last-child {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.section-head {
|
||||
padding: 0;
|
||||
font-size: var(--text-md);
|
||||
|
||||
&:not(.collapsed) {
|
||||
padding-bottom: var(--padding-sm);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.modal-minimize {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue