Skip to content

Commit

Permalink
v3.0.0 New version JS
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-5 committed Sep 24, 2017
1 parent 3df013b commit cce0189
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 16 deletions.
30 changes: 22 additions & 8 deletions css/ma5-menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
}

.ma5menu__footer {
padding: 20px 20px 15px 20px;
padding: 20px 20px 30px 20px;
text-align: center;
color: rgba(255, 255, 255, 0.6);
background-color: transparent;
Expand Down Expand Up @@ -262,7 +262,7 @@
position: fixed;
background-color: #0e65b6;
height: 100%;
height: 100vh;
height: 100%;
top: 0;
line-height: 19px;
overflow: hidden;
Expand Down Expand Up @@ -451,6 +451,12 @@
}
}

.ma5menu__panel.has-scrollbar {
overflow: hidden;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
}

.ma5menu__panel:hover::-webkit-scrollbar-thumb {
background-color: rgba(255, 255, 255, 0.4);
}
Expand Down Expand Up @@ -813,14 +819,22 @@
.ma5menu--active > body .ma5menu__container * {
pointer-events: auto;
}
.ma5menu--active > body .ma5menu__container .ma5menu__alert {
pointer-events: none;
}
.ma5menu--active > body .ma5menu__container--scroll {
pointer-events: auto;
}
}

.ma5menu--active.has-body-scrollbar {
overflow: hidden;
overflow-y: scroll;
height: auto;
min-height: 100vh;
-webkit-overflow-scrolling: touch;
@media (max-width: 1199px) {
.ma5menu--active.has-body-scrollbar {
overflow: hidden;
overflow-y: scroll;
height: auto;
min-height: 100%;
-webkit-overflow-scrolling: touch;
}
}

.ma5menu--active.ma5menu--left:before {
Expand Down
Loading

0 comments on commit cce0189

Please sign in to comment.