debian-mirror-gitlab/app/assets/stylesheets/page_bundles/build.scss
2023-06-20 00:43:36 +05:30

216 lines
3.8 KiB
SCSS

@import 'mixins_and_variables_and_functions';
.build-page {
.build-log {
@include build-log();
}
.archived-job {
top: $calc-application-header-height;
border-radius: 2px 2px 0 0;
color: var(--orange-600, $orange-600);
background-color: var(--orange-50, $orange-50);
border: 1px solid var(--border-color, $border-color);
}
.top-bar {
@include build-log-top-bar(50px);
&.has-archived-block {
top: calc(#{$calc-application-header-height} + 28px);
}
&.affix {
top: $calc-application-header-height;
// with sidebar
&.sidebar-expanded {
right: 306px;
left: 16px;
}
// without sidebar
&.sidebar-collapsed {
right: 16px;
left: 16px;
}
}
.controllers {
@include build-controllers(15px, center, false, 0, inline, 0);
}
}
.environment-information {
border: 1px solid var(--border-color, $border-color);
padding: 8px $gl-padding 12px;
border-radius: $border-radius-default;
svg {
position: relative;
top: 3px;
margin-right: 5px;
width: 22px;
height: 22px;
}
}
.build-loader-animation {
@include build-loader-animation;
float: left;
padding-left: $gl-padding-8;
}
}
.build-header {
.page-content-header {
padding: 10px 0 9px;
}
.header-content {
a {
color: var(--gl-text-color, $gl-text-color);
&:hover {
color: var(--blue-600, $blue-600);
text-decoration: none;
}
}
}
.avatar {
float: none;
margin-right: 2px;
margin-left: 2px;
}
}
.right-sidebar.build-sidebar {
padding: 0;
&.right-sidebar-collapsed {
display: none;
}
.sidebar-container {
padding-right: 100px;
height: 100%;
overflow-y: scroll;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}
.blocks-container {
padding: 0 $gl-padding;
width: 289px;
}
.trigger-variables-btn-container {
justify-content: space-between;
align-items: center;
.trigger-variables-btn {
margin-top: -5px;
margin-bottom: -5px;
}
}
.trigger-build-variables {
margin: 0;
overflow-x: auto;
width: 100%;
-ms-overflow-style: scrollbar;
-webkit-overflow-scrolling: touch;
}
.trigger-build-variable {
font-weight: $gl-font-weight-normal;
color: var(--gray-950, $gray-950);
}
.trigger-build-value {
padding: 2px 4px;
color: var(--black, $black);
}
.trigger-variables-table-cell {
font-size: $gl-font-size-small;
line-height: $gl-line-height;
border: 1px solid $gray-100;
padding: $gl-padding-4 6px;
width: 50%;
vertical-align: top;
}
.badge.badge-pill {
margin-left: 2px;
}
.stage-item {
cursor: pointer;
&:hover {
color: var(--gl-text-color, $gl-text-color);
}
}
.builds-container {
background-color: var(--white, $white);
border-top: 1px solid var(--border-color, $border-color);
border-bottom: 1px solid var(--border-color, $border-color);
max-height: 300px;
width: 289px;
overflow: auto;
a {
padding: $gl-padding 10px $gl-padding 40px;
width: 270px;
&:hover {
color: var(--gl-text-color, $gl-text-color);
}
}
.icon-arrow-right {
left: 15px;
top: 20px;
}
.build-job {
&.retried {
background-color: var(--gray-10, $gray-10);
}
&:hover {
background-color: var(--gray-50, $gray-50);
}
}
}
}
.build-sidebar {
.container-fluid.container-limited {
max-width: 100%;
}
.content-wrapper {
padding-bottom: 6px;
}
}
.build-detail-row {
margin-bottom: 5px;
&:last-of-type {
margin-bottom: 0;
}
}
@include media-breakpoint-down(md) {
.content-list {
&.builds-content-list {
width: 100%;
overflow: auto;
}
}
}