This file contains 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
upstream fastcgi_backend { | |
server 127.0.0.1:9000; | |
} | |
server { | |
listen 80; | |
server_name domain.com; | |
set $MAGE_ROOT /usr/share/nginx/html; | |
set $MAGE_MODE production; |
This file contains 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
<?php | |
/** | |
* Creates an array for Google's Material design icons. Can be used with | |
* custommetaboxes select field. | |
*/ | |
$google_icons = array( | |
'3d_rotation' => '3d_rotation', | |
'access_alarm' => 'access_alarm', |
This file contains 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
.flex-grid { | |
display: flex; | |
flex-wrap: wrap; | |
margin: -0.5em; | |
& > * { | |
flex: 1 0 5em; | |
margin: 0.5em; | |
} | |
} |
This file contains 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
window.onload = function() { | |
var placeholder = $('.progressive-media'), | |
small = $('.progressive-media__small'); | |
var img = new Image(); | |
img.src = small.src; | |
img.onload = function () { | |
small.classList.add('loaded'); | |
}; |
This file contains 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
/** | |
* CSSW Grid System | |
* Based off https://github.com/csswizardry/csswizardry-grids | |
* | |
* Modified to change word based class system to numbered & additional tidyup | |
*/ | |
$class-type: if($use-silent-classes, unquote("%"), unquote(".")); | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
{ | |
"always_show_minimap_viewport": true, | |
"auto_find_in_selection": true, | |
"bold_folder_labels": false, | |
"close_windows_when_empty": false, | |
"copy_with_empty_selection": false, | |
"create_window_at_startup": false, | |
"dictionary": "Packages/Language - English/en_GB.dic", | |
"drag_text": false, | |
"file_exclude_patterns": |
This file contains 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
// JQuery Plugin Starter | |
// ---------------------------------------------------- | |
// Setup a namespace we can use for data, events etc. | |
// Wraps methods internally with support for arguments. | |
// | |
// $('div').myplugin(); //call init | |
// $('div').myplugin({color:'green'}).fadeIn(); //init with options and chained | |
// $('div').myplugin('destroy'); //custom method | |
// $('div').myplugin('custom',10,2); //custom method with arguments | |
// |
This file contains 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
$zindex: ( | |
modal : 9000, | |
overlay : 8000, | |
dropdown : 7000, | |
header : 6000, | |
footer : 5000 | |
); | |
.header { | |
z-index: map-get($zindex, header); |
NewerOlder