mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-02-16 19:50:37 +03:00
Fixed snackbar theme
This commit is contained in:
parent
c0f869b751
commit
e31fbc2bcd
|
@ -1698,28 +1698,27 @@ fieldset[disabled] .navbar .btn-link:focus {
|
||||||
border-bottom-color: #323232;
|
border-bottom-color: #323232;
|
||||||
}
|
}
|
||||||
.snackbar {
|
.snackbar {
|
||||||
display: inline-block;
|
background-color: #323232;
|
||||||
position: fixed;
|
|
||||||
z-index: 99999;
|
|
||||||
left: 20px;
|
|
||||||
bottom: 0;
|
|
||||||
min-width: 288px;
|
|
||||||
max-width: 568px;
|
|
||||||
padding: 14px 15px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
background-color: #323232;
|
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
|
||||||
opacity: 0;
|
height: 0;
|
||||||
-webkit-transition: -webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in;
|
-moz-transition: -moz-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;
|
||||||
transition: transform 0.2s ease-in-out, opacity 0.2s ease-in;
|
-webkit-transition: -webkit-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;
|
||||||
|
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;
|
||||||
|
-moz-transform: translateY(200%);
|
||||||
-webkit-transform: translateY(200%);
|
-webkit-transform: translateY(200%);
|
||||||
transform: translateY(200%);
|
transform: translateY(200%);
|
||||||
}
|
}
|
||||||
.snackbar.snackbar-opened {
|
.snackbar.snackbar-opened {
|
||||||
opacity: 1;
|
padding: 14px 15px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
height: auto;
|
||||||
|
-moz-transition: -moz-transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0 linear 0.2s;
|
||||||
|
-webkit-transition: -webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0 linear 0.2s;
|
||||||
|
transition: transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0 linear 0.2s, height 0 linear 0.2s;
|
||||||
|
-moz-transform: none;
|
||||||
-webkit-transform: none;
|
-webkit-transform: none;
|
||||||
transform: none;
|
transform: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,3 +61,8 @@
|
||||||
-webkit-transform: none;
|
-webkit-transform: none;
|
||||||
transform: none;
|
transform: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Variations
|
||||||
|
.snackbar.toast {
|
||||||
|
border-radius: 200px;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user