mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-25 14:37:59 +01:00
Hide notification button on mobile for now
This commit is contained in:
parent
87d0c5fca2
commit
69673d40e9
3 changed files with 13 additions and 6 deletions
2
resources/assets/styles/content.less
vendored
2
resources/assets/styles/content.less
vendored
|
@ -577,7 +577,7 @@ html {
|
|||
z-index: 1000;
|
||||
background: #fff;
|
||||
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
|
||||
transition: transform 0.5s ease;
|
||||
transition: transform 0.3s ease;
|
||||
transform: translateX(0px) translateZ(0px);
|
||||
|
||||
&.active {
|
||||
|
|
15
resources/assets/styles/mobile.less
vendored
15
resources/assets/styles/mobile.less
vendored
|
@ -56,7 +56,6 @@
|
|||
|
||||
.sidebar {
|
||||
left: -170px;
|
||||
transition: transform 0.5s ease;
|
||||
transform: translateX(0px) translateZ(0);
|
||||
perspective: 1000;
|
||||
backface-visibility: hidden;
|
||||
|
@ -68,10 +67,14 @@
|
|||
> a {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar.active {
|
||||
transform: translateX(170px) translateZ(0);
|
||||
&.animated {
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
&.active {
|
||||
transform: translateX(170px) translateZ(0);
|
||||
}
|
||||
}
|
||||
|
||||
.user-details > .avatar {
|
||||
|
@ -252,4 +255,8 @@
|
|||
.notification-pullout {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.notification-menu {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
</header>
|
||||
|
||||
<div class="site-body">
|
||||
<ul class="sidebar" ng-controller="sidebar" ng-class="{'active': menuActive}">
|
||||
<ul class="sidebar animated" ng-controller="sidebar" ng-class="{'active': menuActive}">
|
||||
<a href="/">
|
||||
<img src="/images/ponyfm-logo-white.svg" class="logo">
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue