Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
christophery committed Dec 29, 2020
1 parent 4ec32d8 commit 17acca0
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 7 deletions.
3 changes: 1 addition & 2 deletions css/demo.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ ul {
cursor: pointer;
border: 0px;
}

.menu-btn:hover {
opacity: 0.6;
}
Expand All @@ -50,5 +51,3 @@ ul {
font-size: 0.8em;
text-align: center;
}

/*# sourceMappingURL=demo.css.map */
22 changes: 19 additions & 3 deletions css/pushy.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Pushy - v1.3.0 - 2019-6-25
/*! Pushy - v1.4.0 - 2020-12-28
* Pushy is a responsive off-canvas navigation menu using CSS transforms & transitions.
* https://github.com/christophery/pushy/
* by Christopher Yee */
Expand All @@ -14,21 +14,26 @@
-webkit-overflow-scrolling: touch;
/* enables momentum scrolling in iOS overflow elements */
}

.pushy a {
display: block;
color: #b3b3b1;
padding: 15px 30px;
text-decoration: none;
}

.pushy a:hover {
color: #FFF;
}

.pushy ul:first-child {
margin-top: 10px;
}

.pushy.pushy-left {
left: 0;
}

.pushy.pushy-right {
right: 0;
}
Expand Down Expand Up @@ -70,6 +75,7 @@
-ms-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}

.pushy-open-left .pushy-content,
.pushy-open-right .pushy-content {
visibility: visible;
Expand Down Expand Up @@ -113,6 +119,7 @@
opacity: 1;
}
}

@-webkit-keyframes fade {
0% {
opacity: 0;
Expand All @@ -121,18 +128,22 @@
opacity: 1;
}
}

/* Submenu Appearance */
.pushy-submenu {
/* Submenu Buttons */
/* Submenu Icon */
}

.pushy-submenu > ul {
padding-left: 15px;
transition: max-height 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.pushy-submenu > ul .pushy-link {
transition: opacity 0.2s ease-in-out;
}

.pushy-submenu button {
width: 100%;
color: #b3b3b1;
Expand All @@ -141,13 +152,16 @@
background: transparent;
border: 0;
}

.pushy-submenu button:hover {
color: #FFF;
}

.pushy-submenu > a,
.pushy-submenu > button {
position: relative;
}

.pushy-submenu > a::after,
.pushy-submenu > button::after {
content: '';
Expand All @@ -170,25 +184,27 @@
overflow: hidden;
visibility: hidden;
}

.pushy-submenu-closed .pushy-link {
opacity: 0;
}

.pushy-submenu-open {
/* Submenu Icon */
}

.pushy-submenu-open > ul {
max-height: 1000px;
visibility: visible;
}

.pushy-submenu-open .pushy-link {
opacity: 1;
}

.pushy-submenu-open > a::after,
.pushy-submenu-open > button::after {
-webkit-transform: translateY(-50%) rotate(90deg);
-ms-transform: translateY(-50%) rotate(90deg);
transform: translateY(-50%) rotate(90deg);
}

/*# sourceMappingURL=pushy.css.map */
2 changes: 1 addition & 1 deletion js/pushy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Pushy - v1.3.0 - 2019-6-25
/*! Pushy - v1.4.0 - 2020-12-28
* Pushy is a responsive off-canvas navigation menu using CSS transforms & transitions.
* https://github.com/christophery/pushy/
* by Christopher Yee */
Expand Down
2 changes: 1 addition & 1 deletion scss/pushy.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Pushy - v1.3.0 - 2019-6-25
/*! Pushy - v1.4.0 - 2020-12-28
* Pushy is a responsive off-canvas navigation menu using CSS transforms & transitions.
* https://github.com/christophery/pushy/
* by Christopher Yee */
Expand Down

0 comments on commit 17acca0

Please sign in to comment.