builds.scss 5.3 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
  0% {
    opacity: 0.2;
  }

  50% {
36
    opacity: 1;
37 38 39
  }

  100% {
40
    opacity: 0.2;
41
  }
F
Filipa Lacerda 已提交
42
}
43

F
Filipa Lacerda 已提交
44
.build-page {
S
Simon Knox 已提交
45 46
  .build-trace {
    @include build-trace();
47
  }
48

49
  .archived-job {
50 51 52 53 54 55 56 57
    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;
58
    z-index: 1;
59 60 61 62 63 64

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

65
  .top-bar {
66
    @include build-trace-top-bar(50px);
67

68
    &.has-archived-block {
69 70 71 72 73
      top: $header-height + 28px;

      .with-performance-bar & {
        top: $header-height + $performance-bar-height + 28px;
      }
74 75
    }

76
    &.affix {
77
      top: $header-height;
78

79 80 81 82 83
      // with sidebar
      &.sidebar-expanded {
        right: 306px;
        left: 16px;
      }
84

85 86 87 88 89
      // without sidebar
      &.sidebar-collapsed {
        right: 16px;
        left: 16px;
      }
90
    }
F
Filipa Lacerda 已提交
91

92 93 94 95
    &.affix-top {
      position: absolute;
      right: 0;
      left: 0;
96
      top: 0;
97
    }
F
Filipa Lacerda 已提交
98 99

    .controllers {
100
      @include build-controllers(15px, center, false, 0, inline, 0);
101 102
    }
  }
103

F
Filipa Lacerda 已提交
104 105
  .environment-information {
    border: 1px solid $border-color;
106
    padding: 8px $gl-padding 12px;
F
Filipa Lacerda 已提交
107
    border-radius: $border-radius-default;
108

F
Filipa Lacerda 已提交
109 110
    svg {
      position: relative;
111
      top: 3px;
F
Filipa Lacerda 已提交
112
      margin-right: 5px;
113 114
      width: 22px;
      height: 22px;
115
    }
116
  }
F
Filipa Lacerda 已提交
117 118

  .build-loader-animation {
119
    @include build-loader-animation;
120
    float: left;
121
    padding-left: $gl-padding-8;
F
Filipa Lacerda 已提交
122
  }
123
}
P
Phil Hughes 已提交
124

125 126 127 128
.build-header {
  .ci-header-container,
  .header-action-buttons {
    display: flex;
129
  }
130

131 132
  .ci-header-container {
    min-height: 54px;
133
  }
134

135 136
  .page-content-header {
    padding: 10px 0 9px;
137
  }
138

139
  .header-action-buttons {
C
Clement Ho 已提交
140
    @include media-breakpoint-down(xs) {
141 142 143 144 145
      .sidebar-toggle-btn {
        margin-top: 0;
        margin-left: 10px;
        max-height: 34px;
      }
146 147 148 149
    }
  }

  .header-content {
150
    a {
T
tauriedavis 已提交
151
      color: $gl-text-color;
152

153
      &:hover {
A
Annabel Gray 已提交
154
        color: $blue-600;
155 156
        text-decoration: none;
      }
157 158
    }
  }
P
Phil Hughes 已提交
159 160 161 162 163 164 165 166 167 168

  code {
    color: $code-color;
  }

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

P
Phil Hughes 已提交
171
.right-sidebar.build-sidebar {
172
  padding: 0;
P
Phil Hughes 已提交
173 174 175 176 177

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

178 179 180 181 182 183 184 185
  .sidebar-container {
    padding-right: 100px;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

186
  .blocks-container {
L
Luke Bennett 已提交
187
    padding: 0 $gl-padding;
M
Mike Greiling 已提交
188
    width: 289px;
189 190
  }

P
Phil Hughes 已提交
191 192
  .block {
    width: 100%;
193
    word-break: break-word;
P
Phil Hughes 已提交
194

195 196 197 198
    &:last-child {
      border-bottom: 1px solid $border-gray-normal;
    }

199 200 201
    &.coverage {
      padding: 0 16px 11px;
    }
202 203
  }

F
Filipa Lacerda 已提交
204 205 206 207
  .block-last {
    padding: 16px 0;
  }

J
jhampton 已提交
208 209
  .trigger-variables-btn-container {
    justify-content: space-between;
J
jhampton 已提交
210
    align-items: center;
211 212 213 214 215

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

218 219 220
  .trigger-build-variables {
    margin: 0;
    overflow-x: auto;
J
jhampton 已提交
221
    width: 100%;
222 223 224 225
    -ms-overflow-style: scrollbar;
    -webkit-overflow-scrolling: touch;
  }

226
  .trigger-build-variable {
227
    font-weight: $gl-font-weight-normal;
U
ubudzisz 已提交
228 229 230
    color: $code-color;
  }

231
  .trigger-build-value {
U
ubudzisz 已提交
232 233 234 235
    padding: 2px 4px;
    color: $black;
  }

J
jhampton 已提交
236 237 238
  .trigger-variables-table-cell {
    font-size: $gl-font-size-small;
    line-height: $gl-line-height;
239
    border: 1px solid $gray-100;
J
jhampton 已提交
240 241
    padding: $gl-padding-4 6px;
    width: 50%;
J
jhampton 已提交
242
    vertical-align: top;
J
jhampton 已提交
243 244
  }

C
Clement Ho 已提交
245
  .badge.badge-pill {
246
    margin-left: 2px;
P
Phil Hughes 已提交
247
  }
248

249
  .retry-link {
F
Fernando Arias 已提交
250 251
    display: block;

252 253 254 255
    .btn-inverted-secondary {
      color: $blue-500;

      &:hover {
256
        color: $white;
257
      }
258 259 260
    }
  }

261 262 263 264 265 266 267 268 269
  .stage-item {
    cursor: pointer;

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

  .builds-container {
270
    background-color: $white;
271 272
    border-top: 1px solid $border-color;
    border-bottom: 1px solid $border-color;
273
    max-height: 300px;
M
Mike Greiling 已提交
274
    width: 289px;
275
    overflow: auto;
276 277 278

    svg {
      margin-right: 3px;
T
Tim Zallmann 已提交
279 280
      height: 14px;
      width: 14px;
281 282 283
    }

    a {
284 285
      padding: $gl-padding 10px $gl-padding 40px;
      width: 270px;
286 287 288 289 290 291

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

292 293 294 295
    .icon-arrow-right {
      left: 15px;
      top: 20px;
    }
296

297
    .build-job {
298
      &.active {
299
        font-weight: $gl-font-weight-bold;
300
      }
301

302 303 304 305
      &.retried {
        background-color: $gray-lightest;
      }

306
      &:hover {
307
        background-color: $gray-darker;
308
      }
309 310
    }
  }
311 312 313 314

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

317 318 319 320
.build-sidebar {
  .container-fluid.container-limited {
    max-width: 100%;
  }
K
kushalpandya 已提交
321 322 323 324

  .content-wrapper {
    padding-bottom: 6px;
  }
325 326
}

P
Phil Hughes 已提交
327 328
.build-detail-row {
  margin-bottom: 5px;
329

330 331 332
  &:last-of-type {
    margin-bottom: 0;
  }
P
Phil Hughes 已提交
333 334 335
}

.build-light-text {
T
tauriedavis 已提交
336
  color: $gl-text-color-secondary;
337
  word-wrap: break-word;
P
Phil Hughes 已提交
338 339 340 341 342 343 344 345
}

.build-gutter-toggle {
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -17px;
}
346 347 348 349 350 351 352 353 354 355 356

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