summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/pipelines.scss
blob: 89be1c024dbb3513f0351ad7c414481dc3e53d18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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
82
83
84
85
86
87
88
89
90
91
92
93
94
/**
 * !! NOTE: Do not add more code in this file:
 *
 * https://gitlab.com/gitlab-org/gitlab/-/issues/267602
 *
 * For new pipeline CSS please consider:
 *
 * For pipelines tables and lists:
 * - `app/assets/stylesheets/page_bundles/pipelines.scss`
 *
 * For individual pipelines and mini-pipelines:
 * - `app/assets/stylesheets/page_bundles/pipeline.scss`
 *
**/

.ci-table {
  .avatar {
    margin-left: 0;
    float: none;
  }

  .branch-commit {
    .ref-name {
      font-weight: $gl-font-weight-bold;
      max-width: 100px;
      overflow: hidden;
      display: inline-block;
      white-space: nowrap;
      vertical-align: middle;
      text-overflow: ellipsis;
    }

    svg {
      height: 14px;
      width: 14px;
      vertical-align: middle;

      &:not(.text-warning) {
        fill: $gl-text-color-secondary;
      }
    }

    .sprite {
      width: 12px;
      height: 12px;
      fill: $gl-text-color;
    }

    .commit-sha {
      color: $blue-600;
    }

    .badge {
      margin-right: 4px;
    }

    .label-container {
      font-size: 0;

      .badge {
        margin-top: 5px;
      }
    }
  }

  .duration,
  .finished-at {
    color: $gl-text-color-secondary;
    margin: 0;
    white-space: nowrap;

    svg {
      width: 12px;
      height: 12px;
      vertical-align: middle;
      margin-right: 4px;
    }
  }

  .build-link a {
    color: $gl-text-color;
  }
}

@include media-breakpoint-down(sm) {
  .top-bar {
    .truncated-info {
      white-space: nowrap;
      overflow: hidden;
      max-width: 220px;
      text-overflow: ellipsis;
    }
  }
}