mirror of https://github.com/twbs/ratchet.git
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.
53 lines
825 B
53 lines
825 B
11 years ago
|
//
|
||
|
// Badges
|
||
|
// --------------------------------------------------
|
||
|
|
||
11 years ago
|
.badge {
|
||
11 years ago
|
display: inline-block;
|
||
11 years ago
|
padding: 2px 9px;
|
||
|
font-size: 13px;
|
||
|
line-height: 1;
|
||
11 years ago
|
color: #333;
|
||
11 years ago
|
background-color: rgba(0,0,0,.15);
|
||
|
border-radius: 100px;
|
||
11 years ago
|
|
||
11 years ago
|
&.badge-inverted {
|
||
11 years ago
|
padding: 0 5px 0 0;
|
||
11 years ago
|
background-color: transparent;
|
||
11 years ago
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
// Badge modifiers
|
||
|
// --------------------------------------------------
|
||
|
|
||
|
// Main badge
|
||
|
.badge-primary {
|
||
11 years ago
|
color: #fff;
|
||
|
background-color: $primary-color;
|
||
11 years ago
|
|
||
11 years ago
|
&.badge-inverted {
|
||
|
color: $primary-color;
|
||
11 years ago
|
}
|
||
|
}
|
||
|
|
||
|
// Positive badge
|
||
|
.badge-positive {
|
||
11 years ago
|
color: #fff;
|
||
|
background-color: $positive-color;
|
||
11 years ago
|
|
||
11 years ago
|
&.badge-inverted {
|
||
|
color: $positive-color;
|
||
11 years ago
|
}
|
||
|
}
|
||
|
|
||
|
// Negative badge
|
||
|
.badge-negative {
|
||
11 years ago
|
color: #fff;
|
||
|
background-color: $negative-color;
|
||
11 years ago
|
|
||
11 years ago
|
&.badge-inverted {
|
||
|
color: $negative-color;
|
||
11 years ago
|
}
|
||
|
}
|