Commit 5e3b7314 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

gitlab logo added to top panel

parent 00d7bfda
...@@ -435,7 +435,12 @@ header .account-box{ ...@@ -435,7 +435,12 @@ header .account-box{
float: right; float: right;
display: block; display: block;
cursor: pointer;} cursor: pointer;}
header .account-box img{ border-radius: 4px; right: 20px; position: absolute; width: 38px; height: 38px; display: block; box-shadow: 0 1px 2px black; top:-3px;} header .account-box img{
border-radius: 4px;
right: 20px;
position: absolute;
width: 33px; height: 33px;
display: block; box-shadow: 0 1px 2px black; top:0;}
header .account-box img:after{ header .account-box img:after{
content: " "; content: " ";
display: block; display: block;
...@@ -459,7 +464,8 @@ float: right; ...@@ -459,7 +464,8 @@ float: right;
.account-box.hover{height: 138px;} .account-box.hover{height: 138px;}
.account-box:hover > .account-links{display: block;} .account-box:hover > .account-links{display: block;}
header .account-links{background: white; display: none; border-radius: 5px; width: 100px; margin-top: 0; float: right; box-shadow: 0 1px 1px rgba(0,0,0,.2); position:relative;} header .account-links{
background: #79C3E0; display: none; border-radius: 5px; width: 100px; margin-top: 0; float: right; box-shadow: 0 1px 1px rgba(0,0,0,.2); position:relative;}
header .account-links:before { header .account-links:before {
content: "."; content: ".";
width:0; width:0;
......
.main_links { .main_links {
width:90px; width:130px;
margin-right:40px;
float:left; float:left;
background:#ddd;
@include round-borders-all(8px);
border-color:#ccc;
a { a {
position: relative;
float:left; float:left;
padding: 3px 10px;
img {
width: 22px;
}
} }
} }
...@@ -88,7 +78,7 @@ body header { ...@@ -88,7 +78,7 @@ body header {
margin-right:30px; margin-right:30px;
font-size:16px; font-size:16px;
font-weight:bold; font-weight:bold;
padding:5px 7px; padding:8px;
color:#333; color:#333;
} }
......
...@@ -4,9 +4,7 @@ ...@@ -4,9 +4,7 @@
.top_panel_content .top_panel_content
%div.main_links %div.main_links
= link_to root_path, :class => "home", :title => "Home" do = link_to root_path, :class => "home", :title => "Home" do
= image_tag "Home-UI.PNG" = image_tag "logo.png", :width => 100
= link_to projects_path, :title => "Projects" do
= image_tag "Storage-UI.PNG"
- if project_layout - if project_layout
.project_name .project_name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment