2015-09-11 14:41:01 +05:30
|
|
|
.content-wrapper {
|
|
|
|
width: 100%;
|
2015-09-25 12:07:36 +05:30
|
|
|
|
|
|
|
.container-fluid {
|
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;
|
2018-03-17 18:26:18 +05:30
|
|
|
border: 0;
|
2015-09-25 12:07:36 +05:30
|
|
|
}
|
|
|
|
}
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
|
|
|
|
2020-10-24 23:57:45 +05:30
|
|
|
.page-initialised .content-wrapper {
|
|
|
|
transition: padding $sidebar-transition-duration;
|
|
|
|
}
|
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
.right-sidebar-collapsed {
|
|
|
|
padding-right: 0;
|
|
|
|
|
2022-07-16 23:28:13 +05:30
|
|
|
&: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-08-17 22:00:37 +05:30
|
|
|
}
|
2022-07-16 23:28:13 +05:30
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2022-07-16 23:28:13 +05:30
|
|
|
&.is-merge-request {
|
2022-07-23 23:45:48 +05:30
|
|
|
@include media-breakpoint-up(lg) {
|
2022-07-16 23:28:13 +05:30
|
|
|
.content-wrapper {
|
|
|
|
padding-right: $gutter-collapsed-width;
|
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
}
|
2016-06-02 11:05:42 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-collapsed-icon {
|
2016-08-24 12:49:21 +05:30
|
|
|
.btn {
|
|
|
|
background-color: $gray-light;
|
|
|
|
}
|
2018-03-17 18:26:18 +05:30
|
|
|
|
|
|
|
&:not(.disabled) {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: $gl-padding;
|
|
|
|
height: $gl-padding;
|
|
|
|
}
|
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;
|
2021-03-11 19:13:27 +05:30
|
|
|
z-index: $zindex-dropdown-menu;
|
2016-06-02 11:05:42 +05:30
|
|
|
|
2022-07-16 23:28:13 +05:30
|
|
|
&.right-sidebar-merge-requests {
|
2022-07-23 23:45:48 +05:30
|
|
|
width: 300px;
|
2022-07-16 23:28:13 +05:30
|
|
|
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
z-index: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.shortcut-sidebar-dropdown-toggle {
|
|
|
|
margin-right: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
@include media-breakpoint-only(sm) {
|
2017-09-10 17:25:29 +05:30
|
|
|
&:not(.wiki-sidebar):not(.build-sidebar):not(.issuable-bulk-update-sidebar) .content-wrapper {
|
2018-11-18 11:00:15 +05:30
|
|
|
padding-right: $gutter-collapsed-width;
|
2016-06-16 23:09:34 +05:30
|
|
|
}
|
2016-06-02 11:05:42 +05:30
|
|
|
}
|
|
|
|
|
2022-07-23 23:45:48 +05:30
|
|
|
&:not(.is-merge-request) {
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
.content-wrapper {
|
|
|
|
padding-right: $gutter-width;
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
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 {
|
2022-07-16 23:28:13 +05:30
|
|
|
border-left: 1px solid $gray-100;
|
2020-04-22 19:07:51 +05:30
|
|
|
|
2022-07-16 23:28:13 +05:30
|
|
|
&.right-sidebar-merge-requests {
|
2022-07-23 23:45:48 +05:30
|
|
|
@include media-breakpoint-up(lg) {
|
2022-07-16 23:28:13 +05:30
|
|
|
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-04-22 19:07:51 +05:30
|
|
|
}
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
@mixin maintain-sidebar-dimensions {
|
|
|
|
display: block;
|
|
|
|
width: $gutter-width;
|
|
|
|
}
|
|
|
|
|
|
|
|
.issues-bulk-update.right-sidebar {
|
|
|
|
@include maintain-sidebar-dimensions;
|
|
|
|
width: 0;
|
|
|
|
padding: 0;
|
|
|
|
transition: width $sidebar-transition-duration;
|
|
|
|
|
|
|
|
&.right-sidebar-expanded {
|
|
|
|
@include maintain-sidebar-dimensions;
|
|
|
|
width: $gutter-width;
|
|
|
|
|
|
|
|
.issuable-sidebar-header {
|
|
|
|
// matches `.top-area .nav-controls` for issuable index pages
|
|
|
|
padding: 11px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.block:last-of-type {
|
2018-03-17 18:26:18 +05:30
|
|
|
border: 0;
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.right-sidebar-collapsed {
|
|
|
|
@include maintain-sidebar-dimensions;
|
|
|
|
width: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.block {
|
|
|
|
padding: 16px 0;
|
|
|
|
width: 250px;
|
|
|
|
border-bottom: 1px solid $border-color;
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.issuable-sidebar {
|
|
|
|
padding: 0 3px;
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
2016-09-13 17:45:13 +05:30
|
|
|
}
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2018-10-15 14:42:47 +05:30
|
|
|
.issuable-sidebar .labels {
|
|
|
|
.value.dont-hide ~ .selectbox {
|
|
|
|
padding-top: $gl-padding-8;
|
|
|
|
}
|
2020-11-24 15:15:51 +05:30
|
|
|
|
|
|
|
// 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-07-16 23:28:13 +05:30
|
|
|
font-weight: $gl-font-weight-bold;
|
|
|
|
|
|
|
|
.gl-button {
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
2020-11-24 15:15:51 +05:30
|
|
|
}
|
2018-10-15 14:42:47 +05:30
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.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-07-07 11:18:12 +05:30
|
|
|
|
|
|
|
.ancestor-tree {
|
|
|
|
.vertical-timeline {
|
|
|
|
position: relative;
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
2020-10-24 23:57:45 +05:30
|
|
|
border-left: 1px solid $gray-300;
|
2019-07-07 11:18:12 +05:30
|
|
|
position: absolute;
|
|
|
|
top: $gl-padding;
|
|
|
|
bottom: $gl-padding;
|
2019-12-21 20:55:43 +05:30
|
|
|
left: map-get($spacers, 2) - px-to-rem(1px);
|
2019-07-07 11:18:12 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
&-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-12-21 20:55:43 +05:30
|
|
|
height: map-get($spacers, 4) + px-to-rem(2px);
|
2019-07-07 11:18:12 +05:30
|
|
|
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-22 19:07:51 +05:30
|
|
|
|
|
|
|
.health-status {
|
|
|
|
.dropdown-body {
|
|
|
|
.health-divider {
|
2020-07-28 23:09:34 +05:30
|
|
|
border-top-color: $gray-100;
|
2020-04-22 19:07:51 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-item:not(.health-dropdown-item) {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-09-04 01:27:46 +05:30
|
|
|
|
|
|
|
.toggle-right-sidebar-button {
|
|
|
|
@include side-panel-toggle;
|
|
|
|
border-bottom: 1px solid $border-color;
|
|
|
|
}
|
2021-10-27 15:23:28 +05:30
|
|
|
|
|
|
|
.edit-link {
|
|
|
|
margin-right: -$gl-spacing-scale-2;
|
|
|
|
}
|
2022-06-21 17:19:12 +05:30
|
|
|
|
2022-07-16 23:28:13 +05:30
|
|
|
.issuable-sidebar.is-merge-request .edit-link {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
2022-06-21 17:19:12 +05:30
|
|
|
.assignee-grid {
|
|
|
|
grid-template-areas: ' attention user';
|
|
|
|
grid-template-columns: min-content 1fr;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reviewer-grid {
|
|
|
|
grid-template-areas: ' user approval rerequest';
|
|
|
|
grid-template-columns: 1fr min-content min-content;
|
|
|
|
|
|
|
|
&.attention-requests {
|
|
|
|
grid-template-areas: ' attention user approval';
|
|
|
|
grid-template-columns: min-content 1fr min-content;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.assignee-grid,
|
|
|
|
.reviewer-grid {
|
|
|
|
[data-css-area='attention'] {
|
|
|
|
grid-area: attention;
|
2022-07-23 23:45:48 +05:30
|
|
|
|
|
|
|
button.selected svg {
|
|
|
|
fill: $orange-500;
|
|
|
|
}
|
2022-06-21 17:19:12 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
[data-css-area='user'] {
|
|
|
|
grid-area: user;
|
|
|
|
}
|
|
|
|
}
|