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