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

157 lines
2.6 KiB
SCSS
Raw Normal View History

2016-06-02 11:05:42 +05:30
.container-fluid {
.ci-status {
2017-08-17 22:00:37 +05:30
padding: 2px 7px 4px;
2016-06-02 11:05:42 +05:30
margin-right: 10px;
2017-08-17 22:00:37 +05:30
border: 1px solid $gray-darker;
2016-06-02 11:05:42 +05:30
white-space: nowrap;
2016-11-03 12:29:30 +05:30
border-radius: 4px;
2015-10-24 18:46:33 +05:30
2017-08-17 22:00:37 +05:30
&:hover,
&:focus {
2016-06-02 11:05:42 +05:30
text-decoration: none;
}
2015-10-24 18:46:33 +05:30
2017-08-17 22:00:37 +05:30
svg {
height: 13px;
width: 13px;
position: relative;
top: 2px;
overflow: visible;
}
&.ci-failed,
&.ci-failed_with_warnings {
color: $red-500;
border-color: $red-500;
&:not(span):hover {
background-color: $red-50;
color: $red-600;
border-color: $red-600;
svg {
fill: $red-600;
}
}
svg {
fill: $red-500;
}
2016-06-02 11:05:42 +05:30
}
2015-10-24 18:46:33 +05:30
2016-08-24 12:49:21 +05:30
&.ci-success,
&.ci-success_with_warnings {
2017-08-17 22:00:37 +05:30
color: $green-600;
border-color: $green-500;
2015-10-24 18:46:33 +05:30
2017-08-17 22:00:37 +05:30
&:not(span):hover {
background-color: $green-50;
color: $green-700;
border-color: $green-600;
svg {
fill: $green-600;
}
}
svg {
fill: $green-500;
}
2016-06-02 11:05:42 +05:30
}
2015-10-24 18:46:33 +05:30
2016-06-02 11:05:42 +05:30
&.ci-canceled,
&.ci-disabled {
2017-08-17 22:00:37 +05:30
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-06-02 11:05:42 +05:30
}
2016-08-24 12:49:21 +05:30
&.ci-pending {
2017-08-17 22:00:37 +05:30
color: $orange-600;
border-color: $orange-500;
&:not(span):hover {
background-color: $orange-50;
color: $orange-700;
border-color: $orange-600;
svg {
fill: $orange-600;
}
}
svg {
fill: $orange-500;
}
2016-06-02 11:05:42 +05:30
}
2016-08-24 12:49:21 +05:30
2017-08-17 22:00:37 +05:30
&.ci-info,
2016-08-24 12:49:21 +05:30
&.ci-running {
2017-08-17 22:00:37 +05:30
color: $blue-500;
border-color: $blue-500;
2016-08-24 12:49:21 +05:30
2017-08-17 22:00:37 +05:30
&:not(span):hover {
background-color: $blue-50;
color: $blue-600;
border-color: $blue-600;
svg {
fill: $blue-600;
}
}
2016-09-29 09:46:39 +05:30
svg {
2017-08-17 22:00:37 +05:30
fill: $blue-500;
2016-09-29 09:46:39 +05:30
}
}
2017-08-17 22:00:37 +05:30
&.ci-created,
&.ci-skipped {
color: $gl-text-color-secondary;
border-color: $gl-text-color-secondary;
2015-10-24 18:46:33 +05:30
2017-08-17 22:00:37 +05:30
&:not(span):hover {
background-color: rgba($gl-text-color-secondary, .07);
}
2016-11-03 12:29:30 +05:30
2017-08-17 22:00:37 +05:30
svg {
fill: $gl-text-color-secondary;
}
}
2016-08-24 12:49:21 +05:30
2017-08-17 22:00:37 +05:30
&.ci-manual {
color: $gl-text-color;
border-color: $gl-text-color;
&:not(span):hover {
background-color: rgba($gl-text-color, .07);
}
2016-11-03 12:29:30 +05:30
2017-08-17 22:00:37 +05:30
svg {
fill: $gl-text-color;
}
}
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;
}
}