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
00f6896f
Commit
00f6896f
authored
Dec 05, 2019
by
Nikolay Gromov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Вернул .stylelintignore
parent
b06722f5
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
213 additions
and
81 deletions
+213
-81
.stylelintignore
.stylelintignore
+2
-0
package-lock.json
package-lock.json
+181
-56
page.scss
src/blocks/page/page.scss
+28
-25
form-mixins.scss
src/scss/mixins/form-mixins.scss
+2
-0
No files found.
.stylelintignore
0 → 100644
View file @
00f6896f
src/scss/style.scss
src/blocks/sprite-png/sprite-png.scss
package-lock.json
View file @
00f6896f
This diff is collapsed.
Click to expand it.
src/blocks/page/page.scss
View file @
00f6896f
...
@@ -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
,
...
...
src/scss/mixins/form-mixins.scss
View file @
00f6896f
// stylelint-disable plugin/selector-bem-pattern
@mixin
field-text
{
@mixin
field-text
{
display
:
inline-block
;
display
:
inline-block
;
vertical-align
:
middle
;
vertical-align
:
middle
;
...
...
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