Skip to content

Commit

Permalink
Merge branch 'release/1.6.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
w00fz committed Dec 10, 2016
2 parents 4bba462 + f00cc7e commit 4f51bd2
Show file tree
Hide file tree
Showing 5 changed files with 106 additions and 13 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# v1.6.1
## 12/10/2016

1. [](#improved)
* Added background animation when scrolling the menu in sticky mode
1. [](#bugfix)
* Fixed some mobile alignments for hamburger and search icons in sticky mode

# v1.6.0
## 12/09/2016

Expand Down
2 changes: 1 addition & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Deliver
version: 1.6.0
version: 1.6.1
description: "Deliver theme is a port of the Michael Reimer's Deliver Free PSD theme."
icon: newspaper-o
author:
Expand Down
56 changes: 50 additions & 6 deletions css-compiled/template.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css-compiled/template.css.map

Large diffs are not rendered by default.

51 changes: 46 additions & 5 deletions scss/template/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
width: 100%;
opacity: 0.9;
box-shadow: 0 0px 20px 0px rgba(0,0,0,0.2);

@include breakpoint(mobile-only) {
padding-left: 10px;
padding-right: 10px;
}
}

.logo {
Expand Down Expand Up @@ -92,14 +97,19 @@
color: transparent;
}

@include breakpoint(mobile-only) {
float: left;
text-align: left;
@include breakpoint(desktop-only) {
text-align: right;
position: absolute;
right: 10px;

top: 50%;
@include transform(translateY(1rem));

i {
left: 0.6rem;
}
input[type=search] {
padding-left: 2rem;
padding-right: 2rem;
&:focus {
width: 8rem;
}
Expand All @@ -108,8 +118,34 @@

}

.fixed {
.search-box {
@include breakpoint(desktop-only) {
top: 50%;
@include transform(translateY(-50%));
}
}

.panel-activation {
@include breakpoint(desktop-only) {
top: 50% !important;
@include transform(translateY(-50%) !important);
}
}
}

#navbar {
font-size: $core-font-size + 0.1rem;

@include breakpoint(mobile-only) {
margin-left: -1rem;
margin-right: -1rem;

&.fixed {
margin: 0;
}
}

ul {

margin: 0;
Expand Down Expand Up @@ -196,13 +232,18 @@
float: right;
@include breakpoint(desktop-only) {
display: inline-block;
position: absolute;
left: 0;
top: 50%;
@include transform(translateY(0));
}
}
}
}

.modular.header-image #header .fixed {
background: #666;
@include transition(background 0.3s ease-in-out);
}

.header-image {
Expand Down Expand Up @@ -291,4 +332,4 @@
}
}
}
}
}

0 comments on commit 4f51bd2

Please sign in to comment.