-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
149 lines (125 loc) · 1.94 KB
/
style.css
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
*
{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body
{
background: #DADADA;
font-family: 'Open Sans';
}
.center
{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border: 1px solid rgba(204, 204, 204, 1)
}
.boxItem
{
background: #FFF;
min-width: 400px;
box-shadow: 0 0 10px rgba(0,0,0,0.01);
}
.imgPro
{
background: #ededee;
}
.imgPro img{
width: 150px;
margin: 0 auto;
display: block;
padding: 50px 0;
}
hr{
border: 1px solid rgba(204, 204, 204, .4);
}
.title
{
font-size: 1.2rem;
font-weight: 500;
padding: 20px 0 5px 30px;
}
p
{
font-size: .8rem;
padding: 0 0 0 30px;
}
.allColors
{
list-style-type: none;
display: flex;
align-items: center;
padding: 10px 0 0 30px;
}
.allColors li
{
width: 20px;
height: 20px;
/*background: red;*/
display: inline-block;
border-radius: 100px;
margin-right: 37px;
cursor: pointer;
box-sizing: unset;
transition: all 100ms ease-in;
border: 3px solid transparent;
}
.allColors li.active
{
border: 3px solid #FFF;
box-shadow: 0 0 0 2px #CCC;
}
.allColors li.black
{
background: #000;
}
.allColors li.gold
{
background: #ead2bb;
}
.allColors li.jetblack
{
background: #000;
}
.allColors li.rosegold
{
background: #ddb0ab
}
.allColors li.silver
{
background: #C3C4C6;
}
.price
{
padding: 15px 0 25px 30px;
}
.price b
{
font-size: 1.3rem;
position: relative;
font-weight: 500;
}
.price b span
{
position: absolute;
font-size: .9rem;
left: -10px;
}
.price small
{
margin-left: 10px;
color: #CCC;
font-size: .7rem;
}
.animate
{
animation: fadeIn 200ms 1 forwards;
}
@keyframes fadeIn
{
0% {opacity: 0}
100% {opacity: 1}
}