mobile.scss 2.1 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
  .referenced-users {
23 24 25
    margin-right: 0;
  }

26
  .issues-details-filters,
27 28
  .dash-projects-filters,
  .check-all-holder {
29 30 31 32 33 34 35 36 37 38
    display: none;
  }

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

  .project-home-links {
    display: none;
  }
39 40 41 42 43 44 45 46

  .project-avatar {
    display: none;
  }

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

47 48
    .project-avatar {
      display: block;
49
    }
50

D
Douwe Maan 已提交
51 52 53 54
    .project-home-desc {
      font-size: 21px;
    }

55 56 57 58 59 60 61 62
    .project-repo-buttons,
    .git-clone-holder {
      display: none;
    }
  }

  .project-stats {
    display: none;
63 64
  }

65
  .container .title {
66
    padding-left: 15px !important;
67
  }
D
Dmitriy Zaporozhets 已提交
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82

  .issue-info, .merge-request-info {
    display: none;
  }

  .issue-details {
    .creator,
    .page-title .btn-close {
      display: none;
    }
  }

  %ul.notes .note-role, .note-actions {
    display: none;
  }
83 84 85

  .center-top-menu {
    height: 45px;
86
    margin-bottom: 30px;
87 88 89 90 91 92 93

    li a {
      font-size: 14px;
      padding: 19px 10px;
    }
  }

94 95 96
  .activity-filter-block {
    display: none;
  }
97

98
  .projects-search-form {
99 100 101 102
    .btn {
      display: none;
    }
  }
D
Dmitriy Zaporozhets 已提交
103 104
}

105
@media (max-width: $screen-sm-max) {
106 107 108 109 110
  .page-with-sidebar .content-wrapper {
    padding: 0;
    padding-top: 1px;
  }

111 112 113 114 115 116
  .issues-filters {
    .milestone-filter, .labels-filter {
      display: none;
    }
  }

117 118 119 120
  .page-title {
    .note_created_ago, .new-issue-link {
      display: none;
    }
121
  }
122 123 124 125

  .issue_edited_ago, .note_edited_ago {
    display: none;
  }
126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144

  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;
145
  z-index: 100;
146
  @include box-shadow(0 1px 2px #DDD);
147
}