app/assets/sass/components/_badge.scss: adding contextual colors.
This commit is contained in:
parent
e53f0a2366
commit
42f3a60817
1 changed files with 28 additions and 0 deletions
|
|
@ -11,8 +11,36 @@
|
|||
display: none;
|
||||
}
|
||||
|
||||
// Contextual colors
|
||||
// ----------------------------------
|
||||
|
||||
&-default {
|
||||
color: white;
|
||||
background-color: $gray;
|
||||
}
|
||||
|
||||
&-primary {
|
||||
color: white;
|
||||
background-color: $brand-color;
|
||||
}
|
||||
|
||||
&-info {
|
||||
color: white;
|
||||
background-color: $brand-info;
|
||||
}
|
||||
|
||||
&-success {
|
||||
color: white;
|
||||
background-color: $brand-success;
|
||||
}
|
||||
|
||||
&-warning {
|
||||
color: black;
|
||||
background-color: $brand-warning;
|
||||
}
|
||||
|
||||
&-danger {
|
||||
color: white;
|
||||
background-color: $brand-danger;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue