builds.scss 5.1 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
  .top-bar {
S
Simon Knox 已提交
59
    @include build-trace-top-bar(35px);
60 61

    &.affix {
62
      top: $header-height;
63

64 65 66 67 68
      // with sidebar
      &.sidebar-expanded {
        right: 306px;
        left: 16px;
      }
69

70 71 72 73 74
      // without sidebar
      &.sidebar-collapsed {
        right: 16px;
        left: 16px;
      }
75
    }
F
Filipa Lacerda 已提交
76

77 78 79 80
    &.affix-top {
      position: absolute;
      right: 0;
      left: 0;
81
      top: 0;
82
    }
F
Filipa Lacerda 已提交
83

84 85 86 87 88 89 90 91 92
    .truncated-info {
      .truncated-info-size {
        margin: 0 5px;
      }

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

F
Filipa Lacerda 已提交
96
    .controllers {
97
      @include build-controllers(15px, center, false, 0, inline, 0);
98 99
    }
  }
100

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

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

  .build-loader-animation {
116
    @include build-loader-animation;
117
    float: left;
F
Filipa Lacerda 已提交
118
  }
119
}
P
Phil Hughes 已提交
120

121
.with-performance-bar .build-page {
S
Simon Knox 已提交
122
  .top-bar.affix {
123
    top: $header-height + $performance-bar-height;
124 125 126
  }
}

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

133 134
  .ci-header-container {
    min-height: 54px;
135
  }
136

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

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

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

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

  code {
    color: $code-color;
  }

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

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

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

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

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

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

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

202 203 204
    &.coverage {
      padding: 0 16px 11px;
    }
205 206
  }

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

211 212 213 214 215 216 217
  .trigger-build-variables {
    margin: 0;
    overflow-x: auto;
    -ms-overflow-style: scrollbar;
    -webkit-overflow-scrolling: touch;
  }

218
  .trigger-build-variable {
219
    font-weight: $gl-font-weight-normal;
U
ubudzisz 已提交
220 221 222
    color: $code-color;
  }

223
  .trigger-build-value {
U
ubudzisz 已提交
224 225 226 227 228
    padding: 2px 4px;
    color: $black;
    background-color: $white-light;
  }

C
Clement Ho 已提交
229
  .badge.badge-pill {
230
    margin-left: 2px;
P
Phil Hughes 已提交
231
  }
232

233 234 235
  .retry-link {
    display: none;

236 237 238 239 240 241
    .btn-inverted-secondary {
      color: $blue-500;

      &:hover {
        color: $white-light;
      }
242 243
    }

C
Clement Ho 已提交
244
    @include media-breakpoint-down(sm) {
245
      display: block;
246 247 248 249 250 251

      .btn {
        i {
          margin-left: 5px;
        }
      }
252 253 254
    }
  }

255 256 257 258 259 260 261 262 263 264 265 266
  .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;
267
    max-height: 300px;
M
Mike Greiling 已提交
268
    width: 289px;
269
    overflow: auto;
270 271 272

    svg {
      position: relative;
T
Tim Zallmann 已提交
273
      top: 3px;
274
      margin-right: 3px;
T
Tim Zallmann 已提交
275 276
      height: 14px;
      width: 14px;
277 278 279 280
    }

    a {
      display: block;
281 282 283 284 285
      padding: $gl-padding 10px $gl-padding 40px;
      width: 270px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
286 287 288 289 290 291 292

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

    .build-job {
293 294
      position: relative;

T
Tim Zallmann 已提交
295
      .icon-arrow-right {
296 297 298
        position: absolute;
        left: 15px;
        top: 20px;
299
        display: block;
300 301
      }

302
      &.active {
303
        font-weight: $gl-font-weight-bold;
304
      }
305

306 307 308 309
      &.retried {
        background-color: $gray-lightest;
      }

310
      &:hover {
311
        background-color: $gray-darker;
312
      }
313

T
Tim Zallmann 已提交
314
      .icon-retry {
315 316
        margin-left: 3px;
      }
317 318
    }
  }
319 320 321 322

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

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

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

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

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

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

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