gitlab-org--gitlab-foss/app/assets/stylesheets/framework/mobile.scss

141 lines
2 KiB
SCSS
Raw Normal View History

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