]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fixed bug so that anchors in callouts have a different hover color 5948/head
authorTiff Ting <tiff.ting@gmail.com>
Sat, 18 Oct 2014 03:18:01 +0000 (22:18 -0500)
committerTiff Ting <tiff.ting@gmail.com>
Sat, 18 Oct 2014 03:18:01 +0000 (22:18 -0500)
scss/foundation/components/_panels.scss

index 3ce476f9aa23a46c070d0100c6e128a48d869ab2..b3018e32e059b882a1db79bc31d8c215d83c0e63 100644 (file)
@@ -28,6 +28,7 @@ $panel-font-color-alt: $white !default;
 
 $panel-header-adjust: true !default;
 $callout-panel-link-color: $primary-color !default;
+$callout-panel-link-color-hover: scale-color($callout-panel-link-color, $lightness: -14%) !default;
 //
 // @mixins
 //
@@ -82,6 +83,11 @@ $callout-panel-link-color: $primary-color !default;
         @include panel(scale-color($primary-color, $lightness: 94%));
         a:not(.button) {
           color: $callout-panel-link-color;
+
+          &:hover,
+          &:focus {
+            color: $callout-panel-link-color-hover;
+          }
         }
       }