OSDN Git Service

classic theme improved, images refactored
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Tue, 13 Mar 2012 20:17:13 +0000 (22:17 +0200)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Tue, 13 Mar 2012 20:17:13 +0000 (22:17 +0200)
15 files changed:
app/assets/images/Arrow-Left-UI.PNG [deleted file]
app/assets/images/Arrow-Right-UI.PNG [deleted file]
app/assets/images/add_new.png [deleted file]
app/assets/images/ajax-loader-tree.gif [deleted file]
app/assets/images/diff_file_add.png [moved from app/assets/images/blueprint_add.png with 100% similarity]
app/assets/images/diff_file_delete.png [moved from app/assets/images/blueprint_delete.png with 100% similarity]
app/assets/images/diff_file_info.png [moved from app/assets/images/blueprint_info.png with 100% similarity]
app/assets/images/diff_file_notice.png [new file with mode: 0644]
app/assets/images/logo_tr.png
app/assets/images/logo_wh.png [new file with mode: 0644]
app/assets/images/rails.png [deleted file]
app/assets/stylesheets/ui_basic.scss
app/assets/stylesheets/ui_mars.scss
app/views/commits/_diff_head.html.haml
app/views/layouts/_head_panel.html.haml

diff --git a/app/assets/images/Arrow-Left-UI.PNG b/app/assets/images/Arrow-Left-UI.PNG
deleted file mode 100644 (file)
index 80a34b4..0000000
Binary files a/app/assets/images/Arrow-Left-UI.PNG and /dev/null differ
diff --git a/app/assets/images/Arrow-Right-UI.PNG b/app/assets/images/Arrow-Right-UI.PNG
deleted file mode 100644 (file)
index 3a38daa..0000000
Binary files a/app/assets/images/Arrow-Right-UI.PNG and /dev/null differ
diff --git a/app/assets/images/add_new.png b/app/assets/images/add_new.png
deleted file mode 100644 (file)
index bf2fbec..0000000
Binary files a/app/assets/images/add_new.png and /dev/null differ
diff --git a/app/assets/images/ajax-loader-tree.gif b/app/assets/images/ajax-loader-tree.gif
deleted file mode 100644 (file)
index c69e937..0000000
Binary files a/app/assets/images/ajax-loader-tree.gif and /dev/null differ
diff --git a/app/assets/images/diff_file_notice.png b/app/assets/images/diff_file_notice.png
new file mode 100644 (file)
index 0000000..d3b292f
Binary files /dev/null and b/app/assets/images/diff_file_notice.png differ
index 7a934bb..bc5ec12 100644 (file)
Binary files a/app/assets/images/logo_tr.png and b/app/assets/images/logo_tr.png differ
diff --git a/app/assets/images/logo_wh.png b/app/assets/images/logo_wh.png
new file mode 100644 (file)
index 0000000..2b7335d
Binary files /dev/null and b/app/assets/images/logo_wh.png differ
diff --git a/app/assets/images/rails.png b/app/assets/images/rails.png
deleted file mode 100644 (file)
index d5edc04..0000000
Binary files a/app/assets/images/rails.png and /dev/null differ
index 8efe01b..6434752 100644 (file)
     .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;
           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;
         }
       }
     }
index 3490287..1178c18 100644 (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
     .app_logo {
       width:230px;
       float:left;
-          position:relative;
-          top:-4px;
+      position:relative;
+      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;
-          float: left;
-          text-indent: -1000em;
-
-        }
-
-        &.home {
-          img { 
-            display:none
-
-          }
+          background: url('logo_wh.png') no-repeat -3px -4px;
+          float:left;
+          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;
         }
       }
     }
       position:relative;
       padding:15px 0;
 
-      .top_panel_content { 
-        margin:0 $app_padding;
+      .account-box img { 
+        right:0;
       }
     }
 
index 20ec3cf..b791316 100644 (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"
 
index a8c70e3..221bca5 100644 (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