This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcatalog.css
334 lines (262 loc) · 5.56 KB
/
catalog.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
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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
*{
box-sizing: border-box;
}
/* Background pattern from subtlepatterns.com (free for any use) https://subtlepatterns.com/about/ */
body {
background: url(https://subtlepatterns.com/patterns/classy_fabric.png) ;
}
/* Menu Button from http://www.w3schools.com/howto/howto_css_menu_icon.asp container needed to trigger js in child elements */
header{
font: 12px/18px Arial, sans-serif;
font-size: 1.2rem;
font-weight: normal;
text-decoration: none;
}
.container {
}
.dynosquare{
display: block;
margin: 0px;
padding: 5px;
background: rgb(130,130,130);
width: 48px;
height: 50px;
border-radius:7px;
text-align: center;
}
.dynosquare:hover{
background: rgb(100, 100, 100);
}
.menuarea{
display: inline-block;
position: relative;
border-radius: 7px;
padding: 5px;
cursor: pointer;
margin: 10px;
}
.change .menuarea{
background: rgb(130, 130, 130);
width: 170px;
height: 100vh;
overflow-y: scroll;
}
.change .menuarea::-webkit-scrollbar{
width: 0.60em;
}
.change .menuarea::-webkit-scrollbar-track{
-webkit-box-shadow: inset 0 0 5px rgb(100,100,100);
}
.change .menuarea::-webkit-scrollbar-thumb{
background-color: rgb(200,200,200);
outline: 1px solid darkgrey;
}
.bar1, .bar2, .bar3, .bar4 {
width: 35px;
height: 5px;
background-color: #333;
margin: 6px 0;
transition: 0.4s;
}
.bar1 {
margin: 0px;
}
.change .container{
width: 200px;
}
.change .bar2 {
-webkit-transform: rotate(-90deg) translate(-6px, -16px) ;
transform: rotate(-90deg) translate(-6px, -16px) ;
}
.change .bar3 {
-webkit-transform: rotate(90deg) translate(-6px, -16px) ;
transform: rotate(90deg) translate(-6px, -16px) ;
}
.change .bar4 {
}
/* Styles for filters at top of page z-index*/
.toolbar{
position: fixed;
width: 150px;
top: 0px;
margin: 0;
z-index: 1;
transition: transform 0.2s;
}
.menuarea button {
visibility: hidden;
font-weight: bold;
background: rgb(130,130,130);
position: relative;
margin: auto;
width: 140px;
cursor: pointer;
line-height: normal;
padding: .5rem 1rem;
height: auto;
border: 1px solid;
vertical-align: middle;
-webkit-appearance: none;
color: white;
transition: transform 0.2s;
transform: translateX(-50px);
}
.menuarea button:hover{
color: black;
font-weight: bold;
background: rgb(255,255,255);
}
.change .menuarea button {
visibility: visible;
text-decoration: none;
transform: translateX(0px);
}
#wrapper {
width: 90%;
max-width: 1100px;
min-width: 800px;
margin: 50px auto;
}
/* the column margin-top gives room for the filter menu when loading the top of the page */
#columns {
margin-top: 30px;
-webkit-column-count: 1;
-webkit-column-gap: 10px;
-webkit-column-fill: auto;
-moz-column-count: 1;
-moz-column-gap: 10px;
-moz-column-fill: auto;
column-count: 1;
column-gap: 15px;
column-fill: auto;
}
.pin {
display: inline-block;
background: #FEFEFE;
border: 2px solid #FAFAFA;
box-shadow: 0 1px 2px rgba(34, 25, 25, 0.4);
margin: 0 2px 15px;
-webkit-column-break-inside: avoid;
-moz-column-break-inside: avoid;
padding: 15px;
padding-bottom: 5px;
background: -webkit-linear-gradient(45deg, #FFF, #F9F9F9);
opacity: 1;
-webkit-transition: all .2s ease;
-moz-transition: all .2s ease;
-o-transition: all .2s ease;
transition: all .2s ease;
transform: scale(0);
}
.pin img {
width: 100%;
border-bottom: 1px solid #ccc;
padding-bottom: 15px;
margin-bottom: 5px;
}
.pin h4{
text-align: center;
background-color: rgb(211,211,211);
border: 2px black;
border-radius: 7px;
display: block;
margin: 0;
padding: 0;
font-weight: normal;
}
#auction { color: red;}
#art { color: purple;}
#beauty { color: fuchsia;}
#food { color: teal;}
#entertainment{ color: maroon;}
#home { color: Navy;}
#services { color: blue;}
#sports { color: grey;}
#travel { color: lime;}
#teacher { color: black;}
#memorabila { color:black;}
#kids { color: black;}
#desserts { color: black;}
#raffle { color: black;}
.pin p {
font: 12px/18px Arial, sans-serif;
color: rgb(51, 51, 51);
margin: 0;
}
.pin button {
float: right;
padding: 5px 10px;
background-color: rgb(76, 175, 80);
color: white;
border: 2px solid rgb(76, 175, 80);
border-radius: 7px;
-webkit-transition-duration: 0.3s; /* Safari & Chrome */
transition-duration: 0.3s;
cursor: pointer;
font-weight: bold;
}
.pin:hover{
}
.scale{
transform: scale(1);
}
.pin button:hover {
background-color: white;
color: black;
}
@media (min-width: 0px) {
#columns {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
}
@media (min-width: 500px) {
#columns {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
}
}
@media (min-width: 700px) {
#columns {
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
}
}
@media (min-width: 960px) {
#columns {
-webkit-column-count: 4;
-moz-column-count: 4;
column-count: 4;
}
}
@media (min-width: 1100px) {
#columns {
-webkit-column-count: 5;
-moz-column-count: 5;
column-count: 5;
}
}
::-moz-focus-inner {
border: 0;
padding: 0;
}
/* TODO the following manipulates the header tag somehow, MUST FIX */
#columns:hover .pin:not(:hover){
opacity: 0.4;
}
/* convert .tile to .pin incorporated above (only transfer: scale(0) was added
.tile {
-webkit-transform: scale(0);
transform: scale(0);
-webkit-transition: all 350ms ease;
transition: all 350ms ease;
}
.tile:hover {
}
.scale{
transform: scale(1);
}
*/