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
870 B
53 lines
870 B
// |
|
// Badges |
|
// -------------------------------------------------- |
|
|
|
.badge { |
|
display: inline-block; |
|
padding: 2px 9px 3px; |
|
font-size: 12px; |
|
line-height: 1; |
|
color: #333; |
|
background-color: rgba(0,0,0,.15); |
|
border-radius: 100px; |
|
|
|
// Inverted badges have no background. |
|
&.badge-inverted { |
|
padding: 0 5px 0 0; |
|
background-color: transparent; |
|
} |
|
} |
|
|
|
|
|
// Badge modifiers |
|
// -------------------------------------------------- |
|
|
|
// Main badge |
|
.badge-primary { |
|
color: #fff; |
|
background-color: $primary-color; |
|
|
|
&.badge-inverted { |
|
color: $primary-color; |
|
} |
|
} |
|
|
|
// Positive badge |
|
.badge-positive { |
|
color: #fff; |
|
background-color: $positive-color; |
|
|
|
&.badge-inverted { |
|
color: $positive-color; |
|
} |
|
} |
|
|
|
// Negative badge |
|
.badge-negative { |
|
color: #fff; |
|
background-color: $negative-color; |
|
|
|
&.badge-inverted { |
|
color: $negative-color; |
|
} |
|
}
|
|
|