From 69673d40e9b7a6007f54e98341c4ddef871d3845 Mon Sep 17 00:00:00 2001 From: Josef Citrine Date: Thu, 2 Jun 2016 00:09:05 +0100 Subject: [PATCH] Hide notification button on mobile for now --- resources/assets/styles/content.less | 2 +- resources/assets/styles/mobile.less | 15 +++++++++++---- resources/views/shared/_app_layout.blade.php | 2 +- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/resources/assets/styles/content.less b/resources/assets/styles/content.less index 56d956e4..b444ec4b 100644 --- a/resources/assets/styles/content.less +++ b/resources/assets/styles/content.less @@ -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 { diff --git a/resources/assets/styles/mobile.less b/resources/assets/styles/mobile.less index 124240de..d10dbbb4 100644 --- a/resources/assets/styles/mobile.less +++ b/resources/assets/styles/mobile.less @@ -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; + } } diff --git a/resources/views/shared/_app_layout.blade.php b/resources/views/shared/_app_layout.blade.php index 0691fae8..235730f5 100644 --- a/resources/views/shared/_app_layout.blade.php +++ b/resources/views/shared/_app_layout.blade.php @@ -75,7 +75,7 @@
-