Build mobile apps with simple HTML, CSS, and JS components. http://goratchet.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
870 B

//
// Badges
// --------------------------------------------------
.badge {
display: inline-block;
padding: 2px 9px 3px;
font-size: 12px;
11 years ago
line-height: 1;
color: #333;
11 years ago
background-color: rgba(0,0,0,.15);
border-radius: 100px;
11 years ago
// Inverted badges have no background.
11 years ago
&.badge-inverted {
11 years ago
padding: 0 5px 0 0;
11 years ago
background-color: transparent;
}
}
// Badge modifiers
// --------------------------------------------------
// Main badge
.badge-primary {
11 years ago
color: #fff;
background-color: $primary-color;
11 years ago
&.badge-inverted {
color: $primary-color;
}
}
// Positive badge
.badge-positive {
11 years ago
color: #fff;
background-color: $positive-color;
11 years ago
&.badge-inverted {
color: $positive-color;
}
}
// Negative badge
.badge-negative {
11 years ago
color: #fff;
background-color: $negative-color;
11 years ago
&.badge-inverted {
color: $negative-color;
}
}