angular-docs-cn/public/resources/css/module/_alert.scss

25 lines
422 B
SCSS
Raw Normal View History

2015-03-04 08:21:10 -05:00
.alert {
border-width: 2px;
border-style: solid;
padding: $unit ($unit * 2);
line-height: $unit * 4;
font-size: 14px;
border-radius: 4px;
color: $steel;
margin-bottom: $unit * 2;
&.is-critical {
border-color: $cardinal;
background: $peach;
}
&.is-important {
border-color: $citrus;
background: $sand;
}
&.is-helpful {
border-color: $blueberry;
background: $light;
}
}