summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/flash.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/framework/flash.scss')
-rw-r--r--app/assets/stylesheets/framework/flash.scss18
1 files changed, 11 insertions, 7 deletions
diff --git a/app/assets/stylesheets/framework/flash.scss b/app/assets/stylesheets/framework/flash.scss
index 7e7b08797b2..8fc2fd5f53b 100644
--- a/app/assets/stylesheets/framework/flash.scss
+++ b/app/assets/stylesheets/framework/flash.scss
@@ -1,7 +1,6 @@
$notification-box-shadow-color: rgba(0, 0, 0, 0.25);
.flash-container {
- cursor: pointer;
margin: 0;
margin-bottom: $gl-padding;
font-size: 14px;
@@ -12,19 +11,24 @@ $notification-box-shadow-color: rgba(0, 0, 0, 0.25);
position: sticky;
position: -webkit-sticky;
top: $flash-container-top;
- z-index: 200;
+ z-index: 251;
.flash-content {
box-shadow: 0 2px 4px 0 $notification-box-shadow-color;
}
}
- .close-icon {
- width: 16px;
- height: 16px;
+ .close-icon-wrapper {
+ padding: ($gl-btn-padding + $gl-padding-4) $gl-padding $gl-btn-padding;
position: absolute;
- right: $gl-padding;
- top: $gl-padding;
+ right: 0;
+ top: 0;
+ cursor: pointer;
+
+ .close-icon {
+ width: 16px;
+ height: 16px;
+ }
}
.flash-notice,