Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
K
kpp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alexandr Veselov
kpp
Commits
75254ef0
Commit
75254ef0
authored
Oct 23, 2017
by
Nikolay Gromov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Добавил игнорирование стайллинтом некоторых строк
parent
89e04db9
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
27 additions
and
21 deletions
+27
-21
field-range.scss
src/blocks/field-range/field-range.scss
+1
-1
field-text.scss
src/blocks/field-text/field-text.scss
+1
-1
main-nav.scss
src/blocks/main-nav/main-nav.scss
+4
-0
modal.scss
src/blocks/modal/modal.scss
+1
-1
page.scss
src/blocks/page/page.scss
+4
-4
table-mobile-scroll.scss
src/blocks/table-mobile-scroll/table-mobile-scroll.scss
+3
-1
table-responsive.scss
src/blocks/table-responsive/table-responsive.scss
+4
-4
print.scss
src/scss/print.scss
+9
-9
No files found.
src/blocks/field-range/field-range.scss
View file @
75254ef0
...
...
@@ -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
{
...
...
src/blocks/field-text/field-text.scss
View file @
75254ef0
...
...
@@ -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
,
...
...
src/blocks/main-nav/main-nav.scss
View file @
75254ef0
...
...
@@ -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
}
}
}
...
...
src/blocks/modal/modal.scss
View file @
75254ef0
...
...
@@ -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
;
}
...
...
src/blocks/page/page.scss
View file @
75254ef0
...
...
@@ -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.
...
...
src/blocks/table-mobile-scroll/table-mobile-scroll.scss
View file @
75254ef0
...
...
@@ -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
}
}
}
...
...
src/blocks/table-responsive/table-responsive.scss
View file @
75254ef0
...
...
@@ -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
);
...
...
src/scss/print.scss
View file @
75254ef0
...
...
@@ -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
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment