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