aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/css
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-02-17 22:20:49 -0800
committerMark Otto <[email protected]>2013-02-17 22:20:49 -0800
commitacdffe696cf29f51c659a18eeca304512ff47048 (patch)
tree978b61ac4f776eb56a02d181d4180a383a76885c /docs/assets/css
parentf6ec2c5dac371b0b1d56abd65be548ee5ed075c8 (diff)
downloadbootstrap-acdffe696cf29f51c659a18eeca304512ff47048.tar.xz
bootstrap-acdffe696cf29f51c659a18eeca304512ff47048.zip
Bring back the label, make it scale somewhat with the font-size of the parent using percentages and ems
Diffstat (limited to 'docs/assets/css')
-rw-r--r--docs/assets/css/bootstrap.css52
1 files changed, 52 insertions, 0 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index db65570fc..cb8482a9f 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -4263,6 +4263,58 @@ a.thumbnail:focus {
list-style: none;
}
+.label {
+ padding: .25em .6em;
+ font-size: 75%;
+ font-weight: 500;
+ line-height: 1;
+ color: #fff;
+ text-align: center;
+ white-space: nowrap;
+ vertical-align: middle;
+ background-color: #999999;
+ border-radius: .25em;
+}
+
+a.label:hover,
+a.label:focus {
+ color: #fff;
+ text-decoration: none;
+ cursor: pointer;
+}
+
+.label-danger {
+ background-color: #d9534f;
+}
+
+.label-danger[href] {
+ background-color: #c9302c;
+}
+
+.label-warning {
+ background-color: #f0ad4e;
+}
+
+.label-warning[href] {
+ background-color: #ec971f;
+}
+
+.label-success {
+ background-color: #5cb85c;
+}
+
+.label-success[href] {
+ background-color: #449d44;
+}
+
+.label-info {
+ background-color: #5bc0de;
+}
+
+.label-info[href] {
+ background-color: #31b0d5;
+}
+
.badge {
display: inline-block;
min-width: 10px;