summaryrefslogtreecommitdiff
path: root/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/labels.less
diff options
context:
space:
mode:
authorThomas Park <thomas@thomaspark.me>2013-11-12 15:34:23 -0500
committerThomas Park <thomas@thomaspark.me>2013-11-12 15:34:23 -0500
commit016d9a2ae924c3999ff9aa279511e32c0bfbe7bb (patch)
treec04189b0eed7025a6764360cbe3613c900353fe6 /bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/labels.less
parent61dab0661ba43d3192fa8c2945f7343df44049ed (diff)
update to fontawesome 4
Diffstat (limited to 'bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/labels.less')
-rwxr-xr-xbower_components/font-awesome/src/assets/less/bootstrap-3.0.0/labels.less58
1 files changed, 58 insertions, 0 deletions
diff --git a/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/labels.less b/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/labels.less
new file mode 100755
index 00000000..cad5ce51
--- /dev/null
+++ b/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/labels.less
@@ -0,0 +1,58 @@
+//
+// Labels
+// --------------------------------------------------
+
+.label {
+ display: inline;
+ padding: .2em .6em .3em;
+ font-size: 75%;
+ font-weight: bold;
+ line-height: 1;
+ color: @label-color;
+ text-align: center;
+ white-space: nowrap;
+ vertical-align: baseline;
+ border-radius: .25em;
+
+ // Add hover effects, but only for links
+ &[href] {
+ &:hover,
+ &:focus {
+ color: @label-link-hover-color;
+ text-decoration: none;
+ cursor: pointer;
+ }
+ }
+
+ // Empty labels collapse automatically (not available in IE8)
+ &:empty {
+ display: none;
+ }
+}
+
+// Colors
+// Contextual variations (linked labels get darker on :hover)
+
+.label-default {
+ .label-variant(@label-default-bg);
+}
+
+.label-primary {
+ .label-variant(@label-primary-bg);
+}
+
+.label-success {
+ .label-variant(@label-success-bg);
+}
+
+.label-info {
+ .label-variant(@label-info-bg);
+}
+
+.label-warning {
+ .label-variant(@label-warning-bg);
+}
+
+.label-danger {
+ .label-variant(@label-danger-bg);
+}