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

46 lines
700 B
SCSS
Raw Normal View History

2015-04-07 23:38:52 -04:00
.callout {
@extend .alert;
padding: 0px;
header {
color: $white;
2015-04-07 23:38:52 -04:00
padding: 0px ($unit * 2);
line-height: $unit * 3;
font-size: 13px;
2015-04-07 23:38:52 -04:00
font-weight: 500;
text-transform: uppercase;
}
p {
padding: $unit * 2;
margin: 0px;
font-size: 14px;
}
&.is-critical {
border-color: $red-700;
background: rgba($red-50, .24);
2015-04-07 23:38:52 -04:00
header {
background: $red-700;
2015-04-07 23:38:52 -04:00
}
}
&.is-important {
border-color: $amber-700;
background: rgba($amber-50, .24);
2015-04-07 23:38:52 -04:00
header {
background: $amber-700;
2015-04-07 23:38:52 -04:00
}
}
&.is-helpful {
border-color: $blue-600;
background: rgba($blue-50, .24);
2015-04-07 23:38:52 -04:00
header {
background: $blue-600;
2015-04-07 23:38:52 -04:00
}
}
}