summaryrefslogtreecommitdiff
path: root/xstatic/pkg/bootstrap_scss/data/scss/bootstrap/_labels.scss
diff options
context:
space:
mode:
authorRadomir Dopieralski <openstack@sheep.art.pl>2014-07-30 14:51:49 +0200
committerRadomir Dopieralski <openstack@sheep.art.pl>2014-08-12 12:38:38 +0200
commit11ee24aa9192061a1bac3e58ad1d5ebb2bf4d85f (patch)
tree37179461676ea3f08343cb0d813a2bc0219ed3f6 /xstatic/pkg/bootstrap_scss/data/scss/bootstrap/_labels.scss
parentd81b7b71c6c088406e90d1bdba0e10f0a304bbdc (diff)
downloadxstatic-bootstrap-scss-11ee24aa9192061a1bac3e58ad1d5ebb2bf4d85f.tar.gz
Version 3.2.0
Change-Id: I886276a578c0d130e87d87eb1ca1378141231aaa
Diffstat (limited to 'xstatic/pkg/bootstrap_scss/data/scss/bootstrap/_labels.scss')
-rw-r--r--xstatic/pkg/bootstrap_scss/data/scss/bootstrap/_labels.scss20
1 files changed, 11 insertions, 9 deletions
diff --git a/xstatic/pkg/bootstrap_scss/data/scss/bootstrap/_labels.scss b/xstatic/pkg/bootstrap_scss/data/scss/bootstrap/_labels.scss
index 8353eb1..42ed6ea 100644
--- a/xstatic/pkg/bootstrap_scss/data/scss/bootstrap/_labels.scss
+++ b/xstatic/pkg/bootstrap_scss/data/scss/bootstrap/_labels.scss
@@ -14,15 +14,7 @@
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;
- }
- }
+ // [converter] extracted a& to a.label
// Empty labels collapse automatically (not available in IE8)
&:empty {
@@ -36,6 +28,16 @@
}
}
+// Add hover effects, but only for links
+a.label {
+ &:hover,
+ &:focus {
+ color: $label-link-hover-color;
+ text-decoration: none;
+ cursor: pointer;
+ }
+}
+
// Colors
// Contextual variations (linked labels get darker on :hover)