Commit 00f6896f authored by Nikolay Gromov's avatar Nikolay Gromov

Вернул .stylelintignore

parent b06722f5
src/scss/style.scss
src/blocks/sprite-png/sprite-png.scss
This diff is collapsed.
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
// Подключение шрифтов. // Подключение шрифтов.
// Типографика. // Типографика.
// stylelint-disable plugin/selector-bem-pattern
// Сделаем viewport великим снова! (привет, IE10) http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/ // Сделаем viewport великим снова! (привет, IE10) http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
@at-root { @at-root {
@-ms-viewport { @-ms-viewport { // stylelint-disable-line
width: device-width; width: device-width;
} }
} }
...@@ -28,7 +29,7 @@ ...@@ -28,7 +29,7 @@
.page { .page {
box-sizing: border-box; box-sizing: border-box;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; // stylelint-disable-line
min-width: 320px; min-width: 320px;
min-height: 100%; min-height: 100%;
...@@ -71,11 +72,11 @@ body { ...@@ -71,11 +72,11 @@ body {
background-color: $body-bg; background-color: $body-bg;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale -moz-osx-font-smoothing: grayscale;
} }
[tabindex='-1']:focus { [tabindex='-1']:focus {
outline: none !important; outline: none !important; // stylelint-disable-line
} }
// Коррекция для кликабельных элементов с указанной ролью в iOS // Коррекция для кликабельных элементов с указанной ролью в iOS
...@@ -84,8 +85,8 @@ body { ...@@ -84,8 +85,8 @@ body {
} }
// Мы любим Сафари (на самом деле, нет). // Мы любим Сафари (на самом деле, нет).
[type="search"]::-webkit-search-decoration { [type='search']::-webkit-search-decoration {
-webkit-appearance: none; -webkit-appearance: none; // stylelint-disable-line
} }
// area, // area,
...@@ -107,26 +108,28 @@ input { ...@@ -107,26 +108,28 @@ input {
text-transform: none; // Уберём наследование text transform в Firefox text-transform: none; // Уберём наследование text transform в Firefox
} }
// Коррекция проблем стилизации для Safari
button, button,
html [type="button"], html [type='button'],
[type="reset"], [type='reset'],
[type="submit"] { [type='submit'] {
-webkit-appearance: button; // Коррекция проблем стилизации для Safari -webkit-appearance: button; // stylelint-disable-line
} }
button::-moz-focus-inner, button::-moz-focus-inner,
[type="button"]::-moz-focus-inner, [type='button']::-moz-focus-inner,
[type="reset"]::-moz-focus-inner, [type='reset']::-moz-focus-inner,
[type="submit"]::-moz-focus-inner { [type='submit']::-moz-focus-inner {
padding: 0; padding: 0;
border-style: none; border-style: none;
} }
input[type="date"], // Коррекция для Mobile Safari (https://github.com/twbs/bootstrap/issues/11266)
input[type="time"], input[type='date'],
input[type="datetime-local"], input[type='time'],
input[type="month"] { input[type='datetime-local'],
-webkit-appearance: listbox; // Коррекция для Mobile Safari (https://github.com/twbs/bootstrap/issues/11266) input[type='month'] {
-webkit-appearance: listbox; // stylelint-disable-line
} }
textarea { textarea {
...@@ -166,7 +169,7 @@ a { ...@@ -166,7 +169,7 @@ a {
// color: $link-color--hover; // color: $link-color--hover;
// } // }
&[href^="tel:"] { &[href^='tel:'] {
// На больших экранах телефоны-ссылки делаем обычным текстом // На больших экранах телефоны-ссылки делаем обычным текстом
@media (min-width: $screen-xl) { @media (min-width: $screen-xl) {
...@@ -202,12 +205,12 @@ h6 { ...@@ -202,12 +205,12 @@ h6 {
color: currentColor; color: currentColor;
} }
h1 { font-size: $font-size-h1; } h1 { font-size: $font-size-h1; } // stylelint-disable-line
h2 { font-size: $font-size-h2; } h2 { font-size: $font-size-h2; } // stylelint-disable-line
h3 { font-size: $font-size-h3; } h3 { font-size: $font-size-h3; } // stylelint-disable-line
h4 { font-size: $font-size-h4; } h4 { font-size: $font-size-h4; } // stylelint-disable-line
h5 { font-size: $font-size-h5; } h5 { font-size: $font-size-h5; } // stylelint-disable-line
h6 { font-size: $font-size-h6; } h6 { font-size: $font-size-h6; } // stylelint-disable-line
p, p,
ul, ul,
......
// stylelint-disable plugin/selector-bem-pattern
@mixin field-text { @mixin field-text {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment