This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | .icon { | |
| @each $sprite in $spritesheet-sprites { | |
| $spritename: nth($sprite, 10); | |
| &__#{$spritename} { | |
| @include sprite($sprite); | |
| } | |
| } | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | %icon-container { | |
| position: relative; | |
| & > * { | |
| position: absolute; | |
| display: block; | |
| top: 0; | |
| right: 0; | |
| bottom: 0; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | @mixin triangle($direction, $size: 6px, $color: #222){ | |
| content: ''; | |
| display: block; | |
| position: absolute; | |
| height: 0; width: 0; | |
| @if ($direction == 'up'){ | |
| border-bottom: $size solid $color; | |
| border-left: 1/2*$size solid transparent; | |
| border-right: 1/2*$size solid transparent; | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | @mixin pseudoIcon($gap, $direction: left) { | |
| @if ($direction == 'left') { | |
| $pseudoElement: before; | |
| } | |
| @else if ($direction == 'right'){ | |
| $pseudoElement: after; | |
| } | |
| @else { | |
| @error "+pseudoIcon: wrong direction"; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | @mixin showOnParentHover($parent, $duration: 0.3s) { | |
| & { | |
| visibility: hidden; | |
| opacity: 0; | |
| transition: opacity 0.2s, visibility 0.2s; | |
| } | |
| @at-root .#{$parent}:hover & { | |
| visibility: visible; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | if (document.documentElement.closest === undefined) { | |
| Element.prototype.closest = function (css) { | |
| var elem = this; | |
| do { | |
| if (elem.matches(css)) return elem; | |
| elem = elem.parentElement; | |
| } while (elem); | |
| } | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | var getPageScroll = (window.pageXOffset !== undefined) ? | |
| function () { | |
| return { | |
| top: pageYOffset, | |
| left: pageXOffset | |
| } | |
| } : function () { | |
| var html = document.documentElement; | |
| var body = document.body; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | var resizeID; | |
| window.addEventListener("resize", function () { | |
| clearTimeout(resizeID); | |
| resizeID = setTimeout(resizeHandler, 500); | |
| }); | |
| function resizeHandler() { | |
| /* ... */ | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | function getClass(obj) { | |
| return {}.toString.call(obj).slice(8, -1); | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | function copyToClipboard(text) { | |
| var el = document.createElement('textarea'); | |
| el.style.position = 'absolute'; | |
| el.style.left = '-9999px'; | |
| el.setAttribute('readonly', ''); | |
| el.value = text; | |
| document.body.appendChild(el); | |
| el.select(); |