pipelines.scss 17.4 KB
Newer Older
Regis's avatar
Regis committed
1 2 3 4 5 6 7 8 9 10
.pipelines {
  .stage {
    max-width: 90px;
    width: 90px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

11 12 13 14
  .table-holder {
    width: 100%;
  }

15 16
  .commit-title {
    margin: 0;
Regis's avatar
Regis committed
17 18
  }

19
  .ci-table {
Regis's avatar
Regis committed
20

21 22 23 24
    .label {
      margin-bottom: 3px;
    }

Regis's avatar
Regis committed
25 26
    .pipeline-id {
      color: $black;
27
    }
28

29 30 31 32 33 34 35 36 37 38 39 40 41 42
    .pipelines-time-ago {
      text-align: right;
    }

    .pipeline-actions {
      padding-right: 0;
      min-width: 170px; //Guarantees buttons don't break in several lines.

      .btn-default {
        color: $gl-text-color-secondary;
      }

      .btn.btn-retry:hover,
      .btn.btn-retry:focus {
43
        border-color: $dropdown-toggle-active-border-color;
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
        background-color: $white-normal;
      }

      svg path {
        fill: $gl-text-color-secondary;
      }

      .dropdown-menu {
        max-height: 250px;
        overflow-y: auto;
      }

      .dropdown-toggle,
      .dropdown-menu {
        color: $gl-text-color-secondary;

        .fa {
          color: $gl-text-color-secondary;
          font-size: 14px;
        }
      }

      .btn-group {
        &.open {
          .btn-default {
            background-color: $white-normal;
            border-color: $border-white-normal;
          }
        }

        .btn {
          .icon-play {
            height: 13px;
            width: 12px;
          }
        }
      }

82 83 84 85
      .btn .text-center {
        display: inline;
      }

86 87 88 89
      .tooltip {
        white-space: nowrap;
      }
    }
Regis's avatar
Regis committed
90 91
  }
}
92

Regis's avatar
Regis committed
93 94 95 96 97
@media (max-width: $screen-md-max) {
  .content-list {
    &.builds-content-list {
      width: 100%;
      overflow: auto;
98
    }
Regis's avatar
Regis committed
99 100
  }
}
101

102
.ci-table {
Regis's avatar
Regis committed
103 104 105
  .build.retried {
    background-color: $gray-lightest;
  }
106

Regis's avatar
Regis committed
107 108 109 110 111
  .commit-link {
    a {
      &:focus {
        text-decoration: none;
      }
112 113
    }

Regis's avatar
Regis committed
114 115
    a:hover {
      text-decoration: none;
116
    }
Regis's avatar
Regis committed
117
  }
118

Regis's avatar
Regis committed
119 120 121 122
  .avatar {
    margin-left: 0;
    float: none;
  }
123

124 125 126 127
  .api {
    @extend .monospace;
  }

Regis's avatar
Regis committed
128
  .branch-commit {
129

130
    .ref-name {
131
      font-weight: $gl-font-weight-bold;
Regis's avatar
Regis committed
132 133 134 135
      max-width: 120px;
      overflow: hidden;
      display: inline-block;
      white-space: nowrap;
136
      vertical-align: middle;
Regis's avatar
Regis committed
137
      text-overflow: ellipsis;
138 139
    }

Regis's avatar
Regis committed
140 141 142 143
    svg {
      height: 14px;
      width: 14px;
      vertical-align: middle;
144
      fill: $gl-text-color-secondary;
145 146
    }

Regis's avatar
Regis committed
147 148 149
    .fa {
      font-size: 12px;
      color: $gl-text-color;
150 151
    }

152
    .commit-sha {
Regis's avatar
Regis committed
153 154
      color: $gl-link-color;
    }
155

Regis's avatar
Regis committed
156 157
    .label {
      margin-right: 4px;
158
    }
159

Regis's avatar
Regis committed
160 161
    .label-container {
      font-size: 0;
162

Regis's avatar
Regis committed
163 164
      .label {
        margin-top: 5px;
Regis's avatar
Regis committed
165
      }
Regis's avatar
Regis committed
166 167
    }
  }
168

Regis's avatar
Regis committed
169 170 171
  .icon-container {
    display: inline-block;
    width: 10px;
Regis's avatar
Regis committed
172

Regis's avatar
Regis committed
173 174 175 176 177
    &.commit-icon {
      width: 15px;
      text-align: center;
    }
  }
Regis's avatar
Regis committed
178

Regis's avatar
Regis committed
179 180
  .duration,
  .finished-at {
181
    color: $gl-text-color-secondary;
182
    margin: 0;
183
    white-space: nowrap;
184

Regis's avatar
Regis committed
185 186 187
    .fa {
      font-size: 12px;
      margin-right: 4px;
188 189
    }

Regis's avatar
Regis committed
190 191 192 193 194 195 196
    svg {
      width: 12px;
      height: 12px;
      vertical-align: middle;
      margin-right: 4px;
    }
  }
197

198 199
  .build-link a {
    color: $gl-text-color;
Regis's avatar
Regis committed
200
  }
201

Regis's avatar
Regis committed
202 203 204
  .btn-group.open .dropdown-toggle {
    box-shadow: none;
  }
205 206 207 208

  .pipeline-tags .label-container {
    white-space: normal;
  }
Regis's avatar
Regis committed
209
}
210

211
.stage-cell {
212 213 214 215 216
  @media (min-width: $screen-md-min) {
    min-width: 148px;
    margin-right: -4px;
  }

217
  .mini-pipeline-graph-dropdown-toggle svg {
218 219
    height: $ci-action-icon-size;
    width: $ci-action-icon-size;
220 221 222 223 224 225 226 227 228 229
    position: absolute;
    top: -1px;
    left: -1px;
    z-index: 2;
    overflow: visible;
  }

  .stage-container {
    display: inline-block;
    position: relative;
230
    vertical-align: middle;
231
    height: $ci-action-icon-size;
232 233 234 235 236
    margin: 3px 0;

    + .stage-container {
      margin-left: 6px;
    }
237

238 239 240
    // Hack to show a button tooltip inline
    button.has-tooltip + .tooltip {
      min-width: 105px;
241 242
    }

243 244 245
    // Bootstrap way of showing the content inline for anchors.
    a.has-tooltip {
      white-space: nowrap;
246 247 248 249 250 251 252 253 254 255 256 257 258 259 260
    }

    &:not(:last-child) {
      &::after {
        content: '';
        width: 7px;
        position: absolute;
        right: -7px;
        top: 10px;
        border-bottom: 2px solid $border-color;
      }
    }
  }
}

Regis's avatar
Regis committed
261 262 263 264 265
.admin-builds-table {
  .ci-table td:last-child {
    min-width: 120px;
  }
}
266

Regis's avatar
Regis committed
267 268
// Pipeline visualization
.pipeline-actions {
269 270
  @include new-style-dropdown;

Regis's avatar
Regis committed
271 272
  border-bottom: none;
}
273

Regis's avatar
Regis committed
274
.tab-pane {
275 276
  &.builds .ci-table tr {
    height: 71px;
277
  }
Regis's avatar
Regis committed
278
}
279

280 281 282 283 284 285
.build-failures {
  .build-state {
    padding: 20px 2px;

    .build-name {
      float: right;
286
      font-weight: $gl-font-weight-normal;
287 288 289 290 291 292 293 294
    }

    .ci-status-icon-failed svg {
      vertical-align: middle;
    }

    .stage {
      color: $gl-text-color-secondary;
295
      font-weight: $gl-font-weight-normal;
296 297 298 299 300 301 302 303 304 305
      vertical-align: middle;
    }
  }

  .build-log {
    border: none;
    line-height: initial;
  }
}

Regis's avatar
Regis committed
306 307 308 309 310 311 312
// Pipeline graph
.pipeline-graph {
  width: 100%;
  background-color: $gray-light;
  padding: $gl-padding;
  white-space: nowrap;
  transition: max-height 0.3s, padding 0.3s;
313
  overflow: auto;
Regis's avatar
Regis committed
314

315 316
  .stage-column-list,
  .builds-container > ul {
Regis's avatar
Regis committed
317
    padding: 0;
318
  }
319

Regis's avatar
Regis committed
320 321
  a {
    text-decoration: none;
322
    color: $gl-text-color;
Regis's avatar
Regis committed
323
  }
324

Regis's avatar
Regis committed
325 326 327 328
  svg {
    vertical-align: middle;
    margin-right: 3px;
  }
329

Regis's avatar
Regis committed
330 331 332
  .stage-column {
    display: inline-block;
    vertical-align: top;
333

Regis's avatar
Regis committed
334 335
    &:not(:last-child) {
      margin-right: 44px;
Regis's avatar
Regis committed
336
    }
337

Regis's avatar
Regis committed
338 339 340 341 342 343 344 345 346
    &.left-margin {
      &:not(:first-child) {
        margin-left: 44px;

        .left-connector {
          &::before {
            content: '';
            position: absolute;
            top: 48%;
347
            left: -44px;
Regis's avatar
Regis committed
348
            border-top: 2px solid $border-color;
349
            width: 44px;
Regis's avatar
Regis committed
350 351
            height: 1px;
          }
352 353
        }
      }
354
    }
355

Regis's avatar
Regis committed
356 357
    &.no-margin {
      margin: 0;
358 359
    }

Regis's avatar
Regis committed
360 361
    li {
      list-style: none;
Regis's avatar
Regis committed
362 363
    }

Regis's avatar
Regis committed
364 365 366 367 368 369
    &:last-child {
      .build {
        // Remove right connecting horizontal line from first build in last stage
        &:first-child {
          &::after {
            border: none;
370 371
          }
        }
Regis's avatar
Regis committed
372 373 374 375
        // Remove right curved connectors from all builds in last stage
        &:not(:first-child) {
          &::after {
            border: none;
Regis's avatar
Regis committed
376
          }
Regis's avatar
Regis committed
377 378 379 380 381
        }
        // Remove opposite curve
        .curve {
          &::before {
            display: none;
382 383 384
          }
        }
      }
Regis's avatar
Regis committed
385
    }
386

Regis's avatar
Regis committed
387 388 389 390 391 392
    &:first-child {
      .build {
        // Remove left curved connectors from all builds in first stage
        &:not(:first-child) {
          &::before {
            border: none;
393
          }
Regis's avatar
Regis committed
394 395 396 397 398
        }
        // Remove opposite curve
        .curve {
          &::after {
            display: none;
399 400 401
          }
        }
      }
Regis's avatar
Regis committed
402
    }
403

Regis's avatar
Regis committed
404 405 406
    // Curve first child connecting lines in opposite direction
    .curve {
      display: none;
407

Regis's avatar
Regis committed
408 409 410 411 412 413 414 415 416
      &::before,
      &::after {
        content: '';
        width: 21px;
        height: 25px;
        position: absolute;
        top: -31px;
        border-top: 2px solid $border-color;
      }
417

Regis's avatar
Regis committed
418 419 420 421
      &::after {
        left: -44px;
        border-right: 2px solid $border-color;
        border-radius: 0 20px;
422
      }
423

Regis's avatar
Regis committed
424 425 426 427 428
      &::before {
        right: -44px;
        border-left: 2px solid $border-color;
        border-radius: 20px 0 0;
      }
Regis's avatar
Regis committed
429
    }
Regis's avatar
Regis committed
430
  }
431

Regis's avatar
Regis committed
432 433
  .stage-name {
    margin: 0 0 15px 10px;
434
    font-weight: $gl-font-weight-bold;
Regis's avatar
Regis committed
435 436 437 438 439
    width: 176px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
440

Regis's avatar
Regis committed
441 442 443 444 445
  .build {
    position: relative;
    width: 186px;
    margin-bottom: 10px;
    white-space: normal;
446 447 448 449 450

    // ensure .build-content has hover style when action-icon is hovered
    .ci-job-dropdown-container:hover .build-content {
      @extend .build-content:hover;
    }
451

452
    // Action Icons in big pipeline-graph nodes
453
    .ci-action-icon-container .ci-action-icon-wrapper {
454 455 456 457 458 459
      height: 30px;
      width: 30px;
      background: $white-light;
      border: 1px solid $border-color;
      border-radius: 100%;
      display: block;
460

461 462
      &:hover {
        background-color: $stage-hover-bg;
463
        border: 1px solid $dropdown-toggle-active-border-color;
464 465 466
      }

      svg {
467
        fill: $gl-text-color-secondary;
468 469 470
        position: relative;
        left: -1px;
        top: -1px;
471 472
      }

473 474
      &:hover svg {
        fill: $gl-text-color;
475 476 477
      }
    }

478
    .ci-action-icon-container {
479 480 481 482 483 484 485 486 487
      position: absolute;
      right: 5px;
      top: 5px;
    }

    .ci-status-icon svg {
      height: 20px;
      width: 20px;
    }
488

Regis's avatar
Regis committed
489 490 491 492
    .dropdown-menu-toggle {
      background-color: transparent;
      border: none;
      padding: 0;
Regis's avatar
Regis committed
493

Regis's avatar
Regis committed
494 495
      &:focus {
        outline: none;
496
      }
Regis's avatar
Regis committed
497
    }
498

499
    .build-content {
Regis's avatar
Regis committed
500 501 502 503 504 505
      display: inline-block;
      padding: 8px 10px 9px;
      width: 100%;
      border: 1px solid $border-color;
      border-radius: 30px;
      background-color: $white-light;
506
    }
507

508 509 510
    a.build-content:hover,
    button.build-content:hover {
      background-color: $stage-hover-bg;
511
      border: 1px solid $dropdown-toggle-active-border-color;
Regis's avatar
Regis committed
512
    }
513

Regis's avatar
Regis committed
514

Regis's avatar
Regis committed
515 516 517 518 519 520 521 522 523 524 525 526
    // Connect first build in each stage with right horizontal line
    &:first-child {
      &::after {
        content: '';
        position: absolute;
        top: 48%;
        right: -48px;
        border-top: 2px solid $border-color;
        width: 48px;
        height: 1px;
      }
    }
Regis's avatar
Regis committed
527

Regis's avatar
Regis committed
528 529 530 531 532 533 534 535 536 537
    // Connect each build (except for first) with curved lines
    &:not(:first-child) {
      &::after,
      &::before {
        content: '';
        top: -49px;
        position: absolute;
        border-bottom: 2px solid $border-color;
        width: 25px;
        height: 69px;
538 539
      }

Regis's avatar
Regis committed
540 541 542 543 544 545
      // Right connecting curves
      &::after {
        right: -25px;
        border-right: 2px solid $border-color;
        border-radius: 0 0 20px;
      }
Regis's avatar
Regis committed
546

Regis's avatar
Regis committed
547 548 549 550 551
      // Left connecting curves
      &::before {
        left: -25px;
        border-left: 2px solid $border-color;
        border-radius: 0 0 0 20px;
552 553 554
      }
    }

Regis's avatar
Regis committed
555 556 557 558 559 560 561
    // Connect second build to first build with smaller curved line
    &:nth-child(2) {
      &::after,
      &::before {
        height: 29px;
        top: -9px;
      }
Regis's avatar
Regis committed
562

Regis's avatar
Regis committed
563 564
      .curve {
        display: block;
565 566 567
      }
    }
  }
Regis's avatar
Regis committed
568 569
}

570
// Triggers the dropdown in the big pipeline graph
Regis's avatar
Regis committed
571 572 573 574
.dropdown-counter-badge {
  font-weight: 100;
  font-size: 15px;
  position: absolute;
575
  right: 13px;
Regis's avatar
Regis committed
576 577 578 579 580 581 582 583 584 585 586
  top: 8px;
}

.ci-status-text {
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  display: inline-block;
  position: relative;
587
  font-weight: $gl-font-weight-normal;
Regis's avatar
Regis committed
588 589
}

590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606
@mixin mini-pipeline-graph-color($color-light, $color-main, $color-dark) {
  border-color: $color-main;
  color: $color-main;

  &:hover,
  &:focus,
  &:active {
    background-color: $color-light;
    border-color: $color-dark;
    color: $color-dark;

    svg {
      fill: $color-dark;
    }
  }
}

607
// Dropdown button in mini pipeline graph
608
button.mini-pipeline-graph-dropdown-toggle {
609 610 611 612
  border-radius: 100px;
  background-color: $white-light;
  border-width: 1px;
  border-style: solid;
613 614
  width: $ci-action-icon-size;
  height: $ci-action-icon-size;
615 616 617 618
  margin: 0;
  padding: 0;
  transition: all 0.2s linear;
  position: relative;
619
  vertical-align: middle;
Regis's avatar
Regis committed
620

621 622 623 624 625 626 627 628 629 630
  > .fa.fa-caret-down {
    position: absolute;
    left: 20px;
    top: 5px;
    display: inline-block;
    visibility: hidden;
    opacity: 0;
    color: inherit;
    font-size: 12px;
    transition: visibility 0.1s, opacity 0.1s linear;
631
  }
632

633 634 635 636 637
  &:active,
  &:focus,
  &:hover {
    outline: none;
    width: 35px;
Filipa Lacerda's avatar
Filipa Lacerda committed
638

639 640 641
    .fa.fa-caret-down {
      visibility: visible;
      opacity: 1;
Regis's avatar
Regis committed
642
    }
Regis's avatar
Regis committed
643
  }
Filipa Lacerda's avatar
Filipa Lacerda committed
644

645 646
  // Dropdown button animation in mini pipeline graph
  &.ci-status-icon-success {
647
    @include mini-pipeline-graph-color($green-100, $green-500, $green-600);
dimitrieh's avatar
dimitrieh committed
648 649
  }

650
  &.ci-status-icon-failed {
651
    @include mini-pipeline-graph-color($red-100, $red-500, $red-600);
Regis's avatar
Regis committed
652
  }
Filipa Lacerda's avatar
Filipa Lacerda committed
653

654 655
  &.ci-status-icon-pending,
  &.ci-status-icon-success_with_warnings {
656
    @include mini-pipeline-graph-color($orange-100, $orange-500, $orange-600);
Regis's avatar
Regis committed
657
  }
658

659
  &.ci-status-icon-running {
660
    @include mini-pipeline-graph-color($blue-100, $blue-400, $blue-600);
Regis's avatar
Regis committed
661
  }
662

663 664 665 666
  &.ci-status-icon-canceled,
  &.ci-status-icon-disabled,
  &.ci-status-icon-not-found,
  &.ci-status-icon-manual {
667
    @include mini-pipeline-graph-color(rgba($gl-text-color, 0.1), $gl-text-color, $gl-text-color);
Regis's avatar
Regis committed
668
  }
669

670 671
  &.ci-status-icon-created,
  &.ci-status-icon-skipped {
672
    @include mini-pipeline-graph-color(rgba($gray-darkest, 0.1), $gray-darkest, $gray-darkest);
Regis's avatar
Regis committed
673 674 675
  }
}

676 677 678
@include new-style-dropdown('.big-pipeline-graph-dropdown-menu');
@include new-style-dropdown('.mini-pipeline-graph-dropdown-menu');

679 680 681 682 683
// dropdown content for big and mini pipeline
.big-pipeline-graph-dropdown-menu,
.mini-pipeline-graph-dropdown-menu {
  width: 195px;
  max-width: 195px;
684

685
  .scrollable-menu {
686
    padding: 0;
687 688
    max-height: 245px;
    overflow: auto;
dimitrieh's avatar
dimitrieh committed
689
  }
690

691 692
  li {
    position: relative;
693

694 695 696 697
    // ensure .mini-pipeline-graph-dropdown-item has hover style when action-icon is hovered
    &:hover > .mini-pipeline-graph-dropdown-item,
    &:hover > .ci-job-component > .mini-pipeline-graph-dropdown-item {
      @extend .mini-pipeline-graph-dropdown-item:hover;
698
    }
699

700 701 702 703 704 705 706 707 708 709 710 711 712
    // Action icon on the right
    a.ci-action-icon-wrapper {
      border-radius: 50%;
      border: 1px solid $border-color;
      width: $ci-action-icon-size;
      height: $ci-action-icon-size;
      padding: 2px 0 0 5px;
      font-size: 12px;
      background-color: $white-light;
      position: absolute;
      top: 50%;
      right: $gl-padding;
      margin-top: -#{$ci-action-icon-size / 2};
713

714 715 716 717 718
      &:hover,
      &:focus {
        background-color: $stage-hover-bg;
        border: 1px solid $dropdown-toggle-active-border-color;
      }
719

720 721 722 723 724 725 726 727
      svg {
        fill: $gl-text-color-secondary;
        width: $ci-action-icon-size;
        height: $ci-action-icon-size;
        left: -6px;
        position: relative;
        top: -3px;
      }
728

729 730 731 732 733 734 735 736 737 738 739 740 741 742
      &:hover svg,
      &:focus svg {
        fill: $gl-text-color;
      }
    }

    // link to the build
    .mini-pipeline-graph-dropdown-item {
      padding: 3px 7px 4px;
      align-items: center;
      clear: both;
      display: flex;
      font-weight: normal;
      line-height: $line-height-base;
743
      white-space: nowrap;
744
      border-radius: 3px;
745

746 747 748 749
      .ci-job-name-component {
        align-items: center;
        display: flex;
        flex: 1;
750
      }
751

752 753 754 755 756 757 758 759 760 761
      // build name
      .ci-build-text,
      .ci-status-text {
        font-weight: 200;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        max-width: 70%;
        margin-left: 2px;
        display: inline-block;
762

763 764 765
        @media (max-width: $screen-xs-max) {
          max-width: 60%;
        }
Regis's avatar
Regis committed
766
      }
767

768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788
      .ci-status-icon {
        @extend .append-right-8;

        position: relative;

        > svg {
          width: $pipeline-dropdown-status-icon-size;
          height: $pipeline-dropdown-status-icon-size;
          margin: 3px 0;
          position: relative;
          overflow: visible;
          display: block;
        }
      }

      &:hover,
      &:focus {
        outline: none;
        text-decoration: none;
        background-color: $stage-hover-bg;
      }
789
    }
Filipa Lacerda's avatar
Filipa Lacerda committed
790
  }
791
}
792

793 794 795 796
// Dropdown in the big pipeline graph
.big-pipeline-graph-dropdown-menu {
  width: 195px;
  min-width: 195px;
797 798
  left: 100%;
  top: -10px;
799 800
  box-shadow: 0 1px 5px $black-transparent;
}
801

802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819
/**
 * Top arrow in the dropdown in the big pipeline graph
 */
.big-pipeline-graph-dropdown-menu {

  &::before,
  &::after {
    content: '';
    display: inline-block;
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    top: 18px;
  }

  &::before {
820 821
    left: -6px;
    margin-top: 3px;
822 823 824 825 826
    border-width: 7px 5px 7px 0;
    border-right-color: $border-color;
  }

  &::after {
827
    left: -5px;
828 829 830 831 832
    border-width: 10px 7px 10px 0;
    border-right-color: $white-light;
  }
}

833 834 835 836
/**
 * Top arrow in the dropdown in the mini pipeline graph
 */
.mini-pipeline-graph-dropdown-menu {
837
  z-index: 200;
Regis's avatar
Regis committed
838

839 840 841 842 843 844 845 846 847 848
  &::before,
  &::after {
    content: '';
    display: inline-block;
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    top: -6px;
849 850
    left: 50%;
    transform: translate(-50%, 0);
851
    border-width: 0 5px 6px;
852 853 854 855 856

    @media (max-width: $screen-sm-max) {
      left: 100%;
      margin-left: -12px;
    }
857
  }
Regis's avatar
Regis committed
858

859 860 861 862 863 864 865 866
  &::before {
    border-width: 0 5px 5px;
    border-bottom-color: $border-color;
  }

  &::after {
    margin-top: 1px;
    border-bottom-color: $white-light;
Regis's avatar
Regis committed
867
  }
Regis's avatar
Regis committed
868 869
}

870 871 872 873
/**
 * Center dropdown menu in mini graph
 */
.mini-pipeline-graph-dropdown-menu.dropdown-menu {
874 875 876 877 878 879 880 881 882
  transform: translate(-80%, 0);
  min-width: 150px;

  @media(min-width: $screen-md-min) {
    transform: translate(-50%, 0);
    right: auto;
    left: 50%;
    min-width: 240px;
  }
883
}
Regis's avatar
Regis committed
884
/**
885
 * Terminal
Regis's avatar
Regis committed
886 887 888 889 890 891 892 893
 */
.terminal-icon {
  margin-left: 3px;
}

.terminal-container {
  .content-block {
    border-bottom: none;
894 895
  }

Regis's avatar
Regis committed
896 897 898 899
  #terminal {
    margin-top: 10px;
    min-height: 450px;
    box-sizing: border-box;
900

Regis's avatar
Regis committed
901
    > div {
902 903
      min-height: 450px;
    }
904
  }
Regis's avatar
Regis committed
905
}
906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924

/**
 * Play button with icon in dropdowns
 */
.ci-table .no-btn {
  border: none;
  background: none;
  outline: none;
  width: 100%;
  text-align: left;

  .icon-play {
    position: relative;
    top: 2px;
    margin-right: 5px;
    height: 13px;
    width: 12px;
  }
}
925

926
.ci-header-container {
927 928 929 930 931
  min-height: 55px;

  .text-center {
    padding-top: 12px;
  }
932 933 934 935 936 937 938

  .header-action-buttons {
    .btn,
    a {
      margin-left: 10px;
    }
  }
939
}
940 941 942 943

.pipelines-container .top-area .nav-controls > .btn:last-child {
  float: none;
}
944 945 946 947 948

.autodevops-title {
  font-weight: $gl-font-weight-normal;
  line-height: 1.5;
}