diff options
Diffstat (limited to 'app/assets/stylesheets/framework/badges.scss')
-rw-r--r-- | app/assets/stylesheets/framework/badges.scss | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/badges.scss b/app/assets/stylesheets/framework/badges.scss index c036267a7c8..5b8a4bf964e 100644 --- a/app/assets/stylesheets/framework/badges.scss +++ b/app/assets/stylesheets/framework/badges.scss @@ -1,6 +1,14 @@ -.badge.badge-pill { +.badge.badge-pill:not(.gl-badge) { font-weight: $gl-font-weight-normal; background-color: $badge-bg; color: $gray-800; vertical-align: baseline; + + // Do not use this! + // This is a temporary workaround until the new GlBadge component + // is available: https://gitlab.com/gitlab-org/gitlab-ui/-/issues/481 + &.badge-pill-success { + background-color: rgba($green-500, 0.2); + color: $green; + } } |