summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/assets/stylesheets/components/toast.scss2
-rw-r--r--app/assets/stylesheets/framework/variables.scss1
2 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/stylesheets/components/toast.scss b/app/assets/stylesheets/components/toast.scss
index a67f0b9be33..33e1c4e5349 100644
--- a/app/assets/stylesheets/components/toast.scss
+++ b/app/assets/stylesheets/components/toast.scss
@@ -18,7 +18,7 @@
padding: $gl-padding-8 $gl-padding-24;
margin-top: $toast-default-margin;
line-height: $gl-line-height;
- background-color: rgba($gray-900, 0.95);
+ background-color: rgba($gray-900, $toast-background-opacity);
@include media-breakpoint-down(xs) {
.action:first-child {
diff --git a/app/assets/stylesheets/framework/variables.scss b/app/assets/stylesheets/framework/variables.scss
index 4f69953d062..51a70f6c0f1 100644
--- a/app/assets/stylesheets/framework/variables.scss
+++ b/app/assets/stylesheets/framework/variables.scss
@@ -506,6 +506,7 @@ $toast-max-width: 586px;
$toast-padding-right: 42px;
$toast-default-margin: 8px;
$toast-action-margin-left: 16px;
+$toast-background-opacity: 0.95;
/*
* Status icons