Skip to content

Commit

Permalink
[foundation] hamburger menu smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
DorienD committed Mar 1, 2017
1 parent c68dc74 commit 0a51ad7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 18 deletions.
15 changes: 11 additions & 4 deletions modules/mod_ginger_foundation/lib/css/src/blocks/_toggle-menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,30 @@
.toggle-menu span:after {
display: block;
content: '';
width: 35px;
width: 27px;
height: 3px;
position: absolute;
left: 5px;
background: $mainThemeColor;
cursor: pointer;
border-radius: 1px;
}

.toggle-menu span:before,
.toggle-menu span:after {
left: 0px;
}

.toggle-menu span {
top: 18px;
}

.toggle-menu span:before {
top: -10px;
top: -7px;
}

.toggle-menu span:after {
bottom: -10px;
bottom: -7px;
}

.toggle-menu span,
Expand All @@ -37,7 +43,8 @@
background-color: transparent;
}

.toggle-menu.is-active span:before, .toggle-menu.is-active span:after {
.toggle-menu.is-active span:before,
.toggle-menu.is-active span:after {
top: 0;
}

Expand Down
14 changes: 0 additions & 14 deletions modules/mod_ginger_foundation/lib/css/src/pages/_edit.scss
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
// Zotonic defaults

.minimalTabs li.active > a,
.minimalTabs li.active > a:focus,
.minimalTabs li.active > a:hover,
.nav.nav-pills li.active > a,
.nav.nav-pills li.active > a:focus,
.nav.nav-pills li.active > a:hover,
.widget ul.nav-tabs li.active > a,
.widget ul.nav-tabs li.active > a:focus,
.widget ul.nav-tabs li.active > a:hover {
border-color: $mainThemeColor;
}

.widget.widget-expanded .widget-header .widget-header-tools .z-btn-help,
.widget.dark.widget-expanded .widget-header .widget-header-tools .z-btn-help {
color: $mainThemeColor;
Expand Down

0 comments on commit 0a51ad7

Please sign in to comment.