debian-mirror-gitlab/app/assets/stylesheets/framework/flash.scss

48 lines
736 B
SCSS
Raw Normal View History

2014-09-02 18:07:02 +05:30
.flash-container {
cursor: pointer;
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
.flash-notice {
2015-04-26 12:48:37 +05:30
@extend .alert;
@extend .alert-info;
margin: 0;
2014-09-02 18:07:02 +05:30
}
.flash-alert {
2015-04-26 12:48:37 +05:30
@extend .alert;
@extend .alert-danger;
margin: 0;
2014-09-02 18:07:02 +05:30
}
2016-08-24 12:49:21 +05:30
2017-08-17 22:00:37 +05:30
.flash-notice,
.flash-alert {
2016-08-24 12:49:21 +05:30
border-radius: $border-radius-default;
2016-11-03 12:29:30 +05:30
.container-fluid,
.container-fluid.container-limited {
2016-08-24 12:49:21 +05:30
background: transparent;
}
}
&.flash-container-page {
margin-bottom: 0;
2017-08-17 22:00:37 +05:30
.flash-notice,
.flash-alert {
2016-08-24 12:49:21 +05:30
border-radius: 0;
}
}
2014-09-02 18:07:02 +05:30
}
2016-08-24 12:49:21 +05:30
2017-08-17 22:00:37 +05:30
@media (max-width: $screen-sm-max) {
2016-08-24 12:49:21 +05:30
ul.notes {
.flash-container.timeline-content {
margin-left: 0;
}
}
}