scratch-www/src/views/preview/banner.scss
2019-01-23 09:18:40 -05:00

55 lines
1.1 KiB
SCSS

@import "../../colors";
$navigation-height: 50px;
.banner-outer {
display: flex;
background-color: $ui-orange-25percent;
width: 100%;
min-height: 4rem;
overflow: hidden;
color: $ui-orange-high-contrast;
font-size: .875rem;
font-weight: bold;
align-self: center;
}
.banner-outer.banner-danger {
background-color: $ui-orange-25percent;
color: $ui-orange-high-contrast;
}
.banner-outer.banner-success {
background-color: $ui-green-35percent;
color: $ui-mint-green;
}
.banner-inner {
padding-top: .325rem;
padding-bottom: .325rem;
align-items: center;
justify-content: space-between;
flex-wrap: nowrap;
}
.banner-text {
padding: .625rem 0;
max-width: 50rem;
line-height: 1.25rem;
}
.banner-button {
border-radius: .25rem;
background-color: $ui-orange;
padding-top: .6875rem;
padding-bottom: .75rem;
min-width: 6rem;
max-width: 16rem;
min-height: 2.5rem;
max-height: 6rem;
font-size: .875rem;
}
.banner-danger .banner-button {
background-color: $ui-red;
}