2020-10-23 05:08:41 -04:00
|
|
|
@import 'mixins_and_variables_and_functions';
|
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
.ci-status {
|
|
|
|
padding: 2px 7px 4px;
|
2020-12-16 13:10:10 -05:00
|
|
|
border: 1px solid var(--border-color, $border-color);
|
2017-06-16 08:00:28 -04:00
|
|
|
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;
|
|
|
|
overflow: visible;
|
|
|
|
}
|
2015-09-24 05:21:10 -04:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
&.ci-failed {
|
2020-12-16 13:10:10 -05:00
|
|
|
@include status-color(
|
|
|
|
var(--red-100, $red-100),
|
|
|
|
var(--red-500, $red-500),
|
|
|
|
var(--red-600, $red-600)
|
|
|
|
);
|
2017-06-16 08:00:28 -04:00
|
|
|
}
|
2016-11-21 18:14:40 -05:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
&.ci-success {
|
2017-07-13 04:53:19 -04:00
|
|
|
@include green-status-color;
|
2017-06-16 08:00:28 -04:00
|
|
|
}
|
2016-11-21 18:14:40 -05:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
&.ci-canceled,
|
2020-11-18 10:09:08 -05:00
|
|
|
&.ci-skipped,
|
2017-06-16 08:00:28 -04:00
|
|
|
&.ci-disabled,
|
2018-09-28 05:52:30 -04:00
|
|
|
&.ci-scheduled,
|
2017-06-16 08:00:28 -04:00
|
|
|
&.ci-manual {
|
2020-12-16 13:10:10 -05:00
|
|
|
color: var(--gl-text-color, $gl-text-color);
|
|
|
|
border-color: currentColor;
|
2016-03-25 10:55:08 -04:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
&:not(span):hover {
|
2019-02-25 14:03:21 -05:00
|
|
|
background-color: rgba($gl-text-color, 0.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
|
|
|
|
2019-10-07 17:07:54 -04:00
|
|
|
&.ci-preparing {
|
2020-12-16 13:10:10 -05:00
|
|
|
@include status-color(
|
|
|
|
var(--gray-100, $gray-100),
|
|
|
|
var(--gray-300, $gray-300),
|
|
|
|
var(--gray-400, $gray-400)
|
|
|
|
);
|
2019-10-07 17:07:54 -04:00
|
|
|
}
|
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
&.ci-pending,
|
2019-12-24 07:08:01 -05:00
|
|
|
&.ci-waiting-for-resource,
|
2019-04-12 08:39:10 -04:00
|
|
|
&.ci-failed-with-warnings,
|
|
|
|
&.ci-success-with-warnings {
|
2020-12-16 13:10:10 -05:00
|
|
|
@include status-color(
|
|
|
|
var(--orange-50, $orange-50),
|
|
|
|
var(--orange-500, $orange-500),
|
|
|
|
var(--orange-700, $orange-700)
|
|
|
|
);
|
2017-06-16 08:00:28 -04:00
|
|
|
}
|
2016-07-19 09:47:26 -04:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
&.ci-info,
|
|
|
|
&.ci-running {
|
2020-12-16 13:10:10 -05:00
|
|
|
@include status-color(
|
|
|
|
var(--blue-100, $blue-100),
|
|
|
|
var(--blue-500, $blue-500),
|
|
|
|
var(--blue-600, $blue-600)
|
|
|
|
);
|
2017-06-16 08:00:28 -04:00
|
|
|
}
|
2016-08-30 12:55:57 -04:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
&.ci-created,
|
|
|
|
&.ci-skipped {
|
2020-12-16 13:10:10 -05:00
|
|
|
color: var(--gray-500, $gray-500);
|
|
|
|
border-color: currentColor;
|
2016-11-21 18:14:40 -05:00
|
|
|
|
2017-06-16 08:00:28 -04:00
|
|
|
&:not(span):hover {
|
2019-02-25 14:03:21 -05:00
|
|
|
background-color: rgba($gl-text-color-secondary, 0.07);
|
2016-08-30 12:55:57 -04:00
|
|
|
}
|
2015-09-24 05:21:10 -04:00
|
|
|
}
|
2015-12-12 13:18:51 -05:00
|
|
|
}
|