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

238 lines
4.1 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 {
2021-11-18 22:05:49 +05:30
.build-log {
@include build-log();
2018-12-13 13:39:08 +05:30
}
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;
2021-04-29 21:17:54 +05:30
color: var(--orange-600, $orange-600);
background-color: var(--orange-50, $orange-50);
border: 1px solid var(--border-color, $border-color);
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 {
2021-11-18 22:05:49 +05:30
@include build-log-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 {
2021-02-22 17:27:13 +05:30
border: 1px solid var(--border-color, $border-color);
2017-09-10 17:25:29 +05:30
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
.header-content {
a {
2021-04-29 21:17:54 +05:30
color: var(--gl-text-color, $gl-text-color);
2017-08-17 22:00:37 +05:30
&:hover {
2021-04-29 21:17:54 +05:30
color: var(--blue-600, $blue-600);
2017-08-17 22:00:37 +05:30
text-decoration: none;
}
2015-09-25 12:07:36 +05:30
}
}
.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
}
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;
2021-04-29 21:17:54 +05:30
color: var(--gray-950, $gray-950);
2016-09-29 09:46:39 +05:30
}
2017-09-10 17:25:29 +05:30
.trigger-build-value {
2016-09-29 09:46:39 +05:30
padding: 2px 4px;
2021-04-29 21:17:54 +05:30
color: var(--black, $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
.stage-item {
cursor: pointer;
&:hover {
2021-04-29 21:17:54 +05:30
color: var(--gl-text-color, $gl-text-color);
2016-09-13 17:45:13 +05:30
}
}
.builds-container {
2021-02-22 17:27:13 +05:30
background-color: var(--white, $white);
border-top: 1px solid var(--border-color, $border-color);
border-bottom: 1px solid var(--border-color, $border-color);
2016-09-13 17:45:13 +05:30
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 {
2021-02-22 17:27:13 +05:30
color: var(--gl-text-color, $gl-text-color);
2016-09-13 17:45:13 +05:30
}
}
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-11-03 12:29:30 +05:30
&.retried {
2021-04-29 21:17:54 +05:30
background-color: var(--gray-10, $gray-10);
2016-11-03 12:29:30 +05:30
}
2016-09-13 17:45:13 +05:30
&:hover {
2021-02-22 17:27:13 +05:30
background-color: var(--gray-50, $gray-50);
2016-09-13 17:45:13 +05:30
}
}
}
}
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
}
}
}