mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-07-04 11:53:04 +03:00
#775 Snackbar transitions have invalid '0' values
This commit is contained in:
parent
1ed294899c
commit
2f314ee2cb
|
@ -1,32 +1,27 @@
|
||||||
//// Support for SnackbarJS plugin
|
// Support for SnackbarJS plugin
|
||||||
//// https://github.com/FezVrasta/snackbarjs
|
// https://github.com/FezVrasta/snackbarjs
|
||||||
//
|
|
||||||
//.snackbar {
|
.snackbar {
|
||||||
// // Style
|
height: 0;
|
||||||
// background-color: #323232;
|
font-size: 14px;
|
||||||
// color: $mdb-text-color-light;
|
color: $mdb-text-color-light;
|
||||||
// font-size: 14px;
|
background-color: #323232;
|
||||||
// border-radius: $border-radius-base;
|
border-radius: $border-radius-base;
|
||||||
// @include shadow-z-1;
|
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;
|
||||||
//
|
transform: translateY(200%);
|
||||||
// // Animation
|
|
||||||
// height: 0;
|
@include shadow-z-1;
|
||||||
// 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 {
|
||||||
//
|
height: auto;
|
||||||
//.snackbar.snackbar-opened {
|
padding: 14px 15px;
|
||||||
// // Style
|
margin-bottom: 20px;
|
||||||
// padding: 14px 15px;
|
transition: transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0s linear 0.2s, height 0s linear 0.2s;
|
||||||
// margin-bottom: 20px;
|
transform: none;
|
||||||
//
|
}
|
||||||
// // Animation
|
|
||||||
// height: auto;
|
// Variations
|
||||||
// transition: transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0 linear 0.2s, height 0 linear 0.2s;
|
.snackbar.toast {
|
||||||
// transform: none;
|
border-radius: 200px;
|
||||||
//}
|
}
|
||||||
//
|
|
||||||
//// Variations
|
|
||||||
//.snackbar.toast {
|
|
||||||
// border-radius: 200px;
|
|
||||||
//}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user