From 88466881b8eb2499dd3758e85f261b3281095fd6 Mon Sep 17 00:00:00 2001 From: Ricardo Rauch Date: Thu, 10 Nov 2011 19:24:44 -0300 Subject: [PATCH] new layout for add project --- app/assets/stylesheets/style.scss | 7 ++++++- app/views/projects/new.html.haml | 16 +++++++++------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/app/assets/stylesheets/style.scss b/app/assets/stylesheets/style.scss index 65bdb40a..bee69740 100644 --- a/app/assets/stylesheets/style.scss +++ b/app/assets/stylesheets/style.scss @@ -144,7 +144,7 @@ table tr:hover, .listed_items tr.odd:hover{background-color:#FFFFCF} background-image: -o-linear-gradient(#f7f7f7 7.6%, #d5d5d5); } -a.button, input.button{ +a.button, input.button, .lbutton { font-weight: bold; padding: 10px 20px; text-align: center; @@ -586,6 +586,11 @@ body.project-page table .commit a{color: #{$blue_link}} body.project-page table th, body.project-page table td{ border-bottom: 1px solid #DEE2E3;} body.project-page .fixed{position: fixed; } +/* New project Page */ +.new-project-page .container{width: 600px; background-color: rgba(0,0,0,.02); margin: auto; border: 1px solid #eee; padding: 0 20px; margin: 30px auto 60px auto; border-radius: 5px} +.new-project-page .container table{background: white} +/* eo New Project Page */ + /* Commit Page */ body.project-page.commits-page .commit-info{float: right;} body.project-page.commits-page .commit-info data{ diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml index 65639a53..1f8d250a 100644 --- a/app/views/projects/new.html.haml +++ b/app/views/projects/new.html.haml @@ -1,8 +1,10 @@ -.new-project-hodler - .container_4 - %h2.icon - %span - New Project +- content_for(:body_class, "new-project-page") +- content_for(:page_title) do + .new-project-hodler + .container + %h2.icon + %span + New Project - %div.clear - = render 'form' + %div.clear + = render 'form'