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

68 lines
1 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
}
.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;
font-weight: normal;
border-bottom: 1px solid;
&:hover {
border-color: transparent;
}
}
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;
}
}
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;
}
}
}