mobile.scss 1.6 KB
Newer Older
1
/** Common mobile (screen XS, SM) styles **/
D
Dmitriy Zaporozhets 已提交
2 3 4 5 6
@media (max-width: $screen-xs-max) {
  .container .content {
    margin-top: 20px;
  }

7 8 9 10 11
  .container-fluid {
    padding-left: 5px;
    padding-right: 5px;
  }

D
Dmitriy Zaporozhets 已提交
12 13 14 15 16 17 18 19 20
  .nav.nav-tabs > li > a {
    padding: 10px;
    font-size: 12px;
    margin-right: 3px;

    .badge {
      display: none;
    }
  }
21 22

  .issues-filters,
23 24
  .dash-projects-filters,
  .check-all-holder {
25 26 27 28 29 30 31 32 33 34
    display: none;
  }

  .rss-btn {
    display: none !important;
  }

  .project-home-links {
    display: none;
  }
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62

  .project-avatar {
    display: none;
  }

  .project-home-panel {
    padding-left: 0 !important;

    .project-home-row {
      .project-home-desc {
        margin-right: 0 !important;
        float: none !important;
      }

      .project-repo-buttons {
        position: static;
        margin-top: 15px;
        width: 100%;
        float: none;
        text-align: left;
      }
    }
  }

  .navbar-inner .title {
    margin-left: 6px !important;
    max-width: 70% !important;
  }
D
Dmitriy Zaporozhets 已提交
63 64
}

65 66 67 68 69 70 71
@media (max-width: $screen-sm-max) {
  .issues-filters {
    .milestone-filter, .labels-filter {
      display: none;
    }
  }

72 73 74 75
  .page-title {
    .note_created_ago, .new-issue-link {
      display: none;
    }
76
  }
77 78 79 80

  .issue_edited_ago, .note_edited_ago {
    display: none;
  }
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99

  aside {
    display: none;
  }

  .show-aside {
    display: block !important;
  }
}

.show-aside {
  display: none;
  position: fixed;
  right: 0px;
  top: 30%;
  padding: 5px 15px;
  background: #EEE;
  font-size: 20px;
  color: #777;
100
  z-index: 100;
101
  @include box-shadow(0 1px 2px #DDD);
102
}