2 * Copyright 2015 Google Inc. All Rights Reserved.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 @import "../variables";
25 background-color: $snackbar-background-color;
29 justify-content: space-between;
30 font-family: $preferred_font;
31 will-change: transform;
32 transform: translate(0, 80px);
33 transition: transform 0.25s $animation-curve-fast-out-linear-in;
35 @media(max-width: $snackbar-tablet-breakpoint - 1) {
41 @media(min-width: $snackbar-tablet-breakpoint) {
45 transform: translate(-50%, 80px);
48 transform: translate(0, 0);
50 transition: transform 0.25s $animation-curve-linear-out-slow-in;
52 @media(min-width: $snackbar-tablet-breakpoint) {
53 transform: translate(-50%, 0);
58 padding: 14px 12px 14px 24px;
59 vertical-align: middle;
65 background: transparent;
67 color: $snackbar-action-color;
69 text-transform: uppercase;
70 padding: 14px 24px 14px 12px;
71 @include typo-button();
77 text-decoration: none;
84 &:not([aria-hidden]) {