-
Notifications
You must be signed in to change notification settings - Fork 2
/
ionic.swoosh.cards.css
83 lines (70 loc) · 1.18 KB
/
ionic.swoosh.cards.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/* CORE */
swoosh-cards {
display: block;
}
swoosh-card {
position: absolute;
top: calc(50% - 175px);
left: calc(50% - 100px);
width: 200px;
height: 350px;
border-radius: 6px;
background-color: #FFF;
overflow: hidden;
}
swoosh-card .overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #333;
opacity: 0;
}
swoosh-card .content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
/* DEMO */
swoosh-card .top {
position: relative;
width: 100%;
height: 40%;
border-radius: 4px 4px 0 0;
background-color: #CCC;
overflow: hidden;
}
swoosh-card img {
position: relative;
width: 100%;
}
swoosh-card .bottom {
width: 100%;
height: 65%;
border-radius: 0 0 4px 4px;
}
swoosh-card .bottom h1 {
margin: 10px 0 0 0;
font-size: 14px;
text-align: center;
}
swoosh-card .bottom p {
margin: 10px 15px;
}
.discard {
position: absolute;
left: calc(50% - 35px);
bottom: 10px;
padding: 7px 10px;
color: #FFF;
font-weight: bold;
font-size: 12px;
background-color: rgba(0, 0, 0, 0.7);
border-radius: 20px 20px 20px 20px;
}
.background-grey {
background-color: #333;
}