Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hamberger to hamburger #6

Merged
merged 1 commit into from
Feb 28, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions dist/css/drawer.css

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

2 changes: 1 addition & 1 deletion dist/css/drawer.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/drawer.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/_includes/documentation/browser-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ $(document).ready(function(){

``` html
<div class="drawer-header">
<button type="button" class="drawer-toggle drawer-hamberger">
<button type="button" class="drawer-toggle drawer-hamburger">
<span class="sr-only">toggle navigation</span>
<span class="drawer-hamberger-icon"></span>
<span class="drawer-hamburger-icon"></span>
</button>
</div>
```
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/documentation/html-markup.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ Drawer markup can be used in various ways such as lovely sites:

<header role="banner">
<div class="drawer-header">
<button type="button" class="drawer-toggle drawer-hamberger">
<button type="button" class="drawer-toggle drawer-hamburger">
<span class="sr-only">toggle navigation</span>
<span class="drawer-hamberger-icon"></span>
<span class="drawer-hamburger-icon"></span>
</button>
</div>

Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/example-setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@

<header role="banner">
<div class="drawer-header">
<button type="button" class="drawer-toggle drawer-hamberger">
<button type="button" class="drawer-toggle drawer-hamburger">
<span class="sr-only">toggle navigation</span>
<span class="drawer-hamberger-icon"></span>
<span class="drawer-hamburger-icon"></span>
</button>
</div>

Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

<header role="banner">
<div class="drawer-header">
<button type="button" class="drawer-toggle drawer-hamberger">
<button type="button" class="drawer-toggle drawer-hamburger">
<span class="sr-only">toggle navigation</span>
<span class="drawer-hamberger-icon"></span>
<span class="drawer-hamburger-icon"></span>
</button>
</div>

Expand Down
10 changes: 5 additions & 5 deletions src/less/core.less
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,20 @@ body.drawer-navbar.drawer-fixed {
position: relative;
}

// hamberger
// hamburger
// ======================================
.drawer-left .drawer-hamberger {
.drawer-left .drawer-hamburger {
left: 0;
transform: translateX(0px) translateY(0px);
}
.drawer-left.drawer-open .drawer-hamberger {
.drawer-left.drawer-open .drawer-hamburger {
transform: translateX(@drawer-width-phone) translateY(0px);
}
.drawer-right .drawer-hamberger {
.drawer-right .drawer-hamburger {
right: 0;
transform: translateX(0px) translateY(0px);
}
.drawer-right.drawer-open .drawer-hamberger {
.drawer-right.drawer-open .drawer-hamburger {
transform: translateX(-@drawer-width-phone) translateY(0px);
}

Expand Down
4 changes: 2 additions & 2 deletions src/less/drawer.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

@drawer-nav-bg-color: #222;
@drawer-navbar-bg-color: #fff; // navbar desktop only
@drawer-hamberger-bg-color: #ddd;
@drawer-hamburger-bg-color: #ddd;
@drawer-text-color: #555;
@drawer-link-color: #888;
@drawer-hover-color: #fff;
Expand All @@ -25,7 +25,7 @@
@drawer-duration: .4s;

@import "core.less";
@import "hamberger.less";
@import "hamburger.less";
@import "nav.less";
@import "navbar.less";
@import "dropdown.less";
Expand Down
6 changes: 3 additions & 3 deletions src/less/hamberger.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
background: 0;
}
}
.drawer-hamberger {
.drawer-hamburger {
position: fixed;
display: block;
top: 0;
Expand All @@ -19,7 +19,7 @@
cursor: pointer;
}
}
.drawer-hamberger-icon {
.drawer-hamburger-icon {
position: relative;
display: block;
margin-top: 10px;
Expand All @@ -29,7 +29,7 @@
height: 3px;
width: 100%;
border-radius: 1px;
background-color: @drawer-hamberger-bg-color;
background-color: @drawer-hamburger-bg-color;
transition: all @drawer-duration @drawer-ease;
}
&:before,
Expand Down