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

55 lines
840 B
SCSS
Raw Normal View History

2017-08-17 22:00:37 +05:30
.broadcast-message {
2020-03-13 15:44:24 +05:30
padding: $gl-padding-8;
2017-08-17 22:00:37 +05:30
div,
p {
display: inline;
margin: 0;
a {
color: inherit;
text-decoration: underline;
}
}
}
2020-03-13 15:44:24 +05:30
.broadcast-banner-message {
@extend .broadcast-message;
@extend .alert-warning;
text-align: center;
2020-04-08 14:13:33 +05:30
.broadcast-message-dismiss {
color: inherit;
}
2020-03-13 15:44:24 +05:30
}
.broadcast-notification-message {
2017-08-17 22:00:37 +05:30
@extend .broadcast-message;
2020-03-13 15:44:24 +05:30
position: fixed;
bottom: $gl-padding;
right: $gl-padding;
max-width: 300px;
width: auto;
background: $white-light;
border: 1px solid $gray-200;
box-shadow: 0 1px 2px 0 rgba($black, 0.1);
border-radius: $border-radius-default;
z-index: 999;
&.preview {
position: static;
}
2020-04-08 14:13:33 +05:30
.broadcast-message-dismiss {
height: 100%;
color: $gray-800;
}
2017-08-17 22:00:37 +05:30
}
2018-11-08 19:23:39 +05:30
.toggle-colors {
input {
min-height: 34px;
}
}