Commit e0fe17ee4a6961d57bb96f594332a1facf82921f

Authored by Dmitriy Zaporozhets
1 parent 21b31a67

cleaning & image resize

app/assets/images/Gear-UI.PNG

1.3 KB | W: | H:

1019 Bytes | W: | H:

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

891 Bytes | W: | H:

890 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
app/assets/images/blueprint_notice.png

4.42 KB

app/assets/images/git.png

21.1 KB

app/assets/images/home.png

271 Bytes

app/assets/stylesheets/projects.css.scss
... ... @@ -561,14 +561,10 @@ h4.middle-panel {
561 561 margin:0px;
562 562 font-size: 12px;
563 563  
564   - border-radius: 0px;
565   - -moz-border-radius: 0px;
  564 + margin-right:10px;
  565 + border-radius: 4px;
  566 + -moz-border-radius: 4px;
566 567  
567   - -moz-border-radius-bottomleft: 4px;
568   - -moz-border-radius-topleft: 4px;
569   -
570   - border-top-left-radius: 4px;
571   - border-bottom-left-radius: 4px;
572 568  
573 569 color: #666;
574 570 border: 1px solid #AAA;
... ... @@ -595,16 +591,16 @@ h4.middle-panel {
595 591  
596 592 .chzn-single {
597 593 background:white;
598   - -moz-border-radius: 0;
599   - border-radius: 0;
600   - -moz-border-radius-bottomright: 4px;
601   - -moz-border-radius-topright: 4px;
602   - border-top-right-radius: 4px;
603   - border-bottom-right-radius: 4px;
  594 + -moz-border-radius: 4px;
  595 + border-radius: 4px;
604 596  
605 597 div {
606 598 background:white;
607 599 }
  600 +
  601 + span {
  602 + font-weight: normal;
  603 + }
608 604 }
609 605 }
610 606  
... ...
app/assets/stylesheets/style.scss
... ... @@ -565,7 +565,7 @@ input.search-input{
565 565 background-color: #FFF;
566 566 padding: 5px;
567 567 padding-left: 26px;
568   - margin-top: 4px;
  568 + margin-top: 2px;
569 569 margin-right: 10px;
570 570 }
571 571 /*input.search-input:focus{ background-color: white; width: 216px;}*/
... ... @@ -637,18 +637,19 @@ body.project-page .project-sidebar aside{width: 109px}
637 637 body.project-page .project-sidebar aside a{
638 638 display: block;
639 639 position: relative;
640   - background: #FFF;
  640 + //background: #FFF;
641 641 padding: 15px 10px;
642   - border: 1px solid #ccc;
  642 + //border: 1px solid #ccc;
643 643 margin: 10px 20px 0 0;
644   - border-radius:5px;
  644 + //border-radius:5px;
645 645 }
646   -body.project-page .project-sidebar aside a:hover{background-color: #FFFFFF;}
  646 +//body.project-page .project-sidebar aside a:hover{background-color: #FFFFFF;}
647 647 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}
648 648 body.project-page .project-sidebar aside a.current {
649 649 color: white;
650 650 background: #79C3E0;
651 651 border: 1px solid #2FA0BB;
  652 + border-radius:5px;
652 653 }
653 654 body.project-page .project-content{ padding: 20px; display: block; margin-left: 130px; min-height: 600px}
654 655 body.project-page .project-content h2{ margin-top: 6px}
... ...
app/models/repository.rb
... ... @@ -74,7 +74,9 @@ class Repository
74 74 end
75 75  
76 76 def repo_exists?
77   - repo rescue false
  77 + repo && !repo.branches.empty?
  78 + rescue
  79 + false
78 80 end
79 81  
80 82 def tags
... ...