Showing
3 changed files
with
8 additions
and
8 deletions
@@ -39,12 +39,13 @@ | @@ -39,12 +39,13 @@ | ||
39 | line-height: 33px; | 39 | line-height: 33px; |
40 | text-align: center; | 40 | text-align: center; |
41 | font-size: 14px; | 41 | font-size: 14px; |
42 | + color: #999; | ||
42 | } | 43 | } |
43 | 44 | ||
44 | a { | 45 | a { |
45 | - display: block; | 46 | + display: inline-block; |
46 | box-sizing: border-box; | 47 | box-sizing: border-box; |
47 | - width: 100%; | 48 | + width: auto; |
48 | height: 100%; | 49 | height: 100%; |
49 | color: #999; | 50 | color: #999; |
50 | } | 51 | } |
@@ -52,15 +53,13 @@ | @@ -52,15 +53,13 @@ | ||
52 | .active > a { | 53 | .active > a { |
53 | border-bottom: 2px solid #000; | 54 | border-bottom: 2px solid #000; |
54 | color: #000; | 55 | color: #000; |
55 | - | ||
56 | - .iconfont { | ||
57 | - color: #999; | ||
58 | - | 56 | + } |
57 | + .active > .iconfont { | ||
58 | + color: #000; | ||
59 | &.cur { | 59 | &.cur { |
60 | color: #000; | 60 | color: #000; |
61 | } | 61 | } |
62 | } | 62 | } |
63 | - } | ||
64 | 63 | ||
65 | .filter .iconfont { | 64 | .filter .iconfont { |
66 | font-size: 12px; | 65 | font-size: 12px; |
@@ -22,8 +22,8 @@ | @@ -22,8 +22,8 @@ | ||
22 | <li class="filter"> | 22 | <li class="filter"> |
23 | <a href="javascript:void(0);"> | 23 | <a href="javascript:void(0);"> |
24 | 筛选 | 24 | 筛选 |
25 | - <span class="iconfont"></span> | ||
26 | </a> | 25 | </a> |
26 | + <span class="iconfont"></span> | ||
27 | </li> | 27 | </li> |
28 | </ul> | 28 | </ul> |
29 | 29 |
-
Please register or login to post a comment