From 469dee36ee530ac4099fe072be978849ade9ff2a Mon Sep 17 00:00:00 2001 From: Maxim Voloshin Date: Mon, 17 Oct 2016 15:10:08 +0300 Subject: [PATCH] Initialised variable for notification opacity --- css/_toastr.scss | 2 +- css/_variables.scss | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/css/_toastr.scss b/css/_toastr.scss index e61777172..4da961c11 100644 --- a/css/_toastr.scss +++ b/css/_toastr.scss @@ -79,7 +79,7 @@ @include border-radius($notificationBorderRadius); @include box-shadow(1px, 1px, 2px, rgba(0,0,0,0.3)); - @include opacity(0.9); + @include opacity($notificationOpacity); } .toast:hover { diff --git a/css/_variables.scss b/css/_variables.scss index 59f2bbfd3..fa560b004 100644 --- a/css/_variables.scss +++ b/css/_variables.scss @@ -72,9 +72,10 @@ $notificationColor: #FFFFFF; $notificationBackground: $tooltipBg; $notificationTitleColor: $notificationColor; $notificationMessageColor: $notificationColor; +$notificationLinkColor: $notificationColor; +$notificationOpacity: 0.9; $notificationPadding: 15px 20px; $notificationBorderRadius: 4px; -$notificationLinkColor: $notificationColor; /** * Misc.