builds.scss 6.7 KB
Newer Older
1 2 3 4 5
@keyframes fade-out-status {
  0%, 50% { opacity: 1; }
  100% { opacity: 0; }
}

6 7 8 9 10 11 12 13 14 15 16 17 18
@keyframes blinking-dots {
  0% {
    background-color: rgba($white-light, 1);
    box-shadow: 12px 0 0 0 rgba($white-light,0.2),
                24px 0 0 0 rgba($white-light,0.2);
  }

  25% {
    background-color: rgba($white-light, 0.4);
    box-shadow: 12px 0 0 0 rgba($white-light,2),
                24px 0 0 0 rgba($white-light,0.2);
  }

K
Kushal Pandya 已提交
19
  75% {
20 21 22 23 24 25 26 27 28 29 30 31
    background-color: rgba($white-light, 0.4);
    box-shadow: 12px 0 0 0 rgba($white-light,0.2),
                24px 0 0 0 rgba($white-light,1);
  }

  100% {
    background-color: rgba($white-light, 1);
    box-shadow: 12px 0 0 0 rgba($white-light,0.2),
                24px 0 0 0 rgba($white-light,0.2);
  }
}

F
Filipa Lacerda 已提交
32 33 34 35 36 37
@keyframes blinking-scroll-button {
  0% { opacity: 0.2; }
  25% { opacity: 0.5; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}
38

F
Filipa Lacerda 已提交
39 40 41 42 43
.build-page {
  .sticky {
    position: absolute;
    left: 0;
    right: 0;
44
  }
45

F
Filipa Lacerda 已提交
46 47 48 49 50 51 52 53 54
  .build-trace-container {
    position: absolute;
    top: 225px;
    left: 15px;
    bottom: 10px;
    background: $black;
    color: $gray-darkest;
    font-family: $monospace_font;
    font-size: 12px;
55

F
Filipa Lacerda 已提交
56 57
    &.sidebar-expanded {
      right: 305px;
58 59
    }

F
Filipa Lacerda 已提交
60 61
    &.sidebar-collapsed {
      right: 16px;
62 63
    }

F
Filipa Lacerda 已提交
64 65 66
    code {
      background: $black;
      color: $gray-darkest;
67 68
    }

F
Filipa Lacerda 已提交
69
    .top-bar {
70
      top: 0;
F
Filipa Lacerda 已提交
71 72 73
      height: 35px;
      display: flex;
      justify-content: flex-end;
74
      background: $gray-light;
75
      border: 1px solid $border-color;
76
      color: $gl-text-color;
F
Filipa Lacerda 已提交
77 78 79 80 81 82 83 84 85 86

      .truncated-info {
        margin: 0 auto;
        align-self: center;

        .truncated-info-size {
          margin: 0 5px;
        }

        .raw-link {
87
          color: $gl-text-color;
F
Filipa Lacerda 已提交
88 89 90 91
          margin-left: 5px;
          text-decoration: underline;
        }
      }
92
    }
P
Phil Hughes 已提交
93

F
Filipa Lacerda 已提交
94 95 96 97
    .controllers {
      display: flex;
      align-self: center;
      font-size: 15px;
98
      margin-bottom: 4px;
P
Phil Hughes 已提交
99

F
Filipa Lacerda 已提交
100 101 102
      svg {
        height: 15px;
        display: block;
103
        fill: $gl-text-color;
F
Filipa Lacerda 已提交
104
      }
K
Kushal Pandya 已提交
105

106
      .controllers-buttons,
F
Filipa Lacerda 已提交
107
      .btn-scroll {
108 109 110 111 112 113 114 115 116
        color: $gl-text-color;
        height: 15px;
        vertical-align: middle;
        padding: 0;
        width: 12px;
      }

      .controllers-buttons {
        margin: 1px 10px;
F
Filipa Lacerda 已提交
117
      }
118

F
Filipa Lacerda 已提交
119 120 121 122 123
      .btn-scroll.animate {
        .first-triangle {
          animation: blinking-scroll-button 1s ease infinite;
          animation-delay: .3s;
        }
124

F
Filipa Lacerda 已提交
125 126 127 128
        .second-triangle {
          animation: blinking-scroll-button 1s ease infinite;
          animation-delay: .2s;
        }
K
Kushal Pandya 已提交
129

F
Filipa Lacerda 已提交
130 131 132
        .third-triangle {
          animation: blinking-scroll-button 1s ease infinite;
        }
K
Kushal Pandya 已提交
133

F
Filipa Lacerda 已提交
134 135 136 137
        &:disabled {
          opacity: 1;
        }
      }
K
Kushal Pandya 已提交
138

F
Filipa Lacerda 已提交
139 140 141 142
      .btn-scroll:disabled {
        opacity: 0.35;
        cursor: not-allowed;
      }
143 144
    }
  }
145

F
Filipa Lacerda 已提交
146 147 148 149
  .bash {
    top: 35px;
    left: 10px;
    bottom: 0;
150 151 152
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 10px 20px 20px 5px;
153
    white-space: pre;
154 155
  }

F
Filipa Lacerda 已提交
156 157
  .environment-information {
    border: 1px solid $border-color;
158
    padding: 8px $gl-padding 12px;
F
Filipa Lacerda 已提交
159
    border-radius: $border-radius-default;
160

F
Filipa Lacerda 已提交
161 162
    svg {
      position: relative;
163
      top: 5px;
F
Filipa Lacerda 已提交
164
      margin-right: 5px;
165 166
      width: 22px;
      height: 22px;
167
    }
168
  }
F
Filipa Lacerda 已提交
169 170 171 172 173 174 175 176 177

  .build-loader-animation {
    position: relative;
    width: 6px;
    height: 6px;
    margin: auto auto 12px 2px;
    border-radius: 50%;
    animation: blinking-dots 1s linear infinite;
  }
178
}
P
Phil Hughes 已提交
179

180 181 182 183
.build-header {
  .ci-header-container,
  .header-action-buttons {
    display: flex;
184
  }
185

186 187
  .ci-header-container {
    min-height: 54px;
188
  }
189

190 191
  .page-content-header {
    padding: 10px 0 9px;
192
  }
193

194 195 196 197 198 199 200
  .header-action-buttons {
    @media (max-width: $screen-xs-max) {
      .sidebar-toggle-btn {
        margin-top: 0;
        margin-left: 10px;
        max-height: 34px;
      }
201 202 203 204
    }
  }

  .header-content {
205
    a {
T
tauriedavis 已提交
206
      color: $gl-text-color;
207

208 209 210 211
      &:hover {
        color: $gl-link-color;
        text-decoration: none;
      }
212 213
    }
  }
P
Phil Hughes 已提交
214 215 216 217 218 219 220 221 222 223

  code {
    color: $code-color;
  }

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

P
Phil Hughes 已提交
226
.right-sidebar.build-sidebar {
227
  padding: 0;
P
Phil Hughes 已提交
228 229 230 231 232

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

233
  .blocks-container {
L
Luke Bennett 已提交
234
    padding: 0 $gl-padding;
235 236
  }

P
Phil Hughes 已提交
237 238 239
  .block {
    width: 100%;

240 241 242 243
    &:last-child {
      border-bottom: 1px solid $border-gray-normal;
    }

244 245 246 247 248 249 250
    &.coverage {
      padding: 0 16px 11px;
    }

    .btn-group-justified {
      margin-top: 5px;
    }
251 252
  }

253
  .trigger-build-variable {
U
ubudzisz 已提交
254 255 256
    color: $code-color;
  }

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

263 264
  .label {
    margin-left: 2px;
P
Phil Hughes 已提交
265
  }
266

267 268 269
  .retry-link {
    display: none;

270 271 272 273 274 275
    .btn-inverted-secondary {
      color: $blue-500;

      &:hover {
        color: $white-light;
      }
276 277 278
    }

    @media (max-width: $screen-sm-max) {
279
      display: block;
280 281 282 283 284 285

      .btn {
        i {
          margin-left: 5px;
        }
      }
286 287 288
    }
  }

289 290 291 292 293 294 295 296 297
  .stage-item {
    cursor: pointer;

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

  .build-dropdown {
298
    padding: $gl-padding 0;
299 300 301 302

    .dropdown-menu-toggle {
      margin-top: 8px;
    }
303 304 305 306 307 308

    .dropdown-menu {
      right: $gl-padding;
      left: $gl-padding;
      width: auto;
    }
309 310 311 312 313 314

    svg {
      position: relative;
      top: 2px;
      margin-right: 3px;
    }
315 316 317 318 319 320
  }

  .builds-container {
    background-color: $white-light;
    border-top: 1px solid $border-color;
    border-bottom: 1px solid $border-color;
321
    max-height: 300px;
322
    overflow: auto;
323 324 325 326 327 328 329 330 331 332

    svg {
      position: relative;
      top: 2px;
      margin-right: 3px;
      height: 13px;
    }

    a {
      display: block;
333 334 335 336 337
      padding: $gl-padding 10px $gl-padding 40px;
      width: 270px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
338 339 340 341 342 343 344

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

    .build-job {
345 346
      position: relative;

347
      .fa-arrow-right {
348 349 350 351 352 353
        position: absolute;
        left: 15px;
        top: 20px;
        display: none;
      }

354 355
      &.active {
        font-weight: bold;
356

357
        .fa-arrow-right {
358 359
          display: block;
        }
360
      }
361

362 363 364 365
      &.retried {
        background-color: $gray-lightest;
      }

366 367 368
      &:hover {
        background-color: $row-hover;
      }
369

370
      .fa-refresh {
371 372 373
        font-size: 13px;
        margin-left: 3px;
      }
374 375
    }
  }
376 377 378 379

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

382 383 384 385
.build-sidebar {
  .container-fluid.container-limited {
    max-width: 100%;
  }
K
kushalpandya 已提交
386 387 388 389

  .content-wrapper {
    padding-bottom: 6px;
  }
390 391
}

P
Phil Hughes 已提交
392 393
.build-detail-row {
  margin-bottom: 5px;
394

395 396 397
  &:last-of-type {
    margin-bottom: 0;
  }
P
Phil Hughes 已提交
398 399 400
}

.build-light-text {
T
tauriedavis 已提交
401
  color: $gl-text-color-secondary;
P
Phil Hughes 已提交
402 403 404 405 406 407 408 409
}

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