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

152 lines
2.2 KiB
SCSS
Raw Normal View History

2018-04-09 11:26:28 -04:00
@include media-breakpoint-down(md) {
2016-12-28 17:44:08 -05:00
.content-list {
&.builds-content-list {
width: 100%;
overflow: auto;
}
2016-12-28 17:44:08 -05:00
}
}
.ci-table {
2016-12-28 17:44:08 -05:00
.avatar {
margin-left: 0;
float: none;
}
2016-12-28 17:44:08 -05:00
.branch-commit {
.ref-name {
font-weight: $gl-font-weight-bold;
max-width: 100px;
2016-12-28 17:44:08 -05:00
overflow: hidden;
display: inline-block;
white-space: nowrap;
2017-06-23 03:36:40 -04:00
vertical-align: middle;
2016-12-28 17:44:08 -05:00
text-overflow: ellipsis;
}
2016-12-28 17:44:08 -05:00
svg {
height: 14px;
width: 14px;
vertical-align: middle;
2016-12-30 15:18:27 -05:00
fill: $gl-text-color-secondary;
}
.sprite {
width: 12px;
height: 12px;
fill: $gl-text-color;
}
2016-12-28 17:44:08 -05:00
.fa {
font-size: 12px;
color: $gl-text-color;
}
.commit-sha {
2018-08-14 12:44:08 -04:00
color: $blue-600;
2016-12-28 17:44:08 -05:00
}
.badge {
2016-12-28 17:44:08 -05:00
margin-right: 4px;
}
2016-07-15 12:05:06 -04:00
.label-container {
2016-12-28 17:44:08 -05:00
font-size: 0;
.badge {
2016-12-28 17:44:08 -05:00
margin-top: 5px;
2016-12-28 16:32:15 -05:00
}
2016-12-28 17:44:08 -05:00
}
}
2016-12-28 17:44:08 -05:00
.duration,
.finished-at {
2016-12-30 15:18:27 -05:00
color: $gl-text-color-secondary;
2017-05-10 13:37:36 -04:00
margin: 0;
white-space: nowrap;
2016-12-28 17:44:08 -05:00
svg {
width: 12px;
height: 12px;
vertical-align: middle;
margin-right: 4px;
}
}
.build-link a {
color: $gl-text-color;
2017-09-01 09:46:02 -04:00
}
2016-12-28 17:44:08 -05:00
}
2016-08-08 17:26:33 -04:00
[data-page='admin:jobs:index'] {
.admin-builds-table {
td:last-child {
min-width: 120px;
}
2016-12-28 17:44:08 -05:00
}
}
2016-12-05 10:59:30 -05:00
.ci-build-text,
2016-12-28 17:44:08 -05:00
.ci-status-text {
font-weight: 200;
2016-12-28 17:44:08 -05:00
}
/**
* Terminal
2016-12-28 17:44:08 -05:00
*/
[data-page='projects:jobs:terminal'],
[data-page='projects:environments:terminal'] {
.terminal-container {
.content-block {
border-bottom: 0;
}
2016-12-14 19:59:04 -05:00
#terminal {
margin-top: 10px;
2016-12-14 19:59:04 -05:00
> div {
min-height: 450px;
}
2016-12-14 19:59:04 -05:00
}
}
2016-12-28 17:44:08 -05:00
}
/**
* Pipelines / Jobs header
*/
[data-page='projects:pipelines:show'],
[data-page='projects:jobs:show'] {
.ci-header-container {
min-height: $gl-spacing-scale-7;
display: flex;
.text-center {
padding-top: 12px;
}
}
}
.pipelines-container .top-area .nav-controls > .btn:last-child {
float: none;
}
.progress-bar.bg-primary {
background-color: $blue-500 !important;
}
.pipeline-stage-pill {
width: 10rem;
}
.pipeline-job-pill {
width: 8rem;
}
.stage-left-rounded {
border-radius: 2rem 0 0 2rem;
}
.stage-right-rounded {
border-radius: 0 2rem 2rem 0;
}