A mixin for writing @font-face rules in SASS.
Create a font face rule. Embedded OpenType, WOFF2, WOFF, TrueType, and SVG files are automatically sourced.
@include font-face(Samplino, fonts/Samplino);| // Convert PX to REM | |
| $browser-context: 16; // Default | |
| @function rem($pixels, $context: $browser-context) { | |
| @return #{$pixels/$context}rem; | |
| } | |
| // Margin/Padding helpers | |
| $step : 5; | |
| $from : 0; | |
| $through : ceil( 100 /$step); |
| { | |
| "exclude": [".git/**", "node_modules/**", "bower_components/**"], | |
| "always-semicolon": true, | |
| "block-indent": " ", | |
| "color-case": "upper", | |
| "color-shorthand": false, | |
| "element-case": "lower", | |
| "eof-newline": true, | |
| "leading-zero": true, | |
| "quotes": "double", |
| <?php | |
| //@EVAL return $modx->runSnippet('getDepartament'); | |
| $pdo = $modx->getService('pdoFetch'); | |
| $pdo->setConfig(array( | |
| 'parents' => 137, | |
| 'limit' => 0, | |
| 'sortby' => 'id', | |
| 'select' => 'id,pagetitle', | |
| 'return' => 'data', | |
| 'where' => [ |
| # Устанавливаем кодировку | |
| AddDefaultCharset utf-8 | |
| Options +FollowSymLinks | |
| # Запрет выдачи листинга пустого каталога | |
| Options -Indexes | |
| # Активируем mod_rewrite | |
| RewriteEngine On |
| $('.open-popup-link-2').attr("data-effect","mfp-move-horizontal").magnificPopup({ | |
| type:'inline', | |
| removalDelay: 500, //delay removal by X to allow out-animation | |
| callbacks: { | |
| beforeOpen: function() { | |
| this.st.mainClass = this.st.el.attr('data-effect'); | |
| } | |
| }, | |
| midClick: true, | |
| callbacks: {open: initSliders} |
| <!-- Open Graph Tags --> | |
| <meta property="og:site_name" content="[[++site_name]]" /> | |
| <meta property="og:type" content="article" /> | |
| <meta property="og:title" content="[[*longtitle:default=`[[*pagetitle]]`]]" /> | |
| <meta property="og:description" content="[[*description:default=`[[++site_description]]`]]" /> | |
| <meta property="og:url" content="[[~[[*id]]? &scheme=`full`]]" /> | |
| <meta property="og:image" content="[[*image:default=`[[++site_image]]`]]" /> | |
| <meta property="fb:app_id" content="[[++fb_app_id]]" /> | |
| <meta property="article:publisher" content="[[++fb_url]]" /> | |
| <!-- Twitter Tags --> |
| [ | |
| { name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] }, | |
| { name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] }, | |
| { name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] }, | |
| { name: 'forms', items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField' ] }, | |
| { name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] }, | |
| { name: 'colors', items : [ 'TextColor','BGColor' ] }, | |
| { name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] } | |
| '/', | |
| { name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] }, |
| /* | |
| * Snippet seguindo a documentação idiomatic css, | |
| * basta colocar nas seus arquivos de configurações de css e scss dos snippets da IDE e aproveitar!!! | |
| * Segue a Doc para colocar os snippets no VisualCode https://code.visualstudio.com/Docs/customization/userdefinedsnippets | |
| */ | |
| / * | |
| * Snippet following the css idiomatic documentation, | |
| * Just put in your css and scss settings files from the IDE snippets and enjoy !!! | |
| * Follow Doc to place the snippets in VisualCode https://code.visualstudio.com/Docs/customization/userdefinedsnippets |