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
9fe10eac
Commit
9fe10eac
authored
May 28, 2017
by
Nikolay Gromov
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:nicothin/NTH-start-project
parents
cb8b1be3
edd232e4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
11 deletions
+31
-11
gulpfile.js
gulpfile.js
+7
-2
page_head.html
src/_include/page_head.html
+1
-0
btn.scss
src/blocks/btn/btn.scss
+6
-6
page-footer.scss
src/blocks/page-footer/page-footer.scss
+2
-2
page.scss
src/blocks/page/page.scss
+15
-1
No files found.
gulpfile.js
View file @
9fe10eac
...
@@ -206,8 +206,13 @@ gulp.task('sprite:svg', function (callback) {
...
@@ -206,8 +206,13 @@ gulp.task('sprite:svg', function (callback) {
}
}
}))
}))
.
pipe
(
svgstore
({
inlineSvg
:
true
}))
.
pipe
(
svgstore
({
inlineSvg
:
true
}))
.
pipe
(
cheerio
(
function
(
$
)
{
.
pipe
(
cheerio
({
$
(
'svg'
).
attr
(
'style'
,
'display:none'
);
run
:
function
(
$
)
{
$
(
'svg'
).
attr
(
'style'
,
'display:none'
);
},
parserOptions
:
{
xmlMode
:
true
}
}))
}))
.
pipe
(
rename
(
'sprite-svg.svg'
))
.
pipe
(
rename
(
'sprite-svg.svg'
))
.
pipe
(
size
({
.
pipe
(
size
({
...
...
src/_include/page_head.html
View file @
9fe10eac
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
<meta name="viewport" content="width=1000">
<meta name="viewport" content="width=1000">
-->
-->
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
name=
"format-detection"
content=
"telephone=no"
>
<link
href=
"css/style.min.css"
rel=
"stylesheet"
media=
"screen"
>
<link
href=
"css/style.min.css"
rel=
"stylesheet"
media=
"screen"
>
...
...
src/blocks/btn/btn.scss
View file @
9fe10eac
...
@@ -2,15 +2,15 @@
...
@@ -2,15 +2,15 @@
// модификаторов, псевдоселекторов, псевдоэлементов, $media-условий...
// модификаторов, псевдоселекторов, псевдоэлементов, $media-условий...
// Не пишите здесь другие селекторы.
// Не пишите здесь другие селекторы.
$gray-lighter
:
hsl
(
0
,
0%
,
80%
);
$gray-lighter
:
hsl
(
0
,
0%
,
80%
)
!
default
;
$gray-lightest
:
hsl
(
0
,
0%
,
90%
);
$gray-lightest
:
hsl
(
0
,
0%
,
90%
)
!
default
;
$text-color
:
hsl
(
0
,
0%
,
10%
);
$text-color
:
hsl
(
0
,
0%
,
10%
)
!
default
;
$line-height
:
1
.375em
;
$line-height
:
1
.375em
;
$field-padding-vertical
:
0
.3em
;
$field-padding-vertical
:
0
.3em
!
default
;
$field-padding-horizontal
:
0
.7em
;
$field-padding-horizontal
:
0
.7em
!
default
;
$border-radius
:
3px
;
$border-radius
:
3px
!
default
;
.btn
{
.btn
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
...
src/blocks/page-footer/page-footer.scss
View file @
9fe10eac
// В этом файле должны быть стили только для БЭМ-блока page-
head
er, его элементов,
// В этом файле должны быть стили только для БЭМ-блока page-
foot
er, его элементов,
// модификаторов, псевдоселекторов, псевдоэлементов, @media-условий...
// модификаторов, псевдоселекторов, псевдоэлементов, @media-условий...
// Не пишите здесь другие селекторы.
// Не пишите здесь другие селекторы.
.page-footer
{
.page-footer
{
}
}
src/blocks/page/page.scss
View file @
9fe10eac
// Make viewport
responsive
// Make viewport
great again (responsive)
// 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
{
...
@@ -53,6 +53,11 @@ body {
...
@@ -53,6 +53,11 @@ body {
cursor
:
pointer
;
cursor
:
pointer
;
}
}
// We love Safari
input
[
type
=
"search"
]
{
-webkit-appearance
:
textfield
;
}
// 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.
a
,
a
,
//
area
,
//
area
,
...
@@ -66,6 +71,15 @@ textarea {
...
@@ -66,6 +71,15 @@ textarea {
touch-action
:
manipulation
;
touch-action
:
manipulation
;
}
}
// We love EDGE! This is a browser!
svg
{
a
&
,
button
&
{
pointer-events
:
none
;
}
}
img
{
img
{
max-width
:
100%
;
max-width
:
100%
;
height
:
auto
;
height
:
auto
;
...
...
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