Skip to content

Commit

Permalink
Version 1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiesigner committed Feb 11, 2022
1 parent ba55ec0 commit ad2ec91
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion assets/css/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@
"desktop": "assets/screenshot-desktop.jpg",
"mobile": "assets/screenshot-mobile.jpg"
},
"version": "1.5.1"
"version": "1.5.2"
}
20 changes: 11 additions & 9 deletions src/sass/components/header/_submenu.scss
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
.m-submenu {
padding-top: 25px;

@include respond-to('medium') {
@include respond-to("medium") {
visibility: hidden;
position: fixed;
top: 45px;
left: 0;
width: 100%;
padding: 30px 0 20px 0;
white-space: normal;
background-color: var(--background-color);
border-top: 1px solid var(--secondary-border-color);
z-index: 5;
@include bs(0 60px 60px rgba(0,0,0,var(--submenu-shadow-color-opacity)));
@include bs(0 60px 60px rgba(0, 0, 0, var(--submenu-shadow-color-opacity)));
}

@include respond-to('extra-large') {
@include respond-to("extra-large") {
padding: 32px 0 23px 0;
}

&.opened {
@include respond-to('medium') {
@include respond-to("medium") {
visibility: visible;
backface-visibility: visible !important;
@include animation('openSubmenuAnimation 0.3s both');
@include animation("openSubmenuAnimation 0.3s both");
@include keyframes(openSubmenuAnimation) {
from {
opacity: 0;
Expand All @@ -37,9 +38,9 @@
}

&.closed {
@include respond-to('medium') {
@include respond-to("medium") {
backface-visibility: visible !important;
@include animation('closeSubmenuAnimation 0.3s both');
@include animation("closeSubmenuAnimation 0.3s both");
@include keyframes(closeSubmenuAnimation) {
from {
visibility: visible;
Expand All @@ -56,8 +57,9 @@
}
}

_:-ms-fullscreen, :root .m-submenu {
@include respond-to('medium') {
_:-ms-fullscreen,
:root .m-submenu {
@include respond-to("medium") {
top: 65px;
}
}

0 comments on commit ad2ec91

Please sign in to comment.