pipelines.scss 16.5 KB
Newer Older
Regis's avatar
Regis committed
1 2 3 4
.pipelines {
  .realtime-loading {
    font-size: 40px;
    text-align: center;
5
    margin: 0 auto;
Regis's avatar
Regis committed
6
  }
7

Regis's avatar
Regis committed
8 9 10 11 12 13 14 15 16
  .stage {
    max-width: 90px;
    width: 90px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

Filipa Lacerda's avatar
Filipa Lacerda committed
17 18 19 20
  .empty-state {
    margin: 5% auto 0;
  }

21 22 23 24 25 26 27 28
  .table-holder {
    width: 100%;

    @media (max-width: $screen-sm-max) {
      overflow: auto;
    }
  }

29 30
  .commit-title {
    margin: 0;
Regis's avatar
Regis committed
31 32 33 34
  }

  .table.ci-table {

35 36 37 38
    .label {
      margin-bottom: 3px;
    }

Regis's avatar
Regis committed
39 40
    .pipeline-id {
      color: $black;
41
    }
42

43
    .stage-cell {
44
      min-width: 130px; // Guarantees we show at least 4 stages in line
Regis's avatar
Regis committed
45
      width: 20%;
Annabel Dunstone Gray's avatar
Annabel Dunstone Gray committed
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 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104

    .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 {
        border-color: $gray-darkest;
        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;
          }
        }
      }

      .tooltip {
        white-space: nowrap;
      }
    }
Regis's avatar
Regis committed
105 106
  }
}
107

Regis's avatar
Regis committed
108 109 110 111 112
@media (max-width: $screen-md-max) {
  .content-list {
    &.builds-content-list {
      width: 100%;
      overflow: auto;
113
    }
Regis's avatar
Regis committed
114 115
  }
}
116

Regis's avatar
Regis committed
117
.table.ci-table {
118

119
  &.builds-page tbody tr {
120
    height: 71px;
121 122
  }

Regis's avatar
Regis committed
123 124 125 126 127 128 129 130 131 132
  tr {
    th {
      padding: 16px 8px;
      border: none;
    }

    td {
      padding: 10px 8px;
    }

133 134 135 136
    td.environments-actions {
      padding-right: 0;
    }

137 138 139 140
    td.stage-cell {
      padding: 10px 0;
    }

Regis's avatar
Regis committed
141
    .commit-link {
Filipa Lacerda's avatar
Filipa Lacerda committed
142
      padding: 9px 8px 10px 2px;
Regis's avatar
Regis committed
143
    }
144 145
  }

Regis's avatar
Regis committed
146 147
  tbody {
    border-top-width: 1px;
148 149
  }

Regis's avatar
Regis committed
150 151 152
  .build.retried {
    background-color: $gray-lightest;
  }
153

Regis's avatar
Regis committed
154 155 156 157 158
  .commit-link {
    a {
      &:focus {
        text-decoration: none;
      }
159 160
    }

Regis's avatar
Regis committed
161 162
    a:hover {
      text-decoration: none;
163
    }
Regis's avatar
Regis committed
164
  }
165

Regis's avatar
Regis committed
166 167 168 169
  .avatar {
    margin-left: 0;
    float: none;
  }
170

Regis's avatar
Regis committed
171
  .branch-commit {
172

Regis's avatar
Regis committed
173 174 175 176 177 178 179 180
    .branch-name {
      font-weight: bold;
      max-width: 120px;
      overflow: hidden;
      display: inline-block;
      white-space: nowrap;
      vertical-align: top;
      text-overflow: ellipsis;
181 182
    }

Regis's avatar
Regis committed
183 184 185 186
    svg {
      height: 14px;
      width: 14px;
      vertical-align: middle;
187
      fill: $gl-text-color-secondary;
188 189
    }

Regis's avatar
Regis committed
190 191 192
    .fa {
      font-size: 12px;
      color: $gl-text-color;
193 194
    }

Regis's avatar
Regis committed
195 196 197
    .commit-id {
      color: $gl-link-color;
    }
198

Regis's avatar
Regis committed
199 200 201 202 203 204
    .commit-title {
      margin-top: 4px;
      max-width: 225px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
Annabel Dunstone's avatar
Annabel Dunstone committed
205
    }
206

Regis's avatar
Regis committed
207 208
    .label {
      margin-right: 4px;
209
    }
210

Regis's avatar
Regis committed
211 212
    .label-container {
      font-size: 0;
213

Regis's avatar
Regis committed
214 215
      .label {
        margin-top: 5px;
Regis's avatar
Regis committed
216
      }
Regis's avatar
Regis committed
217 218
    }
  }
219

Regis's avatar
Regis committed
220 221 222
  .icon-container {
    display: inline-block;
    width: 10px;
Regis's avatar
Regis committed
223

Regis's avatar
Regis committed
224 225 226 227 228
    &.commit-icon {
      width: 15px;
      text-align: center;
    }
  }
Regis's avatar
Regis committed
229

Regis's avatar
Regis committed
230 231
  .duration,
  .finished-at {
232
    color: $gl-text-color-secondary;
Regis's avatar
Regis committed
233
    margin: 4px 0;
234
    white-space: nowrap;
235

Regis's avatar
Regis committed
236 237 238
    .fa {
      font-size: 12px;
      margin-right: 4px;
239 240
    }

Regis's avatar
Regis committed
241 242 243 244 245 246 247
    svg {
      width: 12px;
      height: 12px;
      vertical-align: middle;
      margin-right: 4px;
    }
  }
248

249 250
  .build-link a {
    color: $gl-text-color;
Regis's avatar
Regis committed
251
  }
252

Regis's avatar
Regis committed
253 254 255 256
  .btn-group.open .dropdown-toggle {
    box-shadow: none;
  }
}
257

258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275
.stage-cell {
  font-size: 0;
  padding: 10px 4px;

  > .stage-container > div > button > span > svg,
  > .stage-container > button > svg {
    height: 22px;
    width: 22px;
    position: absolute;
    top: -1px;
    left: -1px;
    z-index: 2;
    overflow: visible;
  }

  .stage-container {
    display: inline-block;
    position: relative;
276
    vertical-align: middle;
277 278 279
    height: 22px;
    margin: 3px 6px 3px 0;

280 281 282
    // Hack to show a button tooltip inline
    button.has-tooltip + .tooltip {
      min-width: 105px;
283 284
    }

285 286 287
    // Bootstrap way of showing the content inline for anchors.
    a.has-tooltip {
      white-space: nowrap;
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302
    }

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

Regis's avatar
Regis committed
303 304 305 306 307
.admin-builds-table {
  .ci-table td:last-child {
    min-width: 120px;
  }
}
Annabel Dunstone Gray's avatar
Annabel Dunstone Gray committed
308

Regis's avatar
Regis committed
309 310 311 312
// Pipeline visualization
.pipeline-actions {
  border-bottom: none;
}
313

Regis's avatar
Regis committed
314
.tab-pane {
315 316
  &.builds .ci-table tr {
    height: 71px;
317
  }
Regis's avatar
Regis committed
318
}
319

Regis's avatar
Regis committed
320 321 322 323 324 325 326
// Pipeline graph
.pipeline-graph {
  width: 100%;
  background-color: $gray-light;
  padding: $gl-padding;
  white-space: nowrap;
  transition: max-height 0.3s, padding 0.3s;
327
  overflow: auto;
Regis's avatar
Regis committed
328

329 330
  .stage-column-list,
  .builds-container > ul {
Regis's avatar
Regis committed
331
    padding: 0;
332
  }
333

Regis's avatar
Regis committed
334 335
  a {
    text-decoration: none;
336
    color: $gl-text-color-secondary;
Regis's avatar
Regis committed
337
  }
338

Regis's avatar
Regis committed
339 340 341 342
  svg {
    vertical-align: middle;
    margin-right: 3px;
  }
343

Regis's avatar
Regis committed
344 345 346
  .stage-column {
    display: inline-block;
    vertical-align: top;
347

Regis's avatar
Regis committed
348 349
    &:not(:last-child) {
      margin-right: 44px;
Regis's avatar
Regis committed
350
    }
351

Regis's avatar
Regis committed
352 353 354 355 356 357 358 359 360 361 362 363 364 365
    &.left-margin {
      &:not(:first-child) {
        margin-left: 44px;

        .left-connector {
          &::before {
            content: '';
            position: absolute;
            top: 48%;
            left: -48px;
            border-top: 2px solid $border-color;
            width: 48px;
            height: 1px;
          }
366 367
        }
      }
368
    }
Luke Bennett's avatar
Luke Bennett committed
369

Regis's avatar
Regis committed
370 371
    &.no-margin {
      margin: 0;
372 373
    }

Regis's avatar
Regis committed
374 375
    li {
      list-style: none;
Regis's avatar
Regis committed
376 377
    }

Regis's avatar
Regis committed
378 379 380 381 382 383
    &:last-child {
      .build {
        // Remove right connecting horizontal line from first build in last stage
        &:first-child {
          &::after {
            border: none;
384 385
          }
        }
Regis's avatar
Regis committed
386 387 388 389
        // Remove right curved connectors from all builds in last stage
        &:not(:first-child) {
          &::after {
            border: none;
Regis's avatar
Regis committed
390
          }
Regis's avatar
Regis committed
391 392 393 394 395
        }
        // Remove opposite curve
        .curve {
          &::before {
            display: none;
396 397 398
          }
        }
      }
Regis's avatar
Regis committed
399
    }
Luke Bennett's avatar
Luke Bennett committed
400

Regis's avatar
Regis committed
401 402 403 404 405 406
    &:first-child {
      .build {
        // Remove left curved connectors from all builds in first stage
        &:not(:first-child) {
          &::before {
            border: none;
407
          }
Regis's avatar
Regis committed
408 409 410 411 412
        }
        // Remove opposite curve
        .curve {
          &::after {
            display: none;
413 414 415
          }
        }
      }
Regis's avatar
Regis committed
416
    }
417

Regis's avatar
Regis committed
418 419 420
    // Curve first child connecting lines in opposite direction
    .curve {
      display: none;
421

Regis's avatar
Regis committed
422 423 424 425 426 427 428 429 430
      &::before,
      &::after {
        content: '';
        width: 21px;
        height: 25px;
        position: absolute;
        top: -31px;
        border-top: 2px solid $border-color;
      }
431

Regis's avatar
Regis committed
432 433 434 435
      &::after {
        left: -44px;
        border-right: 2px solid $border-color;
        border-radius: 0 20px;
436
      }
437

Regis's avatar
Regis committed
438 439 440 441 442
      &::before {
        right: -44px;
        border-left: 2px solid $border-color;
        border-radius: 20px 0 0;
      }
Regis's avatar
Regis committed
443
    }
Regis's avatar
Regis committed
444
  }
445

Regis's avatar
Regis committed
446 447 448 449 450 451 452 453
  .stage-name {
    margin: 0 0 15px 10px;
    font-weight: bold;
    width: 176px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
454

Regis's avatar
Regis committed
455 456 457 458 459
  .build {
    position: relative;
    width: 186px;
    margin-bottom: 10px;
    white-space: normal;
460
    color: $gl-text-color-secondary;
461

462 463
    // Action Icons in big pipeline-graph nodes
    > .ci-action-icon-container .ci-action-icon-wrapper {
464 465 466 467 468 469
      height: 30px;
      width: 30px;
      background: $white-light;
      border: 1px solid $border-color;
      border-radius: 100%;
      display: block;
470

471 472 473 474 475 476 477 478 479 480
      &:hover {
        background-color: $stage-hover-bg;
        border: 1px solid $stage-hover-bg;
      }

      svg {
        fill: $border-color;
        position: relative;
        left: -1px;
        top: -1px;
481 482
      }

483 484
      &:hover svg {
        fill: $gl-text-color;
485 486 487 488 489 490 491 492 493 494 495 496 497
      }
    }

    > .ci-action-icon-container {
      position: absolute;
      right: 5px;
      top: 5px;
    }

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

Regis's avatar
Regis committed
499 500 501 502
    .dropdown-menu-toggle {
      background-color: transparent;
      border: none;
      padding: 0;
503
      color: $gl-text-color-secondary;
Regis's avatar
Regis committed
504

Regis's avatar
Regis committed
505 506
      &:focus {
        outline: none;
507
      }
508

Regis's avatar
Regis committed
509 510
      &:hover {
        color: $gl-text-color;
511

Regis's avatar
Regis committed
512
        .dropdown-counter-badge {
Regis's avatar
Regis committed
513 514
          color: $gl-text-color;
        }
515
      }
Regis's avatar
Regis committed
516
    }
517

Regis's avatar
Regis committed
518 519 520 521 522 523 524
    > .build-content {
      display: inline-block;
      padding: 8px 10px 9px;
      width: 100%;
      border: 1px solid $border-color;
      border-radius: 30px;
      background-color: $white-light;
525

Regis's avatar
Regis committed
526 527 528 529
      &:hover {
        background-color: $stage-hover-bg;
        border: 1px solid $stage-hover-border;
        color: $gl-text-color;
530
      }
Regis's avatar
Regis committed
531
    }
532

Regis's avatar
Regis committed
533

Regis's avatar
Regis committed
534 535 536 537 538 539 540 541 542 543 544
    .arrow {
      &::before,
      &::after {
        content: '';
        display: inline-block;
        position: absolute;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        top: 18px;
545
      }
546

Regis's avatar
Regis committed
547 548 549 550 551
      &::before {
        left: -5px;
        margin-top: -6px;
        border-width: 7px 5px 7px 0;
        border-right-color: $border-color;
552 553
      }

Regis's avatar
Regis committed
554 555 556 557 558 559 560
      &::after {
        left: -4px;
        margin-top: -9px;
        border-width: 10px 7px 10px 0;
        border-right-color: $white-light;
      }
    }
Regis's avatar
Regis committed
561

Regis's avatar
Regis committed
562 563 564 565 566 567 568 569 570 571 572 573
    // 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
574

Regis's avatar
Regis committed
575 576 577 578 579 580 581 582 583 584
    // 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;
585 586
      }

Regis's avatar
Regis committed
587 588 589 590 591 592
      // Right connecting curves
      &::after {
        right: -25px;
        border-right: 2px solid $border-color;
        border-radius: 0 0 20px;
      }
Regis's avatar
Regis committed
593

Regis's avatar
Regis committed
594 595 596 597 598
      // Left connecting curves
      &::before {
        left: -25px;
        border-left: 2px solid $border-color;
        border-radius: 0 0 0 20px;
599 600 601
      }
    }

Regis's avatar
Regis committed
602 603 604 605 606 607 608
    // Connect second build to first build with smaller curved line
    &:nth-child(2) {
      &::after,
      &::before {
        height: 29px;
        top: -9px;
      }
Regis's avatar
Regis committed
609

Regis's avatar
Regis committed
610 611
      .curve {
        display: block;
612 613 614
      }
    }
  }
Regis's avatar
Regis committed
615 616
}

617
// Triggers the dropdown in the big pipeline graph
Regis's avatar
Regis committed
618 619 620 621 622
.dropdown-counter-badge {
  color: $border-color;
  font-weight: 100;
  font-size: 15px;
  position: absolute;
623
  right: 13px;
Regis's avatar
Regis committed
624 625 626 627 628 629 630 631 632 633 634
  top: 8px;
}

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

638 639 640 641 642 643 644 645 646 647 648 649
// Dropdown button in mini pipeline graph
.mini-pipeline-graph-dropdown-toggle {
  border-radius: 100px;
  background-color: $white-light;
  border-width: 1px;
  border-style: solid;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  transition: all 0.2s linear;
  position: relative;
Regis's avatar
Regis committed
650

651 652 653 654 655 656 657 658 659 660
  > .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;
Filipa Lacerda's avatar
Filipa Lacerda committed
661
  }
662

663 664 665 666 667
  &:active,
  &:focus,
  &:hover {
    outline: none;
    width: 35px;
Filipa Lacerda's avatar
Filipa Lacerda committed
668

669 670 671
    .fa.fa-caret-down {
      visibility: visible;
      opacity: 1;
Regis's avatar
Regis committed
672
    }
Regis's avatar
Regis committed
673
  }
Filipa Lacerda's avatar
Filipa Lacerda committed
674

675 676
  // Dropdown button animation in mini pipeline graph
  &.ci-status-icon-success {
677 678
    border-color: $green-500;
    color: $green-500;
Filipa Lacerda's avatar
Filipa Lacerda committed
679

680 681 682
    &:hover,
    &:focus,
    &:active {
683 684 685 686 687 688 689
      background-color: $green-50;
      border-color: $green-600;
      color: $green-600;

      svg {
        fill: $green-600;
      }
Filipa Lacerda's avatar
Filipa Lacerda committed
690
    }
dimitrieh's avatar
dimitrieh committed
691 692
  }

693
  &.ci-status-icon-failed {
694 695
    border-color: $red-500;
    color: $red-500;
Filipa Lacerda's avatar
Filipa Lacerda committed
696

697 698 699
    &:hover,
    &:focus,
    &:active {
700 701 702 703 704 705 706
      background-color: $red-50;
      border-color: $red-600;
      color: $red-600;

      svg {
        fill: $red-600;
      }
707
    }
Regis's avatar
Regis committed
708
  }
Filipa Lacerda's avatar
Filipa Lacerda committed
709

710 711
  &.ci-status-icon-pending,
  &.ci-status-icon-success_with_warnings {
712 713
    border-color: $orange-500;
    color: $orange-500;
Filipa Lacerda's avatar
Filipa Lacerda committed
714

715 716 717
    &:hover,
    &:focus,
    &:active {
718 719 720 721 722 723 724
      background-color: $orange-50;
      border-color: $orange-600;
      color: $orange-600;

      svg {
        fill: $orange-600;
      }
Regis's avatar
Regis committed
725 726
    }
  }
727

728
  &.ci-status-icon-running {
729 730
    border-color: $blue-400;
    color: $blue-400;
Filipa Lacerda's avatar
Filipa Lacerda committed
731

732
    &:hover,
733
    &:focus,
734
    &:active {
735 736 737 738 739 740 741
      background-color: $blue-50;
      border-color: $blue-600;
      color: $blue-600;

      svg {
        fill: $blue-600;
      }
Regis's avatar
Regis committed
742 743
    }
  }
744

745 746 747 748 749 750
  &.ci-status-icon-canceled,
  &.ci-status-icon-disabled,
  &.ci-status-icon-not-found,
  &.ci-status-icon-manual {
    border-color: $gl-text-color;
    color: $gl-text-color;
751

752
    &:hover,
753 754
    &:focus,
    &:active {
755 756 757
      background-color: rgba($gl-text-color, 0.1);
      border-color: $gl-text-color;
    }
Regis's avatar
Regis committed
758
  }
759

760 761 762 763
  &.ci-status-icon-created,
  &.ci-status-icon-skipped {
    border-color: $gray-darkest;
    color: $gray-darkest;
764

765 766 767 768 769
    &:hover,
    &:focus,
    &:active {
      background-color: rgba($gray-darkest, 0.1);
      border-color: $gray-darkest;
770
    }
Regis's avatar
Regis committed
771 772 773
  }
}

