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

82 lines
1.2 KiB
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
}
2018-03-27 19:54:05 +05:30
.flash-warning {
@extend .alert;
@extend .alert-warning;
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;
2017-09-10 17:25:29 +05:30
.flash-text,
.flash-action {
display: inline-block;
}
a.flash-action {
margin-left: 5px;
text-decoration: none;
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-normal;
2017-09-10 17:25:29 +05:30
border-bottom: 1px solid;
&:hover {
border-color: transparent;
}
}
2014-09-02 18:07:02 +05:30
}
2016-08-24 12:49:21 +05:30
2018-03-17 18:26:18 +05:30
.flash-success {
@extend .alert;
@extend .alert-success;
margin: 0;
}
2017-08-17 22:00:37 +05:30
.flash-notice,
2018-03-17 18:26:18 +05:30
.flash-alert,
.flash-success {
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,
2018-03-17 18:26:18 +05:30
.flash-alert,
.flash-success {
2016-08-24 12:49:21 +05:30
border-radius: 0;
}
}
2017-09-10 17:25:29 +05:30
&:empty {
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
@media (max-width: $screen-sm-max) {
2016-08-24 12:49:21 +05:30
ul.notes {
.flash-container.timeline-content {
margin-left: 0;
}
}
}