From 05e4c2abb8796b172746de635d67d9d26c5840cb Mon Sep 17 00:00:00 2001 From: bechi Date: Thu, 15 Jan 2015 11:16:59 -0300 Subject: [PATCH] fix header profile on sidebar mobile --- css/src/mobile.css | 18 ++++++++++-------- views/includes/sidebar-mobile.html | 13 +++++-------- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/css/src/mobile.css b/css/src/mobile.css index f84e36c12..068992531 100644 --- a/css/src/mobile.css +++ b/css/src/mobile.css @@ -57,18 +57,20 @@ } header { - height: 45px; - background-color: #213140; + background-image: -webkit-linear-gradient(#2C3E50 0%, #1D2833 100%); + background-image: -o-linear-gradient(#2C3E50 0%, #1D2833 100%); + background-image: linear-gradient(#2C3E50 0%, #1D2833 100%); + box-shadow: 0px 1px 0px 0px #2C3E50, inset -1px 0px 0px 0px rgba(0,0,0,0.24); + height: 120px; width: 100%; line-height: 110%; - padding-left: 0.45rem; + padding: 1rem; } header .photo-container { - width: 35px; - height: 35px; - margin-right: 10px; - margin-top: 5px; + width: 45px; + height: 45px; + margin-bottom: 5px; } header h1 { @@ -78,7 +80,7 @@ .scroll-section { position: absolute; - top: 45px; + top: 120px; overflow-y: auto; } diff --git a/views/includes/sidebar-mobile.html b/views/includes/sidebar-mobile.html index be8c2ea8d..d40c7024d 100644 --- a/views/includes/sidebar-mobile.html +++ b/views/includes/sidebar-mobile.html @@ -1,14 +1,11 @@ -
-
- +
+
+
-
-
{{$root.iden.getName()}}
+
+
{{$root.iden.getName()}}
{{'View My Profile' | translate }}
-
- -