classic theme improved, images refactored

This commit is contained in:
Dmitriy Zaporozhets 2012-03-13 22:17:13 +02:00
parent 0fe36374d8
commit 781f5aa6fb
15 changed files with 45 additions and 36 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 568 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 561 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 333 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

View file

Before

Width:  |  Height:  |  Size: 177 B

After

Width:  |  Height:  |  Size: 177 B

View file

Before

Width:  |  Height:  |  Size: 295 B

After

Width:  |  Height:  |  Size: 295 B

View file

Before

Width:  |  Height:  |  Size: 749 B

After

Width:  |  Height:  |  Size: 749 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

View file

@ -43,11 +43,14 @@
.app_logo {
width:230px;
float:left;
position:relative;
top:-5px;
a {
float:left;
h1 {
background: url('logo_tr.png') no-repeat -3px -4px;
float:left;
margin-left:5px;
font-size:20px;
@ -55,16 +58,8 @@
font-weight:bold;
color:#aaa;
text-shadow: 0 1px 1px #FFF;
}
&.home {
img {
float: left;
position: relative;
top: -9px;
width:46px;
}
padding-left:50px;
padding-top:5px;
}
}
}

View file

@ -9,6 +9,28 @@
*
*/
.ui_mars {
background:#eee;
.container {
border: 1px solid rgba(0,0,0,.22);
box-shadow: 0 0 0px 4px rgba(0,0,0,.04);
background:white;
margin-top:20px;
min-height:500px;
nav.main_menu {
margin:0;
margin-bottom: 20px;
border:none;
border-bottom: 1px solid #bbb;
border-radius:0;
a {
border-radius:0;
}
}
}
/*
* Common styles
@ -71,29 +93,22 @@
width:230px;
float:left;
position:relative;
top:-4px;
top:-5px;
a {
float:left;
h1 {
background: url('images.png') no-repeat -3px -7px;
width: 65px;
height: 26px;
margin: 5px 0;
padding: 0;
display: block;
background: url('logo_wh.png') no-repeat -3px -4px;
float:left;
text-indent: -1000em;
}
&.home {
img {
display:none
}
margin-left:5px;
font-size:20px;
line-height:36px;
font-weight:bold;
color:#ccc;
text-shadow: 0 1px 1px #111;
padding-left:50px;
padding-top:5px;
}
}
}
@ -104,8 +119,8 @@
position:relative;
padding:15px 0;
.top_panel_content {
margin:0 $app_padding;
.account-box img {
right:0;
}
}

View file

@ -5,22 +5,22 @@
%span.removed_file
%a{:href => "##{diff.a_path}"}
= diff.a_path
= image_tag "blueprint_delete.png"
= image_tag "diff_file_delete.png"
- elsif diff.renamed_file
%span.moved_file
%a{:href => "##{diff.b_path}"}
= diff.a_path
= "->"
= diff.b_path
= image_tag "blueprint_notice.png"
= image_tag "diff_file_notice.png"
- elsif diff.new_file
%span.new_file
%a{:href => "##{diff.b_path}"}
= diff.b_path
= image_tag "blueprint_add.png"
= image_tag "diff_file_add.png"
- else
%span.edit_file
%a{:href => "##{diff.b_path}"}
= diff.b_path
= image_tag "blueprint_info.png"
= image_tag "diff_file_info.png"

View file

@ -4,7 +4,6 @@
.top_panel_content
%div.app_logo
= link_to root_path, :class => "home", :title => "Home" do
= image_tag "logo_tr.png", :width => 50
%h1
GITLAB
%h1.project_name= title