Added toast for copy to clipboard

Shows a toast message for 2 seconds after copying to clipboard.
This commit is contained in:
Angelos Chalaris
2018-01-04 13:54:42 +02:00
parent 3f355ff235
commit 9341f0aaaa
2 changed files with 19 additions and 7 deletions

View File

@ -131,6 +131,9 @@ $_drawer-right: false;
@import 'navigation';
$toast-back-color: #212121;
$mark-back-color-var: '--mrk-b-col';
$mark-fore-color-var: '--mrk-f-col';
$toast-back-color-var: '--tst-b-col';
@ -154,6 +157,12 @@ $_include-collapse: false;
@import 'contextual';
.#{$toast-name} {
bottom: calc(var(#{$universal-margin-var}) / 2);
opacity: 1;
transition: opacity 0.3s ease-in-out;
}
/*
Custom elements for contextual background elements, toasts and tooltips.
*/