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
| <body> | |
| <h1>Panels Layout Template</h1> | |
| <div class="layout-panels-sidebar-left"> | |
| <div class="layout-preface"> | |
| <h1>Preface Region</h1> | |
| Veggies es bonus vobis, proinde vos postulo essum magis kohlrabi welsh onion daikon amaranth tatsoi tomatillo melon azuki bean garlic. | |
| </div> | |
| <aside class="layout-sidebar"> | |
| <h1>Sidebar Region</h1> |
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
Show hidden characters
| { | |
| "Seti_sb_tree_med": true, | |
| "bold_folder_labels": true, | |
| "caret_style": "phase", | |
| "color_scheme": "Packages/User/SublimeLinter/Seti_orig (SL).tmTheme", | |
| "fade_fold_buttons": false, | |
| "file_exclude_patterns": | |
| [ | |
| "*.pyc", | |
| "*.pyo", |
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
| // Forked from | |
| // http://lab.maltewassermann.com/viewport-resizer/ | |
| (function(o, y, O) { | |
| var ca = "https:" === location.protocol ? "http://" : "http://", | |
| da = y.createElement("script"), | |
| ea = y.getElementsByTagName("script")[0]; | |
| da.src = ca + "ajax.googleapis.com/ajax/libs/jquery/a2.0.1/jquery.min.js"; | |
| ea.parentNode.insertBefore(da, ea); | |
| y.close(); |
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
| [ | |
| //======================================================== | |
| // TABS (REGULAR) | |
| //-------------------------------------------------------- | |
| // Tab set | |
| { | |
| "class": "tabset_control", | |
| "layer0.texture": "Seti_UI/Main/tabset-background.png", | |
| "layer0.inner_margin": [1, 7], | |
| "layer0.opacity": 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
| #!/bin/sh | |
| # | |
| # A hook script to prepare the commit log message. | |
| # | |
| # This example prepends the ticket number (read from the feature branch name) | |
| # and formats it according to F1 Git standards. | |
| # | |
| # To use: | |
| # Make a copy of .git/hooks/prepare-commit-msg.sample in your repo and name the file prepare-commit-msg (remove "sample" extension) | |
| # Paste the following into the file, save the file, and try it 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
| // Remove Query Strings from CSS filenames (CacheBuster) | |
| $vars['styles'] = preg_replace('/\.css\?[^"]+/','.css', $vars['styles']); |
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
| // Slider component | |
| // | |
| // Using 'fugly selectors' and styleguide driven design methodology | |
| // source: https://www.previousnext.com.au/blog/decouple-design-styleguide-driven-drupal-development | |
| // | |
| // Markup: | |
| // <div class="container"> | |
| // <h2 class="container__title">Title</h2> | |
| // <div class="slider"> | |
| // <div class="slider__container"> |
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
| <h1>Flexbox</h1> | |
| <div class="view"> | |
| <div class="views-row views-row-1"> | |
| <div class="field field-name-field-image field-type-image"> | |
| <div class="field-items"> | |
| <div class="field-item even"> | |
| <img typeof="foaf:Image" src="http://placekitten.com/130/86" width="130" height="86" alt="Adipiscing causa duis genitus lobortis plaga typicus velit." title="Abbas abluo acsi adipiscing iusto populus ut."> | |
| </div> | |
| </div> | |
| </div> |
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
| <ul class="sg-colors"> | |
| {{! | |
| This will generate a random list of colors, | |
| reading from the color.listitems.json file. | |
| Try to keep the json file synced with the | |
| _colors.scss Sass partial. | |
| }} | |
| {{# listItems.nine }} {{! Change the number to match your color quantity }} | |
| <li> | |
| <span class="sg-label">{{ label }}</span> |
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
| module.exports = function (grunt) { | |
| // Load grunt tasks automatically | |
| require('load-grunt-tasks')(grunt); | |
| // Time how long tasks take. Can help when optimizing build times | |
| require('time-grunt')(grunt); | |
| // Define the configuration for all the tasks | |
| grunt.initConfig({ |