nav.scss
2.14 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
.seckill-list {
.nav-list {
background-color: #fff;
width: 750px;
border-top: solid 1PX #e1e1e1;
height: 119px;
overflow: hidden;
&.fix-top {
position: fixed;
top: 0;
right: 0;
left: 0;
z-index: 100;
box-shadow: 0 1px 0 0 #e1e1e1;
}
}
}
.seckill-list .nav-list ul {
width: auto;
overflow: hidden;
height: 100%;
padding-top: 20px;
li {
width: 226px;
height: 79px;
border-right: solid 1PX #e1e1e1;
text-align: center;
float: left;
$status-list: over, now, wait;
@each $status in $status-list {
&.#{$status} {
.tip-#{$status},
.info-#{$status} {
display: initial;
}
}
}
&.last {
.last-info {
display: block;
}
.last-count-down {
display: none;
}
}
.status,
.last-info {
display: none;
}
p {
font-size: 22px;
}
&:last-child {
border: none;
}
&.focus {
width: 300px;
.selected {
display: block;
}
.normal {
display: none;
}
}
.selected {
display: none;
color: #d0021b !important;
height: 79px;
line-height: 40px;
.time {
font-weight: bold;
}
}
.normal {
display: block;
height: 79px;
line-height: 40px;
}
.time {
font-size: 30px;
span {
margin-right: 5px;
font-size: 30px;
}
}
.tick {
font-size: 20px;
background-color: #d60117;
color: #fff;
margin-left: 10px;
border-radius: 3PX;
padding-left: 5px;
padding-right: 5px;
}
}
}