debian-mirror-gitlab/app/assets/stylesheets/pages/builds.scss

360 lines
5.4 KiB
SCSS
Raw Normal View History

2017-08-17 22:00:37 +05:30
@keyframes fade-out-status {
2018-10-15 14:42:47 +05:30
0%,
50% {
opacity: 1;
}
100% {
opacity: 0;
}
2017-08-17 22:00:37 +05:30
}
2018-11-18 11:00:15 +05:30
@keyframes blinking-dot {
2017-08-17 22:00:37 +05:30
0% {
2018-11-18 11:00:15 +05:30
opacity: 1;
2017-08-17 22:00:37 +05:30
}
25% {
2018-11-18 11:00:15 +05:30
opacity: 0.4;
2017-08-17 22:00:37 +05:30
}
75% {
2018-11-18 11:00:15 +05:30
opacity: 0.4;
2017-08-17 22:00:37 +05:30
}
100% {
2018-11-18 11:00:15 +05:30
opacity: 1;
2017-08-17 22:00:37 +05:30
}
}
2017-09-10 17:25:29 +05:30
@keyframes blinking-scroll-button {
2018-10-15 14:42:47 +05:30
0% {
opacity: 0.2;
}
50% {
2020-03-09 13:42:32 +05:30
opacity: 1;
2018-10-15 14:42:47 +05:30
}
100% {
2020-03-09 13:42:32 +05:30
opacity: 0.2;
2018-10-15 14:42:47 +05:30
}
2017-09-10 17:25:29 +05:30
}
2015-09-25 12:07:36 +05:30
2017-09-10 17:25:29 +05:30
.build-page {
.build-trace {
2018-12-13 13:39:08 +05:30
@include build-trace();
}
2018-11-08 19:23:39 +05:30
2019-03-02 22:35:43 +05:30
.archived-job {
2018-12-13 13:39:08 +05:30
top: $header-height;
border-radius: 2px 2px 0 0;
color: $orange-600;
background-color: $orange-100;
border: 1px solid $border-gray-normal;
padding: 3px 12px;
margin: auto;
align-items: center;
2019-03-02 22:35:43 +05:30
z-index: 1;
2018-12-13 13:39:08 +05:30
.with-performance-bar & {
top: $header-height + $performance-bar-height;
2018-11-08 19:23:39 +05:30
}
2015-09-25 12:07:36 +05:30
}
2017-09-10 17:25:29 +05:30
.top-bar {
2018-12-13 13:39:08 +05:30
@include build-trace-top-bar(35px);
&.has-archived-block {
2019-03-02 22:35:43 +05:30
top: $header-height + 28px;
.with-performance-bar & {
top: $header-height + $performance-bar-height + 28px;
}
2018-12-13 13:39:08 +05:30
}
2017-08-17 22:00:37 +05:30
&.affix {
2017-09-10 17:25:29 +05:30
top: $header-height;
2017-08-17 22:00:37 +05:30
2018-03-17 18:26:18 +05:30
// with sidebar
&.sidebar-expanded {
right: 306px;
left: 16px;
}
2017-08-17 22:00:37 +05:30
2018-03-17 18:26:18 +05:30
// without sidebar
&.sidebar-collapsed {
right: 16px;
left: 16px;
}
2017-08-17 22:00:37 +05:30
}
2016-06-02 11:05:42 +05:30
&.affix-top {
position: absolute;
2017-09-10 17:25:29 +05:30
right: 0;
left: 0;
2017-08-17 22:00:37 +05:30
top: 0;
}
2017-09-10 17:25:29 +05:30
.controllers {
2018-12-13 13:39:08 +05:30
@include build-controllers(15px, center, false, 0, inline, 0);
2016-06-02 11:05:42 +05:30
}
2017-08-17 22:00:37 +05:30
}
2016-06-02 11:05:42 +05:30
2017-09-10 17:25:29 +05:30
.environment-information {
border: 1px solid $border-color;
padding: 8px $gl-padding 12px;
border-radius: $border-radius-default;
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
svg {
position: relative;
top: 5px;
margin-right: 5px;
width: 22px;
height: 22px;
2016-06-02 11:05:42 +05:30
}
2017-08-17 22:00:37 +05:30
}
2015-09-25 12:07:36 +05:30
2017-09-10 17:25:29 +05:30
.build-loader-animation {
2018-11-18 11:00:15 +05:30
@include build-loader-animation;
2018-12-13 13:39:08 +05:30
float: left;
2019-02-15 15:39:39 +05:30
padding-left: $gl-padding-8;
2017-08-17 22:00:37 +05:30
}
2017-09-10 17:25:29 +05:30
}
2017-08-17 22:00:37 +05:30
.build-header {
2017-09-10 17:25:29 +05:30
.ci-header-container,
.header-action-buttons {
display: flex;
}
.ci-header-container {
min-height: 54px;
}
2015-09-25 12:07:36 +05:30
2017-09-10 17:25:29 +05:30
.page-content-header {
padding: 10px 0 9px;
}
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
.header-action-buttons {
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2017-09-10 17:25:29 +05:30
.sidebar-toggle-btn {
margin-top: 0;
margin-left: 10px;
max-height: 34px;
}
2017-08-17 22:00:37 +05:30
}
2015-09-25 12:07:36 +05:30
}
2017-08-17 22:00:37 +05:30
.header-content {
a {
color: $gl-text-color;
&:hover {
2018-11-20 20:47:30 +05:30
color: $blue-600;
2017-08-17 22:00:37 +05:30
text-decoration: none;
}
2015-09-25 12:07:36 +05:30
}
}
code {
color: $code-color;
}
.avatar {
float: none;
margin-right: 2px;
margin-left: 2px;
}
2015-09-25 12:07:36 +05:30
}
2016-06-02 11:05:42 +05:30
.right-sidebar.build-sidebar {
2017-09-10 17:25:29 +05:30
padding: 0;
&.right-sidebar-collapsed {
display: none;
}
2017-09-10 17:25:29 +05:30
.sidebar-container {
width: calc(100% + 100px);
padding-right: 100px;
height: 100%;
overflow-y: scroll;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}
2016-09-13 17:45:13 +05:30
.blocks-container {
2016-09-29 09:46:39 +05:30
padding: 0 $gl-padding;
2017-09-10 17:25:29 +05:30
width: 289px;
2016-09-13 17:45:13 +05:30
}
.block {
width: 100%;
2018-11-18 11:00:15 +05:30
word-break: break-word;
2017-09-10 17:25:29 +05:30
&:last-child {
border-bottom: 1px solid $border-gray-normal;
}
2016-11-03 12:29:30 +05:30
&.coverage {
padding: 0 16px 11px;
}
2016-09-29 09:46:39 +05:30
}
2017-09-10 17:25:29 +05:30
.block-last {
padding: 16px 0;
}
2019-02-15 15:39:39 +05:30
.trigger-variables-btn-container {
justify-content: space-between;
align-items: center;
.trigger-variables-btn {
margin-top: -5px;
margin-bottom: -5px;
}
}
2017-09-10 17:25:29 +05:30
.trigger-build-variables {
margin: 0;
overflow-x: auto;
2019-02-15 15:39:39 +05:30
width: 100%;
2017-09-10 17:25:29 +05:30
-ms-overflow-style: scrollbar;
-webkit-overflow-scrolling: touch;
}
.trigger-build-variable {
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-normal;
2016-09-29 09:46:39 +05:30
color: $code-color;
}
2017-09-10 17:25:29 +05:30
.trigger-build-value {
2016-09-29 09:46:39 +05:30
padding: 2px 4px;
color: $black;
2019-02-15 15:39:39 +05:30
}
.trigger-variables-table-cell {
font-size: $gl-font-size-small;
line-height: $gl-line-height;
2019-03-02 22:35:43 +05:30
border: 1px solid $gray-200;
2019-02-15 15:39:39 +05:30
padding: $gl-padding-4 6px;
width: 50%;
vertical-align: top;
2016-09-29 09:46:39 +05:30
}
2018-11-08 19:23:39 +05:30
.badge.badge-pill {
2017-09-10 17:25:29 +05:30
margin-left: 2px;
}
2016-09-13 17:45:13 +05:30
2016-09-29 09:46:39 +05:30
.retry-link {
2019-03-02 22:35:43 +05:30
display: block;
2017-09-10 17:25:29 +05:30
.btn-inverted-secondary {
color: $blue-500;
&:hover {
color: $white-light;
}
2016-09-29 09:46:39 +05:30
}
}
2016-09-13 17:45:13 +05:30
.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;
max-height: 300px;
2017-09-10 17:25:29 +05:30
width: 289px;
2016-09-29 09:46:39 +05:30
overflow: auto;
2016-09-13 17:45:13 +05:30
svg {
position: relative;
2018-03-17 18:26:18 +05:30
top: 3px;
2016-09-13 17:45:13 +05:30
margin-right: 3px;
2018-03-17 18:26:18 +05:30
height: 14px;
width: 14px;
2016-09-13 17:45:13 +05:30
}
a {
padding: $gl-padding 10px $gl-padding 40px;
width: 270px;
&:hover {
color: $gl-text-color;
}
}
2019-07-31 22:56:46 +05:30
.icon-arrow-right {
left: 15px;
top: 20px;
}
2016-09-13 17:45:13 +05:30
2019-07-31 22:56:46 +05:30
.build-job {
2016-09-13 17:45:13 +05:30
&.active {
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-bold;
2016-09-13 17:45:13 +05:30
}
2016-11-03 12:29:30 +05:30
&.retried {
background-color: $gray-lightest;
}
2016-09-13 17:45:13 +05:30
&:hover {
2018-11-20 20:47:30 +05:30
background-color: $gray-darker;
2016-09-13 17:45:13 +05:30
}
}
}
2017-09-10 17:25:29 +05:30
.link-commit {
color: $blue-600;
}
}
2017-08-17 22:00:37 +05:30
.build-sidebar {
.container-fluid.container-limited {
max-width: 100%;
}
.content-wrapper {
padding-bottom: 6px;
}
}
.build-detail-row {
margin-bottom: 5px;
2016-11-03 12:29:30 +05:30
&:last-of-type {
margin-bottom: 0;
}
}
.build-light-text {
2017-08-17 22:00:37 +05:30
color: $gl-text-color-secondary;
2017-09-10 17:25:29 +05:30
word-wrap: break-word;
}
.build-gutter-toggle {
position: absolute;
top: 50%;
right: 0;
margin-top: -17px;
}
2019-07-07 11:18:12 +05:30
@include media-breakpoint-down(sm) {
.top-bar {
.truncated-info {
white-space: nowrap;
overflow: hidden;
max-width: 220px;
text-overflow: ellipsis;
}
}
}