refactor: Move modal related style to modal.scss

This commit is contained in:
Suraj Shetty 2020-12-07 13:39:51 +05:30
parent 76f67fbb3a
commit 92ea445721
2 changed files with 31 additions and 28 deletions

View file

@ -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);

View file

@ -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 {