builds.scss 5.4 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 {
S
Simon Knox 已提交
49 50
  .build-trace {
    @include build-trace();
51
  }
52

53
  .archived-job {
54 55 56 57 58 59 60 61
    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;
62
    z-index: 1;
63 64 65 66 67 68

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

69
  .top-bar {
S
Simon Knox 已提交
70
    @include build-trace-top-bar(35px);
71

72
    &.has-archived-block {
73 74 75 76 77
      top: $header-height + 28px;

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

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

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

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

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

    .controllers {
104
      @include build-controllers(15px, center, false, 0, inline, 0);
105 106
    }
  }
107

F
Filipa Lacerda 已提交
108 109
  .environment-information {
    border: 1px solid $border-color;
110
    padding: 8px $gl-padding 12px;
F
Filipa Lacerda 已提交
111
    border-radius: $border-radius-default;
112

F
Filipa Lacerda 已提交
113 114
    svg {
      position: relative;
115
      top: 5px;
F
Filipa Lacerda 已提交
116
      margin-right: 5px;
117 118
      width: 22px;
      height: 22px;
119
    }
120
  }
F
Filipa Lacerda 已提交
121 122

  .build-loader-animation {
123
    @include build-loader-animation;
124
    float: left;
125
    padding-left: $gl-padding-8;
F
Filipa Lacerda 已提交
126
  }
127
}
P
Phil Hughes 已提交
128

129 130 131 132
.build-header {
  .ci-header-container,
  .header-action-buttons {
    display: flex;
133
  }
134

135 136
  .ci-header-container {
    min-height: 54px;
137
  }
138

139 140
  .page-content-header {
    padding: 10px 0 9px;
141
  }
142

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

  .header-content {
154
    a {
T
tauriedavis 已提交
155
      color: $gl-text-color;
156

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

  code {
    color: $code-color;
  }

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

P
Phil Hughes 已提交
175
.right-sidebar.build-sidebar {
176
  padding: 0;
P
Phil Hughes 已提交
177 178 179 180 181

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

182 183 184 185 186 187 188 189 190
  .sidebar-container {
    width: calc(100% + 100px);
    padding-right: 100px;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

191
  .blocks-container {
L
Luke Bennett 已提交
192
    padding: 0 $gl-padding;
M
Mike Greiling 已提交
193
    width: 289px;
194 195
  }

P
Phil Hughes 已提交
196 197
  .block {
    width: 100%;
198
    word-break: break-word;
P
Phil Hughes 已提交
199

200 201 202 203
    &:last-child {
      border-bottom: 1px solid $border-gray-normal;
    }

204 205 206
    &.coverage {
      padding: 0 16px 11px;
    }
207 208
  }

F
Filipa Lacerda 已提交
209 210 211 212
  .block-last {
    padding: 16px 0;
  }

J
jhampton 已提交
213 214
  .trigger-variables-btn-container {
    justify-content: space-between;
J
jhampton 已提交
215
    align-items: center;
216 217 218 219 220

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

223 224 225
  .trigger-build-variables {
    margin: 0;
    overflow-x: auto;
J
jhampton 已提交
226
    width: 100%;
227 228 229 230
    -ms-overflow-style: scrollbar;
    -webkit-overflow-scrolling: touch;
  }

231
  .trigger-build-variable {
232
    font-weight: $gl-font-weight-normal;
U
ubudzisz 已提交
233 234 235
    color: $code-color;
  }

236
  .trigger-build-value {
U
ubudzisz 已提交
237 238 239 240
    padding: 2px 4px;
    color: $black;
  }

J
jhampton 已提交
241 242 243
  .trigger-variables-table-cell {
    font-size: $gl-font-size-small;
    line-height: $gl-line-height;
244
    border: 1px solid $gray-200;
J
jhampton 已提交
245 246
    padding: $gl-padding-4 6px;
    width: 50%;
J
jhampton 已提交
247
    vertical-align: top;
J
jhampton 已提交
248 249
  }

C
Clement Ho 已提交
250
  .badge.badge-pill {
251
    margin-left: 2px;
P
Phil Hughes 已提交
252
  }
253

254
  .retry-link {
F
Fernando Arias 已提交
255 256
    display: block;

257 258 259 260 261 262
    .btn-inverted-secondary {
      color: $blue-500;

      &:hover {
        color: $white-light;
      }
263 264 265
    }
  }

266 267 268 269 270 271 272 273 274 275 276 277
  .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;
278
    max-height: 300px;
M
Mike Greiling 已提交
279
    width: 289px;
280
    overflow: auto;
281 282 283

    svg {
      position: relative;
T
Tim Zallmann 已提交
284
      top: 3px;
285
      margin-right: 3px;
T
Tim Zallmann 已提交
286 287
      height: 14px;
      width: 14px;
288 289 290
    }

    a {
291 292
      padding: $gl-padding 10px $gl-padding 40px;
      width: 270px;
293 294 295 296 297 298

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

299 300 301 302
    .icon-arrow-right {
      left: 15px;
      top: 20px;
    }
303

304
    .build-job {
305
      &.active {
306
        font-weight: $gl-font-weight-bold;
307
      }
308

309 310 311 312
      &.retried {
        background-color: $gray-lightest;
      }

313
      &:hover {
314
        background-color: $gray-darker;
315
      }
316 317
    }
  }
318 319 320 321

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

324 325 326 327
.build-sidebar {
  .container-fluid.container-limited {
    max-width: 100%;
  }
K
kushalpandya 已提交
328 329 330 331

  .content-wrapper {
    padding-bottom: 6px;
  }
332 333
}

P
Phil Hughes 已提交
334 335
.build-detail-row {
  margin-bottom: 5px;
336

337 338 339
  &:last-of-type {
    margin-bottom: 0;
  }
P
Phil Hughes 已提交
340 341 342
}

.build-light-text {
T
tauriedavis 已提交
343
  color: $gl-text-color-secondary;
344
  word-wrap: break-word;
P
Phil Hughes 已提交
345 346 347 348 349 350 351 352
}

.build-gutter-toggle {
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -17px;
}
353 354 355 356 357 358 359 360 361 362 363

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