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

138 lines
2 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;
}
2015-10-24 18:46:33 +05:30
.issues-details-filters,
2015-04-26 12:48:37 +05:30
.dash-projects-filters,
.check-all-holder {
display: none;
}
.rss-btn {
2016-06-02 11:05:42 +05:30
display: none;
2015-04-26 12:48:37 +05:30
}
.project-home-links {
display: none;
}
2015-09-11 14:41:01 +05:30
.project-avatar {
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.
.project-action-buttons {
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;
}
2016-08-24 12:49:21 +05:30
.group-right-buttons {
display: none;
}
2015-09-11 14:41:01 +05:30
.container .title {
padding-left: 15px !important;
}
.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 {
.milestone-filter, .labels-filter {
display: none;
}
}
.page-title {
2016-06-02 11:05:42 +05:30
.note-created-ago, .new-issue-link {
2015-04-26 12:48:37 +05:30
display: none;
}
}
.issue_edited_ago, .note_edited_ago {
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;
2016-06-02 11:05:42 +05:30
background: #eee;
2015-04-26 12:48:37 +05:30
font-size: 20px;
color: #777;
z-index: 100;
2016-11-03 12:29:30 +05:30
box-shadow: 0 1px 2px #ddd;
2015-04-26 12:48:37 +05:30
}