gitlab logo added to top panel

This commit is contained in:
Dmitriy Zaporozhets 2012-01-19 21:00:50 +02:00
parent 00d7bfda95
commit 5e3b7314bd
5 changed files with 12 additions and 18 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 561 B

BIN
app/assets/images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View file

@ -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;
.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;

View file

@ -1,19 +1,9 @@
.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 {
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;
} }

View file

@ -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