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

417 lines
6.6 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);
box-shadow: 12px 0 0 0 rgba($white-light,0.2),
24px 0 0 0 rgba($white-light,0.2);
}
25% {
background-color: rgba($white-light, 0.4);
box-shadow: 12px 0 0 0 rgba($white-light,2),
24px 0 0 0 rgba($white-light,0.2);
}
75% {
background-color: rgba($white-light, 0.4);
box-shadow: 12px 0 0 0 rgba($white-light,0.2),
24px 0 0 0 rgba($white-light,1);
}
100% {
background-color: rgba($white-light, 1);
box-shadow: 12px 0 0 0 rgba($white-light,0.2),
24px 0 0 0 rgba($white-light,0.2);
}
}
2015-10-24 18:46:33 +05:30
.build-page {
2015-09-25 12:07:36 +05:30
pre.trace {
2017-08-17 22:00:37 +05:30
background: $builds-trace-bg;
color: $white-light;
2015-09-25 12:07:36 +05:30
font-family: $monospace_font;
white-space: pre-wrap;
2015-09-25 12:07:36 +05:30
overflow: auto;
overflow-y: hidden;
font-size: 12px;
2017-08-17 22:00:37 +05:30
.fa-spinner {
2015-09-25 12:07:36 +05:30
font-size: 24px;
margin-left: 20px;
}
}
2017-08-17 22:00:37 +05:30
.environment-information {
background-color: $gray-light;
border: 1px solid $border-color;
padding: 12px $gl-padding;
border-radius: $border-radius-default;
svg {
position: relative;
top: 1px;
margin-right: 5px;
}
2015-09-25 12:07:36 +05:30
}
2017-08-17 22:00:37 +05:30
.truncated-info {
text-align: center;
border-bottom: 1px solid;
background-color: $black;
height: 45px;
padding: 15px;
&.affix {
top: 0;
}
// with sidebar
&.affix.sidebar-expanded {
right: 312px;
left: 22px;
}
// without sidebar
&.affix.sidebar-collapsed {
right: 20px;
left: 20px;
}
2016-06-02 11:05:42 +05:30
&.affix-top {
position: absolute;
2017-08-17 22:00:37 +05:30
top: 0;
margin: 0 auto;
right: 5px;
left: 5px;
}
.truncated-info-size {
margin: 0 5px;
}
.raw-link {
color: inherit;
margin-left: 5px;
text-decoration: underline;
}
}
}
.scroll-controls {
height: 100%;
.scroll-step {
width: 31px;
margin: 0 0 0 auto;
}
.scroll-link,
.autoscroll-container {
right: 25px;
z-index: 1;
}
.scroll-link {
position: fixed;
display: block;
margin-bottom: 10px;
&.scroll-top .gitlab-icon-scroll-up-hover,
&.scroll-top:hover .gitlab-icon-scroll-up,
&.scroll-bottom .gitlab-icon-scroll-down-hover,
&.scroll-bottom:hover .gitlab-icon-scroll-down {
display: none;
}
&.scroll-top:hover .gitlab-icon-scroll-up-hover,
&.scroll-bottom:hover .gitlab-icon-scroll-down-hover {
display: inline-block;
}
&.scroll-top {
2016-06-02 11:05:42 +05:30
top: 10px;
}
2017-08-17 22:00:37 +05:30
&.scroll-bottom {
bottom: -2px;
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-08-17 22:00:37 +05:30
.autoscroll-container {
position: absolute;
}
2016-06-02 11:05:42 +05:30
2017-08-17 22:00:37 +05:30
&.sidebar-expanded {
.scroll-link,
.autoscroll-container {
right: ($gutter_width + ($gl-padding * 2));
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-08-17 22:00:37 +05:30
.status-message {
display: inline-block;
color: $white-light;
.status-icon {
display: inline-block;
width: 16px;
height: 33px;
}
.status-text {
float: left;
opacity: 0;
margin-right: 10px;
font-weight: normal;
line-height: 1.8;
transition: opacity 1s ease-out;
&.animate {
animation: fade-out-status 2s ease;
2015-09-25 12:07:36 +05:30
}
}
2017-08-17 22:00:37 +05:30
&:hover .status-text {
opacity: 1;
}
}
2015-09-25 12:07:36 +05:30
.build-header {
position: relative;
2017-08-17 22:00:37 +05:30
padding: 0;
display: flex;
min-height: 58px;
align-items: center;
2015-09-25 12:07:36 +05:30
2017-08-17 22:00:37 +05:30
@media (max-width: $screen-sm-max) {
padding-right: 40px;
margin-top: 6px;
.btn-inverted {
display: none;
}
2015-09-25 12:07:36 +05:30
}
2017-08-17 22:00:37 +05:30
.header-content {
flex: 1;
line-height: 1.8;
2015-09-25 12:07:36 +05:30
2017-08-17 22:00:37 +05:30
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
.build-trace {
2017-08-17 22:00:37 +05:30
background: $black;
color: $gray-darkest;
white-space: pre;
overflow-x: auto;
font-size: 12px;
2017-08-17 22:00:37 +05:30
position: relative;
2017-08-17 22:00:37 +05:30
.fa-spinner {
font-size: 24px;
}
.bash {
display: block;
}
2017-08-17 22:00:37 +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;
}
}
.right-sidebar.build-sidebar {
2016-09-13 17:45:13 +05:30
padding: $gl-padding 0;
&.right-sidebar-collapsed {
display: none;
}
2016-09-13 17:45:13 +05:30
.blocks-container {
2016-09-29 09:46:39 +05:30
padding: 0 $gl-padding;
2016-09-13 17:45:13 +05:30
}
.block {
width: 100%;
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
}
.js-build-variable {
color: $code-color;
}
.js-build-value {
padding: 2px 4px;
color: $black;
background-color: $white-light;
}
.build-sidebar-header {
2016-09-13 17:45:13 +05:30
padding: 0 $gl-padding $gl-padding;
.gutter-toggle {
margin-top: 0;
}
}
2016-09-13 17:45:13 +05:30
2016-09-29 09:46:39 +05:30
.retry-link {
color: $gl-link-color;
2017-08-17 22:00:37 +05:30
display: none;
2016-11-03 12:29:30 +05:30
2016-09-29 09:46:39 +05:30
&:hover {
text-decoration: underline;
}
2017-08-17 22:00:37 +05:30
@media (max-width: $screen-sm-max) {
display: block;
}
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 {
right: $gl-padding;
left: $gl-padding;
width: auto;
}
}
.builds-container {
background-color: $white-light;
border-top: 1px solid $border-color;
border-bottom: 1px solid $border-color;
max-height: 300px;
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-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;
}
.build-gutter-toggle {
position: absolute;
top: 50%;
right: 0;
margin-top: -17px;
}