Commit a5058229e4aed71530074b397a1a5f3290f3e4ae
1 parent
22bb925a
Exists in
master
and in
4 other branches
restored .git-url, truncate project name for thumb
Showing
2 changed files
with
2 additions
and
4 deletions
Show diff stats
app/assets/stylesheets/style.scss
@@ -569,10 +569,8 @@ body.project-page .page-title{margin-bottom: 0} | @@ -569,10 +569,8 @@ body.project-page .page-title{margin-bottom: 0} | ||
569 | body.project-page .project-sidebar {width: 220px; left: 0; top: 0; height: 100%; bottom: 0; position: absolute; background-color: #f7f7f7; float: left; display: inline-block; background: #f7f7f7; padding: 20px 0 20px 2%; margin: 0; } | 569 | body.project-page .project-sidebar {width: 220px; left: 0; top: 0; height: 100%; bottom: 0; position: absolute; background-color: #f7f7f7; float: left; display: inline-block; background: #f7f7f7; padding: 20px 0 20px 2%; margin: 0; } |
570 | 570 | ||
571 | body.project-page input.text.git-url, | 571 | body.project-page input.text.git-url, |
572 | -body.projects-page input.text.git-url{ font-size: 12px; border-radius: 5px; color: #666; box-shadow: 0 1px 2px rgba(0,0,0,.2) inset; padding: 5px 14px 5px 30px; margin-bottom: 20px; background: white url('images.png') no-repeat 8px -43px;width:100%;border:0;} | ||
573 | - | 572 | +body.projects-page input.text.git-url { font-size: 12px; border-radius: 5px; color: #666; box-shadow: 0 1px 2px rgba(0,0,0,.2) inset; padding: 8px 14px 8px 30px; margin-bottom: 20px; background: white url('images.png') no-repeat 8px -40px;} |
574 | body.projects-page input.text.git-url {margin:10px 0 0 } | 573 | body.projects-page input.text.git-url {margin:10px 0 0 } |
575 | - | ||
576 | .git_url_wrapper { margin-right:50px } | 574 | .git_url_wrapper { margin-right:50px } |
577 | 575 | ||
578 | .projects_selector:hover > .project-box{ -moz-box-shadow:0px 0px 10px rgba(0, 0, 0, .5); -webkit-box-shadow:0px 0px 10px rgba(0, 0, 0, .5); box-shadow:0px 0px 10px rgba(0, 0, 0, .5); } | 576 | .projects_selector:hover > .project-box{ -moz-box-shadow:0px 0px 10px rgba(0, 0, 0, .5); -webkit-box-shadow:0px 0px 10px rgba(0, 0, 0, .5); box-shadow:0px 0px 10px rgba(0, 0, 0, .5); } |
app/views/projects/_tile.html.haml
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | %div.grid_1.projects_selector | 3 | %div.grid_1.projects_selector |
4 | %div{ :class => "project-box ui-box ui-box-big" } | 4 | %div{ :class => "project-box ui-box ui-box-big" } |
5 | = link_to project_path(project) do | 5 | = link_to project_path(project) do |
6 | - %h3= project.name | 6 | + %h3= truncate(project.name, :length => 20) |
7 | .data | 7 | .data |
8 | %p.title.repository.git_url_wrapper | 8 | %p.title.repository.git_url_wrapper |
9 | %span Repository: | 9 | %span Repository: |