builds.scss 6.5 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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
      height: 35px;
      display: flex;
      justify-content: flex-end;
      border-bottom: 1px outset $white-light;

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

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

        .raw-link {
          color: inherit;
          margin-left: 5px;
          text-decoration: underline;
        }
      }
90
    }
P
Phil Hughes 已提交
91

F
Filipa Lacerda 已提交
92 93 94 95
    .controllers {
      display: flex;
      align-self: center;
      font-size: 15px;
P
Phil Hughes 已提交
96

F
Filipa Lacerda 已提交
97 98 99 100 101
      svg {
        height: 15px;
        display: block;
        fill: $white-light;
      }
K
Kushal Pandya 已提交
102

F
Filipa Lacerda 已提交
103 104 105 106 107
      a,
      .btn-scroll {
        margin: 0 8px;
        color: $white-light;
      }
108

F
Filipa Lacerda 已提交
109 110 111 112 113
      .btn-scroll.animate {
        .first-triangle {
          animation: blinking-scroll-button 1s ease infinite;
          animation-delay: .3s;
        }
114

F
Filipa Lacerda 已提交
115 116 117 118
        .second-triangle {
          animation: blinking-scroll-button 1s ease infinite;
          animation-delay: .2s;
        }
K
Kushal Pandya 已提交
119

F
Filipa Lacerda 已提交
120 121 122
        .third-triangle {
          animation: blinking-scroll-button 1s ease infinite;
        }
K
Kushal Pandya 已提交
123

F
Filipa Lacerda 已提交
124 125 126 127
        &:disabled {
          opacity: 1;
        }
      }
K
Kushal Pandya 已提交
128

F
Filipa Lacerda 已提交
129 130 131 132
      .btn-scroll:disabled {
        opacity: 0.35;
        cursor: not-allowed;
      }
133 134
    }
  }
135

F
Filipa Lacerda 已提交
136 137 138 139 140 141 142
  .bash {
    top: 35px;
    left: 10px;
    bottom: 0;
    overflow-y: hidden;
    padding-bottom: 20px;
    padding-right: 20px;
143 144
  }

F
Filipa Lacerda 已提交
145 146 147 148 149
  .environment-information {
    background-color: $gray-light;
    border: 1px solid $border-color;
    padding: 12px $gl-padding;
    border-radius: $border-radius-default;
150

F
Filipa Lacerda 已提交
151 152 153 154
    svg {
      position: relative;
      top: 1px;
      margin-right: 5px;
155
    }
156
  }
F
Filipa Lacerda 已提交
157 158 159 160 161 162 163 164 165

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

168 169 170
.status-message {
  display: inline-block;
  color: $white-light;
171

172 173 174 175
  .status-icon {
    display: inline-block;
    width: 16px;
    height: 33px;
176
  }
177

178 179 180 181 182 183 184
  .status-text {
    float: left;
    opacity: 0;
    margin-right: 10px;
    font-weight: normal;
    line-height: 1.8;
    transition: opacity 1s ease-out;
185

186 187
    &.animate {
      animation: fade-out-status 2s ease;
188
    }
189
  }
190 191 192 193

  &:hover .status-text {
    opacity: 1;
  }
P
Phil Hughes 已提交
194
}
195

P
Phil Hughes 已提交
196 197
.build-header {
  position: relative;
198 199 200 201
  padding: 0;
  display: flex;
  min-height: 58px;
  align-items: center;
202

203 204
  @media (max-width: $screen-sm-max) {
    padding-right: 40px;
205
    margin-top: 6px;
206

A
Annabel Dunstone Gray 已提交
207
    .btn-inverted {
208 209 210 211 212 213
      display: none;
    }
  }

  .header-content {
    flex: 1;
214
    line-height: 1.8;
215

216
    a {
T
tauriedavis 已提交
217
      color: $gl-text-color;
218

219 220 221 222
      &:hover {
        color: $gl-link-color;
        text-decoration: none;
      }
223 224
    }
  }
P
Phil Hughes 已提交
225 226 227 228 229 230 231 232 233 234

  code {
    color: $code-color;
  }

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

P
Phil Hughes 已提交
237
.right-sidebar.build-sidebar {
238
  padding: $gl-padding 0;
P
Phil Hughes 已提交
239 240 241 242 243

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

244
  .blocks-container {
L
Luke Bennett 已提交
245
    padding: 0 $gl-padding;
246 247
  }

P
Phil Hughes 已提交
248 249 250
  .block {
    width: 100%;

251 252 253 254 255 256 257
    &.coverage {
      padding: 0 16px 11px;
    }

    .btn-group-justified {
      margin-top: 5px;
    }
258 259
  }

U
ubudzisz 已提交
260 261 262 263 264 265 266 267 268 269
  .js-build-variable {
    color: $code-color;
  }

  .js-build-value {
    padding: 2px 4px;
    color: $black;
    background-color: $white-light;
  }

P
Phil Hughes 已提交
270
  .build-sidebar-header {
271
    padding: 0 $gl-padding $gl-padding;
P
Phil Hughes 已提交
272 273 274 275 276

    .gutter-toggle {
      margin-top: 0;
    }
  }
277

278 279 280 281 282 283 284 285 286
  .retry-link {
    color: $gl-link-color;
    display: none;

    &:hover {
      text-decoration: underline;
    }

    @media (max-width: $screen-sm-max) {
287
      display: block;
288 289 290
    }
  }

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

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

  .build-dropdown {
300
    padding: $gl-padding 0;
301 302 303 304

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

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

  .builds-container {
    background-color: $white-light;
    border-top: 1px solid $border-color;
    border-bottom: 1px solid $border-color;
317
    max-height: 300px;
318
    overflow: auto;
319 320 321 322 323 324 325 326 327 328

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

    a {
      display: block;
329 330 331 332 333
      padding: $gl-padding 10px $gl-padding 40px;
      width: 270px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
334 335 336 337 338 339 340

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

    .build-job {
341 342
      position: relative;

343
      .fa-arrow-right {
344 345 346 347 348 349
        position: absolute;
        left: 15px;
        top: 20px;
        display: none;
      }

350 351
      &.active {
        font-weight: bold;
352

353
        .fa-arrow-right {
354 355
          display: block;
        }
356
      }
357

358 359 360 361
      &.retried {
        background-color: $gray-lightest;
      }

362 363 364
      &:hover {
        background-color: $row-hover;
      }
365

366
      .fa-refresh {
367 368 369
        font-size: 13px;
        margin-left: 3px;
      }
370 371
    }
  }
P
Phil Hughes 已提交
372 373
}

374 375 376 377
.build-sidebar {
  .container-fluid.container-limited {
    max-width: 100%;
  }
K
kushalpandya 已提交
378 379 380 381

  .content-wrapper {
    padding-bottom: 6px;
  }
382 383
}

P
Phil Hughes 已提交
384 385
.build-detail-row {
  margin-bottom: 5px;
386

387 388 389
  &:last-of-type {
    margin-bottom: 0;
  }
P
Phil Hughes 已提交
390 391 392
}

.build-light-text {
T
tauriedavis 已提交
393
  color: $gl-text-color-secondary;
P
Phil Hughes 已提交
394 395 396 397 398 399 400 401
}

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