]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add default flags to Sass variables in pagination missing them, fixes #7076
authorGeoff Kimball <geoff@zurb.com>
Fri, 20 Nov 2015 21:24:52 +0000 (13:24 -0800)
committerGeoff Kimball <geoff@zurb.com>
Fri, 20 Nov 2015 21:24:52 +0000 (13:24 -0800)
scss/components/_pagination.scss

index b296ca71aaafd8850ae4a6593320f1e1903319bf..9d3ef46710cc21d0d26dd91e130d958ac0f85afa 100644 (file)
@@ -8,7 +8,7 @@
 
 /// Font size of pagination items.
 /// @type Number
-$pagination-font-size: rem-calc(14);
+$pagination-font-size: rem-calc(14) !default;
 
 /// Default bottom margin of the media object.
 /// @type Number
@@ -16,47 +16,47 @@ $pagination-margin-bottom: $global-margin !default;
 
 /// Text color of pagination items.
 /// @type Color
-$pagination-item-color: $black;
+$pagination-item-color: $black !default;
 
 /// Padding inside of pagination items.
 /// @type Number
-$pagination-item-padding: rem-calc(3 10);
+$pagination-item-padding: rem-calc(3 10) !default;
 
 /// Right margin to separate pagination items.
 /// @type Number
-$pagination-item-spacing: rem-calc(1);
+$pagination-item-spacing: rem-calc(1) !default;
 
 /// Default radius for pagination items.
 /// @type Number
-$pagination-radius: $global-radius;
+$pagination-radius: $global-radius !default;
 
 /// Background color of pagination items on hover.
 /// @type Color
-$pagination-item-background-hover: $light-gray;
+$pagination-item-background-hover: $light-gray !default;
 
 /// Background color of pagination item for the current page.
 /// @type Color
-$pagination-item-background-current: $primary-color;
+$pagination-item-background-current: $primary-color !default;
 
 /// Text color of the pagination item for the current page.
 /// @type Color
-$pagination-item-color-current: foreground($pagination-item-background-current);
+$pagination-item-color-current: foreground($pagination-item-background-current) !default;
 
 /// Text color of a disabled pagination item.
 /// @type Color
-$pagination-item-color-disabled: $medium-gray;
+$pagination-item-color-disabled: $medium-gray !default;
 
 /// Color of the ellipsis in a pagination menu.
 /// @type Color
-$pagination-ellipsis-color: $black;
+$pagination-ellipsis-color: $black !default;
 
 /// If `false`, don't display page number links on mobile, only next/previous links.
 /// @type Boolean
-$pagination-mobile-items: false;
+$pagination-mobile-items: false !default;
 
 /// If `true`, arrows are added to the next and previous links of pagination.
 /// @type Boolean
-$pagination-arrows: true;
+$pagination-arrows: true !default;
 
 /// Adds styles for a pagination container. Apply this to a `<ul>`.
 @mixin pagination-container {