mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-31 19:54:57 -04:00
For the hack day, we should only let developers use the platform in restricted mode. This commit adds a banner telling them this. Can’t get the app running locally, so fingers crossed it actually looks how I imagine it’s going to look…
53 lines
767 B
SCSS
53 lines
767 B
SCSS
%banner,
|
|
.banner {
|
|
|
|
@include core-19;
|
|
background: $turquoise;
|
|
color: $white;
|
|
display: block;
|
|
padding: $gutter-half;
|
|
margin: 0 0 $gutter 0;
|
|
text-align: center;
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.banner-with-tick {
|
|
|
|
@extend %banner;
|
|
padding: $gutter-half $gutter;
|
|
|
|
&: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;
|
|
}
|
|
|
|
}
|