_new-arrival.css
1.21 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
.new-arrival {
$textHeight: 47px;
$imgHeight: 496px;
@extend .resource-container;
height: calc($textHeight+$imgHeight+60px);/* 60px is the height of the floor header */
.arrival-item-box {
box-sizing: border-box;
}
.arrival-item {
width: 327px;
display: inline-block;
.brand-name {
height: $textHeight;
text-align: center;
font-size: 16px;
font-weight: normal;
span {
@extend .cursor-pointer;
padding-bottom: 3px;
border-bottom: 1px solid #000;
&.top {
line-height: 30px;
position: static !important;
}
&.bottom {
line-height: 56px;
position: static !important;
}
}
}
img {
@extend .cursor-pointer;
width: 100%;
height: $imgHeight;
}
&.normal {
float: left;
margin-right: 20px;
}
&.last {
float: right;
}
&.small-img {
width: 218px;
}
}
}