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";
21 flex-direction: column;
22 font-size: $card-font-size;
24 min-height: $card-height;
27 z-index: $card-z-index;
29 background: $card-background-color;
31 box-sizing: border-box;
35 background-color: $card-image-placeholder-color;
36 background-repeat: repeat;
37 background-position: 50% 50%;
38 background-size: cover;
39 background-origin: padding-box;
40 background-attachment: scroll;
41 box-sizing: border-box;
46 color: $card-text-color;
49 justify-content: stretch;
51 padding: $card-vertical-padding $card-horizontal-padding;
52 perspective-origin: $card-title-perspective-origin-x $card-title-perspective-origin-y;
53 transform-origin: $card-title-transform-origin-x $card-title-transform-origin-y;
54 box-sizing: border-box;
57 border-bottom: 1px solid $card-border-color;
61 .mdl-card__title-text {
66 font-size: $card-title-font-size;
67 font-weight: $card-title-text-font-weight;
70 transform-origin: $card-title-text-transform-origin-x $card-title-text-transform-origin-y;
74 .mdl-card__subtitle-text {
75 font-size: $card-subtitle-font-size;
76 color: $card-subtitle-color;
80 .mdl-card__supporting-text {
81 color: $card-supporting-text-text-color;
82 font-size: $card-supporting-text-font-size;
83 line-height: $card-supporting-text-line-height;
85 padding: $card-vertical-padding $card-horizontal-padding;
89 border-bottom: 1px solid $card-border-color;
94 font-size: $card-actions-font-size;
97 background-color: rgba(0,0,0,0);
99 box-sizing: border-box;
102 border-top: 1px solid $card-border-color;