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

78 lines
1.3 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;
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 {
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 {
2020-10-24 23:57:45 +05:30
@include status-color($gray-100, $gray-300, $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 {
2020-11-24 15:15:51 +05:30
@include status-color($orange-50, $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 {
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
}
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;
}
}