2015-08-07 09:17:10 -04:00
|
|
|
/**
|
|
|
|
* MR -> show: Automerge widget
|
2012-06-13 13:02:30 -04:00
|
|
|
*
|
|
|
|
*/
|
2021-02-22 07:10:38 -05:00
|
|
|
$tabs-holder-z-index: 250;
|
2022-06-14 08:08:53 -04:00
|
|
|
$comparison-empty-state-height: 62px;
|
2020-02-17 10:09:01 -05:00
|
|
|
|
2017-08-06 22:29:37 -04:00
|
|
|
.space-children {
|
|
|
|
@include clearfix;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2019-07-16 13:31:12 -04:00
|
|
|
> *:not(:first-child) {
|
|
|
|
margin-left: 10px;
|
2017-08-06 22:29:37 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-31 11:50:34 -04:00
|
|
|
.media-section {
|
|
|
|
@include media-breakpoint-down(md) {
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
|
|
.media-body {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.code-text {
|
|
|
|
@include media-breakpoint-up(lg) {
|
|
|
|
align-self: center;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-06-11 09:14:50 -04:00
|
|
|
.mr-state-widget {
|
2014-12-30 10:28:34 -05:00
|
|
|
.accept-merge-holder {
|
|
|
|
.accept-action {
|
2017-02-14 17:08:30 -05:00
|
|
|
.accept-merge-request {
|
2019-02-26 21:13:06 -05:00
|
|
|
&.ci-preparing,
|
2015-11-06 17:45:33 -05:00
|
|
|
&.ci-pending,
|
|
|
|
&.ci-running {
|
2016-11-18 11:28:02 -05:00
|
|
|
@include btn-blue;
|
2015-11-06 17:45:33 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&.ci-skipped,
|
|
|
|
&.ci-failed,
|
|
|
|
&.ci-canceled,
|
|
|
|
&.ci-error {
|
|
|
|
@include btn-red;
|
|
|
|
}
|
|
|
|
}
|
2014-12-30 10:28:34 -05:00
|
|
|
}
|
2012-06-13 13:02:30 -04:00
|
|
|
}
|
|
|
|
}
|
2012-06-29 14:55:22 -04:00
|
|
|
|
2012-09-19 02:14:07 -04:00
|
|
|
.mr_source_commit,
|
|
|
|
.mr_target_commit {
|
2016-03-15 10:43:40 -04:00
|
|
|
margin-bottom: 0;
|
|
|
|
|
2012-09-19 02:14:07 -04:00
|
|
|
.commit {
|
2012-11-23 11:33:43 -05:00
|
|
|
margin: 0;
|
2017-06-21 09:25:55 -04:00
|
|
|
padding: 10px;
|
2012-11-23 11:33:43 -05:00
|
|
|
list-style: none;
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2012-09-19 02:14:07 -04:00
|
|
|
&:hover {
|
2012-11-23 11:33:43 -05:00
|
|
|
background: none;
|
2012-08-29 15:29:50 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-14 08:08:53 -04:00
|
|
|
.compare-commit-empty {
|
|
|
|
min-height: $comparison-empty-state-height;
|
|
|
|
}
|
|
|
|
|
2016-09-13 17:05:16 -04:00
|
|
|
.commits-empty {
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
padding-top: 20px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2016-09-13 17:05:16 -04:00
|
|
|
svg {
|
|
|
|
width: 230px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-29 23:59:35 -05:00
|
|
|
.nothing-here-block {
|
|
|
|
img {
|
|
|
|
width: 230px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-06 08:10:24 -04:00
|
|
|
.mr-list {
|
|
|
|
.merge-request {
|
2020-10-21 14:08:58 -04:00
|
|
|
padding: 10px $gl-padding;
|
2017-02-08 02:04:00 -05:00
|
|
|
display: flex;
|
2013-04-06 08:10:24 -04:00
|
|
|
|
2018-09-21 10:05:55 -04:00
|
|
|
.issuable-info-container {
|
2017-02-08 02:04:00 -05:00
|
|
|
flex: 1;
|
2017-02-07 05:30:44 -05:00
|
|
|
}
|
2013-04-06 08:10:24 -04:00
|
|
|
|
|
|
|
.merge-request-title {
|
2016-02-26 08:48:25 -05:00
|
|
|
margin-bottom: 2px;
|
2016-07-19 09:47:26 -04:00
|
|
|
|
|
|
|
.ci-status-link {
|
|
|
|
svg {
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
position: relative;
|
|
|
|
top: 3px;
|
|
|
|
}
|
2016-07-21 16:55:21 -04:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2016-07-19 09:47:26 -04:00
|
|
|
}
|
2013-04-06 08:10:24 -04:00
|
|
|
}
|
2015-04-21 04:28:03 -04:00
|
|
|
}
|
2017-08-06 22:29:37 -04:00
|
|
|
}
|
|
|
|
|
2018-04-09 11:26:28 -04:00
|
|
|
.card-new-merge-request {
|
2018-04-16 15:18:45 -04:00
|
|
|
.card-header {
|
2016-03-15 10:43:40 -04:00
|
|
|
padding: 5px 10px;
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-bold;
|
2016-03-15 10:43:40 -04:00
|
|
|
line-height: 25px;
|
|
|
|
}
|
|
|
|
|
2018-04-09 11:26:28 -04:00
|
|
|
.card-body {
|
2016-03-15 10:43:40 -04:00
|
|
|
padding: 10px 5px;
|
|
|
|
}
|
|
|
|
|
2018-04-09 11:26:28 -04:00
|
|
|
.card-footer {
|
2017-02-27 22:31:21 -05:00
|
|
|
padding: 0;
|
2016-06-17 09:09:00 -04:00
|
|
|
|
|
|
|
.btn {
|
|
|
|
min-width: auto;
|
|
|
|
}
|
2016-03-15 10:43:40 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.commit {
|
|
|
|
.commit-row-title {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
2016-06-24 07:52:48 -04:00
|
|
|
.item-title {
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-up(sm) {
|
2016-07-17 12:47:46 -04:00
|
|
|
width: 45%;
|
2016-06-24 07:52:48 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-15 10:43:40 -04:00
|
|
|
.avatar {
|
2016-06-24 07:52:48 -04:00
|
|
|
left: 0;
|
|
|
|
top: 2px;
|
2016-03-15 10:43:40 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-clipboard {
|
|
|
|
margin-right: 5px;
|
|
|
|
padding: 0;
|
|
|
|
background: transparent;
|
|
|
|
}
|
2016-04-06 07:52:07 -04:00
|
|
|
|
|
|
|
.ci-status-link {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2016-03-15 10:43:40 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.merge-request-select {
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
2016-04-11 04:54:32 -04:00
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-up(xs) {
|
2016-04-11 04:54:32 -04:00
|
|
|
float: left;
|
|
|
|
width: 50%;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2016-03-29 06:11:16 -04:00
|
|
|
|
|
|
|
.dropdown-menu-toggle {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
left: 5px;
|
|
|
|
right: 5px;
|
|
|
|
width: auto;
|
|
|
|
}
|
2016-03-15 10:43:40 -04:00
|
|
|
}
|
2016-04-06 11:25:38 -04:00
|
|
|
|
2016-04-11 04:43:59 -04:00
|
|
|
.issuable-form-select-holder {
|
|
|
|
display: inline-block;
|
|
|
|
width: 250px;
|
2016-07-16 03:12:12 -04:00
|
|
|
|
|
|
|
.dropdown-menu-toggle {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2016-04-06 11:25:38 -04:00
|
|
|
}
|
2016-04-25 16:02:15 -04:00
|
|
|
|
|
|
|
.table-holder {
|
2016-10-10 17:21:08 -04:00
|
|
|
.ci-table {
|
2016-04-25 16:02:15 -04:00
|
|
|
th {
|
2020-03-30 20:08:09 -04:00
|
|
|
background-color: $white;
|
2016-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color-secondary;
|
2016-04-25 16:02:15 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-06-08 12:04:41 -04:00
|
|
|
|
2022-06-08 08:08:46 -04:00
|
|
|
.merge-request-tabs-holder {
|
2017-09-29 17:03:50 -04:00
|
|
|
top: $header-height;
|
2021-02-22 07:10:38 -05:00
|
|
|
z-index: $tabs-holder-z-index;
|
2020-12-03 07:09:39 -05:00
|
|
|
background-color: $body-bg;
|
2019-02-13 09:45:24 -05:00
|
|
|
border-bottom: 1px solid $border-color;
|
2016-09-16 05:45:23 -04:00
|
|
|
|
2020-10-12 11:08:32 -04:00
|
|
|
.with-system-header & {
|
2022-01-04 04:13:39 -05:00
|
|
|
top: calc(#{$header-height} + #{$system-header-height});
|
2020-10-12 11:08:32 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.with-system-header.with-performance-bar & {
|
2022-01-04 04:13:39 -05:00
|
|
|
top: calc(#{$header-height} + #{$system-header-height} + #{$performance-bar-height});
|
2020-10-12 11:08:32 -04:00
|
|
|
}
|
|
|
|
|
2022-05-16 17:09:09 -04:00
|
|
|
@include media-breakpoint-up(md) {
|
2017-05-11 06:37:40 -04:00
|
|
|
position: sticky;
|
|
|
|
}
|
|
|
|
|
2016-09-16 05:45:23 -04:00
|
|
|
&.affix {
|
2016-10-19 09:57:42 -04:00
|
|
|
left: 0;
|
2018-10-22 04:31:24 -04:00
|
|
|
transition: right 0.15s;
|
2016-12-29 16:04:26 -05:00
|
|
|
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-down(xs) {
|
2016-12-29 16:04:26 -05:00
|
|
|
right: 0;
|
|
|
|
}
|
2016-10-19 09:57:42 -04:00
|
|
|
}
|
2017-04-18 21:56:24 -04:00
|
|
|
|
|
|
|
.nav-links {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-03 07:42:34 -04:00
|
|
|
.with-performance-bar {
|
2022-06-08 08:08:46 -04:00
|
|
|
.merge-request-tabs-holder {
|
2022-01-04 04:13:39 -05:00
|
|
|
top: calc(#{$header-height} + #{$performance-bar-height});
|
2019-04-03 07:42:34 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-27 10:41:19 -05:00
|
|
|
.limit-container-width {
|
2022-06-08 08:08:46 -04:00
|
|
|
.merge-request-tabs-container {
|
2017-01-27 10:41:19 -05:00
|
|
|
max-width: $limited-layout-width;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2017-07-07 05:18:05 -04:00
|
|
|
|
|
|
|
.inner-page-scroll-tabs {
|
2020-03-30 20:08:09 -04:00
|
|
|
background-color: $white;
|
2017-07-07 05:18:05 -04:00
|
|
|
margin-left: -$gl-padding;
|
|
|
|
padding-left: $gl-padding;
|
|
|
|
}
|
2017-01-27 10:41:19 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-08 08:08:46 -04:00
|
|
|
.merge-request-tabs-container {
|
2019-06-06 10:44:13 -04:00
|
|
|
@include media-breakpoint-down(xs) {
|
2022-05-13 08:08:49 -04:00
|
|
|
.discussion-filter-container {
|
2019-06-06 10:44:13 -04:00
|
|
|
margin-bottom: $gl-padding-4;
|
|
|
|
}
|
2017-04-18 21:56:24 -04:00
|
|
|
}
|
2018-10-23 05:49:45 -04:00
|
|
|
|
|
|
|
.discussion-filter-container {
|
|
|
|
&:not(:only-child) {
|
2019-06-06 10:44:13 -04:00
|
|
|
margin: $gl-padding-4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.merge-request-tabs {
|
|
|
|
height: $grid-size * 6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-23 11:10:14 -04:00
|
|
|
.container-fluid {
|
|
|
|
// Negative margins for mobile/tablet screen
|
|
|
|
.diffs.tab-pane {
|
|
|
|
margin: 0 (-$gl-padding);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-06 10:44:13 -04:00
|
|
|
// Wrap MR tabs/buttons so you don't have to scroll on desktop
|
|
|
|
@include media-breakpoint-down(md) {
|
2022-06-08 08:08:46 -04:00
|
|
|
.merge-request-tabs-container {
|
2019-06-06 10:44:13 -04:00
|
|
|
flex-direction: column-reverse;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media-breakpoint-down(lg) {
|
|
|
|
.right-sidebar-expanded {
|
2022-06-08 08:08:46 -04:00
|
|
|
.merge-request-tabs-container {
|
2019-06-06 10:44:13 -04:00
|
|
|
flex-direction: column-reverse;
|
|
|
|
align-items: flex-start;
|
2018-10-23 05:49:45 -04:00
|
|
|
}
|
|
|
|
}
|
2017-04-18 21:56:24 -04:00
|
|
|
}
|
|
|
|
|
2017-01-27 10:41:19 -05:00
|
|
|
.limit-container-width:not(.container-limited) {
|
2022-05-23 05:08:01 -04:00
|
|
|
.merge-request-tabs-holder .merge-request-tabs-container {
|
2019-04-03 07:42:34 -04:00
|
|
|
max-width: $limited-layout-width - ($gl-padding * 2);
|
2016-09-16 05:45:23 -04:00
|
|
|
}
|
|
|
|
}
|
2017-05-09 00:15:34 -04:00
|
|
|
|
2017-12-01 13:57:34 -05:00
|
|
|
.fork-sprite {
|
|
|
|
margin-right: -5px;
|
|
|
|
}
|
2018-03-09 08:14:20 -05:00
|
|
|
|
2018-04-16 11:36:24 -04:00
|
|
|
// Hack alert: we've rewritten `btn` class in a way that
|
|
|
|
// we've broken it and it is not possible to use with `btn-link`
|
2018-04-17 04:51:33 -04:00
|
|
|
// which causes a blank button when it's disabled and hovering
|
2018-04-16 11:36:24 -04:00
|
|
|
// The css in here is the boostrap one
|
|
|
|
.btn-link-retry {
|
|
|
|
&[disabled] {
|
|
|
|
cursor: not-allowed;
|
|
|
|
box-shadow: none;
|
2018-10-22 04:31:24 -04:00
|
|
|
opacity: 0.65;
|
2018-04-16 11:36:24 -04:00
|
|
|
|
|
|
|
&:hover {
|
2020-08-20 14:10:16 -04:00
|
|
|
color: $gray-500;
|
2018-04-16 11:36:24 -04:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2018-04-16 13:48:53 -04:00
|
|
|
}
|
2018-07-06 16:18:17 -04:00
|
|
|
|
2019-01-16 10:17:10 -05:00
|
|
|
.merge-request-details .file-finder-overlay.diff-file-finder {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 99999;
|
|
|
|
background: $black-transparent;
|
|
|
|
}
|
2019-02-14 03:41:38 -05:00
|
|
|
|
2019-03-12 06:43:45 -04:00
|
|
|
.mr-compare {
|
|
|
|
.diff-file .file-title-flex-parent {
|
2022-01-04 04:13:39 -05:00
|
|
|
top: calc(#{$header-height} + #{$mr-tabs-height} + 36px);
|
2019-03-12 06:43:45 -04:00
|
|
|
|
|
|
|
.with-performance-bar & {
|
2022-01-04 04:13:39 -05:00
|
|
|
top: calc(#{$performance-bar-height} + #{$header-height} + #{$mr-tabs-height} + 36px);
|
2019-03-12 06:43:45 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-06-27 11:09:33 -04:00
|
|
|
|
2022-07-06 14:08:29 -04:00
|
|
|
.mr-experience-survey-wrapper {
|
|
|
|
// setting this explicitly because:
|
|
|
|
// diff-files-holder has z-index 203
|
|
|
|
// z-index 9999 utility class breaks tooltips
|
|
|
|
z-index: 210;
|
|
|
|
}
|
|
|
|
|
2022-06-27 11:09:33 -04:00
|
|
|
.mr-experience-survey-body {
|
|
|
|
width: 300px;
|
|
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.mr-experience-survey-legal {
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mr-experience-survey-logo {
|
|
|
|
width: 16px;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.survey-slide-up-enter {
|
|
|
|
transform: translateY(10px);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.survey-slide-up-enter-active {
|
|
|
|
@include gl-transition-slow;
|
|
|
|
}
|