main.scss
1.96 KB
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
@import './shared.scss';
.main-card-container {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
align-items: center;
@media screen and (max-width: $medium_tablet_width) {
display: block;
}
.main-card {
width: 47%;
height: 48%;
border-radius: $border_radius;
@media screen and (max-width: $medium_tablet_width) {
width: 100%;
height: 300px;
margin-bottom: 12px;
}
@media screen and (max-width: $large_smart_phone_width) {
height: 240px;
}
@media screen and (max-width: $medium_smart_phone_width) {
height: 220px;
}
.ant-card-body {
height: calc(100% - 58px);
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: stretch;
padding: 18px;
.card-row {
display: flex;
justify-content: space-between;
align-items: center;
border-radius: $border_radius;
padding: 5px 18px;
height: 45px;
@media screen and (max-width: $medium_tablet_width) {
&:nth-child(4),
&:nth-child(5) {
display: none;
}
}
&.has-content {
transition: background-color 0.3s;
padding: 2px 12px;
&:hover {
background-color: rgba(26, 144, 255, 0.2);
transition: background-color 0.3s;
}
}
.card-row-title {
margin: 0;
font-size: 17px;
font-weight: 400;
@media screen and (max-width: $large_smart_phone_width) {
font-size: 14px;
}
}
.card-row-recomment {
color: $red;
font-weight: 600;
margin-left: 16px;
@media screen and (max-width: $large_smart_phone_width) {
font-size: 13px;
}
@media screen and (max-width: $medium_smart_phone_width) {
display: none;
}
}
}
}
}
}