Files
notifications-admin/app/assets/stylesheets/components/banner.scss
Chris Hill-Scott 1e0f5c27b9 Add link to delete a template
This is a link not a button because:
- it’s less prominent—delete is an infrequent action
- it’s a two-step process, and only the second part changes any data (so it has
  a button)
2016-01-14 10:59:51 +00:00

47 lines
686 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-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;
}
}