2015-09-11 14:41:01 +05:30
|
|
|
.content-wrapper {
|
|
|
|
width: 100%;
|
2016-06-22 15:30:34 +05:30
|
|
|
transition: padding $sidebar-transition-duration;
|
2015-09-25 12:07:36 +05:30
|
|
|
|
|
|
|
.container-fluid {
|
2017-08-17 22:00:37 +05:30
|
|
|
background: $white-light;
|
2016-01-19 16:12:03 +05:30
|
|
|
padding: 0 $gl-padding;
|
2015-09-25 12:07:36 +05:30
|
|
|
|
|
|
|
&.container-blank {
|
|
|
|
background: none;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
.nav-header-btn {
|
2016-08-24 12:49:21 +05:30
|
|
|
padding: 10px $gl-sidebar-padding;
|
2016-06-22 15:30:34 +05:30
|
|
|
color: inherit;
|
2016-06-02 11:05:42 +05:30
|
|
|
transition-duration: .3s;
|
2016-08-24 12:49:21 +05:30
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2016-11-03 12:29:30 +05:30
|
|
|
cursor: pointer;
|
2015-09-11 14:41:01 +05:30
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: $white-light;
|
2016-06-02 11:05:42 +05:30
|
|
|
text-decoration: none;
|
2016-04-02 18:10:28 +05:30
|
|
|
}
|
2016-06-02 11:05:42 +05:30
|
|
|
}
|
2016-04-02 18:10:28 +05:30
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
.right-sidebar-collapsed {
|
|
|
|
padding-right: 0;
|
|
|
|
|
|
|
|
@media (min-width: $screen-sm-min) {
|
2017-08-17 22:00:37 +05:30
|
|
|
&:not(.wiki-sidebar):not(.build-sidebar) .content-wrapper {
|
|
|
|
padding-right: $gutter_collapsed_width;
|
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
|
|
|
|
.merge-request-tabs-holder.affix {
|
2017-08-17 22:00:37 +05:30
|
|
|
right: $gutter_collapsed_width;
|
2016-11-03 12:29:30 +05:30
|
|
|
}
|
2016-06-02 11:05:42 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-collapsed-icon {
|
|
|
|
cursor: pointer;
|
2016-08-24 12:49:21 +05:30
|
|
|
|
|
|
|
.btn {
|
|
|
|
background-color: $gray-light;
|
|
|
|
}
|
2016-06-02 11:05:42 +05:30
|
|
|
}
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
.right-sidebar-expanded {
|
|
|
|
padding-right: 0;
|
2017-08-17 22:00:37 +05:30
|
|
|
z-index: 300;
|
2016-06-02 11:05:42 +05:30
|
|
|
|
|
|
|
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
|
2017-08-17 22:00:37 +05:30
|
|
|
&:not(.wiki-sidebar):not(.build-sidebar) .content-wrapper {
|
|
|
|
padding-right: $gutter_collapsed_width;
|
2016-06-16 23:09:34 +05:30
|
|
|
}
|
2016-06-02 11:05:42 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: $screen-md-min) {
|
2017-08-17 22:00:37 +05:30
|
|
|
.content-wrapper {
|
|
|
|
padding-right: $gutter_width;
|
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
&:not(.with-overlay) .merge-request-tabs-holder.affix {
|
2016-11-03 12:29:30 +05:30
|
|
|
right: $gutter_width;
|
|
|
|
}
|
2016-06-02 11:05:42 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
&.with-overlay .merge-request-tabs-holder.affix {
|
|
|
|
right: $gutter_collapsed_width;
|
|
|
|
}
|
2016-06-02 11:05:42 +05:30
|
|
|
}
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
2016-09-13 17:45:13 +05:30
|
|
|
|
|
|
|
.right-sidebar {
|
|
|
|
border-left: 1px solid $border-color;
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
&.affix {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.affix-top) {
|
|
|
|
min-height: 100%;
|
|
|
|
}
|
2016-09-13 17:45:13 +05:30
|
|
|
}
|