BigW Consortium Gitlab

mobile.scss 2.06 KB
Newer Older
1
/** Common mobile (screen XS, SM) styles **/
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;
  }

12
  .nav-links > li > a {
13 14 15 16 17 18 19 20
    padding: 10px;
    font-size: 12px;
    margin-right: 3px;

    .badge {
      display: none;
    }
  }
21

22
  .referenced-users {
23 24 25
    margin-right: 0;
  }

Clement Ho committed
26
  .issues-details-filters:not(.filtered-search-block),
27 28
  .dash-projects-filters,
  .check-all-holder {
29 30 31
    display: none;
  }

Clement Ho committed
32 33 34 35
  .issues-holder .issue-check {
    display: none;
  }

36
  .rss-btn {
37
    display: none;
38 39 40 41 42
  }

  .project-home-links {
    display: none;
  }
43 44 45 46

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

47 48
    .project-avatar {
      display: block;
49
    }
50 51 52 53 54

    .project-repo-buttons,
    .git-clone-holder {
      display: none;
    }
55 56

    // Display Star and Fork buttons without counters on mobile.
57
    .project-repo-buttons {
58 59 60 61 62 63 64 65 66 67
      display: block;

      .count-buttons .btn {
        margin: 0 10px;
      }

      .count-buttons .count-with-arrow {
        display: none;
      }
    }
68 69 70 71
  }

  .project-stats {
    display: none;
72 73
  }

74
  .group-buttons {
75 76 77
    display: none;
  }

78
  .container .title {
79
    padding-left: 15px !important;
80
  }
81

82 83
  .nav-links,
  .nav-links {
84 85 86 87 88 89
    li a {
      font-size: 14px;
      padding: 19px 10px;
    }
  }

90 91 92
  .activity-filter-block {
    display: none;
  }
93

94
  .projects-search-form {
95 96 97 98
    .btn {
      display: none;
    }
  }
99 100
}

101 102
@media (max-width: $screen-sm-max) {
  .issues-filters {
103 104
    .milestone-filter,
    .labels-filter {
105 106 107 108
      display: none;
    }
  }

109
  .page-title {
110 111
    .note-created-ago,
    .new-issue-link {
112 113
      display: none;
    }
114
  }
115

116 117
  .issue_edited_ago,
  .note_edited_ago {
118 119
    display: none;
  }
120

121
  aside:not(.right-sidebar) {
122 123 124 125 126 127 128 129 130 131 132
    display: none;
  }

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

.show-aside {
  display: none;
  position: fixed;
133
  right: 0;
134 135
  top: 30%;
  padding: 5px 15px;
136
  background: $show-aside-bg;
137
  font-size: 20px;
138
  color: $show-aside-color;
139
  z-index: 100;
140
  box-shadow: 0 1px 2px $show-aside-shadow;
141
}