Commit e0fe17ee authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

cleaning & image resize

parent 21b31a67
app/assets/images/Gear-UI.PNG

1.3 KB | W: | H:

app/assets/images/Gear-UI.PNG

1019 Bytes | W: | H:

app/assets/images/Gear-UI.PNG
app/assets/images/Gear-UI.PNG
app/assets/images/Gear-UI.PNG
app/assets/images/Gear-UI.PNG
  • 2-up
  • Swipe
  • Onion skin
app/assets/images/Home-UI.PNG

891 Bytes | W: | H:

app/assets/images/Home-UI.PNG

890 Bytes | W: | H:

app/assets/images/Home-UI.PNG
app/assets/images/Home-UI.PNG
app/assets/images/Home-UI.PNG
app/assets/images/Home-UI.PNG
  • 2-up
  • Swipe
  • Onion skin
...@@ -561,14 +561,10 @@ h4.middle-panel { ...@@ -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 { ...@@ -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;
}
} }
} }
......
...@@ -565,7 +565,7 @@ input.search-input{ ...@@ -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} ...@@ -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}
......
...@@ -74,7 +74,9 @@ class Repository ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment