_main-product.css
2.08 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
95
96
97
98
99
100
.main-product {
.all-goods-menu {
height: 35px;
line-height: 35px;
padding-top: 45px;
.menu-tag {
color: #d0021b;
font-size: 15px;
font-weight: bold;
text-align: left;
padding: 0 20px 0 10px;
border-right: 1px solid #000;
float: left;
}
.menu-list {
width: 850px;
height: 35px;
overflow: hidden;
float: left;
font-size: 14px;
padding-left: 10px;
li {
display: inline-block;
padding: 0 15px;
}
.on {
background: #000;
height: 28px;
line-height: 28px;
a {
color: #fff;
}
}
}
.more {
font-size: 14px;
float: right;
}
}
.sort-layer {
margin-top: 10px;
}
.product-list {
width: 1160px;
.list-item {
width: 222px;
height: 372px;
margin: 23px 10px 23px 0;
overflow: hidden;
float: left;
}
.thumb {
width: 100%;
height: 296px;
display: block;
img {
width: 100%;
height: 100%;
}
}
.detail-text {
padding: 15px 0;
text-align: center;
font-size: 14px;
font-weight: bold;
}
.name {
line-height: 1.5;
padding: 0 20px;
margin-bottom: 3px;
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.discount {
font-size: 12px;
line-height: 22px;
color: #fff;
padding: 0 10px 0 20px;
margin-left: 20px;
background: resolve("product/discount-tag.png") no-repeat;
display: inline-block;
}
}
}