Adds important callout (#2630)
Signed-off-by: Fanit Kolchina <[email protected]>
This commit is contained in:
@@ -128,7 +128,7 @@ img {
|
||||
border: 1px solid $grey-lt-300;
|
||||
}
|
||||
|
||||
// Note, tip, and warning blocks
|
||||
// Note, tip, important, and warning blocks
|
||||
%callout {
|
||||
border: 1px solid $grey-lt-300;
|
||||
border-radius: 5px;
|
||||
@@ -147,6 +147,11 @@ img {
|
||||
border-left: 5px solid $green-100;
|
||||
}
|
||||
|
||||
.important {
|
||||
@extend %callout;
|
||||
border-left: 5px solid $yellow-000;
|
||||
}
|
||||
|
||||
.warning {
|
||||
@extend %callout;
|
||||
border-left: 5px solid $red-100;
|
||||
|
||||
Reference in New Issue
Block a user