Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bobcat-su_full
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sergey
bobcat-su_full
Commits
9d1a27fe
Commit
9d1a27fe
authored
Nov 27, 2018
by
Sergey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upd gulpfile and upd header
parent
bb7dc385
Pipeline
#17
failed with stages
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
66 additions
and
4 deletions
+66
-4
gulpfile.js
gulpfile.js
+7
-0
header-main.scss
src/scss/common/header/header-main.scss
+6
-0
header-nav.scss
src/scss/common/header/header-nav.scss
+14
-0
color.scss
src/scss/settings/color.scss
+3
-0
common-style.scss
src/scss/settings/common-style.scss
+14
-0
header.html
src/template/common/header.html
+22
-4
No files found.
gulpfile.js
View file @
9d1a27fe
...
@@ -51,6 +51,13 @@ gulp.task('sass', function () {
...
@@ -51,6 +51,13 @@ gulp.task('sass', function () {
cascade
:
false
cascade
:
false
}))
}))
.
pipe
(
sass
().
on
(
'error'
,
sass
.
logError
))
.
pipe
(
sass
().
on
(
'error'
,
sass
.
logError
))
.
pipe
(
concat
(
'style.css'
))
.
pipe
(
minify
({
ext
:{
src
:
''
,
min
:
'.min.css'
},
noSource
:
false
}))
.
pipe
(
sourcemaps
.
write
())
.
pipe
(
sourcemaps
.
write
())
.
pipe
(
gulp
.
dest
(
'./build/css'
));
.
pipe
(
gulp
.
dest
(
'./build/css'
));
});
});
...
...
src/scss/common/header/header-main.scss
0 → 100644
View file @
9d1a27fe
@import
"../../settings/color"
;
.header
{
background
:
$red-color
;
}
src/scss/common/header/header-nav.scss
0 → 100644
View file @
9d1a27fe
@import
"../../settings/color"
;
.nav__list
{
display
:
flex
;
padding-left
:
0
;
margin
:
0
;
list-style-type
:
none
;
}
.nav__link
{
text-decoration
:
none
;
color
:
$white-text
;
}
\ No newline at end of file
src/scss/settings/color.scss
0 → 100644
View file @
9d1a27fe
$red-color
:
#e33000
;
$white-text
:
#fefefe
;
\ No newline at end of file
src/scss/settings/common-style.scss
0 → 100644
View file @
9d1a27fe
*,
*
:after
,
*
:before
{
box-sizing
:
border-box
;
}
body
{
margin
:
0
;
padding
:
0
;
}
.wrapper
{
width
:
1170px
;
margin
:
0
auto
;
}
\ No newline at end of file
src/template/common/header.html
View file @
9d1a27fe
...
@@ -3,8 +3,26 @@
...
@@ -3,8 +3,26 @@
<head
lang=
"ru"
>
<head
lang=
"ru"
>
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
>
<title>
Bobcat SU
</title>
<title>
Bobcat SU
</title>
<link
rel=
"stylesheet"
href=
"css/
utils
.css"
>
<link
rel=
"stylesheet"
href=
"css/
style
.css"
>
</head>
</head>
<body>
<body>
<p>
ddaddas
</p>
<header
class=
"header"
>
<p>
test headder
</p>
<div
class=
"wrapper header__wrapper"
>
\ No newline at end of file
<div
class=
"header__bl header__bl-nav"
>
<nav
class=
"header__nav"
>
<ul
class=
"header__nav-list nav__list"
>
<li
class=
"nav__item"
><a
class=
"nav__link"
href=
"#"
>
Каталог
</a></li>
<li
class=
"nav__item"
><a
class=
"nav__link"
href=
"#"
>
Сервис
</a></li>
<li
class=
"nav__item"
><a
class=
"nav__link"
href=
"#"
>
Запчасти
</a></li>
<li
class=
"nav__item"
><a
class=
"nav__link"
href=
"#"
>
Аренда
</a></li>
<li
class=
"nav__item"
><a
class=
"nav__link"
href=
"#"
>
Техника Б/У
</a></li>
<li
class=
"nav__item"
><a
class=
"nav__link"
href=
"#"
>
Акции
</a></li>
<li
class=
"nav__item"
><a
class=
"nav__link"
href=
"#"
>
Контакты
</a></li>
</ul>
</nav>
</div>
<div
class=
"header__bl"
>
</div>
</div>
</header>
\ No newline at end of file
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