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

103 lines
1.6 KiB
SCSS
Raw Normal View History

2015-01-16 07:24:30 +00: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.nav-tabs > li > a {
padding: 10px;
font-size: 12px;
margin-right: 3px;
.badge {
display: none;
}
}
2015-01-16 07:24:30 +00:00
.issues-filters,
2015-01-16 07:34:30 +00:00
.dash-projects-filters,
.check-all-holder {
2015-01-16 07:24:30 +00:00
display: none;
}
.rss-btn {
display: none !important;
}
.project-home-links {
display: none;
}
.project-avatar {
display: none;
}
.project-home-panel {
padding-left: 0 !important;
.project-home-row {
.project-home-desc {
margin-right: 0 !important;
float: none !important;
}
.project-repo-buttons {
position: static;
margin-top: 15px;
width: 100%;
float: none;
text-align: left;
}
}
}
.navbar-inner .title {
margin-left: 6px !important;
max-width: 70% !important;
}
}
2015-01-16 07:24:30 +00:00
@media (max-width: $screen-sm-max) {
.issues-filters {
.milestone-filter, .labels-filter {
display: none;
}
}
.page-title {
.note_created_ago, .new-issue-link {
display: none;
}
2015-01-16 07:24:30 +00:00
}
2015-01-19 03:39:43 +00:00
.issue_edited_ago, .note_edited_ago {
display: none;
}
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;
z-index: 100;
@include box-shadow(0 1px 2px #DDD);
2015-01-16 07:24:30 +00:00
}