diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-04-12 00:54:07 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-04-12 00:54:07 +0300 |
commit | fb6d4511a05112677e0279ed87a55d3f02e2d49c (patch) | |
tree | 2ce7370f14788e5bdad49b362cdb3717e1ca45d5 /app | |
parent | 0e62b1cbaae346907e939b5de6fddc588bf20065 (diff) | |
download | gitlab-ce-fb6d4511a05112677e0279ed87a55d3f02e2d49c.tar.gz |
restored dark theme
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/images/logo_basic.png (renamed from app/assets/images/logo_tr.png) | bin | 3277 -> 3277 bytes | |||
-rw-r--r-- | app/assets/images/logo_mars.png | bin | 0 -> 2228 bytes | |||
-rw-r--r-- | app/assets/images/logo_wh.png | bin | 2056 -> 0 bytes | |||
-rw-r--r-- | app/assets/stylesheets/ui_basic.scss | 2 | ||||
-rw-r--r-- | app/assets/stylesheets/ui_mars.scss | 64 | ||||
-rw-r--r-- | app/helpers/application_helper.rb | 2 | ||||
-rw-r--r-- | app/views/profile/design.html.haml | 2 |
7 files changed, 14 insertions, 56 deletions
diff --git a/app/assets/images/logo_tr.png b/app/assets/images/logo_basic.png Binary files differindex bc5ec128b90..bc5ec128b90 100644 --- a/app/assets/images/logo_tr.png +++ b/app/assets/images/logo_basic.png diff --git a/app/assets/images/logo_mars.png b/app/assets/images/logo_mars.png Binary files differnew file mode 100644 index 00000000000..1270700e909 --- /dev/null +++ b/app/assets/images/logo_mars.png diff --git a/app/assets/images/logo_wh.png b/app/assets/images/logo_wh.png Binary files differdeleted file mode 100644 index 2b7335dd4f9..00000000000 --- a/app/assets/images/logo_wh.png +++ /dev/null diff --git a/app/assets/stylesheets/ui_basic.scss b/app/assets/stylesheets/ui_basic.scss index cd6b0e132dc..fc4a108c0f5 100644 --- a/app/assets/stylesheets/ui_basic.scss +++ b/app/assets/stylesheets/ui_basic.scss @@ -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; diff --git a/app/assets/stylesheets/ui_mars.scss b/app/assets/stylesheets/ui_mars.scss index 1178c189247..d61df9a5e68 100644 --- a/app/assets/stylesheets/ui_mars.scss +++ b/app/assets/stylesheets/ui_mars.scss @@ -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 @@ -55,10 +20,7 @@ margin:0; top:1px; left:0; - - background: #474D57 url('bg-header.png') repeat-x bottom; - z-index:10; height:60px; @@ -99,31 +61,19 @@ 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; @@ -136,6 +86,14 @@ text-shadow: 0 1px 1px #111; } + .container { + .top_panel_content { + margin:auto; + position:relative; + padding:15px 0; + } + } + .admin_link { width: 16px; height: 16px; diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index ca4555c236f..0edd3125ee1 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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" diff --git a/app/views/profile/design.html.haml b/app/views/profile/design.html.haml index 85f3d0ca3fd..a4b40d03899 100644 --- a/app/views/profile/design.html.haml +++ b/app/views/profile/design.html.haml @@ -1,5 +1,5 @@ = form_for @user, :url => profile_update_path, :remote => true, :method => :put do |f| - -#%div + %div %h3 Application theme %hr .clearfix |