]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Nesting for link styles 9800/head
authorZlatan Vasović <legospace9876@gmail.com>
Sun, 18 Aug 2013 21:28:55 +0000 (23:28 +0200)
committerZlatan Vasović <legospace9876@gmail.com>
Sun, 18 Aug 2013 21:28:55 +0000 (23:28 +0200)
less/scaffolding.less

index 3a6ed3d99e013b1f0e233765696b90151a6bfde0..7f6d3bf3ac6c6eca5dcb5c0f275b143f6722304f 100644 (file)
@@ -54,14 +54,16 @@ textarea {
 a {
   color: @link-color;
   text-decoration: none;
-}
-a:hover,
-a:focus {
-  color: @link-hover-color;
-  text-decoration: underline;
-}
-a:focus {
-  .tab-focus();
+
+  &:hover,
+  &:focus {
+    color: @link-hover-color;
+    text-decoration: underline;
+  }
+
+  &:focus {
+    .tab-focus();
+  }
 }