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

437 lines
7.2 KiB
SCSS
Raw Normal View History

2017-08-17 22:00:37 +05:30
@keyframes fade-out-status {
0%, 50% { opacity: 1; }
100% { opacity: 0; }
}
@keyframes blinking-dots {
0% {
background-color: rgba($white-light, 1);
2017-09-10 17:25:29 +05:30
box-shadow: 12px 0 0 0 rgba($white-light, 0.2),
24px 0 0 0 rgba($white-light, 0.2);
2017-08-17 22:00:37 +05:30
}
25% {
background-color: rgba($white-light, 0.4);
2017-09-10 17:25:29 +05:30
box-shadow: 12px 0 0 0 rgba($white-light, 2),
24px 0 0 0 rgba($white-light, 0.2);
2017-08-17 22:00:37 +05:30
}
75% {
background-color: rgba($white-light, 0.4);
2017-09-10 17:25:29 +05:30
box-shadow: 12px 0 0 0 rgba($white-light, 0.2),
24px 0 0 0 rgba($white-light, 1);
2017-08-17 22:00:37 +05:30
}
100% {
background-color: rgba($white-light, 1);
2017-09-10 17:25:29 +05:30
box-shadow: 12px 0 0 0 rgba($white-light, 0.2),
24px 0 0 0 rgba($white-light, 0.2);
2017-08-17 22:00:37 +05:30
}
}
2017-09-10 17:25:29 +05:30
@keyframes blinking-scroll-button {
0% { opacity: 0.2; }
25% { opacity: 0.5; }
50% { opacity: 0.7; }
100% { opacity: 1; }
}
2015-09-25 12:07:36 +05:30
2017-09-10 17:25:29 +05:30
.build-page {
.build-trace-container {
position: relative;
2015-09-25 12:07:36 +05:30
}
2017-09-10 17:25:29 +05:30
.build-trace {
background: $black;
color: $gray-darkest;
white-space: pre;
overflow-x: auto;
font-size: 12px;
border-radius: 0;
border: none;
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
.bash {
display: block;
2017-08-17 22:00:37 +05:30
}
2015-09-25 12:07:36 +05:30
}
2017-09-10 17:25:29 +05:30
.top-bar {
height: 35px;
display: flex;
justify-content: flex-end;
background: $gray-light;
border: 1px solid $border-color;
color: $gl-text-color;
position: sticky;
position: -webkit-sticky;
top: $header-height;
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
}
// with sidebar
&.affix.sidebar-expanded {
2017-09-10 17:25:29 +05:30
right: 306px;
left: 16px;
2017-08-17 22:00:37 +05:30
}
// without sidebar
&.affix.sidebar-collapsed {
2017-09-10 17:25:29 +05:30
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
.truncated-info {
margin: 0 auto;
align-self: center;
.truncated-info-size {
margin: 0 5px;
}
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
.raw-link {
color: $gl-text-color;
margin-left: 5px;
text-decoration: underline;
}
2017-08-17 22:00:37 +05:30
}
2017-09-10 17:25:29 +05:30
.controllers {
display: flex;
font-size: 15px;
justify-content: center;
align-items: center;
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
svg {
height: 15px;
display: block;
fill: $gl-text-color;
}
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
.controllers-buttons {
color: $gl-text-color;
margin: 0 10px;
}
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
.btn-scroll.animate {
.first-triangle {
animation: blinking-scroll-button 1s ease infinite;
animation-delay: .3s;
}
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
.second-triangle {
animation: blinking-scroll-button 1s ease infinite;
animation-delay: .2s;
}
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
.third-triangle {
animation: blinking-scroll-button 1s ease infinite;
}
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
&:disabled {
opacity: 1;
}
}
2016-06-02 11:05:42 +05:30
2017-09-10 17:25:29 +05:30
.btn-scroll:disabled {
opacity: 0.35;
cursor: not-allowed;
}
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 {
position: relative;
width: 6px;
height: 6px;
margin: auto auto 12px 2px;
border-radius: 50%;
animation: blinking-dots 1s linear infinite;
2017-08-17 22:00:37 +05:30
}
2017-09-10 17:25:29 +05:30
}
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
.with-performance-bar .build-page {
.top-bar {
top: $header-height + $performance-bar-height;
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
&.affix {
top: $header-height + $performance-bar-height;
2015-09-25 12:07:36 +05:30
}
}
}
2015-09-25 12:07:36 +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 {
@media (max-width: $screen-xs-max) {
.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 {
color: $gl-link-color;
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%;
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;
}
.btn-group-justified {
margin-top: 5px;
}
2016-09-29 09:46:39 +05:30
}
2017-09-10 17:25:29 +05:30
.block-last {
padding: 16px 0;
}
.trigger-build-variables {
margin: 0;
overflow-x: auto;
-ms-overflow-style: scrollbar;
-webkit-overflow-scrolling: touch;
}
.trigger-build-variable {
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;
background-color: $white-light;
}
2017-09-10 17:25:29 +05:30
.label {
margin-left: 2px;
}
2016-09-13 17:45:13 +05:30
2016-09-29 09:46:39 +05:30
.retry-link {
2017-08-17 22:00:37 +05:30
display: none;
2016-11-03 12:29:30 +05:30
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
}
2017-08-17 22:00:37 +05:30
@media (max-width: $screen-sm-max) {
display: block;
2017-09-10 17:25:29 +05:30
.btn {
i {
margin-left: 5px;
}
}
2017-08-17 22:00:37 +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;
}
}
.build-dropdown {
2016-09-29 09:46:39 +05:30
padding: $gl-padding 0;
2016-09-13 17:45:13 +05:30
.dropdown-menu-toggle {
margin-top: 8px;
}
.dropdown-menu {
2017-09-10 17:25:29 +05:30
margin-top: -$gl-padding;
}
svg {
position: relative;
top: 2px;
margin-right: 3px;
2016-09-13 17:45:13 +05:30
}
}
.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;
top: 2px;
margin-right: 3px;
height: 13px;
}
a {
display: block;
padding: $gl-padding 10px $gl-padding 40px;
width: 270px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&:hover {
color: $gl-text-color;
}
}
.build-job {
position: relative;
2016-11-03 12:29:30 +05:30
.fa-arrow-right {
2016-09-13 17:45:13 +05:30
position: absolute;
left: 15px;
top: 20px;
display: none;
}
&.active {
font-weight: bold;
2016-11-03 12:29:30 +05:30
.fa-arrow-right {
2016-09-13 17:45:13 +05:30
display: block;
}
}
2016-11-03 12:29:30 +05:30
&.retried {
background-color: $gray-lightest;
}
2016-09-13 17:45:13 +05:30
&:hover {
background-color: $row-hover;
}
2016-11-03 12:29:30 +05:30
.fa-refresh {
font-size: 13px;
margin-left: 3px;
}
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;
}