gitlab-org--gitlab-foss/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.

83 lines
1.5 KiB
SCSS
Raw Normal View History

@import 'mixins_and_variables_and_functions';
.ci-status {
padding: 2px 7px 4px;
border: 1px solid var(--border-color, $border-color);
white-space: nowrap;
border-radius: 4px;
&:hover,
&:focus {
text-decoration: none;
}
svg {
height: 13px;
width: 13px;
overflow: visible;
}
&.ci-failed {
@include status-color(
var(--red-100, $red-100),
var(--red-500, $red-500),
var(--red-600, $red-600)
);
}
&.ci-success {
@include green-status-color;
}
&.ci-canceled,
&.ci-skipped,
&.ci-disabled,
&.ci-scheduled,
&.ci-manual {
color: var(--gl-text-color, $gl-text-color);
border-color: currentColor;
&:not(span):hover {
background-color: rgba($gl-text-color, 0.07);
}
}
&.ci-preparing {
@include status-color(
var(--gray-100, $gray-100),
var(--gray-300, $gray-300),
var(--gray-400, $gray-400)
);
}
&.ci-pending,
&.ci-waiting-for-resource,
2019-04-12 08:39:10 -04:00
&.ci-failed-with-warnings,
&.ci-success-with-warnings {
@include status-color(
var(--orange-50, $orange-50),
var(--orange-500, $orange-500),
var(--orange-700, $orange-700)
);
}
2016-07-19 09:47:26 -04:00
&.ci-info,
&.ci-running {
@include status-color(
var(--blue-100, $blue-100),
var(--blue-500, $blue-500),
var(--blue-600, $blue-600)
);
}
2016-08-30 12:55:57 -04:00
&.ci-created,
&.ci-skipped {
color: var(--gray-500, $gray-500);
border-color: currentColor;
&:not(span):hover {
background-color: rgba($gl-text-color-secondary, 0.07);
2016-08-30 12:55:57 -04:00
}
}
}