debian-mirror-gitlab/app/assets/stylesheets/pages/status.scss

75 lines
1.2 KiB
SCSS
Raw Normal View History

2017-09-10 17:25:29 +05:30
.ci-status {
padding: 2px 7px 4px;
border: 1px solid $gray-darker;
white-space: nowrap;
border-radius: 4px;
&: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;
position: relative;
top: 2px;
overflow: visible;
}
2016-06-02 11:05:42 +05:30
2017-09-10 17:25:29 +05:30
&.ci-failed {
2018-03-17 18:26:18 +05:30
@include status-color($red-100, $red-500, $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 {
color: $gl-text-color;
border-color: $gl-text-color;
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
&:not(span):hover {
background-color: rgba($gl-text-color, .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
2017-09-10 17:25:29 +05:30
&.ci-pending,
&.ci-failed_with_warnings,
&.ci-success_with_warnings {
2018-03-17 18:26:18 +05:30
@include status-color($orange-100, $orange-500, $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 {
2018-03-17 18:26:18 +05:30
@include status-color($blue-100, $blue-500, $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 {
color: $gl-text-color-secondary;
border-color: $gl-text-color-secondary;
2016-11-03 12:29:30 +05:30
2017-09-10 17:25:29 +05:30
&:not(span):hover {
background-color: rgba($gl-text-color-secondary, .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
}
2016-08-24 12:49:21 +05:30
2018-11-08 19:23:39 +05:30
.d-block.d-sm-none-inline {
2016-08-24 12:49:21 +05:30
.ci-status-link {
position: relative;
top: 2px;
left: 5px;
}
}
2017-08-17 22:00:37 +05:30
.ci-status-link {
svg {
overflow: visible;
}
}