2019-09-03 09:03:35 +00:00
|
|
|
$notification-box-shadow-color: rgba(0, 0, 0, 0.25);
|
|
|
|
|
2014-02-20 11:51:22 +00:00
|
|
|
.flash-container {
|
2019-11-15 12:06:12 +00:00
|
|
|
margin: 0;
|
2016-06-21 21:10:24 +00:00
|
|
|
margin-bottom: $gl-padding;
|
2014-02-20 11:51:22 +00:00
|
|
|
font-size: 14px;
|
2016-09-29 15:54:45 +00:00
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
2014-02-20 11:51:22 +00:00
|
|
|
|
2019-09-03 09:03:35 +00:00
|
|
|
&.sticky {
|
|
|
|
position: sticky;
|
|
|
|
top: $flash-container-top;
|
2019-09-19 21:06:29 +00:00
|
|
|
z-index: 251;
|
2020-10-27 15:08:39 +00:00
|
|
|
|
|
|
|
.flash-alert,
|
|
|
|
.flash-notice,
|
|
|
|
.flash-success,
|
|
|
|
.flash-warning {
|
|
|
|
@include gl-mb-4;
|
|
|
|
}
|
2019-11-08 12:06:32 +00:00
|
|
|
}
|
2019-09-03 09:03:35 +00:00
|
|
|
|
2019-11-08 12:06:32 +00:00
|
|
|
&.flash-container-page {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:empty {
|
|
|
|
margin: 0;
|
2019-09-03 09:03:35 +00:00
|
|
|
}
|
|
|
|
|
2019-10-02 00:06:26 +00:00
|
|
|
.close-icon-wrapper {
|
2019-11-08 12:06:32 +00:00
|
|
|
padding: ($gl-padding + $gl-padding-4) $gl-padding $gl-padding;
|
2019-09-03 09:03:35 +00:00
|
|
|
position: absolute;
|
2019-10-02 00:06:26 +00:00
|
|
|
right: 0;
|
|
|
|
top: 0;
|
2019-11-08 12:06:32 +00:00
|
|
|
bottom: 0;
|
2019-10-02 00:06:26 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
.close-icon {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
2019-09-03 09:03:35 +00:00
|
|
|
}
|
|
|
|
|
2019-06-05 17:53:10 +00:00
|
|
|
.flash-alert,
|
2019-11-08 12:06:32 +00:00
|
|
|
.flash-notice,
|
2019-06-05 17:53:10 +00:00
|
|
|
.flash-success,
|
|
|
|
.flash-warning {
|
2019-11-08 12:06:32 +00:00
|
|
|
padding: $gl-padding $gl-padding-32 $gl-padding ($gl-padding + $gl-padding-4);
|
2019-11-15 12:06:12 +00:00
|
|
|
margin-top: 10px;
|
2019-06-05 17:53:10 +00:00
|
|
|
|
|
|
|
.container-fluid,
|
|
|
|
.container-fluid.container-limited {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-08 12:06:32 +00:00
|
|
|
.flash-alert {
|
|
|
|
background-color: $red-100;
|
|
|
|
color: $red-700;
|
|
|
|
}
|
2018-06-18 18:22:49 +00:00
|
|
|
|
2019-11-08 12:06:32 +00:00
|
|
|
.flash-notice {
|
|
|
|
background-color: $blue-100;
|
|
|
|
color: $blue-700;
|
|
|
|
}
|
2018-06-18 18:22:49 +00:00
|
|
|
|
2019-11-08 12:06:32 +00:00
|
|
|
.flash-success {
|
|
|
|
background-color: $theme-green-100;
|
|
|
|
color: $green-700;
|
2014-02-20 11:51:22 +00:00
|
|
|
}
|
|
|
|
|
2018-03-06 22:54:19 +00:00
|
|
|
.flash-warning {
|
2020-09-09 06:08:55 +00:00
|
|
|
background-color: $orange-50;
|
|
|
|
color: $gray-900;
|
2019-07-29 16:43:43 +00:00
|
|
|
cursor: default;
|
2018-03-06 22:54:19 +00:00
|
|
|
}
|
|
|
|
|
2018-11-27 14:52:13 +00:00
|
|
|
.flash-text,
|
|
|
|
.flash-action {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2016-06-21 21:10:24 +00:00
|
|
|
}
|
|
|
|
|
2018-04-09 15:26:28 +00:00
|
|
|
@include media-breakpoint-down(sm) {
|
2016-06-21 21:10:24 +00:00
|
|
|
ul.notes {
|
|
|
|
.flash-container.timeline-content {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2014-02-20 11:51:22 +00:00
|
|
|
}
|
2019-09-03 09:03:35 +00:00
|
|
|
|
|
|
|
.gl-browser-ie .flash-container {
|
|
|
|
position: fixed;
|
|
|
|
max-width: $limited-layout-width;
|
|
|
|
left: 50%;
|
|
|
|
|
|
|
|
.flash-alert {
|
|
|
|
position: relative;
|
|
|
|
left: -50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-18 14:02:45 +00:00
|
|
|
.with-system-header .flash-container.sticky {
|
2019-09-03 09:03:35 +00:00
|
|
|
top: $flash-container-top + $system-header-height;
|
|
|
|
}
|
|
|
|
|
|
|
|
.with-performance-bar {
|
2019-09-18 14:02:45 +00:00
|
|
|
.flash-container.sticky {
|
2019-09-03 09:03:35 +00:00
|
|
|
top: $flash-container-top + $performance-bar-height;
|
|
|
|
}
|
|
|
|
|
2019-09-18 14:02:45 +00:00
|
|
|
&.with-system-header .flash-container.sticky {
|
2019-09-03 09:03:35 +00:00
|
|
|
top: $flash-container-top + $performance-bar-height + $system-header-height;
|
|
|
|
}
|
|
|
|
}
|