2014-12-12 14:49:51 -05:00
|
|
|
.content-wrapper {
|
|
|
|
width: 100%;
|
2016-06-15 13:14:20 -04:00
|
|
|
transition: padding $sidebar-transition-duration;
|
2015-09-02 07:02:16 -04:00
|
|
|
|
|
|
|
.container-fluid {
|
2016-11-30 08:25:25 -05:00
|
|
|
background: $white-light;
|
2016-01-13 09:58:04 -05:00
|
|
|
padding: 0 $gl-padding;
|
2015-09-09 17:29:19 -04:00
|
|
|
|
|
|
|
&.container-blank {
|
|
|
|
background: none;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
}
|
2015-09-02 07:02:16 -04:00
|
|
|
}
|
2014-12-12 14:49:51 -05:00
|
|
|
}
|
|
|
|
|
2016-06-15 12:23:49 -04:00
|
|
|
.nav-header-btn {
|
2016-07-14 07:58:25 -04:00
|
|
|
padding: 10px $gl-sidebar-padding;
|
2016-06-15 12:23:49 -04:00
|
|
|
color: inherit;
|
2016-03-21 07:09:55 -04:00
|
|
|
transition-duration: .3s;
|
2016-07-12 11:18:44 -04:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2016-10-03 05:38:21 -04:00
|
|
|
cursor: pointer;
|
2015-07-13 05:56:08 -04:00
|
|
|
|
2016-06-15 12:23:49 -04:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: $white-light;
|
2016-03-23 13:21:02 -04:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2014-12-12 14:49:51 -05:00
|
|
|
}
|
2014-12-24 11:34:14 -05:00
|
|
|
|
2016-03-21 07:09:55 -04:00
|
|
|
.right-sidebar-collapsed {
|
2016-03-04 09:05:32 -05:00
|
|
|
padding-right: 0;
|
2016-03-21 07:09:55 -04:00
|
|
|
|
2016-02-29 18:04:40 -05:00
|
|
|
@media (min-width: $screen-sm-min) {
|
2017-05-15 18:12:43 -04:00
|
|
|
&:not(.wiki-sidebar):not(.build-sidebar):not(.issuable-bulk-update-sidebar) .content-wrapper {
|
2017-02-23 08:54:26 -05:00
|
|
|
padding-right: $gutter_collapsed_width;
|
|
|
|
}
|
|
|
|
|
2016-10-19 09:57:42 -04:00
|
|
|
.merge-request-tabs-holder.affix {
|
2017-02-13 11:34:01 -05:00
|
|
|
right: $gutter_collapsed_width;
|
2016-10-19 09:57:42 -04:00
|
|
|
}
|
2016-02-29 18:04:40 -05:00
|
|
|
}
|
2016-03-27 11:04:51 -04:00
|
|
|
|
|
|
|
.sidebar-collapsed-icon {
|
|
|
|
cursor: pointer;
|
2016-07-18 15:48:26 -04:00
|
|
|
|
|
|
|
.btn {
|
|
|
|
background-color: $gray-light;
|
|
|
|
}
|
2016-03-27 11:04:51 -04:00
|
|
|
}
|
2014-12-25 03:13:45 -05:00
|
|
|
}
|
|
|
|
|
2016-03-21 07:09:55 -04:00
|
|
|
.right-sidebar-expanded {
|
|
|
|
padding-right: 0;
|
2017-05-15 10:01:38 -04:00
|
|
|
z-index: 300;
|
2016-03-21 07:09:55 -04:00
|
|
|
|
2017-02-23 08:54:26 -05:00
|
|
|
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
|
2017-05-15 18:12:43 -04:00
|
|
|
&:not(.wiki-sidebar):not(.build-sidebar):not(.issuable-bulk-update-sidebar) .content-wrapper {
|
2017-02-23 08:54:26 -05:00
|
|
|
padding-right: $gutter_collapsed_width;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-21 07:09:55 -04:00
|
|
|
@media (min-width: $screen-md-min) {
|
2016-11-18 15:45:51 -05:00
|
|
|
.content-wrapper {
|
|
|
|
padding-right: $gutter_width;
|
|
|
|
}
|
2016-10-19 09:57:42 -04:00
|
|
|
|
2017-01-16 14:55:30 -05:00
|
|
|
&:not(.with-overlay) .merge-request-tabs-holder.affix {
|
2016-10-19 09:57:42 -04:00
|
|
|
right: $gutter_width;
|
|
|
|
}
|
2017-01-16 14:55:30 -05:00
|
|
|
|
|
|
|
&.with-overlay .merge-request-tabs-holder.affix {
|
2017-02-13 11:34:01 -05:00
|
|
|
right: $gutter_collapsed_width;
|
2017-01-16 14:55:30 -05:00
|
|
|
}
|
2016-03-21 07:09:55 -04:00
|
|
|
}
|
2016-01-26 19:09:55 -05:00
|
|
|
}
|
2016-08-17 14:08:44 -04:00
|
|
|
|
|
|
|
.right-sidebar {
|
|
|
|
border-left: 1px solid $border-color;
|
2017-08-02 19:13:47 -04:00
|
|
|
height: calc(100% - #{$header-height});
|
2017-01-04 13:21:28 -05:00
|
|
|
|
|
|
|
&.affix {
|
|
|
|
position: fixed;
|
2017-04-17 17:21:19 -04:00
|
|
|
top: $header-height;
|
2017-01-04 13:21:28 -05:00
|
|
|
}
|
2016-08-17 14:08:44 -04:00
|
|
|
}
|
2017-05-15 18:12:43 -04:00
|
|
|
|
2017-07-31 04:07:51 -04:00
|
|
|
.with-performance-bar .right-sidebar.affix {
|
|
|
|
top: $header-height + $performance-bar-height;
|
|
|
|
}
|
|
|
|
|
2017-05-15 18:12:43 -04:00
|
|
|
@mixin maintain-sidebar-dimensions {
|
|
|
|
display: block;
|
|
|
|
width: $gutter-width;
|
|
|
|
}
|
|
|
|
|
|
|
|
.issues-bulk-update.right-sidebar {
|
|
|
|
@include maintain-sidebar-dimensions;
|
2017-06-21 03:33:39 -04:00
|
|
|
width: 0;
|
|
|
|
padding: 0;
|
|
|
|
transition: width $sidebar-transition-duration;
|
2017-05-15 18:12:43 -04:00
|
|
|
|
|
|
|
&.right-sidebar-expanded {
|
|
|
|
@include maintain-sidebar-dimensions;
|
2017-06-21 03:33:39 -04:00
|
|
|
width: $gutter-width;
|
2017-07-24 03:47:38 -04:00
|
|
|
|
|
|
|
.issuable-sidebar-header {
|
|
|
|
// matches `.top-area .nav-controls` for issuable index pages
|
|
|
|
padding: 11px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.block:last-of-type {
|
|
|
|
border: none;
|
|
|
|
}
|
2017-05-15 18:12:43 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.right-sidebar-collapsed {
|
|
|
|
@include maintain-sidebar-dimensions;
|
2017-06-21 03:33:39 -04:00
|
|
|
width: 0;
|
|
|
|
padding: 0;
|
2017-05-15 18:12:43 -04:00
|
|
|
|
|
|
|
.block {
|
|
|
|
padding: 16px 0;
|
|
|
|
width: 250px;
|
|
|
|
border-bottom: 1px solid $border-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.issuable-sidebar {
|
|
|
|
padding: 0 3px;
|
2017-06-21 03:33:39 -04:00
|
|
|
width: calc(100% + 35px);
|
2017-05-15 18:12:43 -04:00
|
|
|
}
|
|
|
|
}
|