debian-mirror-gitlab/app/assets/stylesheets/framework/mobile.scss

132 lines
1.9 KiB
SCSS
Raw Normal View History

2015-04-26 12:48:37 +05:30
/** Common mobile (screen XS, SM) styles **/
@media (max-width: $screen-xs-max) {
.container .content {
margin-top: 20px;
}
2015-09-11 14:41:01 +05:30
.container-fluid {
padding-left: 5px;
padding-right: 5px;
}
.nav-links > li > a {
2015-04-26 12:48:37 +05:30
padding: 10px;
font-size: 12px;
margin-right: 3px;
.badge {
display: none;
}
}
2015-09-11 14:41:01 +05:30
.referenced-users {
margin-right: 0;
}
2017-08-17 22:00:37 +05:30
.issues-details-filters:not(.filtered-search-block),
2015-04-26 12:48:37 +05:30
.dash-projects-filters,
.check-all-holder {
display: none;
}
2017-08-17 22:00:37 +05:30
.rss-btn {
2015-04-26 12:48:37 +05:30
display: none;
}
2015-09-11 14:41:01 +05:30
2017-08-17 22:00:37 +05:30
.project-home-links {
2015-09-11 14:41:01 +05:30
display: none;
}
.project-home-panel {
padding-left: 0 !important;
.project-avatar {
display: block;
}
.project-repo-buttons,
.git-clone-holder {
display: none;
}
2016-06-22 15:30:34 +05:30
// Display Star and Fork buttons without counters on mobile.
2017-08-17 22:00:37 +05:30
.project-repo-buttons {
2016-06-22 15:30:34 +05:30
display: block;
.count-buttons .btn {
margin: 0 10px;
}
.count-buttons .count-with-arrow {
display: none;
}
}
2015-09-11 14:41:01 +05:30
}
.project-stats {
display: none;
}
2017-08-17 22:00:37 +05:30
.group-buttons {
2016-08-24 12:49:21 +05:30
display: none;
}
2015-09-11 14:41:01 +05:30
.container .title {
padding-left: 15px !important;
}
2017-08-17 22:00:37 +05:30
.nav-links,
.nav-links {
2015-09-25 12:07:36 +05:30
li a {
font-size: 14px;
padding: 19px 10px;
}
}
2015-10-24 18:46:33 +05:30
.activity-filter-block {
display: none;
}
2015-09-25 12:07:36 +05:30
2015-10-24 18:46:33 +05:30
.projects-search-form {
2015-09-25 12:07:36 +05:30
.btn {
display: none;
}
}
2015-04-26 12:48:37 +05:30
}
@media (max-width: $screen-sm-max) {
.issues-filters {
2017-08-17 22:00:37 +05:30
.milestone-filter {
2015-04-26 12:48:37 +05:30
display: none;
}
}
.page-title {
2017-08-17 22:00:37 +05:30
.note-created-ago,
.new-issue-link {
2015-04-26 12:48:37 +05:30
display: none;
}
}
2016-06-02 11:05:42 +05:30
aside:not(.right-sidebar) {
2015-04-26 12:48:37 +05:30
display: none;
}
.show-aside {
display: block !important;
}
}
.show-aside {
display: none;
position: fixed;
2016-06-02 11:05:42 +05:30
right: 0;
2015-04-26 12:48:37 +05:30
top: 30%;
padding: 5px 15px;
2017-08-17 22:00:37 +05:30
background: $show-aside-bg;
2015-04-26 12:48:37 +05:30
font-size: 20px;
2017-08-17 22:00:37 +05:30
color: $show-aside-color;
2015-04-26 12:48:37 +05:30
z-index: 100;
2017-08-17 22:00:37 +05:30
box-shadow: 0 1px 2px $show-aside-shadow;
2015-04-26 12:48:37 +05:30
}