_index.css
2.38 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
101
102
103
104
105
106
107
108
.product_material {
width: 1200px;
margin: auto;
h1 {
font-size: 30px;
margin: 15px 0 50px;
text-align: center;
}
/*过滤*/
.line {
width: 1200px;
margin: 10px auto;
}
.sel {
width: 150px;
vertical-align: middle;
}
label,
a {
vertical-align: middle;
}
/*品牌*/
#brand {
position: relative;
label {
cursor: pointer
}
#brand_container {
position: absolute;
width: 1200px;
background: #ccc;
z-index: 1;
display: none;
.nav {
overflow: hidden;
span {
display: inline-block;
width: 25%;
text-align: center;
height: 30px;
line-height: 30px;
cursor: pointer;
float: left;
}
.focus {
background: #eee;
}
}
.title {
padding: 5px 0;
background: #555;
color: #fff;
text-align: center;
}
.content {
background: #fff;
}
.item {
display: inline-block;
width: 10%;
padding: 5px 0;
text-align: center;
height: 20px;
line-height: 20px;
font-size: 12px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&:hover {
background: #eee;
cursor: pointer;
}
}
}
}
/*表格*/
table {
width: 1200px;
margin: 20px auto;
}
table {
table-layout: fixed;
empty-cells: show;
border-collapse: collapse;
img {
width: 80px;
}
}
td {
height: 30px;
}
.table {
border: 1px solid #cad9ea;
color: #666;
}
.table th {
background-repeat: repeat-x;
height: 30px;
}
.table td,
.table th {
border: 1px solid #cad9ea;
padding: 0 1em 0;
}
.table tr.alter {
background-color: #f5fafe;
}
}