From 7aa1028cbe6a655b4547ad1e94110aae0186f1a3 Mon Sep 17 00:00:00 2001 From: Pablo Cuadrado Date: Sun, 29 Jun 2014 15:12:30 -0300 Subject: [PATCH 1/2] minor style fix for user menu --- app/assets/stylesheets/header.css.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/assets/stylesheets/header.css.scss b/app/assets/stylesheets/header.css.scss index 3b871d8f7..31f7ca3d4 100644 --- a/app/assets/stylesheets/header.css.scss +++ b/app/assets/stylesheets/header.css.scss @@ -256,7 +256,7 @@ body > header { top: -4px; float: right; margin: -2px -5px 0px 0px; - padding: 5px 7px 5px 32px; + padding: 0; border-left: 1px solid #333; border-right: 1px solid #333; @@ -270,7 +270,8 @@ body > header { } .user-menu-item a { - padding: 4px; + cursor: pointer; + padding: 4px 8px; height: 100%; color: $text-grey; @@ -282,7 +283,7 @@ body > header { } .user-menu-trigger { - padding: 5px 0; + padding: 10px 25px 10px 40px; &:hover { color: $highlight-white; @@ -291,7 +292,6 @@ body > header { } .user-name { - padding: 4px 15px 4px 4px; &:hover { background-color: transparent; @@ -307,11 +307,11 @@ body > header { } .user-menu-avatar { - height: 22px; - width: 22px; + height: 25px; + width: 25px; position: absolute; - left: 7px; - top: 9px; + left: 8px; + top: 8px; display: block; } From 4232d830ee8723e4b1f9ea4d3dbb1a20cb3aa44f Mon Sep 17 00:00:00 2001 From: Pablo Cuadrado Date: Sun, 29 Jun 2014 18:24:54 -0300 Subject: [PATCH 2/2] left padding added, unnecesary cursor pointer removed --- app/assets/stylesheets/header.css.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/stylesheets/header.css.scss b/app/assets/stylesheets/header.css.scss index 31f7ca3d4..66af41072 100644 --- a/app/assets/stylesheets/header.css.scss +++ b/app/assets/stylesheets/header.css.scss @@ -270,8 +270,7 @@ body > header { } .user-menu-item a { - cursor: pointer; - padding: 4px 8px; + padding: 4px 8px 4px 40px; height: 100%; color: $text-grey;