gitlab-org--gitlab-foss/app/assets/stylesheets/pages/status.scss

144 lines
2.3 KiB
SCSS
Raw Normal View History

2016-04-05 17:12:47 -04:00
.container-fluid {
.ci-status {
2016-12-21 07:56:10 -05:00
padding: 2px 7px 4px;
2016-04-26 14:20:58 -04:00
margin-right: 10px;
2016-11-30 08:25:25 -05:00
border: 1px solid $gray-darker;
white-space: nowrap;
2016-09-09 12:59:36 -04:00
border-radius: 4px;
&:hover,
&:focus {
text-decoration: none;
}
svg {
height: 13px;
width: 13px;
position: relative;
top: 2px;
overflow: visible;
}
&.ci-failed {
color: $gl-danger;
border-color: $gl-danger;
&:not(span):hover {
background-color: rgba($gl-danger, .07);
}
svg {
fill: $gl-danger;
}
}
&.ci-success,
&.ci-success_with_warnings {
color: $gl-success;
border-color: $gl-success;
&:not(span):hover {
background-color: rgba($gl-success, .07);
}
svg {
fill: $gl-success;
}
}
&.ci-info {
color: $gl-info;
border-color: $gl-info;
&:not(span):hover {
background-color: rgba($gl-info, .07);
}
svg {
fill: $gl-info;
}
}
&.ci-canceled,
&.ci-disabled {
2016-12-30 15:18:27 -05:00
color: $gl-text-color;
border-color: $gl-text-color;
&:not(span):hover {
2016-12-30 15:18:27 -05:00
background-color: rgba($gl-text-color, .07);
}
svg {
2016-12-30 15:18:27 -05:00
fill: $gl-text-color;
}
}
&.ci-pending {
color: $gl-warning;
border-color: $gl-warning;
&:not(span):hover {
background-color: rgba($gl-warning, .07);
}
svg {
fill: $gl-warning;
}
}
&.ci-running {
color: $blue-normal;
border-color: $blue-normal;
&:not(span):hover {
background-color: rgba($blue-normal, .07);
}
svg {
fill: $blue-normal;
}
}
2016-07-19 09:47:26 -04:00
&.ci-created,
&.ci-skipped {
2016-12-30 15:18:27 -05:00
color: $gl-text-color-secondary;
border-color: $gl-text-color-secondary;
2016-08-30 12:55:57 -04:00
&:not(span):hover {
2016-12-30 15:18:27 -05:00
background-color: rgba($gl-text-color-secondary, .07);
}
2016-08-30 12:55:57 -04:00
svg {
2016-12-30 15:18:27 -05:00
fill: $gl-text-color-secondary;
2016-08-30 12:55:57 -04:00
}
}
&.ci-manual {
color: $gl-text-color;
border-color: $gl-text-color;
&:not(span):hover {
background-color: rgba($gl-text-color, .07);
}
svg {
fill: $gl-text-color;
}
}
}
}
2016-07-21 11:31:05 -04:00
.visible-xs-inline {
.ci-status-link {
position: relative;
top: 2px;
left: 5px;
}
}
.ci-status-link {
svg {
overflow: visible;
}
}