2015-11-26 03:19:13 +03:00
|
|
|
|
2015-11-05 01:54:57 +03:00
|
|
|
|
2014-10-03 15:58:24 +04:00
|
|
|
// Support for SnackbarJS plugin
|
|
|
|
// https://github.com/FezVrasta/snackbarjs
|
|
|
|
|
|
|
|
.snackbar {
|
|
|
|
// Style
|
|
|
|
background-color: #323232;
|
2015-11-25 01:34:17 +03:00
|
|
|
color: $mdb-text-color-light;
|
2014-10-03 15:58:24 +04:00
|
|
|
font-size: 14px;
|
2015-11-25 01:34:17 +03:00
|
|
|
border-radius: $border-radius-base;
|
2015-11-05 00:57:47 +03:00
|
|
|
@include shadow-z-1;
|
2014-10-03 15:58:24 +04:00
|
|
|
|
|
|
|
// Animation
|
|
|
|
height: 0;
|
|
|
|
transition: transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0 linear 0.2s, padding 0 linear 0.2s, height 0 linear 0.2s;
|
|
|
|
transform: translateY(200%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.snackbar.snackbar-opened {
|
|
|
|
// Style
|
|
|
|
padding: 14px 15px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
|
|
// Animation
|
|
|
|
height: auto;
|
|
|
|
transition: transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0 linear 0.2s, height 0 linear 0.2s;
|
|
|
|
transform: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Variations
|
|
|
|
.snackbar.toast {
|
|
|
|
border-radius: 200px;
|
|
|
|
}
|