From acba12b1a2efba2c45cca907707a9c05ac2f4c8e Mon Sep 17 00:00:00 2001 From: glushkova91 Date: Wed, 24 Jan 2024 17:06:10 +0100 Subject: [PATCH] feat: add styles for cat-dialog-pull-out class (#448) * 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 --- core/src/styles/core/_dialog.scss | 38 +++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/core/src/styles/core/_dialog.scss b/core/src/styles/core/_dialog.scss index a5570fbb..1c79f189 100644 --- a/core/src/styles/core/_dialog.scss +++ b/core/src/styles/core/_dialog.scss @@ -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}; +}