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.
38 lines
682 B
38 lines
682 B
12 years ago
|
/* General count styles
|
||
|
-------------------------------------------------- */
|
||
|
|
||
|
[class*="count"] {
|
||
|
display: inline-block;
|
||
|
padding: 4px 9px;
|
||
|
font-size: 12px;
|
||
|
font-weight: bold;
|
||
|
line-height: 13px;
|
||
|
color: #fff;
|
||
|
background-color: rgba(0, 0, 0, .3);
|
||
|
border-radius: 100px;
|
||
|
}
|
||
|
|
||
|
/* Count modifiers
|
||
|
-------------------------------------------------- */
|
||
|
|
||
|
/* Overriding styles for counts with modifiers */
|
||
|
.count-main,
|
||
|
.count-positive,
|
||
|
.count-negative {
|
||
|
color: #fff;
|
||
|
}
|
||
|
|
||
|
/* Main count */
|
||
|
.count-main {
|
||
|
background-color: #1eafe7;
|
||
|
}
|
||
|
|
||
|
/* Positive count */
|
||
|
.count-positive {
|
||
11 years ago
|
background-color: #4cd964;
|
||
12 years ago
|
}
|
||
|
|
||
|
/* Negative count */
|
||
|
.count-negative {
|
||
|
background-color: #e71e1e;
|
||
|
}
|