1 | :host { position: relative; }
|
2 |
|
3 | /deep/ .mat-card-header-text { width: 100%; }
|
4 |
|
5 | md-card.hover-card { overflow: hidden; padding: 0; margin-bottom: 0; }
|
6 | md-card.hover-card md-card-title, md-card.hover-card md-card-subtitle { margin: 0 80px 0 0; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
|
7 | md-card.hover-card md-card-subtitle { font-size: 12px; margin-top: 4px; }
|
8 |
|
9 | .hover-area { position: relative; cursor: pointer; }
|
10 | @media screen and (min-width: 480px) { .hover-area { padding-top: 55%; }
|
11 | .hover-area:hover .description { top: 0; }
|
12 | .hover-area:hover .enabled-indicator span { width: 70px; } }
|
13 |
|
14 | .product-banner { max-height: 133px; overflow: hidden; display: flex; width: 100%; height: 100px; align-items: center; justify-content: center; }
|
15 | .product-banner img { max-width: 100%; }
|
16 | @media screen and (min-width: 480px) { .product-banner { max-height: none; position: absolute; height: 60%; top: 0; } }
|
17 |
|
18 | .description { box-sizing: border-box; padding: 10px 16px 0; overflow: hidden; background: #ffffff; transition: 0.3s ease all; }
|
19 | .description:after { content: ''; display: block; width: 100%; height: 40%; position: absolute; bottom: 0; left: 0; background: linear-gradient(rgba(255, 255, 255, 0) 40%, white 70%); }
|
20 | @media screen and (min-width: 480px) { .description { position: absolute; top: 60%; width: 100%; height: 100%; }
|
21 | .description:after { height: 70%; } }
|
22 |
|
23 | md-card-header { box-sizing: border-box; padding-bottom: 16px; margin: 0; height: 40%; display: flex; align-items: center; }
|
24 |
|
25 | md-card-content { min-height: 40px; max-height: 80px; padding: 16px; margin: 0 -16px; border-top: 1px solid #e0e0e0; font-size: 12px; }
|
26 | @media screen and (min-width: 480px) { md-card-content { min-height: 0; max-height: none; } }
|
27 |
|
28 | .enabled-indicator { position: absolute; right: 8px; bottom: 8px; }
|
29 | .enabled-indicator span { display: inline-block; width: 70px; overflow: hidden; transition: 0.3s ease all; }
|
30 | @media screen and (min-width: 480px) { .enabled-indicator span { width: 0; } }
|
31 |
|
32 | button[md-button] { padding: 0 8px; min-width: 0; }
|
33 |
|
34 | md-card-actions { position: relative; padding: 8px !important; margin: 0 !important; text-align: right; border-top: 1px solid #e0e0e0; background-color: #ffffff; }
|
35 |
|
36 | .status { font-size: 14px; }
|