gitlab-org--gitlab-foss/app/assets/stylesheets/framework/banner.scss

41 lines
669 B
SCSS
Raw Normal View History

2017-10-16 12:16:42 -04:00
.banner-callout {
display: flex;
position: relative;
2018-03-29 09:19:28 -04:00
align-items: start;
2017-10-16 12:16:42 -04:00
.banner-close {
position: absolute;
top: 10px;
right: 10px;
opacity: 1;
.dismiss-icon {
color: $gl-text-color;
font-size: $gl-font-size;
}
}
.banner-graphic {
2018-04-05 13:35:56 -04:00
margin: 0 $gl-padding $gl-padding 0;
2017-10-16 12:16:42 -04:00
}
&.banner-non-empty-state {
border-bottom: 1px solid $border-color;
}
2018-03-29 09:19:28 -04:00
@include media-breakpoint-down(xs) {
2018-04-03 12:31:55 -04:00
justify-content: center;
2018-04-05 13:35:56 -04:00
flex-direction: column;
align-items: center;
2018-04-03 12:31:55 -04:00
.banner-title,
.banner-buttons {
text-align: center;
}
2018-03-29 09:19:28 -04:00
2018-04-03 12:31:55 -04:00
.banner-graphic {
2018-04-05 15:52:38 -04:00
margin-left: $gl-padding;
2018-04-03 12:31:55 -04:00
}
2018-03-29 09:19:28 -04:00
}
2017-10-16 12:16:42 -04:00
}