diff options
Diffstat (limited to 'app/assets/stylesheets/framework/flash.scss')
-rw-r--r-- | app/assets/stylesheets/framework/flash.scss | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/app/assets/stylesheets/framework/flash.scss b/app/assets/stylesheets/framework/flash.scss index b51daf0e4dc..b63365e8159 100644 --- a/app/assets/stylesheets/framework/flash.scss +++ b/app/assets/stylesheets/framework/flash.scss @@ -46,12 +46,14 @@ $notification-box-shadow-color: rgba(0, 0, 0, 0.25); .flash-notice, .flash-success, .flash-warning { - padding: $gl-padding $gl-padding-32 $gl-padding ($gl-padding + $gl-padding-4); - margin-top: 10px; - - .container-fluid, - .container-fluid.container-limited { - background: transparent; + &:not(.gl-alert) { + padding: $gl-padding $gl-padding-32 $gl-padding ($gl-padding + $gl-padding-4); + margin-top: 10px; + + .container-fluid, + .container-fluid.container-limited { + background: transparent; + } } } @@ -79,6 +81,19 @@ $notification-box-shadow-color: rgba(0, 0, 0, 0.25); .gl-alert { @include gl-my-4; } + + &.flash-container-no-margin { + .gl-alert { + @include gl-my-0; + } + + .flash-alert, + .flash-notice, + .flash-success, + .flash-warning { + @include gl-mt-0; + } + } } @include media-breakpoint-down(sm) { |