summaryrefslogtreecommitdiff
path: root/templates/assets/sass/material-kit/plugins/_plugin-snackbarjs.scss
blob: e8f5bad5bb03d8a8d0db13ce46db4e1a85fd1c78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.

// Support for SnackbarJS plugin
// https://github.com/FezVrasta/snackbarjs

.snackbar {
    // Style
    background-color: #323232;
    color: $mdb-text-color-light;
    font-size: 14px;
    border-radius: $border-radius-base;
    @include shadow-z-1;

    // Animation
    height: 0;
    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%);
}

.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 0s linear 0.2s, height 0s linear 0.2s;
    transform: none;
}

// Variations
.snackbar.toast {
    border-radius: 200px;
}