summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-03 19:20:23 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-03 19:20:41 +0200
commitc389a94b5b5c8d4637c0f34abb02c94ca0eb3fe1 (patch)
tree4b93a299c4abaa83eeb0d6a9738a13e02c64f6a5
parent4f592051dd7daa44ead6048328114fd9927f717b (diff)
downloadgitlab-ci-c389a94b5b5c8d4637c0f34abb02c94ca0eb3fe1.tar.gz
Several improvements to header UI
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/assets/stylesheets/sections/navbar.scss9
-rw-r--r--app/views/layouts/_nav.html.haml2
2 files changed, 5 insertions, 6 deletions
diff --git a/app/assets/stylesheets/sections/navbar.scss b/app/assets/stylesheets/sections/navbar.scss
index dca9efa..efa70eb 100644
--- a/app/assets/stylesheets/sections/navbar.scss
+++ b/app/assets/stylesheets/sections/navbar.scss
@@ -15,7 +15,6 @@
.brand,
.nav > li > a {
color: #fff;
- text-shadow: 0 1px 0 #167;
&:hover, &:focus, &:active {
background: none;
@@ -27,13 +26,13 @@
img {
position: absolute;
- top: -2px;
- width: 24px;
- @include border-radius(4px);
+ top: -8px;
+ width: 32px;
+ @include border-radius(32px);
}
span {
- margin-left: 35px;
+ margin-left: 42px;
}
}
diff --git a/app/views/layouts/_nav.html.haml b/app/views/layouts/_nav.html.haml
index 7ea53b4..042fedb 100644
--- a/app/views/layouts/_nav.html.haml
+++ b/app/views/layouts/_nav.html.haml
@@ -21,7 +21,7 @@
%li
= link_to user_sessions_path do
.profile-holder
- = image_tag gravatar_icon(current_user.email, 24)
+ = image_tag gravatar_icon(current_user.email, 64)
%span= current_user.name
%li
= link_to user_sessions_path, class: "logout", method: :delete do