]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Clean up Sticky CSS by removing unused code
authorGeoff Kimball <geoff@zurb.com>
Wed, 18 Nov 2015 00:13:27 +0000 (16:13 -0800)
committerGeoff Kimball <geoff@zurb.com>
Wed, 18 Nov 2015 00:54:59 +0000 (16:54 -0800)
scss/components/_sticky.scss

index 830ffcc3d9ce04088466a568ed8a05a4aed1982e..113e001177836a614051857d691528a1d256019c 100644 (file)
@@ -5,17 +5,12 @@
 @mixin foundation-sticky {
   .sticky-container {
     position: relative;
-
-    // &.right {
-    //   left: 100%;
-    // }
   }
 
   .sticky {
     position: absolute;
     z-index: 0;
     transform: translate3d(0,0,0);
-    // margin-top: 1em;
   }
 
   .sticky.is-stuck {
 
     &.is-at-top {
       top: 0;
-      // bottom: auto;
-      // margin-top: 1em !important;
     }
 
     &.is-at-bottom {
       bottom: 0;
-      // top: auto;
-      // margin-bottom: 1em;
     }
   }
 
@@ -42,8 +33,6 @@
 
     &.is-at-bottom {
       bottom: 0;
-      // top: 150%;
-      // margin-bottom: 1em;
     }
   }
 }