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

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

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