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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

79 lines
1.4 KiB
SCSS
Raw Normal View History

2021-01-29 00:20:46 +05:30
@import 'mixins_and_variables_and_functions';
2017-09-10 17:25:29 +05:30
.ci-status {
2021-02-22 17:27:13 +05:30
border: 1px solid var(--border-color, $border-color);
2017-09-10 17:25:29 +05:30
&:hover,
&:focus {
text-decoration: none;
}
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
svg {
height: 13px;
width: 13px;
overflow: visible;
}
2016-06-02 11:05:42 +05:30
2017-09-10 17:25:29 +05:30
&.ci-failed {
2021-02-22 17:27:13 +05:30
@include status-color(
var(--red-100, $red-100),
var(--red-500, $red-500),
var(--red-600, $red-600)
);
2017-09-10 17:25:29 +05:30
}
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
&.ci-success {
@include green-status-color;
}
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
&.ci-canceled,
&.ci-disabled,
2018-12-05 23:21:45 +05:30
&.ci-scheduled,
2017-09-10 17:25:29 +05:30
&.ci-manual {
2021-02-22 17:27:13 +05:30
color: var(--gl-text-color, $gl-text-color);
border-color: currentColor;
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
&:not(span):hover {
2019-07-07 11:18:12 +05:30
background-color: rgba($gl-text-color, 0.07);
2016-06-02 11:05:42 +05:30
}
2017-09-10 17:25:29 +05:30
}
2016-08-24 12:49:21 +05:30
2019-12-21 20:55:43 +05:30
&.ci-preparing {
2021-02-22 17:27:13 +05:30
@include status-color(
var(--gray-100, $gray-100),
var(--gray-300, $gray-300),
var(--gray-400, $gray-400)
);
2019-12-21 20:55:43 +05:30
}
2017-09-10 17:25:29 +05:30
&.ci-pending,
2020-03-13 15:44:24 +05:30
&.ci-waiting-for-resource,
2019-07-31 22:56:46 +05:30
&.ci-failed-with-warnings,
&.ci-success-with-warnings {
2021-02-22 17:27:13 +05:30
@include status-color(
var(--orange-50, $orange-50),
var(--orange-500, $orange-500),
var(--orange-700, $orange-700)
);
2017-09-10 17:25:29 +05:30
}
2016-09-29 09:46:39 +05:30
2017-09-10 17:25:29 +05:30
&.ci-info,
&.ci-running {
2021-02-22 17:27:13 +05:30
@include status-color(
var(--blue-100, $blue-100),
var(--blue-500, $blue-500),
var(--blue-600, $blue-600)
);
2017-09-10 17:25:29 +05:30
}
2015-10-24 18:46:33 +05:30
2017-09-10 17:25:29 +05:30
&.ci-created,
&.ci-skipped {
2021-02-22 17:27:13 +05:30
color: var(--gray-500, $gray-500);
border-color: currentColor;
2016-11-03 12:29:30 +05:30
2017-09-10 17:25:29 +05:30
&:not(span):hover {
2019-07-07 11:18:12 +05:30
background-color: rgba($gl-text-color-secondary, 0.07);
2017-08-17 22:00:37 +05:30
}
2016-06-02 11:05:42 +05:30
}
2015-12-23 02:04:40 +05:30
}