mirror of
https://github.com/Mayccoll/Gogh.git
synced 2023-08-10 21:12:46 +03:00
add github pages
This commit is contained in:
parent
504892619d
commit
fbbbb06721
4
gh-pages/components/jquery/jquery.min.js
vendored
Normal file
4
gh-pages/components/jquery/jquery.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
gh-pages/components/mixitup/jquery.mixitup.min.js
vendored
Normal file
1
gh-pages/components/mixitup/jquery.mixitup.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
gh-pages/components/prism/prism.css
Normal file
2
gh-pages/components/prism/prism.css
Normal file
File diff suppressed because one or more lines are too long
1
gh-pages/components/prism/prism.js
Normal file
1
gh-pages/components/prism/prism.js
Normal file
File diff suppressed because one or more lines are too long
2
gh-pages/css/main.min.css
vendored
Normal file
2
gh-pages/css/main.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
gh-pages/favicons/favicon.ico
Normal file
BIN
gh-pages/favicons/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
BIN
gh-pages/favicons/favicon.png
Executable file
BIN
gh-pages/favicons/favicon.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 318 B |
0
gh-pages/img/README
Normal file
0
gh-pages/img/README
Normal file
1
gh-pages/img/cd-icon-arrow.svg
Normal file
1
gh-pages/img/cd-icon-arrow.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><style>.st0{fill:#BBBBBB;}</style><path class="st0" d="M.9 5.5l2.2-2.1L8 8.3l4.9-4.9 2.2 2.1L8 12.6z"/></svg>
|
After Width: | Height: | Size: 205 B |
1
gh-pages/img/cd-icon-check.svg
Normal file
1
gh-pages/img/cd-icon-check.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><style>.st0{fill:none;stroke:#FFFFFF;stroke-width:2;stroke-miterlimit:10;}</style><path class="st0" d="M4 7l3 3 5-5"/></svg>
|
After Width: | Height: | Size: 220 B |
1
gh-pages/img/cd-icon-filter.svg
Normal file
1
gh-pages/img/cd-icon-filter.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><style>.st0{fill:#8F83B8;}</style><path class="st0" d="M10 3h6v2h-6zM3 7h6V1H3v2H0v2h3zM0 11h6v2H0zM13 9H7v6h6v-2h3v-2h-3z"/></svg>
|
After Width: | Height: | Size: 227 B |
81
gh-pages/index.html
Normal file
81
gh-pages/index.html
Normal file
@ -0,0 +1,81 @@
|
||||
<!doctype html> <html> <head> <meta charset=utf-8> <meta http-equiv=X-UA-Compatible content="IE=edge"> <meta name=viewport content="width=device-width, initial-scale=1"> <meta name=description content=""> <meta name=keywords content=""> <meta name=author content="Miguel D. Quintero"> <link rel=author href=humans.txt> <title>Portafolio</title> <link rel=apple-touch-icon sizes=57x57 href=./favicons//apple-icon-57x57.png> <link rel=apple-touch-icon sizes=60x60 href=./favicons//apple-icon-60x60.png> <link rel=apple-touch-icon sizes=72x72 href=./favicons//apple-icon-72x72.png> <link rel=apple-touch-icon sizes=76x76 href=./favicons//apple-icon-76x76.png> <link rel=apple-touch-icon sizes=114x114 href=./favicons//apple-icon-114x114.png> <link rel=apple-touch-icon sizes=120x120 href=./favicons//apple-icon-120x120.png> <link rel=apple-touch-icon sizes=144x144 href=./favicons//apple-icon-144x144.png> <link rel=apple-touch-icon sizes=152x152 href=./favicons//apple-icon-152x152.png> <link rel=apple-touch-icon sizes=180x180 href=./favicons//apple-icon-180x180.png> <link rel=icon type=image/png sizes=192x192 href=./favicons//android-icon-192x192.png> <link rel=icon type=image/png sizes=32x32 href=./favicons//favicon-32x32.png> <link rel=icon type=image/png sizes=96x96 href=./favicons//favicon-96x96.png> <link rel=icon type=image/png sizes=16x16 href=./favicons//favicon-16x16.png> <link rel=manifest href=./favicons//manifest.json> <link rel=icon href=favicons/favicon.ico> <link rel=stylesheet href=./css/main.min.css> <link rel=stylesheet href=./components/prism/prism.css> <link rel=stylesheet href="http://fonts.googleapis.com/css?family=Antic|Raleway:300"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel=stylesheet> </head> <body> <header class=cd-header> <h1> <span> Gogh </span> <img src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/Gogh-logo.png alt=""> </h1> </header> <a href=https://github.com/Mayccoll/Gogh><img style="position: absolute; top: 0; right: 0; border: 0;" src=https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67 alt="Fork me on GitHub" data-canonical-src=https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png></a> <div class=gogh-content> <h2> Color Scheme for Gnome Terminal and Pantheon Terminal </h2> <p> Color Schemes For Ubuntu, Linux Mint, Elementary OS and all distributions that use gnome terminal or Pantheon Terminal, initially inspired by Elementary OS Luna. </p> <h3> Install </h3> <p> Just copy and paste One line command. Each theme has his own line. </p> <pre><code class=language-bash>
|
||||
$ wget -O xt http://git.io/v3D4o && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <div class=github-int> <a data-style=mega href=https://github.com/Mayccoll/Gogh class=github-button>View on Github</a> <a aria-label="Star Mayccoll/Gogh on GitHub" data-count-aria-label="# stargazers on GitHub" data-count-api=/repos/Mayccoll/Gogh#stargazers_count data-count-href=/Mayccoll/Gogh/stargazers data-style=mega data-icon=octicon-star href=https://github.com/Mayccoll/Gogh/stargazers class=github-button>Star</a> </div> </div> <main class=cd-main-content> <div class=cd-tab-filter-wrapper> <div class=cd-tab-filter> <ul class=cd-filters> <li class=placeholder> <a data-type=all href=#0>All</a> </li> <li class=filter><a class=selected href=#0 data-type=all>All</a></li> <li class=filter data-filter=.dark><a href=#0 data-type=dark>Dark</a></li> <li class=filter data-filter=.light><a href=#0 data-type=light>Light</a></li> </ul> </div> </div> <section class=cd-gallery> <ul> <li class="mix dark bg-blue"> <h3> Aci </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3Dlm && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/aci.png> </li> <li class="mix dark bg-brown"> <h3> Aco </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3Dll && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/aco.png> </li> <li class="mix dark bg-black"> <h3> Azu </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3Dlz && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt="Theme Azu" src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/azu.png> </li> <li class="mix dark bg-blue"> <h3> Bim </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3Dlr && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt="Theme Bim" src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/bim.png> </li> <li class="mix dark bg-blue"> <h3> Cai </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3Dli && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/cai.png> </li> <li class="mix dark bg-grey"> <h3> Chalk </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3Dlb && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/chalk.png> </li> <li class="mix dark bg-blue"> <h3> Dracula </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3D8e && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/dracula.png> </li> <li class="mix dark bg-black"> <h3> Elementary </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3D8R && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/elementary.png> </li> <li class="mix dark bg-brown"> <h3> Elic </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3D82 && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/elic.png> </li> <li class="mix dark bg-blue"> <h3> Elio </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3D44 && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/elio.png> </li> <li class="mix dark bg-blue"> <h3> Flat </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3D4z && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/flat.png> </li> <li class="mix dark bg-grey"> <h3> Freya </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3D4o && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/freya.png> </li> <li class="mix dark bg-black"> <h3> Hemisu Dark </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3D4M && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/hemisu-dark.png> </li> <li class="mix light bg-white"> <h3> Hemisu Light </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3D49 && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/hemisu-light.png> </li> <li class="mix dark bg-black"> <h3> Hydrid </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3D4d && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/Hybrid.png> </li> <li class="mix dark bg-grey"> <h3> Jup </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3D4N && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/jup.png> </li> <li class="mix light bg-white"> <h3> Mar </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DBe && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/mar.png> </li> <li class="mix dark bg-grey"> <h3> Material Colors </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DBv && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/material-colors.png> </li> <li class="mix dark bg-blue"> <h3> Miu </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DBT && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/miu.png> </li> <li class="mix dark bg-brown"> <h3> Monokai </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DBO && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/monokai.dark.png> </li> <li class="mix dark bg-grey"> <h3> Nep </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DBB && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/nep.png> </li> <li class="mix dark bg-blue"> <h3> Ocean Dark </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DBz && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/ocean-dark.png> </li> <li class="mix dark bg-black"> <h3> One Dark </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/vs7Ut && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/one.dark.png> </li> <li class="mix light bg-white"> <h3> One Light </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/vs7UQ && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/one.light.png> </li> <li class="mix dark bg-blue"> <h3> Pali </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DBV && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/pali.png> </li> <li class="mix dark bg-black"> <h3> Peppermint </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DBK && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/peppermint.png> </li> <li class="mix dark bg-grey"> <h3> Sat </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DBP && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/vag.png> </li> <li class="mix dark bg-brown"> <h3> Shel </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DBM && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/shel.png> </li> <li class="mix dark bg-grey"> <h3> Smyck </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DB9 && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/smyck.png> </li> <li class="mix dark bg-blue"> <h3> Solarized Dark </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DBQ && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/solarized.dark.png> </li> <li class="mix light bg-beich"> <h3> Solarized Light </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DB5 && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/solarized.light.png> </li> <li class="mix dark bg-grey"> <h3> Tin </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DBF && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/tin.png> </li> <li class="mix dark bg-blue"> <h3> Tomorrow Night Blue </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DBj && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/tomorrow-night-blue.png> </li> <li class="mix dark bg-black"> <h3> Tomorrow Night Bright </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DRJ && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/tomorrow-night-bright.png> </li> <li class="mix dark bg-grey"> <h3> Tomorrow Night Eighties </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DRI && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/tomorrow-night-eighties.png> </li> <li class="mix dark bg-grey"> <h3> Tomorrow Night </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DRs && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/tomorrow-night.png> </li> <li class="mix light bg-white"> <h3> Tomorrow </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DRc && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/tomorrow.png> </li> <li class="mix light bg-beich"> <h3> Ura </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DRB && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/ura.png> </li> <li class="mix dark bg-grey"> <h3> Vag </h3> <pre><code class=language-bash>
|
||||
wget -O xt http://git.io/v3DR0 && chmod +x xt && ./xt && rm xt
|
||||
</code></pre> <img alt=Theme src=https://raw.githubusercontent.com/Mayccoll/Gogh/master/images/vag.png> </li> <li class=gap></li> <li class=gap></li> <li class=gap></li> </ul> <div class=cd-fail-message>No results found</div> </section> <div class=cd-filter> <form> <div class=cd-filter-block> <h4>Check boxes</h4> <ul class="cd-filter-content cd-filters list"> <li> <input class=filter data-filter=.dark type=checkbox id=checkbox1> <label class=checkbox-label for=checkbox1> Dark </label> </li> <li> <input class=filter data-filter=.light type=checkbox id=checkbox2> <label class=checkbox-label for=checkbox2> Light </label> </li> <li> <input class=filter data-filter=.bg-black type=checkbox id=checkbox3> <label class=checkbox-label for=checkbox3> Bg Black </label> </li> <li> <input class=filter data-filter=.bg-grey type=checkbox id=checkbox4> <label class=checkbox-label for=checkbox4> Bg Grey </label> </li> <li> <input class=filter data-filter=.bg-blue type=checkbox id=checkbox5> <label class=checkbox-label for=checkbox5> Bg Blue </label> </li> <li> <input class=filter data-filter=.bg-beich type=checkbox id=checkbox6> <label class=checkbox-label for=checkbox6> Bg Beich </label> </li> <li> <input class=filter data-filter=.bg-white type=checkbox id=checkbox7> <label class=checkbox-label for=checkbox7> Bg White </label> </li> <li> <input class=filter data-filter=.bg-brown type=checkbox id=checkbox8> <label class=checkbox-label for=checkbox8> Bg Brown </label> </li> </ul> </div> </form> <a href=#0 class=cd-close>Close</a> </div> <a href=#0 class=cd-filter-trigger>Filters</a> </main> <footer> credits: <a target=_blank href="https://mixitup.kunkalabs.com/"> Mixitup </a> - <a target=_blank href="http://codyhouse.co/gem/content-filter/"> Codyhouse </a> put it all together : <a href=http://lanet.co>Lanet.co</a> </footer> <script src=./components/jquery/jquery.min.js></script> <script src=./components/mixitup/jquery.mixitup.min.js></script> <script src=./components/prism/prism.js></script> <script async="" defer="" id=github-bjs src=https://buttons.github.io/buttons.js></script> <script src=./js/main.min.js></script> <div id=master-dev style=display:none> 4d 69 67 75 65 6c 20 44 2e 20 51 75 69 6e 74 65 72 6f 20 2d 20 6d 69 67 75 65 6c 64 61 76 69 64 71 40 67 6d 61 69 6c 2e 63 6f 6d </div> </body> </html>
|
1
gh-pages/js/main.min.js
vendored
Normal file
1
gh-pages/js/main.min.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
jQuery(document).ready(function(t){function e(e){var i=t([t(".cd-filter-trigger"),t(".cd-filter"),t(".cd-tab-filter"),t(".cd-gallery")]);i.each(function(){t(this).toggleClass("filter-is-visible",e)})}function i(){var e=t(".cd-main-content").offset().top,i=t(window).scrollTop();i>=e?t(".cd-main-content").addClass("is-fixed"):t(".cd-main-content").removeClass("is-fixed")}t(".cd-filter-trigger").on("click",function(){e(!0)}),t(".cd-filter .cd-close").on("click",function(){e(!1)});var n=t(".cd-tab-filter .placeholder a"),a="Select",c=n.text();t(".cd-tab-filter li").on("click",function(e){var i=t(e.target).data("type");t(e.target).is(n)?(n.text(a==n.text()?c:a),t(".cd-tab-filter").toggleClass("is-open")):n.data("type")==i?(n.text(t(e.target).text()),t(".cd-tab-filter").removeClass("is-open")):(t(".cd-tab-filter").removeClass("is-open"),n.text(t(e.target).text()).data("type",i),c=t(e.target).text(),t(".cd-tab-filter .selected").removeClass("selected"),t(e.target).addClass("selected"))}),t(".cd-filter-block h4").on("click",function(){t(this).toggleClass("closed").siblings(".cd-filter-content").slideToggle(300)}),t(window).on("scroll",function(){window.requestAnimationFrame?window.requestAnimationFrame(i):i()}),buttonFilter.init(),t(".cd-gallery ul").mixItUp({controls:{enable:!1},callbacks:{onMixStart:function(){t(".cd-fail-message").fadeOut(200)},onMixFail:function(){t(".cd-fail-message").fadeIn(200)}}});var r,l=t(),o=function(){var t=0;return function(e,i){clearTimeout(t),t=setTimeout(e,i)}}();t(".cd-filter-content input[type='search']").keyup(function(){o(function(){r=t(".cd-filter-content input[type='search']").val().toLowerCase(),r.length>0?(t(".mix").each(function(){var e=t(this);l=e.attr("class").toLowerCase().match(r)?l.add(this):l.not(this)}),t(".cd-gallery ul").mixItUp("filter",l)):t(".cd-gallery ul").mixItUp("filter","all")},200)})});var buttonFilter={$filters:null,groups:[],outputArray:[],outputString:"",init:function(){var t=this;t.$filters=$(".cd-main-content"),t.$container=$(".cd-gallery ul"),t.$filters.find(".cd-filters").each(function(){var e=$(this);t.groups.push({$inputs:e.find(".filter"),active:"",tracker:!1})}),t.bindHandlers()},bindHandlers:function(){var t=this;t.$filters.on("click","a",function(){t.parseFilters()}),t.$filters.on("change",function(){t.parseFilters()})},parseFilters:function(){for(var t,e=this,i=0;t=e.groups[i];i++)t.active=[],t.$inputs.each(function(){var e=$(this);e.is('input[type="radio"]')||e.is('input[type="checkbox"]')?e.is(":checked")&&t.active.push(e.attr("data-filter")):e.is("select")?t.active.push(e.val()):e.find(".selected").length>0&&t.active.push(e.attr("data-filter"))});e.concatenate()},concatenate:function(){var t=this;t.outputString="";for(var e,i=0;e=t.groups[i];i++)t.outputString+=e.active;!t.outputString.length&&(t.outputString="all"),t.$container.mixItUp("isLoaded")&&t.$container.mixItUp("filter",t.outputString)}};
|
Loading…
Reference in New Issue
Block a user