debian-mirror-gitlab/app/assets/stylesheets/framework/icons.scss

96 lines
1.4 KiB
SCSS
Raw Normal View History

2017-08-17 22:00:37 +05:30
.ci-status-icon-success,
.ci-status-icon-passed {
svg {
fill: $green-500;
}
2018-11-08 19:23:39 +05:30
&.add-border {
@include borderless-status-icon($green-500);
}
2017-08-17 22:00:37 +05:30
}
.ci-status-icon-failed {
svg {
2018-11-20 20:47:30 +05:30
fill: $red-500;
2017-08-17 22:00:37 +05:30
}
2018-11-08 19:23:39 +05:30
&.add-border {
@include borderless-status-icon($red-500);
}
2017-08-17 22:00:37 +05:30
}
.ci-status-icon-pending,
2019-07-31 22:56:46 +05:30
.ci-status-icon-failed-with-warnings,
.ci-status-icon-success-with-warnings {
2017-08-17 22:00:37 +05:30
svg {
fill: $orange-500;
}
2018-11-08 19:23:39 +05:30
&.add-border {
@include borderless-status-icon($orange-500);
}
2017-08-17 22:00:37 +05:30
}
2019-07-07 11:18:12 +05:30
.ci-status-icon-preparing,
2017-08-17 22:00:37 +05:30
.ci-status-icon-running {
svg {
fill: $blue-400;
}
2018-11-08 19:23:39 +05:30
&.add-border {
@include borderless-status-icon($blue-400);
}
2017-08-17 22:00:37 +05:30
}
.ci-status-icon-canceled,
2018-03-17 18:26:18 +05:30
.ci-status-icon-disabled {
2017-08-17 22:00:37 +05:30
svg {
fill: $gl-text-color;
}
2018-11-08 19:23:39 +05:30
&.add-border {
@include borderless-status-icon($gl-text-color);
}
2017-08-17 22:00:37 +05:30
}
.ci-status-icon-created,
2018-03-17 18:26:18 +05:30
.ci-status-icon-skipped,
.ci-status-icon-notfound {
2017-08-17 22:00:37 +05:30
svg {
fill: $gray-darkest;
}
2018-11-08 19:23:39 +05:30
&.add-border {
@include borderless-status-icon($gray-darkest);
}
2017-08-17 22:00:37 +05:30
}
2018-12-05 23:21:45 +05:30
.ci-status-icon-scheduled,
2017-08-17 22:00:37 +05:30
.ci-status-icon-manual {
svg {
fill: $gl-text-color;
}
}
.icon-link {
&:hover {
text-decoration: none;
}
}
2017-09-10 17:25:29 +05:30
.user-avatar-link {
text-decoration: none;
}
2019-02-15 15:39:39 +05:30
.circle-icon-container {
$border-size: 1px;
display: flex;
align-items: center;
justify-content: center;
2019-03-02 22:35:43 +05:30
border: $border-size solid $gray-400;
2019-02-15 15:39:39 +05:30
border-radius: 50%;
padding: $gl-padding-8 - $border-size;
2019-03-02 22:35:43 +05:30
color: $gray-700;
2019-02-15 15:39:39 +05:30
}