pipelines.scss 2.8 KB
Newer Older
1 2
.pipelines {
  .stage {
3 4
    max-width: 90px;
    width: 90px;
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .commit-title {
    margin: 0;
  }

  .controls {
    white-space: nowrap;
  }

  .btn {
    margin: 4px;
  }
K
Kamil Trzcinski 已提交
21
}
22

A
Annabel Dunstone 已提交
23 24 25 26 27 28 29
.content-list {

  &.pipelines,
  &.builds-content-list {
    width: 100%;
    overflow: auto;
  }
30 31 32
}

.table.builds {
33
  min-width: 1200px;
34 35 36

  tr {
    th {
37
      padding: 16px 8px;
38 39
      border: none;
    }
40 41 42 43

    td {
      padding: 10px 8px;
    }
44 45 46 47 48 49
  }

  tbody {
    border-top-width: 1px;
  }

50 51 52 53 54 55 56
  .commit-link {

    a:hover {
      text-decoration: none;
    }
  }

57 58 59 60
  .branch-commit {

    .branch-name {
      font-weight: bold;
61
      max-width: 150px;
62 63 64 65 66 67 68
      overflow: hidden;
      display: inline-block;
      white-space: nowrap;
      vertical-align: top;
      text-overflow: ellipsis;
    }

69 70 71 72
    svg {
      height: 14px;
      width: auto;
      vertical-align: middle;
73 74 75 76 77 78
      fill: $table-text-gray;
    }

    .fa {
      font-size: 12px;
      color: $table-text-gray;
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
    }

    .commit-id {
      color: $gl-link-color;
      margin-right: 8px;
    }

    .commit-title {
      margin-top: 4px;
      max-width: 320px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .avatar {
      margin-left: 0;
    }
A
Annabel Dunstone 已提交
97

98 99 100 101
    .label {
      margin-right: 4px;
    }

A
Annabel Dunstone 已提交
102
    .label-container {
103
      font-size: 0;
104 105 106 107

      .label {
        margin-top: 5px;
      }
A
Annabel Dunstone 已提交
108
    }
109 110
  }

111 112
  .icon-container {
    display: inline-block;
113
    text-align: right;
114
    width: 20px;
115 116 117 118 119 120 121 122 123 124

    .fa {
      position: relative;
      right: 3px;
    }

    svg {
      position: relative;
      right: 1px;
    }
125
  }
126 127 128 129 130 131 132 133 134
  
  .stage-cell {

    svg {
      height: 13px;
      width: 13px;
      margin-left: 3px;
    }
  }
135

136 137 138
  .duration,
  .finished-at {
    color: $table-text-gray;
A
Annabel Dunstone 已提交
139
    margin: 4px 0;
140 141

    .fa {
142
      font-size: 12px;
143
      margin-right: 4px;
144 145 146
    }

    svg {
147 148
      width: 12px;
      height: auto;
149
      vertical-align: middle;
150
      margin-right: 4px;
151 152 153 154
    }
  }

  .pipeline-actions {
155
    min-width: 140px;
156 157

    .btn {
158
      margin: 0;
A
Annabel Dunstone 已提交
159
      color: $table-text-gray;
160 161
    }

162
    .cancel-retry-btns {
163 164
      vertical-align: middle;

165 166 167 168 169
      .btn:not(:first-child) {
        margin-left: 8px;
      }
    }

170
    .dropdown-toggle,
A
Annabel Dunstone 已提交
171
    .dropdown-menu {
172
      color: $table-text-gray;
173 174 175 176 177 178

      .fa {
        color: $table-text-gray;
        margin-right: 6px;
        font-size: 14px;
      }
179 180 181 182 183
    }

    .btn-remove {
      color: $white-light;
    }
184 185 186 187 188 189 190 191 192

    .btn-group {
      &.open {
        .btn-default {
          background-color: $white-normal;
          border-color: $border-white-normal;
        }
      }
    }
193 194 195 196 197 198 199 200
  }

  .build-link {

    a {
      color: $gl-dark-link-color;
    }
  }
201 202 203 204

  .btn-group.open .dropdown-toggle {
    box-shadow: none;
  }
205
}