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
| /* Display & Box Model */ | |
| -webkit-box-sizing: inherit; | |
| box-sizing: inherit; | |
| content: inherit; | |
| display: inherit; | |
| float: inherit; | |
| clear: inherit; | |
| overflow: inherit; | |
| overflow-wrap: inherit; | |
| overflow-x: inherit; |
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
| @include min-screen (xl) { | |
| .container{ | |
| width: 1410px; | |
| } | |
| .col-xl-1, | |
| .col-xl-2, | |
| .col-xl-3, | |
| .col-xl-4, | |
| .col-xl-5, | |
| .col-xl-6, |
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
| <?php | |
| $currency_symbols = array( | |
| 'AED' => 'د.إ', // ? | |
| 'AFN' => 'Af', | |
| 'ALL' => 'Lek', | |
| 'AMD' => 'դ', | |
| 'ANG' => 'ƒ', | |
| 'AOA' => 'Kz', // ? | |
| 'ARS' => '$', | |
| 'AUD' => '$', |
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
| <?php | |
| function shortcode_empty_paragraph_fix( $content ) { | |
| // define your shortcodes to filter | |
| $shortcodes = array( 'example_shortcode_1', 'example_shortcode_2', 'example_shortcode_3' ); | |
| // array of custom shortcodes requiring the fix | |
| $block = join("|",$shortcodes); | |
| // opening tag |
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 background-64($code,$code-hd:null,$width:null,$height:null,$type:png) { | |
| background-image: url('data:image/' + $type + ';base64,' + $code); | |
| @if $code-hd == null { | |
| } @else { | |
| @media print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { | |
| background-image: url('data:image/' + $type + ';base64,' + $code-hd); | |
| -webkit-background-size: $width $height; | |
| background-size: $width $height; | |
| } |
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
| jQuery(document).ready(function($) { | |
| // Add browser class to html | |
| if (navigator.userAgent.indexOf('Mac OS X') != -1) { | |
| // Mac | |
| if ($.browser.opera) { $('html').addClass('opera'); } | |
| if ($.browser.webkit) { $('html').addClass('webkit'); } | |
| if ($.browser.mozilla) { $('html').addClass('mozilla'); } | |
| if (/camino/.test(navigator.userAgent.toLowerCase())){ $('html').addClass('camino'); } | |
| if (/chrome/.test(navigator.userAgent.toLowerCase())) { $('html').addClass('chrome'); } | |
| if (navigator && navigator.platform && navigator.platform.match(/^(iPad|iPod|iPhone|iPhone Simulator|iPad Simulator)$/)) { |
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 even($number) { | |
| @return $number % 2 == 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
| // Sprite graphic for easy reuse | |
| @mixin sprite-graphic($sprite-graphic-pos:null, $format: $sprite-graphic-format, $file: $sprite-graphic-file, $type: $sprite-graphic-type, $width: $sprite-graphic-width, $height: $sprite-graphic-height){ | |
| @if $format == 'hires' { | |
| @include hires-graphic($file, $type, $width, $height); | |
| } | |
| @if $format == 'svg' { | |
| @include svg-graphic($file, $type, $width, $height); | |
| } | |
| @if $sprite-graphic-pos == 'null' {} | |
| @else { |
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
| // higher resolution images for high resolution displays | |
| @mixin hires-graphic($hdfile, $hdtype, $hdwidth, $hdheight) { | |
| $filename: $hdfile + '.' + $hdtype; | |
| $hdfilename: $hdfile + '@2x.' + $hdtype; | |
| background-image: url('../images/' + $filename); | |
| @media print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { | |
| background-image: url('../images/' + $hdfilename) !important; | |
| -webkit-background-size: $hdwidth $hdheight; | |
| background-size: $hdwidth $hdheight; | |
| } |