Sha256: 9ed7e99b3dc003b66b0b28f3e69bddb7adc3b1a723208389092e24f61b99ee97

Contents?: true

Size: 780 Bytes

Versions: 2

Compression:

Stored size: 780 Bytes

Contents

// 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;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails-bootstrap-material-design-0.5.10.1 app/assets/stylesheets/bootstrap-material-design/plugins/_plugin-snackbarjs.scss
rails-bootstrap-material-design-0.5.10 app/assets/stylesheets/bootstrap-material-design/plugins/_plugin-snackbarjs.scss