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
| <!DOCTYPE html> | |
| <html lang="ru-RU" prefix="og: http://ogp.me/ns#"> | |
| <head> | |
| <!-- Required --> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=no, maximum-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta http-equiv="cleartype" content="on"> | |
| <meta http-equiv="msthemecompatible" content="no"> |
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
| html { | |
| line-height: 1.2; | |
| text-decoration-skip: ink; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| } | |
| body, | |
| p, | |
| figure, |
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
| /** | |
| * 1. Установить yaml-loader | |
| * 2. Создать файл ~/locales/[name].yaml | |
| * | |
| * Содержимое файла | |
| * About: | |
| * ru: О нас | |
| */ | |
| import Vue from 'vue' |
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
| // Styles for autofilled inputs, textareas, selects | |
| input:-webkit-autofill { | |
| -webkit-text-fill-color black | |
| -webkit-box-shadow 0 0 0px 100px white inset | |
| } | |
| // Подсветка элемента при тапе на мобилах | |
| div { | |
| -webkit-tap-highlight-color: transparent; | |
| } |
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
| placeholder(color) | |
| &::-webkit-input-placeholder | |
| color color | |
| &:-moz-placeholder | |
| color color | |
| &::-moz-placeholder | |
| color color | |
| &:-ms-input-placeholder | |
| color color |
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
| <IfModule mod_expires.c> | |
| ExpiresActive On | |
| ExpiresDefault "access 7 days" | |
| ExpiresByType application/javascript "access plus 1 year" | |
| ExpiresByType text/javascript "access plus 1 year" | |
| ExpiresByType text/css "access plus 1 year" | |
| ExpiresByType text/html "access plus 7 day" | |
| ExpiresByType text/x-javascript "access 1 year" | |
| ExpiresByType image/gif "access plus 1 year" | |
| ExpiresByType image/jpeg "access plus 1 year" |
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 | |
| $domain = "example.com"; | |
| // Подключение к БД | |
| $host = ""; | |
| $user = ""; | |
| $pass = ""; | |
| $db = ""; |
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
| <template> | |
| <svg class="donut"> | |
| <transition-group tag="g" name="circle" appear> | |
| <circle | |
| ref="circle" | |
| v-for="(circle, i) in circles" :key="i" | |
| :r="radius" | |
| :stroke="colors[i]" | |
| :stroke-dasharray="circle.dashArray" | |
| :stroke-dashoffset="circle.dashOffset" |
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
| <template> | |
| <div class="checkbox" @click="isChecked = !isChecked"> | |
| <input v-model="isChecked" type="checkbox" style="display: none" > | |
| <label> | |
| <span> | |
| <svg width="12px" height="10px" viewbox="0 0 12 10"> | |
| <polyline points="1.5 6 4.5 9 10.5 1"></polyline> | |
| </svg> | |
| </span> | |
| <span>{{ 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
| export const URL_PATTERNS = [ | |
| { prefix: 'tel', re: /(\+7)[\s\-()0-9]{10,}/ }, | |
| { prefix: 'mailto', re: /^.+@.+$/ } | |
| ] | |
| /** | |
| * @param {Promise[]} promises | |
| * @returns Promise | |
| */ | |
| export function promiseQueue (promises = []) { |