gitlab-org--gitlab-foss/app/assets/stylesheets/pages/builds.scss

436 lines
7.2 KiB
SCSS
Raw Normal View History

@keyframes fade-out-status {
0%, 50% { opacity: 1; }
100% { opacity: 0; }
}
@keyframes blinking-dots {
0% {
background-color: rgba($white-light, 1);
2017-07-08 08:53:12 -04:00
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);
2017-07-08 08:53:12 -04:00
box-shadow: 12px 0 0 0 rgba($white-light, 2),
24px 0 0 0 rgba($white-light, 0.2);
}
2016-12-12 01:47:50 -05:00
75% {
background-color: rgba($white-light, 0.4);
2017-07-08 08:53:12 -04:00
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);
2017-07-08 08:53:12 -04:00
box-shadow: 12px 0 0 0 rgba($white-light, 0.2),
24px 0 0 0 rgba($white-light, 0.2);
}
}
2017-05-30 04:43:13 -04:00
@keyframes blinking-scroll-button {
0% { opacity: 0.2; }
25% { opacity: 0.5; }
50% { opacity: 0.7; }
100% { opacity: 1; }
}
2017-05-30 04:43:13 -04:00
.build-page {
.build-trace-container {
position: relative;
}
.build-trace {
2017-05-30 04:43:13 -04:00
background: $black;
color: $gray-darkest;
white-space: pre;
overflow-x: auto;
2017-05-30 04:43:13 -04:00
font-size: 12px;
border-radius: 0;
border: none;
.bash {
display: block;
}
}
.top-bar {
height: 35px;
display: flex;
justify-content: flex-end;
background: $gray-light;
border: 1px solid $border-color;
color: $gl-text-color;
position: sticky;
position: -webkit-sticky;
top: $header-height;
&.affix {
top: $header-height;
}
// with sidebar
&.affix.sidebar-expanded {
right: 306px;
left: 16px;
}
// without sidebar
&.affix.sidebar-collapsed {
right: 16px;
left: 16px;
}
2017-05-30 04:43:13 -04:00
&.affix-top {
position: absolute;
right: 0;
left: 0;
top: 0;
}
2017-05-30 04:43:13 -04:00
.truncated-info {
margin: 0 auto;
align-self: center;
2017-05-30 04:43:13 -04:00
.truncated-info-size {
margin: 0 5px;
}
.raw-link {
color: $gl-text-color;
margin-left: 5px;
text-decoration: underline;
2017-05-30 04:43:13 -04:00
}
}
2017-05-30 04:43:13 -04:00
.controllers {
display: flex;
font-size: 15px;
justify-content: center;
align-items: center;
2017-05-30 04:43:13 -04:00
svg {
height: 15px;
display: block;
2017-06-09 07:58:52 -04:00
fill: $gl-text-color;
2017-05-30 04:43:13 -04:00
}
2016-12-06 05:57:08 -05:00
2017-06-09 07:58:52 -04:00
.controllers-buttons {
color: $gl-text-color;
margin: 0 10px;
2017-05-30 04:43:13 -04:00
}
2017-05-30 04:43:13 -04:00
.btn-scroll.animate {
.first-triangle {
animation: blinking-scroll-button 1s ease infinite;
animation-delay: .3s;
}
2017-05-30 04:43:13 -04:00
.second-triangle {
animation: blinking-scroll-button 1s ease infinite;
animation-delay: .2s;
}
2016-12-09 08:36:21 -05:00
2017-05-30 04:43:13 -04:00
.third-triangle {
animation: blinking-scroll-button 1s ease infinite;
}
2016-12-09 08:36:21 -05:00
2017-05-30 04:43:13 -04:00
&:disabled {
opacity: 1;
}
}
2016-12-06 05:57:08 -05:00
2017-05-30 04:43:13 -04:00
.btn-scroll:disabled {
opacity: 0.35;
cursor: not-allowed;
}
}
}
2017-05-30 04:43:13 -04:00
.environment-information {
border: 1px solid $border-color;
padding: 8px $gl-padding 12px;
2017-05-30 04:43:13 -04:00
border-radius: $border-radius-default;
2017-05-30 04:43:13 -04:00
svg {
position: relative;
top: 5px;
2017-05-30 04:43:13 -04:00
margin-right: 5px;
width: 22px;
height: 22px;
}
}
2017-05-30 04:43:13 -04:00
.build-loader-animation {
position: relative;
width: 6px;
height: 6px;
margin: auto auto 12px 2px;
border-radius: 50%;
animation: blinking-dots 1s linear infinite;
}
}
.with-performance-bar .build-page {
.top-bar {
top: $header-height + $performance-bar-height;
&.affix {
top: $header-height + $performance-bar-height;
}
}
}
.build-header {
.ci-header-container,
.header-action-buttons {
display: flex;
2015-09-11 13:25:53 -04:00
}
2016-11-01 16:38:44 -04:00
.ci-header-container {
min-height: 54px;
2016-11-01 16:38:44 -04:00
}
.page-content-header {
padding: 10px 0 9px;
}
.header-action-buttons {
@media (max-width: $screen-xs-max) {
.sidebar-toggle-btn {
margin-top: 0;
margin-left: 10px;
max-height: 34px;
}
}
}
.header-content {
a {
2016-12-30 15:18:27 -05:00
color: $gl-text-color;
2015-09-11 13:25:53 -04:00
&:hover {
color: $gl-link-color;
text-decoration: none;
}
2015-09-11 13:25:53 -04:00
}
}
code {
color: $code-color;
}
.avatar {
float: none;
margin-right: 2px;
margin-left: 2px;
}
2015-09-11 13:25:53 -04:00
}
2016-04-26 14:20:58 -04:00
.right-sidebar.build-sidebar {
padding: 0;
&.right-sidebar-collapsed {
display: none;
}
.sidebar-container {
width: calc(100% + 100px);
padding-right: 100px;
height: 100%;
overflow-y: scroll;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}
.blocks-container {
2016-08-23 10:19:36 -04:00
padding: 0 $gl-padding;
2017-08-02 19:14:14 -04:00
width: 289px;
}
.block {
width: 100%;
&:last-child {
border-bottom: 1px solid $border-gray-normal;
}
&.coverage {
padding: 0 16px 11px;
}
.btn-group-justified {
margin-top: 5px;
}
}
2017-07-14 04:46:37 -04:00
.block-last {
padding: 16px 0;
}
.trigger-build-variables {
margin: 0;
overflow-x: auto;
-ms-overflow-style: scrollbar;
-webkit-overflow-scrolling: touch;
}
.trigger-build-variable {
font-weight: $gl-font-weight-normal;
2016-09-06 07:03:48 -04:00
color: $code-color;
}
.trigger-build-value {
2016-09-06 07:03:48 -04:00
padding: 2px 4px;
color: $black;
background-color: $white-light;
}
.label {
margin-left: 2px;
}
.retry-link {
display: none;
.btn-inverted-secondary {
color: $blue-500;
&:hover {
color: $white-light;
}
}
@media (max-width: $screen-sm-max) {
2016-10-26 13:55:03 -04:00
display: block;
.btn {
i {
margin-left: 5px;
}
}
}
}
.stage-item {
cursor: pointer;
&:hover {
color: $gl-text-color;
}
}
.build-dropdown {
@include new-style-dropdown;
margin: $gl-padding 0;
padding: 0;
.dropdown-menu-toggle {
margin-top: #{$gl-padding / 2};
}
svg {
position: relative;
top: 2px;
margin-right: 3px;
}
}
.builds-container {
background-color: $white-light;
border-top: 1px solid $border-color;
border-bottom: 1px solid $border-color;
max-height: 300px;
2017-08-02 19:14:14 -04:00
width: 289px;
overflow: auto;
svg {
position: relative;
top: 2px;
margin-right: 3px;
height: 13px;
}
a {
display: block;
padding: $gl-padding 10px $gl-padding 40px;
width: 270px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&:hover {
color: $gl-text-color;
}
}
.build-job {
position: relative;
.fa-arrow-right {
position: absolute;
left: 15px;
top: 20px;
display: none;
}
&.active {
font-weight: $gl-font-weight-bold;
.fa-arrow-right {
display: block;
}
}
&.retried {
background-color: $gray-lightest;
}
&:hover {
background-color: $row-hover;
}
2017-05-12 10:58:22 -04:00
.fa-refresh {
font-size: 13px;
margin-left: 3px;
}
}
}
.link-commit {
color: $blue-600;
}
}
.build-sidebar {
.container-fluid.container-limited {
max-width: 100%;
}
2017-05-30 07:50:26 -04:00
.content-wrapper {
padding-bottom: 6px;
}
}
.build-detail-row {
margin-bottom: 5px;
&:last-of-type {
margin-bottom: 0;
}
}
.build-light-text {
2016-12-30 15:18:27 -05:00
color: $gl-text-color-secondary;
2017-06-21 16:40:18 -04:00
word-wrap: break-word;
}
.build-gutter-toggle {
position: absolute;
top: 50%;
right: 0;
margin-top: -17px;
}