blob: fe90264e602a005d4129e6552ab00764b4536106 (
plain)
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
#cards-view {
visibility: hidden;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
transition: opacity 0.5s ease, visibility 0.5s ease;
opacity: 0;
-moz-user-select: none;
overflow: scroll;
background-color: rgba(0, 0, 0, 0.8);
}
#cards-view.active {
visibility: inherit;
opacity: 1;
}
#cards-view ul {
list-style: none;
margin: 0;
padding: 0;
width: 100%;
height: 100%;
white-space: nowrap;
text-align: center;
}
#cards-view .card {
display: inline-block;
width: 100%;
height: -moz-calc(100% - 20px);
margin: 0;
margin-top: 20px;
margin-left: -25%;
position: relative;
background-size: contain;
background-position: center center;
background-repeat: no-repeat;
transform: scale(0.6);
}
#cards-view .card h1 {
position: absolute;
top: 1.5rem;
left: 1rem;
z-index: 99999;
text-align: left;
font-size: 3.5rem;
font-weight: 300;
text-overflow: ellipsis;
overflow-x: hidden;
}
#cards-view .card header {
top: 1.5rem;
}
#cards-view .card[data-edit='true'] {
position: relative;
opacity: 0.8;
z-index: 99999;
}
#cards-view .card:first-child {
position: absolute;
margin-left: 0;
}
#cards-view .card:only-child {
margin-left: -50%;
}
#cards-view .card:nth-child(2) {
margin-left: 75%;
}
#cards-view .card > *:not(.close-card) {
pointer-events: none;
}
#cards-view .card > h1 {
position: absolute;
top: 100%;
width: 100%;
line-height: 4rem;
}
#cards-view .card > p {
position: absolute;
top: -moz-calc(100% + 4rem);
width: 100%;
font-size: 2rem;
}
#cards-view .card > img.appIcon {
position: relative;
height: 8rem;
width: 8rem;
border-radius: .6rem;
top: 50%;
margin-top: -4rem;
}
#cards-view .close-card {
position: absolute;
top: -1rem;
left: -1rem;
z-index: 99999;
height: 2.6rem;
width: 2.6rem;
background: url(close.png) no-repeat center center;
transform: scale(1.7);
}
|