_product-category.scss
2.79 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
.product-category {
font-size: 30rem / $pxConvertRem;
background-color: #fff;
.allproduct {
position: relative;
padding: 15px 0px;
background: #fff;
border-top: 15px;
border-bottom: 15px;
padding-left: 32rem / $pxConvertRem;
border-top: 1px solid #e6e6e6;
}
.margin-under-allproduct{
width: 100%;
height: 30rem / $pxConvertRem;
background-color: #f0f0f0;
}
.category-container{
border-top: 1px solid #e6e6e6;
}
.arrow-icon {
position: absolute;
font-size: 16px;
top: 15px;
right: 20px;
color: #e1e1e1;
}
.allproductParagaraph {
font-size: 18px;
left: 20px;
}
.content {
background: #fff;
&.hide {
display: none;
}
}
.primary-level {
float: left;
box-sizing: border-box;
width: 100%;
position: absolute;
> li {
position:relative;
height: 89rem / $pxConvertRem;
line-height: 89rem / $pxConvertRem;
box-sizing: border-box;
border-bottom: 1px solid #e6e6e6;
background-color: #fff;
margin-left: 30rem / $pxConvertRem;
}
}
.primary-level-trilangle{
float: right;
background: image-url('product/arrow.png');
margin-top: 14rem / $pxConvertRem;
width: 21rem / $pxConvertRem;
height: 60rem / $pxConvertRem;
background-repeat: no-repeat;
}
.trilanglefont {
font-family: "iconfont" !important;
font-size: 30px;
font-style: normal;
text-decoration: none;
-webkit-font-smoothing: antialiased;
-webkit-text-stroke-width: 0.2px;
-moz-osx-font-smoothing: grayscale;
color: #f4f4f4;
}
.sub-level-container {
float: right;
box-sizing: border-box;
background: #f4f4f4;
width: 55%;
height: 100%;
position: relative;
}
.sub-level {
width: 100%;
&.hide {
display: none;
}
> li {
box-sizing: border-box;
height: 89rem / $pxConvertRem;
line-height: 89rem / $pxConvertRem;
border-bottom: 1px solid #e6e6e6;
margin-left: 30rem / $pxConvertRem;
padding-left: 0rem / $pxConvertRem;
&.highlight {
background: #dbdbdb;
margin-left: 0rem / $pxConvertRem;
padding-left: 30rem / $pxConvertRem;
}
&:last-child {
border-bottom: none;
}
}
a {
display: block;
height: 100%;
width: 100%;
color: #afafaf;
}
}
}