cleaning & image resize

This commit is contained in:
Dmitriy Zaporozhets 2012-01-15 17:59:40 +02:00
parent 21b31a675d
commit e0fe17ee4a
8 changed files with 18 additions and 19 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1,019 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 891 B

After

Width:  |  Height:  |  Size: 890 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 B

View file

@ -561,14 +561,10 @@ h4.middle-panel {
margin:0px; margin:0px;
font-size: 12px; font-size: 12px;
border-radius: 0px; margin-right:10px;
-moz-border-radius: 0px; border-radius: 4px;
-moz-border-radius: 4px;
-moz-border-radius-bottomleft: 4px;
-moz-border-radius-topleft: 4px;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
color: #666; color: #666;
border: 1px solid #AAA; border: 1px solid #AAA;
@ -595,16 +591,16 @@ h4.middle-panel {
.chzn-single { .chzn-single {
background:white; background:white;
-moz-border-radius: 0; -moz-border-radius: 4px;
border-radius: 0; border-radius: 4px;
-moz-border-radius-bottomright: 4px;
-moz-border-radius-topright: 4px;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
div { div {
background:white; background:white;
} }
span {
font-weight: normal;
}
} }
} }

View file

@ -565,7 +565,7 @@ input.search-input{
background-color: #FFF; background-color: #FFF;
padding: 5px; padding: 5px;
padding-left: 26px; padding-left: 26px;
margin-top: 4px; margin-top: 2px;
margin-right: 10px; margin-right: 10px;
} }
/*input.search-input:focus{ background-color: white; width: 216px;}*/ /*input.search-input:focus{ background-color: white; width: 216px;}*/
@ -637,18 +637,19 @@ body.project-page .project-sidebar aside{width: 109px}
body.project-page .project-sidebar aside a{ body.project-page .project-sidebar aside a{
display: block; display: block;
position: relative; position: relative;
background: #FFF; //background: #FFF;
padding: 15px 10px; padding: 15px 10px;
border: 1px solid #ccc; //border: 1px solid #ccc;
margin: 10px 20px 0 0; margin: 10px 20px 0 0;
border-radius:5px; //border-radius:5px;
} }
body.project-page .project-sidebar aside a:hover{background-color: #FFFFFF;} //body.project-page .project-sidebar aside a:hover{background-color: #FFFFFF;}
body.project-page .project-sidebar aside a span.number{float: right; border-radius: 5px; text-shadow: none; background: rgba(0,0,0,.12); text-align: center; padding: 5px 8px; position: absolute; top: 10px; right: 10px} body.project-page .project-sidebar aside a span.number{float: right; border-radius: 5px; text-shadow: none; background: rgba(0,0,0,.12); text-align: center; padding: 5px 8px; position: absolute; top: 10px; right: 10px}
body.project-page .project-sidebar aside a.current { body.project-page .project-sidebar aside a.current {
color: white; color: white;
background: #79C3E0; background: #79C3E0;
border: 1px solid #2FA0BB; border: 1px solid #2FA0BB;
border-radius:5px;
} }
body.project-page .project-content{ padding: 20px; display: block; margin-left: 130px; min-height: 600px} body.project-page .project-content{ padding: 20px; display: block; margin-left: 130px; min-height: 600px}
body.project-page .project-content h2{ margin-top: 6px} body.project-page .project-content h2{ margin-top: 6px}

View file

@ -74,7 +74,9 @@ class Repository
end end
def repo_exists? def repo_exists?
repo rescue false repo && !repo.branches.empty?
rescue
false
end end
def tags def tags