mdb-ui-kit/sass/plugins/_plugin-snackbarjs.scss

35 lines
876 B
SCSS
Raw Normal View History

// This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2014-10-03 15:58:24 +04:00
// Support for SnackbarJS plugin
// https://github.com/FezVrasta/snackbarjs
.snackbar {
// Style
background-color: #323232;
color: $mdb-text-color-light;
2014-10-03 15:58:24 +04:00
font-size: 14px;
border-radius: $border-radius-base;
@include shadow-z-1;
2014-10-03 15:58:24 +04:00
// Animation
height: 0;
2015-12-14 04:38:09 +03:00
transition: transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0s linear 0.2s, padding 0s linear 0.2s, height 0s linear 0.2s;
2014-10-03 15:58:24 +04:00
transform: translateY(200%);
}
.snackbar.snackbar-opened {
// Style
padding: 14px 15px;
margin-bottom: 20px;
// Animation
height: auto;
2015-12-14 04:38:09 +03:00
transition: transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0s linear 0.2s, height 0s linear 0.2s;
2014-10-03 15:58:24 +04:00
transform: none;
}
// Variations
.snackbar.toast {
border-radius: 200px;
}