BigW Consortium Gitlab

mobile.scss 1.92 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 32
    display: none;
  }

  .rss-btn {
33
    display: none;
34 35 36 37 38
  }

  .project-home-links {
    display: none;
  }
39 40 41 42

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

43 44
    .project-avatar {
      display: block;
45
    }
46 47 48 49 50

    .project-repo-buttons,
    .git-clone-holder {
      display: none;
    }
51 52

    // Display Star and Fork buttons without counters on mobile.
53
    .project-repo-buttons {
54 55 56 57 58 59 60 61 62 63
      display: block;

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

      .count-buttons .count-with-arrow {
        display: none;
      }
    }
64 65 66 67
  }

  .project-stats {
    display: none;
68 69
  }

70
  .group-buttons {
71 72 73
    display: none;
  }

74
  .container .title {
75
    padding-left: 15px !important;
76
  }
77

78 79
  .nav-links,
  .nav-links {
80 81 82 83 84 85
    li a {
      font-size: 14px;
      padding: 19px 10px;
    }
  }

86 87 88
  .activity-filter-block {
    display: none;
  }
89

90
  .projects-search-form {
91 92 93 94
    .btn {
      display: none;
    }
  }
95 96
}

97 98
@media (max-width: $screen-sm-max) {
  .issues-filters {
99
    .milestone-filter {
100 101 102 103
      display: none;
    }
  }

104
  .page-title {
105 106
    .note-created-ago,
    .new-issue-link {
107 108
      display: none;
    }
109
  }
110

111
  aside:not(.right-sidebar) {
112 113 114 115 116 117 118 119 120 121 122
    display: none;
  }

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

.show-aside {
  display: none;
  position: fixed;
123
  right: 0;
124 125
  top: 30%;
  padding: 5px 15px;
126
  background: $show-aside-bg;
127
  font-size: 20px;
128
  color: $show-aside-color;
129
  z-index: 100;
130
  box-shadow: 0 1px 2px $show-aside-shadow;
131
}