OSDN Git Service

restored dark theme
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Wed, 11 Apr 2012 21:54:07 +0000 (00:54 +0300)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Wed, 11 Apr 2012 21:54:07 +0000 (00:54 +0300)
app/assets/images/logo_basic.png [moved from app/assets/images/logo_tr.png with 100% similarity]
app/assets/images/logo_mars.png [new file with mode: 0644]
app/assets/images/logo_wh.png [deleted file]
app/assets/stylesheets/ui_basic.scss
app/assets/stylesheets/ui_mars.scss
app/helpers/application_helper.rb
app/views/profile/design.html.haml

diff --git a/app/assets/images/logo_mars.png b/app/assets/images/logo_mars.png
new file mode 100644 (file)
index 0000000..1270700
Binary files /dev/null and b/app/assets/images/logo_mars.png differ
diff --git a/app/assets/images/logo_wh.png b/app/assets/images/logo_wh.png
deleted file mode 100644 (file)
index 2b7335d..0000000
Binary files a/app/assets/images/logo_wh.png and /dev/null differ
index cd6b0e1..fc4a108 100644 (file)
@@ -50,7 +50,7 @@
         float:left;
 
         h1 { 
-          background: url('logo_tr.png') no-repeat -3px -4px;
+          background: url('logo_basic.png') no-repeat -3px -4px;
           float:left;
           margin-left:5px;
           font-size:20px;
index 1178c18..d61df9a 100644 (file)
@@ -9,41 +9,6 @@
  *
  */
 .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
-   *
-   */
-  a {
-    color: $link_color;
-    &:hover { 
-      text-decoration:none; 
-      color: $style_color;
-    }
-  }
-
 
   /*
    *  Application Header
     margin:0;
     top:1px;
     left:0;
-
-
     background: #474D57 url('bg-header.png') repeat-x bottom;
-
     z-index:10;
     height:60px;
 
         float:left;
 
         h1 { 
-          background: url('logo_wh.png') no-repeat -3px -4px;
+          background: url('logo_mars.png') no-repeat -3px -4px;
           float:left;
           margin-left:5px;
           font-size:20px;
           line-height:36px;
-          font-weight:bold;
-          color:#ccc;
+          font-weight:normal;
+          color:#a1a8ae;
           text-shadow: 0 1px 1px #111;
           padding-left:50px;
           padding-top:5px;
         }
       }
     }
-    .wrapper { 
-      margin:auto;
-      min-width:$min_app_width;
-      max-width:$max_app_width;
-      position:relative;
-      padding:15px 0;
-
-      .account-box img { 
-        right:0;
-      }
-    }
-
     .project_name {
       float:left;
       width:360px;
       text-shadow: 0 1px 1px #111;
     }
 
+    .container { 
+      .top_panel_content { 
+        margin:auto;
+        position:relative;
+        padding:15px 0;
+      }
+    }
+
     .admin_link { 
       width: 16px;
       height: 16px;
index ca4555c..0edd312 100644 (file)
@@ -123,7 +123,7 @@ module ApplicationHelper
   end
 
   def app_theme
-    if true#current_user && current_user.theme_id == 1
+    if current_user && current_user.theme_id == 1
       "ui_basic"
     else
       "ui_mars"
index 85f3d0c..a4b40d0 100644 (file)
@@ -1,5 +1,5 @@
 = form_for @user, :url => profile_update_path, :remote => true, :method => :put do |f|
-  -#%div
+  %div
     %h3 Application theme
     %hr
     .clearfix