Skip to content

Commit 4f51bd2

Browse files
committed
Merge branch 'release/1.6.1'
2 parents 4bba462 + f00cc7e commit 4f51bd2

File tree

5 files changed

+106
-13
lines changed

5 files changed

+106
-13
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# v1.6.1
2+
## 12/10/2016
3+
4+
1. [](#improved)
5+
* Added background animation when scrolling the menu in sticky mode
6+
1. [](#bugfix)
7+
* Fixed some mobile alignments for hamburger and search icons in sticky mode
8+
19
# v1.6.0
210
## 12/09/2016
311

blueprints.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Deliver
2-
version: 1.6.0
2+
version: 1.6.1
33
description: "Deliver theme is a port of the Michael Reimer's Deliver Free PSD theme."
44
icon: newspaper-o
55
author:

css-compiled/template.css

+50-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css-compiled/template.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scss/template/_header.scss

+46-5
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@
2626
width: 100%;
2727
opacity: 0.9;
2828
box-shadow: 0 0px 20px 0px rgba(0,0,0,0.2);
29+
30+
@include breakpoint(mobile-only) {
31+
padding-left: 10px;
32+
padding-right: 10px;
33+
}
2934
}
3035

3136
.logo {
@@ -92,14 +97,19 @@
9297
color: transparent;
9398
}
9499

95-
@include breakpoint(mobile-only) {
96-
float: left;
97-
text-align: left;
100+
@include breakpoint(desktop-only) {
101+
text-align: right;
102+
position: absolute;
103+
right: 10px;
104+
105+
top: 50%;
106+
@include transform(translateY(1rem));
107+
98108
i {
99109
left: 0.6rem;
100110
}
101111
input[type=search] {
102-
padding-left: 2rem;
112+
padding-right: 2rem;
103113
&:focus {
104114
width: 8rem;
105115
}
@@ -108,8 +118,34 @@
108118

109119
}
110120

121+
.fixed {
122+
.search-box {
123+
@include breakpoint(desktop-only) {
124+
top: 50%;
125+
@include transform(translateY(-50%));
126+
}
127+
}
128+
129+
.panel-activation {
130+
@include breakpoint(desktop-only) {
131+
top: 50% !important;
132+
@include transform(translateY(-50%) !important);
133+
}
134+
}
135+
}
136+
111137
#navbar {
112138
font-size: $core-font-size + 0.1rem;
139+
140+
@include breakpoint(mobile-only) {
141+
margin-left: -1rem;
142+
margin-right: -1rem;
143+
144+
&.fixed {
145+
margin: 0;
146+
}
147+
}
148+
113149
ul {
114150

115151
margin: 0;
@@ -196,13 +232,18 @@
196232
float: right;
197233
@include breakpoint(desktop-only) {
198234
display: inline-block;
235+
position: absolute;
236+
left: 0;
237+
top: 50%;
238+
@include transform(translateY(0));
199239
}
200240
}
201241
}
202242
}
203243

204244
.modular.header-image #header .fixed {
205245
background: #666;
246+
@include transition(background 0.3s ease-in-out);
206247
}
207248

208249
.header-image {
@@ -291,4 +332,4 @@
291332
}
292333
}
293334
}
294-
}
335+
}

0 commit comments

Comments
 (0)