Skip to content

Commit

Permalink
feat: add styles for cat-dialog-pull-out class (#448)
Browse files Browse the repository at this point in the history
* feat: add styles for cat-dialog-pull-out class

* feat: add set of classes with styles for cat-dialog-pull

* feat: remove extra line

* feat: fix linter

* feat: fix linter

---------

Co-authored-by: anastasiia_glushkova <[email protected]>
  • Loading branch information
glushkova91 and anastasiia_glushkova authored Jan 24, 2024
1 parent 5912809 commit acba12b
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions core/src/styles/core/_dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,41 @@ $-dialog-padding: 1.5rem;
}
}
}

.cat-dialog-pull {
&.cat-dialog-header,
&.cat-dialog-actions {
margin: -#{$-dialog-padding};
}

.cat-dialog-content & {
margin-left: -#{$-dialog-padding};
margin-right: -#{$-dialog-padding};
}
}

.cat-dialog-pull-h {
margin-left: -#{$-dialog-padding};
margin-right: -#{$-dialog-padding};
}

.cat-dialog-pull-v {
margin-top: -#{$-dialog-padding};
margin-bottom: -#{$-dialog-padding};
}

.cat-dialog-pull-r {
margin-right: -#{$-dialog-padding};
}

.cat-dialog-pull-l {
margin-left: -#{$-dialog-padding};
}

.cat-dialog-pull-t {
margin-top: -#{$-dialog-padding};
}

.cat-dialog-pull-b {
margin-bottom: -#{$-dialog-padding};
}

0 comments on commit acba12b

Please sign in to comment.