/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
.snackbar {
    overflow: hidden;
    background-color: #323232;
    padding: 14px 24px 14px 24px;
    color: #fff;
    min-width: 288px;
    max-width: 568px;
    position: fixed;
    bottom: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    transition: all linear 0.3s;
    z-index: 1001;

    .snackbar-message {
        overflow: hidden;
        line-height: 1.2em;
        min-height: 1.2em;
        max-height: 2.4em;
        flex: 1;
    }
    .snackbar-action {
        text-transform: uppercase;
        font-weight: bold;
        margin-left: 48px;
        color: @accent-500;
        cursor: pointer;
        cursor: hand;
    }
}

.snackbar.ng-enter {
    opacity: 0;
}
.snackbar.ng-enter.ng-enter-active {
    opacity: 1;
}
.snackbar.ng-leave {
    opacity: 1;
}
.snackbar.ng-leave.ng-leave-active {
    opacity: 0;
}