builds.scss 6.0 KB
Newer Older
1
@keyframes fade-out-status {
2 3 4 5 6 7 8 9
  0%,
  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
10 11
}

12
@keyframes blinking-dot {
13
  0% {
14
    opacity: 1;
15 16 17
  }

  25% {
18
    opacity: 0.4;
19 20
  }

K
Kushal Pandya 已提交
21
  75% {
22
    opacity: 0.4;
23 24 25
  }

  100% {
26
    opacity: 1;
27 28 29
  }
}

F
Filipa Lacerda 已提交
30
@keyframes blinking-scroll-button {
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
  0% {
    opacity: 0.2;
  }

  25% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.7;
  }

  100% {
    opacity: 1;
  }
F
Filipa Lacerda 已提交
46
}
47

F
Filipa Lacerda 已提交
48
.build-page {
49 50
  .build-trace-container {
    position: relative;
51
  }
52

53

S
Simon Knox 已提交
54 55
  .build-trace {
    @include build-trace();
56
  }
57

58
  .archived-job {
59 60 61 62 63 64 65 66
    top: $header-height;
    border-radius: 2px 2px 0 0;
    color: $orange-600;
    background-color: $orange-100;
    border: 1px solid $border-gray-normal;
    padding: 3px 12px;
    margin: auto;
    align-items: center;
67
    z-index: 1;
68 69 70 71 72 73

    .with-performance-bar & {
      top: $header-height + $performance-bar-height;
    }
  }

74
  .top-bar {
S
Simon Knox 已提交
75
    @include build-trace-top-bar(35px);
76

77 78 79 80
    &.has-archived-block {
      top: $header-height + $performance-bar-height + 28px;
    }

81
    &.affix {
82
      top: $header-height;
83

84 85 86 87 88
      // with sidebar
      &.sidebar-expanded {
        right: 306px;
        left: 16px;
      }
89

90 91 92 93 94
      // without sidebar
      &.sidebar-collapsed {
        right: 16px;
        left: 16px;
      }
95
    }
F
Filipa Lacerda 已提交
96

97 98 99 100
    &.affix-top {
      position: absolute;
      right: 0;
      left: 0;
101
      top: 0;
102
    }
F
Filipa Lacerda 已提交
103

104 105 106 107 108 109 110 111 112
    .truncated-info {
      .truncated-info-size {
        margin: 0 5px;
      }

      .raw-link {
        color: $gl-text-color;
        margin-left: 5px;
        text-decoration: underline;
F
Filipa Lacerda 已提交
113
      }
114
    }
P
Phil Hughes 已提交
115

F
Filipa Lacerda 已提交
116
    .controllers {
117
      @include build-controllers(15px, center, false, 0, inline, 0);
118 119
    }
  }
120

F
Filipa Lacerda 已提交
121 122
  .environment-information {
    border: 1px solid $border-color;
123
    padding: 8px $gl-padding 12px;
F
Filipa Lacerda 已提交
124
    border-radius: $border-radius-default;
125

F
Filipa Lacerda 已提交
126 127
    svg {
      position: relative;
128
      top: 5px;
F
Filipa Lacerda 已提交
129
      margin-right: 5px;
130 131
      width: 22px;
      height: 22px;
132
    }
133
  }
F
Filipa Lacerda 已提交
134 135

  .build-loader-animation {
136
    @include build-loader-animation;
137
    float: left;
138
    padding-left: $gl-padding-8;
F
Filipa Lacerda 已提交
139
  }
140
}
P
Phil Hughes 已提交
141

142
.with-performance-bar .build-page {
S
Simon Knox 已提交
143
  .top-bar.affix {
144
    top: $header-height + $performance-bar-height;
145 146 147
  }
}

148 149 150 151
.build-header {
  .ci-header-container,
  .header-action-buttons {
    display: flex;
152
  }
153

154 155
  .ci-header-container {
    min-height: 54px;
156
  }
157

158 159
  .page-content-header {
    padding: 10px 0 9px;
160
  }
161

162
  .header-action-buttons {
C
Clement Ho 已提交
163
    @include media-breakpoint-down(xs) {
164 165 166 167 168
      .sidebar-toggle-btn {
        margin-top: 0;
        margin-left: 10px;
        max-height: 34px;
      }
169 170 171 172
    }
  }

  .header-content {
173
    a {
T
tauriedavis 已提交
174
      color: $gl-text-color;
175

176
      &:hover {
A
Annabel Gray 已提交
177
        color: $blue-600;
178 179
        text-decoration: none;
      }
180 181
    }
  }
P
Phil Hughes 已提交
182 183 184 185 186 187 188 189 190 191

  code {
    color: $code-color;
  }

  .avatar {
    float: none;
    margin-right: 2px;
    margin-left: 2px;
  }
192
}
A
Annabel Dunstone 已提交
193

P
Phil Hughes 已提交
194
.right-sidebar.build-sidebar {
195
  padding: 0;
P
Phil Hughes 已提交
196 197 198 199 200

  &.right-sidebar-collapsed {
    display: none;
  }

201 202 203 204 205 206 207 208 209
  .sidebar-container {
    width: calc(100% + 100px);
    padding-right: 100px;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

210
  .blocks-container {
L
Luke Bennett 已提交
211
    padding: 0 $gl-padding;
M
Mike Greiling 已提交
212
    width: 289px;
213 214
  }

P
Phil Hughes 已提交
215 216
  .block {
    width: 100%;
217
    word-break: break-word;
P
Phil Hughes 已提交
218

219 220 221 222
    &:last-child {
      border-bottom: 1px solid $border-gray-normal;
    }

223 224 225
    &.coverage {
      padding: 0 16px 11px;
    }
226 227
  }

F
Filipa Lacerda 已提交
228 229 230 231
  .block-last {
    padding: 16px 0;
  }

J
jhampton 已提交
232
  .trigger-variables-btn-container {
J
jhampton 已提交
233
    @extend .d-flex;
J
jhampton 已提交
234
    justify-content: space-between;
J
jhampton 已提交
235
    align-items: center;
236 237 238 239 240

    .trigger-variables-btn {
      margin-top: -5px;
      margin-bottom: -5px;
    }
J
jhampton 已提交
241 242
  }

243 244 245
  .trigger-build-variables {
    margin: 0;
    overflow-x: auto;
J
jhampton 已提交
246
    width: 100%;
247 248 249 250
    -ms-overflow-style: scrollbar;
    -webkit-overflow-scrolling: touch;
  }

251
  .trigger-build-variable {
252
    font-weight: $gl-font-weight-normal;
U
ubudzisz 已提交
253 254 255
    color: $code-color;
  }

256
  .trigger-build-value {
U
ubudzisz 已提交
257 258 259 260
    padding: 2px 4px;
    color: $black;
  }

J
jhampton 已提交
261 262 263 264 265 266
  .trigger-variables-table-cell {
    font-size: $gl-font-size-small;
    line-height: $gl-line-height;
    border: 1px solid $theme-gray-200;
    padding: $gl-padding-4 6px;
    width: 50%;
J
jhampton 已提交
267
    vertical-align: top;
J
jhampton 已提交
268 269
  }

C
Clement Ho 已提交
270
  .badge.badge-pill {
271
    margin-left: 2px;
P
Phil Hughes 已提交
272
  }
273

274 275 276
  .retry-link {
    display: none;

277 278 279 280 281 282
    .btn-inverted-secondary {
      color: $blue-500;

      &:hover {
        color: $white-light;
      }
283 284
    }

C
Clement Ho 已提交
285
    @include media-breakpoint-down(sm) {
286
      display: block;
287 288 289 290 291 292

      .btn {
        i {
          margin-left: 5px;
        }
      }
293 294 295
    }
  }

296 297 298 299 300 301 302 303 304 305 306 307
  .stage-item {
    cursor: pointer;

    &:hover {
      color: $gl-text-color;
    }
  }

  .builds-container {
    background-color: $white-light;
    border-top: 1px solid $border-color;
    border-bottom: 1px solid $border-color;
308
    max-height: 300px;
M
Mike Greiling 已提交
309
    width: 289px;
310
    overflow: auto;
311 312 313

    svg {
      position: relative;
T
Tim Zallmann 已提交
314
      top: 3px;
315
      margin-right: 3px;
T
Tim Zallmann 已提交
316 317
      height: 14px;
      width: 14px;
318 319 320 321
    }

    a {
      display: block;
322 323 324 325 326
      padding: $gl-padding 10px $gl-padding 40px;
      width: 270px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
327 328 329 330 331 332 333

      &:hover {
        color: $gl-text-color;
      }
    }

    .build-job {
334 335
      position: relative;

T
Tim Zallmann 已提交
336
      .icon-arrow-right {
337 338 339
        position: absolute;
        left: 15px;
        top: 20px;
340
        display: block;
341 342
      }

343
      &.active {
344
        font-weight: $gl-font-weight-bold;
345
      }
346

347 348 349 350
      &.retried {
        background-color: $gray-lightest;
      }

351
      &:hover {
352
        background-color: $gray-darker;
353
      }
354

T
Tim Zallmann 已提交
355
      .icon-retry {
356 357
        margin-left: 3px;
      }
358 359
    }
  }
360 361 362 363

  .link-commit {
    color: $blue-600;
  }
P
Phil Hughes 已提交
364 365
}

366 367 368 369
.build-sidebar {
  .container-fluid.container-limited {
    max-width: 100%;
  }
K
kushalpandya 已提交
370 371 372 373

  .content-wrapper {
    padding-bottom: 6px;
  }
374 375
}

P
Phil Hughes 已提交
376 377
.build-detail-row {
  margin-bottom: 5px;
378

379 380 381
  &:last-of-type {
    margin-bottom: 0;
  }
P
Phil Hughes 已提交
382 383 384
}

.build-light-text {
T
tauriedavis 已提交
385
  color: $gl-text-color-secondary;
386
  word-wrap: break-word;
P
Phil Hughes 已提交
387 388 389 390 391 392 393 394
}

.build-gutter-toggle {
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -17px;
}