Files
notifications-admin/app/assets/stylesheets/components/banner.scss
Chris Hill-Scott 686c4127cd Various tweaks
- remove black border from banner
- make banners have internal columns
- make nav 2/3rd width, 19px text and more spaced out
- only show the ‘restricted mode’ banner where it’s needed
- rename ‘restricted mode’ to ‘trial mode’
2016-02-02 15:01:17 +00:00

69 lines
1019 B
SCSS

%banner,
.banner,
.banner-default {
@include core-19;
background: $turquoise;
color: $white;
display: block;
padding: $gutter-half;
margin: $gutter-half 0 $gutter 0;
text-align: left;
position: relative;
}
.banner-with-tick {
@extend %banner;
padding: $gutter-half ($gutter + $gutter-half);
&:before {
@include core-24;
content: '';
position: absolute;
top: $gutter-half;
left: $gutter-half;
margin-top: -2px;
}
}
.banner-info {
@extend .banner;
background: $govuk-blue;
color: $white;
}
.banner-dangerous {
@extend .banner;
background: $white;
color: $error-colour;
border: 5px solid $error-colour;
margin: 15px 0;
@include bold-19;
text-align: left;
.button {
@include button($error-colour);
margin-top: 10px;
}
}
.banner-tip {
@extend .banner;
background: $yellow;
color: $text-colour;
text-align: left;
font-weight: bold;
a:link, a:visited {
color: $text-colour;
text-decoration: underline;
}
}