Commit 88466881b8eb2499dd3758e85f261b3281095fd6
1 parent
60a9c051
Exists in
master
and in
4 other branches
new layout for add project
Showing
2 changed files
with
15 additions
and
8 deletions
Show diff stats
app/assets/stylesheets/style.scss
... | ... | @@ -144,7 +144,7 @@ table tr:hover, .listed_items tr.odd:hover{background-color:#FFFFCF} |
144 | 144 | background-image: -o-linear-gradient(#f7f7f7 7.6%, #d5d5d5); |
145 | 145 | } |
146 | 146 | |
147 | -a.button, input.button{ | |
147 | +a.button, input.button, .lbutton { | |
148 | 148 | font-weight: bold; |
149 | 149 | padding: 10px 20px; |
150 | 150 | text-align: center; |
... | ... | @@ -586,6 +586,11 @@ body.project-page table .commit a{color: #{$blue_link}} |
586 | 586 | body.project-page table th, body.project-page table td{ border-bottom: 1px solid #DEE2E3;} |
587 | 587 | body.project-page .fixed{position: fixed; } |
588 | 588 | |
589 | +/* New project Page */ | |
590 | +.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} | |
591 | +.new-project-page .container table{background: white} | |
592 | +/* eo New Project Page */ | |
593 | + | |
589 | 594 | /* Commit Page */ |
590 | 595 | body.project-page.commits-page .commit-info{float: right;} |
591 | 596 | body.project-page.commits-page .commit-info data{ | ... | ... |
app/views/projects/new.html.haml
1 | -.new-project-hodler | |
2 | - .container_4 | |
3 | - %h2.icon | |
4 | - %span | |
5 | - New Project | |
1 | +- content_for(:body_class, "new-project-page") | |
2 | +- content_for(:page_title) do | |
3 | + .new-project-hodler | |
4 | + .container | |
5 | + %h2.icon | |
6 | + %span | |
7 | + New Project | |
6 | 8 | |
7 | - %div.clear | |
8 | - = render 'form' | |
9 | + %div.clear | |
10 | + = render 'form' | ... | ... |