774 775 776 777 778
// dropdown content for big and mini pipeline
.big-pipeline-graph-dropdown-menu,
.mini-pipeline-graph-dropdown-menu {
  width: 195px;
  max-width: 195px;
779

780 781
  li {
    padding: 2px 3px;
Filipa Lacerda's avatar
Filipa Lacerda committed
782
  }
Regis's avatar
Regis committed
783

784
  .scrollable-menu {
785
    padding: 0;
786 787
    max-height: 245px;
    overflow: auto;
dimitrieh's avatar
dimitrieh committed
788
  }
789

790 791 792 793 794 795 796 797 798 799 800 801 802
  // Action icon on the right
  a.ci-action-icon-wrapper {
    color: $action-icon-color;
    border: 1px solid $action-icon-color;
    border-radius: 20px;
    width: 22px;
    height: 22px;
    padding: 2px 0 0 5px;
    cursor: pointer;
    float: right;
    margin: -26px 9px 0 0;
    font-size: 12px;
    background-color: $white-light;
803

804 805 806 807 808
    &:hover,
    &:focus {
      background-color: $stage-hover-bg;
      border: 1px solid transparent;
    }
809 810 811 812 813 814 815 816 817 818 819 820 821 822

    svg {
      width: 22px;
      height: 22px;
      left: -6px;
      position: relative;
      top: -3px;
      fill: $action-icon-color;
    }

    &:hover svg,
    &:focus svg {
      fill: $gl-text-color;
    }
823
  }
824

825 826 827 828 829 830 831 832 833
  // link to the build
  .mini-pipeline-graph-dropdown-item {
    padding: 3px 7px 4px;
    clear: both;
    font-weight: normal;
    line-height: 1.428571429;
    white-space: nowrap;
    margin: 0 5px;
    border-radius: 3px;
834

835 836 837 838 839 840
    // build name
    .ci-build-text {
      font-weight: 200;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
841
      max-width: 70%;
842
      color: $gl-text-color-secondary;
843 844 845 846 847 848
      margin-left: 2px;
      display: inline-block;
      top: 1px;
      vertical-align: text-bottom;
      position: relative;
    }
849

850 851 852 853
    // status icon on the left
    .ci-status-icon {
      top: 3px;
      position: relative;
854

855 856 857 858
      > svg {
        overflow: visible;
        width: 18px;
        height: 18px;
Regis's avatar
Regis committed
859
      }
Regis's avatar
Regis committed
860
    }
861

862 863 864 865 866 867
    &:hover,
    &:focus {
      outline: none;
      text-decoration: none;
      color: $gl-text-color;
      background-color: $stage-hover-bg;
868
    }
Filipa Lacerda's avatar
Filipa Lacerda committed
869
  }
870
}
Filipa Lacerda's avatar
Filipa Lacerda committed
871

