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