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
| 'use strict'; | |
| var gulp = require('gulp'), | |
| watch = require('gulp-watch'), | |
| prefixer = require('gulp-autoprefixer'), | |
| uglify = require('gulp-uglify'), | |
| sass = require('gulp-sass'), | |
| sourcemaps = require('gulp-sourcemaps'), | |
| rigger = require('gulp-rigger'), | |
| cssmin = require('gulp-minify-css'), |
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
| //scrollTo | |
| function scrollIt(destination, duration = 200, easing = 'linear', callback) { | |
| const easings = { | |
| linear(t) { | |
| return t; | |
| }, | |
| easeInQuad(t) { | |
| return t * t; | |
| }, |
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
| .b-scrolltop { | |
| position: fixed; | |
| z-index: 999; | |
| width: 40px; | |
| height: 40px; | |
| left: 20px; | |
| bottom: -100px; | |
| background-color: #f00; | |
| cursor: pointer; | |
| -webkit-transition: bottom 0.3s ease-out; |
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
| .b-cols > [class^="cols__col-"] { | |
| width: 100%; | |
| } | |
| .b-cols .cols__col-mobile-1-12 { | |
| width: calc((100% / 12) * 1); | |
| } | |
| .b-cols .cols__col-mobile-2-12 { | |
| width: calc((100% / 12) * 2); | |
| } | |
| .b-cols .cols__col-mobile-3-12 { |
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
| /*- https://github.com/iKristjan/bootstrap-responsive-table-scrolling-shadows -*/ | |
| .table-responsive { | |
| background: | |
| radial-gradient(farthest-side at 0% 50%, rgba(0,0,0,.2), rgba(0,0,0,0)), | |
| radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.2), rgba(0,0,0,0)) 100% 0; | |
| background-color: white; | |
| background-repeat: no-repeat; | |
| background-size: 10px 100%; | |
| margin-bottom: 15px; | |
| overflow-x: auto; |
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 initAdaptiveOwlCarousel(block, options, breakPoint, modClass) { | |
| windowWidth = window.innerWidth; | |
| modClass = typeof modClass !== 'undefined' ? modClass += " owl-carousel" : "owl-carousel"; | |
| if ( windowWidth < breakPoint ) { | |
| block.each(function(el) { | |
| $(this).addClass(modClass).owlCarousel(options); | |
| }) | |
| } else { | |
| block.each(function(el) { |
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
| ol { | |
| counter-reset: item; | |
| margin-left: 0; | |
| padding-left: 0; | |
| } | |
| li { | |
| display: block; | |
| margin-bottom: .5em; | |
| margin-left: 2em; | |
| } |
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
| .parent { | |
| margin: 0 -10px; | |
| display: -webkit-flex; | |
| display: flex; | |
| -webkit-flex-flow: row wrap; | |
| flex-flow: row wrap; | |
| } | |
| .parent .child { | |
| -webkit-flex: 1 auto; | |
| flex: 1 auto; |
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
| .block-width-cols { | |
| -webkit-column-count: 2; | |
| -moz-column-count: 2; | |
| column-count: 2; | |
| -webkit-column-gap: 15px; | |
| -moz-column-gap: 15px; | |
| column-gap: 15px; | |
| } | |
| .block-width-cols .block-width-cols__item { | |
| -webkit-column-break-inside: avoid; |
NewerOlder