debian-mirror-gitlab/app/assets/stylesheets/page_bundles/build.scss

295 lines
4.7 KiB
SCSS
Raw Normal View History

2021-01-29 00:20:46 +05:30
@import 'mixins_and_variables_and_functions';
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;
2020-11-24 15:15:51 +05:30
background-color: $orange-50;
2018-12-13 13:39:08 +05:30
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 {
2020-11-24 15:15:51 +05:30
@include build-trace-top-bar(50px);
2018-12-13 13:39:08 +05:30
&.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;
2020-10-24 23:57:45 +05:30
top: 3px;
2017-09-10 17:25:29 +05:30
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
.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 {
2021-01-03 14:25:43 +05:30
display: flex;
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 {
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;
2020-07-28 23:09:34 +05:30
border: 1px solid $gray-100;
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 {
2020-04-22 19:07:51 +05:30
color: $white;
2017-09-10 17:25:29 +05:30
}
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 {
2020-04-22 19:07:51 +05:30
background-color: $white;
2016-09-13 17:45:13 +05:30
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 {
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;
}
}
2021-01-29 00:20:46 +05:30
@include media-breakpoint-down(md) {
.content-list {
&.builds-content-list {
width: 100%;
overflow: auto;
2019-07-07 11:18:12 +05:30
}
}
}