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

View file

@ -9,6 +9,28 @@
* *
*/ */
.ui_mars { .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 * Common styles
@ -70,30 +92,23 @@
.app_logo { .app_logo {
width:230px; width:230px;
float:left; float:left;
position:relative; position:relative;
top:-4px; top:-5px;
a { a {
float:left; float:left;
h1 { h1 {
background: url('logo_wh.png') no-repeat -3px -4px;
background: url('images.png') no-repeat -3px -7px; float:left;
width: 65px; margin-left:5px;
height: 26px; font-size:20px;
margin: 5px 0; line-height:36px;
padding: 0; font-weight:bold;
display: block; color:#ccc;
float: left; text-shadow: 0 1px 1px #111;
text-indent: -1000em; padding-left:50px;
padding-top:5px;
}
&.home {
img {
display:none
}
} }
} }
} }
@ -104,8 +119,8 @@
position:relative; position:relative;
padding:15px 0; padding:15px 0;
.top_panel_content { .account-box img {
margin:0 $app_padding; right:0;
} }
} }

View file

@ -5,22 +5,22 @@
%span.removed_file %span.removed_file
%a{:href => "##{diff.a_path}"} %a{:href => "##{diff.a_path}"}
= diff.a_path = diff.a_path
= image_tag "blueprint_delete.png" = image_tag "diff_file_delete.png"
- elsif diff.renamed_file - elsif diff.renamed_file
%span.moved_file %span.moved_file
%a{:href => "##{diff.b_path}"} %a{:href => "##{diff.b_path}"}
= diff.a_path = diff.a_path
= "->" = "->"
= diff.b_path = diff.b_path
= image_tag "blueprint_notice.png" = image_tag "diff_file_notice.png"
- elsif diff.new_file - elsif diff.new_file
%span.new_file %span.new_file
%a{:href => "##{diff.b_path}"} %a{:href => "##{diff.b_path}"}
= diff.b_path = diff.b_path
= image_tag "blueprint_add.png" = image_tag "diff_file_add.png"
- else - else
%span.edit_file %span.edit_file
%a{:href => "##{diff.b_path}"} %a{:href => "##{diff.b_path}"}
= 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 .top_panel_content
%div.app_logo %div.app_logo
= link_to root_path, :class => "home", :title => "Home" do = link_to root_path, :class => "home", :title => "Home" do
= image_tag "logo_tr.png", :width => 50
%h1 %h1
GITLAB GITLAB
%h1.project_name= title %h1.project_name= title