-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmain.styl
executable file
·198 lines (154 loc) · 2.71 KB
/
main.styl
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
font-content = "Source Sans Pro"
color-border = #dadada
color-text-price = #cacaca
body
background #fafafa
font-family font-content
margin 0
padding 0
a
text-decoration none
header
background #262626
padding 1rem
margin 0
display flex
header a
color white
h1
font-size 2rem
font-weight 300
margin 0
flex-grow 1
input, button
border 1px solid color-border
padding 10px
.product-list
display flex
flex-wrap wrap
margin 10px
.product
border 1px solid color-border
margin-left 10px
margin-top 10px
background white
.metadata
border-bottom 1px solid color-border
background #f2f2f2
padding 15px
.name
color #7b7b7b
text-transform uppercase
font-size 14px
.caption
color #545454
padding-top 5px
.thumb
width 350px
height 350px
padding 15px
display flex
img
width 350px
margin auto
.price
padding-right 10px
padding-bottom 5px
text-align right
color color-text-price
font-size 28px
font-weight 600
.product-details
padding 25px
h2
font-size 28px
font-weight 400
margin 0
color #727272
h3
font-weight 400
color #aaaaaa
.product-details
.image
max-width 600px
label
text-transform uppercase
font-size 12px
font-weight 600
color #727272
.purchase
padding 25px 0
input
width 70px
.configurations
display flex
flex-wrap wrap
.configuration
font-size 14px
display flex
border 1px solid color-border
margin-bottom 5px
margin-right 5px
padding 5px
.configuration:hover
border 1px solid #aaaaaa
.configuration.selected
border 2px solid #727272
.attributes
border-right 1px solid color-border
padding-right 25px
min-width 250px
.key
text-transform uppercase
font-weight 600
.price
font-size 18px
font-weight 600
color #727272
padding 0 15px
margin auto
.cart-icon
display flex
i
font-size 36px
color white
.marker
margin-left 5px
background red
border-radius 50%
width 22px
height 22px
text-align center
font-weight bold
.cart
padding 15px
.name
text-transform uppercase
color #7b7b7b
font-size 14px
.caption
color #545454
padding-top 5px
.price
padding 25px
color color-text-price
font-size 20px
font-weight 600
input
width: 75px
.checkout
padding 15px
.form
width: 500px
margin: 25px 0
tr
td:first-child
text-align right
padding-right 10px
width 1px
input
width 100%
.card
background white
border 1px solid color-border
padding 10px;