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

78 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 {
@include status-color($red-50, $red-500, $red-600);
}
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,
&.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 {
@include status-color($orange-50, $orange-500, $orange-700);
}
2016-09-29 09:46:39 +05:30
2017-09-10 17:25:29 +05:30
&.ci-info,
&.ci-running {
@include status-color($blue-50, $blue-500, $blue-600);
}
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-08-24 12:49:21 +05:30
2017-09-10 17:25:29 +05:30
svg {
fill: $gl-text-color-secondary;
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
.visible-xs-inline {
.ci-status-link {
position: relative;
top: 2px;
left: 5px;
}
}
2017-08-17 22:00:37 +05:30
.ci-status-link {
svg {
overflow: visible;
}
}