2017-06-16 08:00:28 -04:00
|
|
|
@mixin status-color($color-light, $color-main, $color-dark) {
|
|
|
|
color: $color-main;
|
|
|
|
border-color: $color-main;
|
2016-11-22 13:38:53 -05:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
&:not(span):hover {
|
|
|
|
background-color: $color-light;
|
|
|
|
color: $color-dark;
|
|
|
|
border-color: $color-dark;
|
2016-11-21 18:14:40 -05:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
svg {
|
|
|
|
fill: $color-dark;
|
2016-03-25 10:55:08 -04:00
|
|
|
}
|
2017-06-16 08:00:28 -04:00
|
|
|
}
|
2015-09-24 05:21:10 -04:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
svg {
|
|
|
|
fill: $color-main;
|
|
|
|
}
|
|
|
|
}
|
2016-11-21 18:14:40 -05:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
.ci-status {
|
|
|
|
padding: 2px 7px 4px;
|
|
|
|
border: 1px solid $gray-darker;
|
|
|
|
white-space: nowrap;
|
|
|
|
border-radius: 4px;
|
2016-11-21 18:14:40 -05:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2016-11-21 18:14:40 -05:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
svg {
|
|
|
|
height: 13px;
|
|
|
|
width: 13px;
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
overflow: visible;
|
|
|
|
}
|
2015-09-24 05:21:10 -04:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
&.ci-failed {
|
|
|
|
@include status-color($red-50, $red-500, $red-600);
|
|
|
|
}
|
2016-11-21 18:14:40 -05:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
&.ci-success {
|
|
|
|
@include status-color($green-50, $green-500, $green-700);
|
|
|
|
}
|
2016-11-21 18:14:40 -05:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
&.ci-canceled,
|
|
|
|
&.ci-disabled,
|
|
|
|
&.ci-manual {
|
|
|
|
color: $gl-text-color;
|
|
|
|
border-color: $gl-text-color;
|
2016-03-25 10:55:08 -04:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
&:not(span):hover {
|
|
|
|
background-color: rgba($gl-text-color, .07);
|
2016-03-25 10:55:08 -04:00
|
|
|
}
|
2017-06-16 08:00:28 -04:00
|
|
|
}
|
2016-07-12 16:58:26 -04:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
&.ci-pending,
|
|
|
|
&.ci-failed_with_warnings,
|
|
|
|
&.ci-success_with_warnings {
|
|
|
|
@include status-color($orange-50, $orange-500, $orange-700);
|
|
|
|
}
|
2016-07-19 09:47:26 -04:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
&.ci-info,
|
|
|
|
&.ci-running {
|
|
|
|
@include status-color($blue-50, $blue-500, $blue-600);
|
|
|
|
}
|
2016-08-30 12:55:57 -04:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
&.ci-created,
|
|
|
|
&.ci-skipped {
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
border-color: $gl-text-color-secondary;
|
2016-11-21 18:14:40 -05:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
&:not(span):hover {
|
|
|
|
background-color: rgba($gl-text-color-secondary, .07);
|
2016-08-30 12:55:57 -04:00
|
|
|
}
|
2016-12-17 07:46:16 -05:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
svg {
|
|
|
|
fill: $gl-text-color-secondary;
|
2016-12-17 07:46:16 -05:00
|
|
|
}
|
2015-09-24 05:21:10 -04:00
|
|
|
}
|
2015-12-12 13:18:51 -05:00
|
|
|
}
|
2016-07-21 11:31:05 -04:00
|
|
|
|
|
|
|
.visible-xs-inline {
|
|
|
|
.ci-status-link {
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
left: 5px;
|
|
|
|
}
|
|
|
|
}
|
2016-12-09 11:18:19 -05:00
|
|
|
|
|
|
|
.ci-status-link {
|
|
|
|
svg {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
}
|