872 873 874 875 876 877 878 879
// Dropdown in the big pipeline graph
.big-pipeline-graph-dropdown-menu {
  width: 195px;
  min-width: 195px;
  left: auto;
  right: -195px;
  top: -4px;
  box-shadow: 0 1px 5px $black-transparent;
Regis's avatar
Regis committed
880

881 882 883
  .mini-pipeline-graph-dropdown-item {
    .ci-status-icon {
      top: -1px;
884
    }
885
  }
886
}
887

888 889 890 891
/**
 * Top arrow in the dropdown in the mini pipeline graph
 */
.mini-pipeline-graph-dropdown-menu {
Regis's avatar
Regis committed
892

893 894 895 896 897 898 899 900 901 902 903 904 905
  &::before,
  &::after {
    content: '';
    display: inline-block;
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    top: -6px;
    left: 2px;
    border-width: 0 5px 6px;
  }
Regis's avatar
Regis committed
906

907 908 909 910 911 912 913 914
  &::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
915
  }
Regis's avatar
Regis committed
916 917 918
}

/**
919
 * Terminal
Regis's avatar
Regis committed
920 921 922 923 924 925 926 927
 */
.terminal-icon {
  margin-left: 3px;
}

.terminal-container {
  .content-block {
    border-bottom: none;
928 929
  }

Regis's avatar
Regis committed
930 931 932 933
  #terminal {
    margin-top: 10px;
    min-height: 450px;
    box-sizing: border-box;
934

Regis's avatar
Regis committed
935
    > div {
936 937
      min-height: 450px;
    }
938
  }
Regis's avatar
Regis committed
939
}
940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958

/**
 * 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;
  }
}