2014-12-12 14:49:51 -05:00
|
|
|
.content-wrapper {
|
|
|
|
width: 100%;
|
2015-09-02 07:02:16 -04:00
|
|
|
|
|
|
|
.container-fluid {
|
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;
|
2017-11-02 19:59:51 -04:00
|
|
|
border: 0;
|
2015-09-09 17:29:19 -04:00
|
|
|
}
|
2015-09-02 07:02:16 -04:00
|
|
|
}
|
2014-12-12 14:49:51 -05:00
|
|
|
}
|
|
|
|
|
2020-08-17 11:10:09 -04:00
|
|
|
.page-initialised .content-wrapper {
|
|
|
|
transition: padding $sidebar-transition-duration;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2022-05-16 17:09:09 -04:00
|
|
|
&:not(.is-merge-request) {
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
|
|
&:not(.wiki-sidebar):not(.build-sidebar):not(.issuable-bulk-update-sidebar) .content-wrapper {
|
|
|
|
padding-right: $gutter-collapsed-width;
|
|
|
|
}
|
2017-02-23 08:54:26 -05:00
|
|
|
}
|
2022-05-16 17:09:09 -04:00
|
|
|
}
|
2017-02-23 08:54:26 -05:00
|
|
|
|
2022-05-16 17:09:09 -04:00
|
|
|
&.is-merge-request {
|
2022-05-27 02:08:06 -04:00
|
|
|
@include media-breakpoint-up(lg) {
|
2022-05-16 17:09:09 -04:00
|
|
|
.content-wrapper {
|
|
|
|
padding-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 {
|
2016-07-18 15:48:26 -04:00
|
|
|
.btn {
|
|
|
|
background-color: $gray-light;
|
|
|
|
}
|
2017-11-10 18:41:04 -05:00
|
|
|
|
|
|
|
&:not(.disabled) {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2017-12-07 12:37:33 -05:00
|
|
|
|
|
|
|
svg {
|
|
|
|
width: $gl-padding;
|
|
|
|
height: $gl-padding;
|
|
|
|
}
|
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;
|
2021-01-19 07:10:46 -05:00
|
|
|
z-index: $zindex-dropdown-menu;
|
2016-03-21 07:09:55 -04:00
|
|
|
|
2022-05-16 17:09:09 -04:00
|
|
|
&.right-sidebar-merge-requests {
|
|
|
|
width: 270px;
|
|
|
|
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
z-index: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.shortcut-sidebar-dropdown-toggle {
|
|
|
|
margin-right: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-only(sm) {
|
2017-05-15 18:12:43 -04:00
|
|
|
&:not(.wiki-sidebar):not(.build-sidebar):not(.issuable-bulk-update-sidebar) .content-wrapper {
|
2018-07-24 17:17:49 -04:00
|
|
|
padding-right: $gutter-collapsed-width;
|
2017-02-23 08:54:26 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-27 02:08:06 -04:00
|
|
|
&:not(.is-merge-request) {
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
.content-wrapper {
|
|
|
|
padding-right: $gutter-width;
|
|
|
|
}
|
2016-11-18 15:45:51 -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 {
|
2022-05-18 11:08:09 -04:00
|
|
|
border-left: 1px solid $gray-100;
|
2020-03-27 20:07:51 -04:00
|
|
|
|
2022-05-16 17:09:09 -04:00
|
|
|
&.right-sidebar-merge-requests {
|
2022-05-27 02:08:06 -04:00
|
|
|
@include media-breakpoint-up(lg) {
|
2022-05-16 17:09:09 -04:00
|
|
|
border-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.right-sidebar-merge-requests) {
|
|
|
|
.sidebar-container,
|
|
|
|
.issuable-sidebar {
|
|
|
|
// Add 100px so that potentially visible vertical scroll bar is hidden
|
|
|
|
width: calc(100% + 100px);
|
|
|
|
}
|
2020-03-27 20:07:51 -04:00
|
|
|
}
|
2016-08-17 14:08:44 -04:00
|
|
|
}
|
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 {
|
2017-11-02 19:59:51 -04:00
|
|
|
border: 0;
|
2017-07-24 03:47:38 -04:00
|
|
|
}
|
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-08-09 08:34:23 -04:00
|
|
|
|
2018-04-18 18:29:58 -04:00
|
|
|
.issuable-sidebar .labels {
|
|
|
|
.value.dont-hide ~ .selectbox {
|
|
|
|
padding-top: $gl-padding-8;
|
|
|
|
}
|
2020-09-17 11:09:24 -04:00
|
|
|
|
|
|
|
// This is for sidebar components using gl-button for the Edit button to be consistent with the
|
|
|
|
// rest of the sidebar, and could be removed once the sidebar has been fully converted to use
|
|
|
|
// gitlab-ui components.
|
|
|
|
.title .gl-button {
|
2022-04-21 08:10:16 -04:00
|
|
|
font-weight: $gl-font-weight-bold;
|
|
|
|
|
|
|
|
.gl-button {
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
2020-09-17 11:09:24 -04:00
|
|
|
}
|
2018-04-18 18:29:58 -04:00
|
|
|
}
|
|
|
|
|
2017-11-10 18:41:04 -05: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;
|
|
|
|
}
|
2019-03-07 13:22:43 -05:00
|
|
|
|
|
|
|
.ancestor-tree {
|
|
|
|
.vertical-timeline {
|
|
|
|
position: relative;
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
2020-07-30 14:09:39 -04:00
|
|
|
border-left: 1px solid $gray-300;
|
2019-03-07 13:22:43 -05:00
|
|
|
position: absolute;
|
|
|
|
top: $gl-padding;
|
|
|
|
bottom: $gl-padding;
|
2019-09-18 17:06:34 -04:00
|
|
|
left: map-get($spacers, 2) - px-to-rem(1px);
|
2019-03-07 13:22:43 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&-row {
|
|
|
|
margin-top: map-get($spacers, 3);
|
|
|
|
|
|
|
|
&:nth-child(1) {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-icon {
|
|
|
|
/**
|
|
|
|
* 2px extra is to give a little more height than needed
|
|
|
|
* to hide timeline line before/after the element starts/ends
|
|
|
|
*/
|
2019-09-18 17:06:34 -04:00
|
|
|
height: map-get($spacers, 4) + px-to-rem(2px);
|
2019-03-07 13:22:43 -05:00
|
|
|
z-index: 1;
|
|
|
|
position: relative;
|
|
|
|
top: -3px;
|
|
|
|
padding: $gl-padding-4 0;
|
|
|
|
background-color: $gray-light;
|
|
|
|
|
|
|
|
&.opened {
|
|
|
|
color: $green-500;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.closed {
|
|
|
|
color: $blue-500;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-content {
|
|
|
|
line-height: initial;
|
|
|
|
margin-left: $gl-padding-8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-04-10 05:09:39 -04:00
|
|
|
|
|
|
|
.health-status {
|
|
|
|
.dropdown-body {
|
|
|
|
.health-divider {
|
2020-07-13 11:09:08 -04:00
|
|
|
border-top-color: $gray-100;
|
2020-04-10 05:09:39 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-item:not(.health-dropdown-item) {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-05-19 14:10:39 -04:00
|
|
|
|
|
|
|
.toggle-right-sidebar-button {
|
|
|
|
@include side-panel-toggle;
|
|
|
|
border-bottom: 1px solid $border-color;
|
|
|
|
}
|
2021-08-03 08:09:42 -04:00
|
|
|
|
|
|
|
.edit-link {
|
|
|
|
margin-right: -$gl-spacing-scale-2;
|
|
|
|
}
|
2022-04-01 14:08:46 -04:00
|
|
|
|
2022-05-16 17:09:09 -04:00
|
|
|
.issuable-sidebar.is-merge-request .edit-link {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
2022-04-05 17:08:46 -04:00
|
|
|
.assignee-grid {
|
|
|
|
grid-template-areas: ' attention user';
|
|
|
|
grid-template-columns: min-content 1fr;
|
2022-04-01 14:08:46 -04:00
|
|
|
}
|
|
|
|
|
2022-04-05 17:08:46 -04:00
|
|
|
.reviewer-grid {
|
|
|
|
grid-template-areas: ' user approval rerequest';
|
|
|
|
grid-template-columns: 1fr min-content min-content;
|
2022-04-01 14:08:46 -04:00
|
|
|
|
2022-04-05 17:08:46 -04:00
|
|
|
&.attention-requests {
|
|
|
|
grid-template-areas: ' attention user approval';
|
|
|
|
grid-template-columns: min-content 1fr min-content;
|
|
|
|
}
|
2022-04-01 14:08:46 -04:00
|
|
|
}
|
|
|
|
|
2022-04-05 17:08:46 -04:00
|
|
|
.assignee-grid,
|
|
|
|
.reviewer-grid {
|
|
|
|
[data-css-area='attention'] {
|
|
|
|
grid-area: attention;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-css-area='user'] {
|
|
|
|
grid-area: user;
|
|
|
|
}
|
2022-04-01 14:08:46 -04:00
|
|
|
}
|