Commit 80c3cbfb authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Make sure ci status colors are same and respected on most pages

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 02b585e9
.ci-status { body .content {
padding: 2px 7px; .ci-status {
margin-right: 5px; padding: 2px 7px;
border: 1px solid #eee; margin-right: 5px;
white-space: nowrap; border: 1px solid #eee;
@include border-radius(4px); white-space: nowrap;
@include border-radius(4px);
&:hover { &:hover {
text-decoration: none; text-decoration: none;
} }
&.ci-failed { &.ci-failed {
color: $gl-danger; color: $gl-danger;
border-color: $gl-danger; border-color: $gl-danger;
} }
&.ci-success { &.ci-success {
color: $gl-success; color: $gl-success;
border-color: $gl-success; border-color: $gl-success;
} }
&.ci-info { &.ci-info {
color: $gl-info; color: $gl-info;
border-color: $gl-info; border-color: $gl-info;
} }
&.ci-disabled { &.ci-canceled,
color: $gl-gray; &.ci-skipped,
border-color: $gl-gray; &.ci-disabled {
color: $gl-gray;
border-color: $gl-gray;
}
&.ci-pending,
&.ci-running {
color: $gl-warning;
border-color: $gl-warning;
}
} }
&.ci-pending, .ci-status-icon-success {
&.ci-running { color: $gl-success;
}
.ci-status-icon-failed {
color: $gl-danger;
}
.ci-status-icon-running,
.ci-status-icon-pending {
color: $gl-warning; color: $gl-warning;
border-color: $gl-warning;
} }
} .ci-status-icon-canceled,
.ci-status-icon-disabled,
.ci-status-icon-success { .ci-status-icon-not-found,
color: $gl-text-green !important; .ci-status-icon-skipped {
} color: $gl-gray;
.ci-status-icon-failed { }
color: $gl-text-red !important;
}
.ci-status-icon-running,
.ci-status-icon-pending {
color: $gl-text-orange !important;
}
.ci-status-icon-canceled,
.ci-status-icon-disabled,
.ci-status-icon-not-found,
.ci-status-icon-skipped {
color: $gl-gray !important;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment