Commit 75254ef0 authored by Nikolay Gromov's avatar Nikolay Gromov

Добавил игнорирование стайллинтом некоторых строк

parent 89e04db9
...@@ -41,7 +41,7 @@ $border-radius: 3px !default; ...@@ -41,7 +41,7 @@ $border-radius: 3px !default;
&::-webkit-slider-runnable-track, &::-webkit-slider-runnable-track,
&::-webkit-slider-thumb { &::-webkit-slider-thumb {
-webkit-appearance: none; /* stylelint-disable-line property-no-vendor-prefix */ -webkit-appearance: none; // stylelint-disable-line property-no-vendor-prefix
} }
&:focus { &:focus {
......
...@@ -59,7 +59,7 @@ $border-radius: 3px !default; ...@@ -59,7 +59,7 @@ $border-radius: 3px !default;
&[type='search']::-webkit-search-cancel-button, &[type='search']::-webkit-search-cancel-button,
&[type='search']::-webkit-search-decoration { &[type='search']::-webkit-search-decoration {
-webkit-appearance: none; /* stylelint-disable-line property-no-vendor-prefix */ -webkit-appearance: none; // stylelint-disable-line property-no-vendor-prefix
} }
&[type='number']::-webkit-inner-spin-button, &[type='number']::-webkit-inner-spin-button,
......
...@@ -106,12 +106,14 @@ $transition-time: 0.3s !default; ...@@ -106,12 +106,14 @@ $transition-time: 0.3s !default;
overflow: hidden; overflow: hidden;
transition: opacity $transition-time; transition: opacity $transition-time;
// stylelint-disable max-nesting-depth
#{$block-name}__item--show-child > &, #{$block-name}__item--show-child > &,
#{$block-name}__item:hover & { #{$block-name}__item:hover & {
opacity: 1; opacity: 1;
height: auto; height: auto;
overflow: visible; overflow: visible;
} }
// stylelint-enable
} }
} }
...@@ -127,12 +129,14 @@ $transition-time: 0.3s !default; ...@@ -127,12 +129,14 @@ $transition-time: 0.3s !default;
overflow: hidden; overflow: hidden;
transition: opacity $transition-time; transition: opacity $transition-time;
// stylelint-disable max-nesting-depth
#{$block-name}__item--show-child > &, #{$block-name}__item--show-child > &,
#{$block-name}__item--lvl-2:hover & { #{$block-name}__item--lvl-2:hover & {
opacity: 1; opacity: 1;
height: auto; height: auto;
overflow: visible; overflow: visible;
} }
// stylelint-enable
} }
} }
} }
......
...@@ -80,7 +80,7 @@ $z-index-modal: 100 !default; ...@@ -80,7 +80,7 @@ $z-index-modal: 100 !default;
} }
&__close { &__close {
position: absolute !important; position: absolute !important; // stylelint-disable-line declaration-no-important
top: 5px; top: 5px;
right: 5px; right: 5px;
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/ // http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
@at-root { @at-root {
@-ms-viewport { /* stylelint-disable-line at-rule-no-vendor-prefix */ @-ms-viewport { // stylelint-disable-line at-rule-no-vendor-prefix
width: device-width; width: device-width;
} }
} }
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
font-size: 10px; font-size: 10px;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-ms-overflow-style: scrollbar; -ms-overflow-style: scrollbar;
-ms-text-size-adjust: 100%; /* stylelint-disable-line property-no-vendor-prefix */ -ms-text-size-adjust: 100%; // stylelint-disable-line property-no-vendor-prefix
min-width: 320px; min-width: 320px;
min-height: 100%; min-height: 100%;
...@@ -48,7 +48,7 @@ body { ...@@ -48,7 +48,7 @@ body {
} }
[tabindex='-1']:focus { [tabindex='-1']:focus {
outline: none !important; outline: none !important; // stylelint-disable-line declaration-no-important
} }
// iOS 'clickable elements' fix for role='button' // iOS 'clickable elements' fix for role='button'
...@@ -58,7 +58,7 @@ body { ...@@ -58,7 +58,7 @@ body {
// We love Safari // We love Safari
input[type='search'] { input[type='search'] {
-webkit-appearance: textfield; /* stylelint-disable-line property-no-vendor-prefix */ -webkit-appearance: textfield; // stylelint-disable-line property-no-vendor-prefix
} }
// Avoid 300ms click delay on touch devices that support the `touch-action` CSS property. // Avoid 300ms click delay on touch devices that support the `touch-action` CSS property.
......
...@@ -19,7 +19,7 @@ $border-color: hsl(0, 0%, 60%) !default; ...@@ -19,7 +19,7 @@ $border-color: hsl(0, 0%, 60%) !default;
table { table {
margin: 0; margin: 0;
border: 0 !important; border: 0 !important; // stylelint-disable-line declaration-no-important
width: 100%; width: 100%;
} }
...@@ -31,10 +31,12 @@ $border-color: hsl(0, 0%, 60%) !default; ...@@ -31,10 +31,12 @@ $border-color: hsl(0, 0%, 60%) !default;
tr:last-child { tr:last-child {
// stylelint-disable max-nesting-depth, selector-max-compound-selectors
td, td,
th { th {
border-bottom: 0; border-bottom: 0;
} }
// stylelint-enable
} }
} }
} }
......
...@@ -41,7 +41,7 @@ $screen-xxl: 1800px !default; ...@@ -41,7 +41,7 @@ $screen-xxl: 1800px !default;
border: 1px solid $border-color; border: 1px solid $border-color;
border-bottom: 0; border-bottom: 0;
&:not(:last-child) { &:not(:last-child) { // stylelint-disable-line max-nesting-depth
margin-bottom: $line-height; margin-bottom: $line-height;
} }
} }
...@@ -49,10 +49,10 @@ $screen-xxl: 1800px !default; ...@@ -49,10 +49,10 @@ $screen-xxl: 1800px !default;
td { td {
display: block; display: block;
width: 100%; width: 100%;
border-right: 0 !important; border-right: 0 !important; // stylelint-disable-line declaration-no-important
border-left: 0 !important; border-left: 0 !important; // stylelint-disable-line declaration-no-important
&:before { &:before { // stylelint-disable-line max-nesting-depth
display: block; display: block;
font-weight: 700; font-weight: 700;
content: attr(data-label); content: attr(data-label);
......
...@@ -3,15 +3,15 @@ ...@@ -3,15 +3,15 @@
*, *,
*:before, *:before,
*:after { *:after {
background: transparent !important; background: transparent !important; // stylelint-disable-line declaration-no-important
color: #000 !important; color: #000 !important; // stylelint-disable-line declaration-no-important
box-shadow: none !important; box-shadow: none !important; // stylelint-disable-line declaration-no-important
text-shadow: none !important; text-shadow: none !important; // stylelint-disable-line declaration-no-important
} }
a, a,
a:visited { a:visited {
text-decoration: underline !important; text-decoration: underline !important; // stylelint-disable-line declaration-no-important
} }
a[href]:after { a[href]:after {
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
pre, pre,
blockquote { blockquote {
border: 1px solid #999 !important; border: 1px solid #999 !important; // stylelint-disable-line declaration-no-important
page-break-inside: avoid; page-break-inside: avoid;
} }
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
} }
img { img {
max-width: 100% !important; max-width: 100% !important; // stylelint-disable-line declaration-no-important
} }
p, p,
...@@ -59,11 +59,11 @@ ...@@ -59,11 +59,11 @@
} }
table { table {
border-collapse: collapse !important; border-collapse: collapse !important; // stylelint-disable-line declaration-no-important
td, td,
th { th {
background-color: #fff !important; background-color: #fff !important; // stylelint-disable-line declaration-no-important
} }
} }
} }
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