Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-12-12 21:18:51 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-12-12 21:18:51 +0300
commit3084c8c37064d7309ac4ca7b9ecb24ca8c625d24 (patch)
tree82ce7fcb7a8faf5e487a2247088efffdfe82237a /app/assets/stylesheets/pages/status.scss
parenta5e449571bb941d65d33569a0f0db575a5b3d399 (diff)
Define CI status icon colors in SCSS instead of a helper
Diffstat (limited to 'app/assets/stylesheets/pages/status.scss')
-rw-r--r--app/assets/stylesheets/pages/status.scss17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/status.scss b/app/assets/stylesheets/pages/status.scss
index a7d3b2197f1..4b6ef035673 100644
--- a/app/assets/stylesheets/pages/status.scss
+++ b/app/assets/stylesheets/pages/status.scss
@@ -35,3 +35,20 @@
border-color: $gl-warning;
}
}
+
+.ci-status-icon-success {
+ @extend .cgreen;
+}
+.ci-status-icon-failed {
+ @extend .cred;
+}
+.ci-status-icon-running,
+.ci-status-icon-pending {
+ // These are standard text color
+}
+.ci-status-icon-canceled,
+.ci-status-icon-disabled,
+.ci-status-icon-not-found,
+.ci-status-icon-skipped {
+ @extend .cgray;
+}