/
intermediate.component.scss
75 lines (60 loc) · 1.07 KB
/
intermediate.component.scss
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
@import '../../../assets/style/config';
@import '../../../assets/style/mixins';
.card-container {
position: relative;
width: 18em;
margin: 4em auto;
}
.card {
height: 20.5em;
width: 20em;
position: absolute;
border-radius: $border-radius;
background: #cecece;
padding: 32px 16px;
box-shadow: 1px 1px 7px rgba(0,0,0,.65);
&.front {
z-index: 10;
}
&.background {
z-index: -1;
&.two {
transform: rotateZ(4deg);
}
&.three {
transform: rotateZ(-4deg);
}
&.more {
transform: rotateZ(-8deg);
}
}
.mock {
background: rgba(0,0,0,.375);
min-height: 1em;
color: $primary_100;
&.title {
width: 70%;
margin: 8px 0;
}
&.content {
height: 14em;
margin-top: -3em;
text-align: center;
.count {
font-size: 4em;
line-height:0.75em;
margin-bottom:0;
padding-top: 72px;
}
}
}
.action {
height: 2em;
display: inline-flex;
margin: 1em 0;
width: 100%;
button {
margin: 0 16px;
}
}
}