This repository has been archived by the owner on Mar 13, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 140
/
buttons.css
457 lines (416 loc) · 14.2 KB
/
buttons.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
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
/* general styles */
body {
text-rendering: optimizeLegibility;
}
button:hover {
cursor: pointer;
}
button::-moz-focus-inner {
border:0;
}
/* minimal
*******************************************************************************/
button.minimal {
background: #e3e3e3;
border: 1px solid #ccc;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
box-shadow: inset 0 0 1px 1px #f6f6f6;
-moz-box-shadow: inset 0 0 1px 1px #f6f6f6;
-webkit-box-shadow: inset 0 0 1px 1px #f6f6f6;
color: #333;
font-family: "helvetica neue", helvetica, arial, sans-serif;
font-size: 12px;
font-weight: bold;
line-height: 1;
padding: 8px 0 9px;
text-align: center;
text-shadow: 0 1px 0px #fff;
width: 150px;
}
button.minimal:hover {
background: #d9d9d9;
box-shadow: inset 0 0 1px 1px #eaeaea;
-moz-box-shadow: inset 0 0 1px 1px #eaeaea;
-webkit-box-shadow: inset 0 0 1px 1px #eaeaea;
color: #222;
}
button.minimal:active {
background: #d0d0d0;
box-shadow: inset 0 0 1px 1px #e3e3e3;
-moz-box-shadow: inset 0 0 1px 1px #e3e3e3;
-webkit-box-shadow: inset 0 0 1px 1px #e3e3e3;
color: #000;
}
/* clean gray
*******************************************************************************/
button.clean-gray {
background: #eee;
background: -moz-linear-gradient(0% 100% 90deg, #bfbfbf, #eee);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#eee), to(#bfbfbf));
border: 1px solid #ccc;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
box-shadow: inset 0 0 5px #f5f5f5;
-moz-box-shadow: inset 0 0 5px #f5f5f5;
-webkit-box-shadow: inset 0 0 5px #f5f5f5;
color: #333;
font-family: "lucida grande", sans-serif;
font-size: 12px;
font-weight: bold;
line-height: 1;
padding: 8px 0;
text-align: center;
text-shadow: 0 1px 0px #eee;
width: 150px;
}
button.clean-gray:hover {
background: #dfdfdf;
background: -moz-linear-gradient(0% 100% 90deg, #aaa, #dfdfdf);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#dfdfdf), to(#aaa));
box-shadow: inset 0 0 5px #e5e5e5;
-moz-box-shadow: inset 0 0 5px #e5e5e5;
-webkit-box-shadow: inset 0 0 5px #e5e5e5;
}
button.clean-gray:active {
background: #bfbfbf;
background: -moz-linear-gradient(0% 100% 90deg, #eee, #bfbfbf);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#bfbfbf), to(#eee));
}
/* clean green (inspired by okcupid.com)
*******************************************************************************/
button.clean-green {
background: #7fbf4d;
background: -moz-linear-gradient(0% 100% 90deg,#63a62f, #7fbf4d);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#7fbf4d), to(#63a62f));
border: 1px solid #63a62f;
border-width: 1px 1px 0 1px;
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
box-shadow: inset 0 1px 0 0 #96ca6d;
-moz-box-shadow: inset 0 1px 0 0 #96ca6d;
-webkit-box-shadow: inset 0 1px 0 0 #96ca6d;
color: #fff;
font-family: "lucida grande", sans-serif;
font-size: 11px;
font-weight: bold;
line-height: 1;
padding: 7px 0 8px 0;
text-align: center;
text-shadow: 0 -1px 0 #4c9021;
width: 150px;
}
button.clean-green:hover {
background: #5a962c;
background: -moz-linear-gradient(0% 100% 90deg,#5a962c, #72ac45);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#72ac45), to(#5a962c));
}
button.clean-green:active {
background: #7fbf4d;
background: -moz-linear-gradient(0% 100% 90deg,#7fbf4d, #63a62f);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#63a62f), to(#7fbf4d));
box-shadow: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;
border-width: 0 1px 1px 1px;
padding: 8px 0 7px 0;
}
/* pale blue (inspired by okcupid.com)
*******************************************************************************/
button.pale-blue {
background: #e7eef5;
border: 1px solid #becfe3;
border-radius: 16px;
-moz-border-radius: 16px;
-webkit-border-radius: 16px;
box-shadow: inset 0 1px 0 0 #fff;
-moz-box-shadow: inset 0 1px 0 0 #fff;
-webkit-box-shadow: inset 0 1px 0 0 #fff;
color: #2a65a6;
font-family: "lucida grande", sans-serif;
font-size: 12px;
font-weight: normal;
line-height: 1;
padding: 5px 0 6px 0;
text-align: center;
width: 150px;
}
button.pale-blue:hover {
color: #6f8cc0;
}
button.pale-blue:active {
border: 1px solid #8c98a7;
color: #6f8cc0;
}
/* blue pill (inspired by iTunes)
As of 19 Sep 2010 there is a bug in Chrome/Win affecting this button:
http://code.google.com/p/chromium/issues/detail?id=29427
*******************************************************************************/
button.blue-pill {
background: #64799e;
background: -moz-linear-gradient(0% 100% 90deg, #64799e, #a5b8da);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#a5b8da), to(#64799e));
border: 1px solid #7089b3;
border-radius: 18px;
-moz-border-radius: 18px;
-webkit-border-radius: 18px;
box-shadow: inset 0 1px 0 0 #b4c9ed;
-moz-box-shadow: inset 0 1px 0 0 #b4c9ed;
-webkit-box-shadow: inset 0 1px 0 0 #b4c9ed;
color: #2b3951;
font-family: "helvetica neue", helvetica, arial, sans-serif;
font-size: 12px;
font-weight: bold;
line-height: 1;
padding: 8px 0 8px 0;
text-align: center;
text-shadow: 0 1px 0 #99b9f2;
text-transform: uppercase;
width: 150px;
}
button.blue-pill:hover {
background: #576989;
background: -moz-linear-gradient(0% 100% 90deg, #576989, #9eb0d1);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#9eb0d1), to(#576989));
}
button.blue-pill:active {
background: #a5b8da;
background: -moz-linear-gradient(0% 100% 90deg, #a5b8da, #64799e);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#64799e), to(#a5b8da));
box-shadow: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;
}
/* dribbble (inspired by dribbble.com)
*******************************************************************************/
button.dribbble {
background: #F26895;
background: -webkit-gradient(linear, 0% 50%, 0% 51%, from(#F26895), to(#F15587));
background: -moz-linear-gradient(0% 100% 90deg, #F15587 0%, #F15587 50%, #F26895 50%, #F26895 100%);
border: 0;
border-radius: 6px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
color: #fcfcfc;
font-family: "helvetica neue", helvetica, arial, sans-serif;
font-size: 16px;
font-weight: bold;
line-height: 1;
padding: 10px 0 12px 0;
text-align: center;
text-shadow: 0px -1px 1px rgba(104, 45, 64, .7);
width: 150px;
}
button.dribbble:hover {
background: #e2558b;
background: -moz-linear-gradient(0% 100% 90deg, #df3e7b 0%, #df3e7b 50%, #e2558b 50%, #e2558b 100%);
background: -webkit-gradient(linear, 0% 50%, 0% 51%, from(#e2558b), to(#df3e7b));
}
button.dribbble:active {
background: #c94477;
background: -moz-linear-gradient(0% 100% 90deg, #c22b65 0%, #c22b65 50%, #c94477 50%, #c94477 100%);
background: -webkit-gradient(linear, 0% 50%, 0% 51%, from(#c94477), to(#c22b65));
}
/* slick black
*******************************************************************************/
button.slick-black {
background: #111;
background: -moz-linear-gradient(0% 100% 90deg, #FFFFFF, #000000,
rgba(0, 0, 0, 0.9) 0%,
rgba(20, 20, 20, 0.9) 50%,
rgba(30, 30, 30, 0.9) 50%,
rgba(50, 50, 50, 0.9) 100%);
background: -webkit-gradient(linear, 0 0, 0 100%,
color-stop(0, rgba(50, 50, 50, 0.9)),
color-stop(0.5, rgba(30, 30, 30, 0.9)),
color-stop(0.5, rgba(20, 20, 20, 0.9)),
color-stop(1, rgba(0, 0, 0, 0.9)));
border: 0;
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
box-shadow: inset 1px 1px 1px 0px rgba(135, 135, 135, 0.1), inset -1px -1px 1px 0px rgba(135, 135, 135, 0.1);
-moz-box-shadow: inset 1px 1px 1px 0px rgba(135, 135, 135, 0.1), inset -1px -1px 1px 0px rgba(135, 135, 135, 0.1);
-webkit-box-shadow: inset 1px 1px 1px 0px rgba(135, 135, 135, 0.1), inset -1px -1px 1px 0px rgba(135, 135, 135, 0.1);
color: #fff;
font-family: "helvetica neue", helvetica, arial, sans-serif;
font-size: 22px;
font-weight: lighter;
line-height: 1;
padding: 12px 0;
text-shadow: 0px -1px 1px rgba(0, 0, 0, .8), 0 1px 1px rgba(255, 255, 255, 0.3);
width: 150px;
}
button.slick-black:hover {
background: #222;
background: -moz-linear-gradient(0% 100% 90deg, #FFFFFF, #000000,
rgba(20, 20, 20, 0.9) 0%,
rgba(40, 40, 40, 0.9) 50%,
rgba(50, 50, 50, 0.9) 50%,
rgba(70, 70, 70, 0.9) 100%);
background: -webkit-gradient(linear, 0 0, 0 100%,
color-stop(0, rgba(70, 70, 70, 0.9)),
color-stop(0.5, rgba(50, 50, 50, 0.9)),
color-stop(0.5, rgba(40, 40, 40, 0.9)),
color-stop(1, rgba(20, 20, 20, 0.9)));
}
button.slick-black:active {
background: #000;
background: -moz-linear-gradient(0% 100% 90deg, #FFFFFF, #000000,
rgba(0, 0, 0, 0.9) 0%,
rgba(10, 10, 10, 0.9) 50%,
rgba(20, 20, 20, 0.9) 50%,
rgba(30, 30, 30, 0.9) 100%);
background: -webkit-gradient(linear, 0 0, 0 100%,
color-stop(0, rgba(30, 30, 30, 0.9)),
color-stop(0.5, rgba(20, 20, 20, 0.9)),
color-stop(0.5, rgba(10, 10, 10, 0.9)),
color-stop(1, rgba(0, 0, 0, 0.9)));
}
/* thoughtbot (inspired by thoughtbot.com)
*******************************************************************************/
button.thoughtbot {
background: #c63929;
background: -moz-linear-gradient(0% 100% 90deg, #891100 0%, #B51700 50%, #c63929 50%, #EE432E 100%);
background: -webkit-gradient(linear, 0 0, 0 100%, color-stop(0, #ee432e), color-stop(0.5, #c63929), color-stop(0.5, #b51700), color-stop(1, #891100));
border: 1px solid #951100;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4), 0 1px 3px #333;
-moz-box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4), 0 1px 3px #333;
-webkit-box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4), 0 1px 3px #333;
color: #fff;
font-family: "helvetica neue", helvetica, arial, sans-serif;
font-size: 20px;
font-weight: bold;
letter-spacing: 1px;
line-height: 1;
padding: 12px 0 14px 0;
text-align: center;
text-shadow: 0px -1px 1px rgba(0, 0, 0, .8);
width: 150px;
}
button.thoughtbot:hover {
background: #cb0500;
background: -moz-linear-gradient(0% 100% 90deg, #a20601 0%, #cb0500 50%, #db504d 50%, #f37873 100%);
background: -webkit-gradient(linear, 0 0, 0 100%, color-stop(0, #f37873), color-stop(0.5, #db504d), color-stop(0.5, #cb0500), color-stop(1, #a20601));
}
button.thoughtbot:active {
background: #b30300;
background: -moz-linear-gradient(0% 100% 90deg, #700d00 0%, #9c1500 50%, #ad3224 50%, #d43c28 100%);
background: -webkit-gradient(linear, 0 0, 0 100%, color-stop(0, #d43c28), color-stop(0.5, #ad3224), color-stop(0.5, #9c1500), color-stop(1, #700d00));
box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4);
-moz-box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4);
-webkit-box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4);
}
/* fat blue
*******************************************************************************/
button.fat-blue {
background: #4162a8;
border: 1px solid #19253f;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
box-shadow: inset 0 1px 10px 1px #5c8bee, 0px 1px 0 #1d2c4d, 0 6px 0px #1f3053, 0 8px 4px 1px #111;
-moz-box-shadow: inset 0 1px 10px 1px #5c8bee, 0px 1px 0 #1d2c4d, 0 6px 0px #1f3053, 0 8px 4px 1px #111;
-webkit-box-shadow: inset 0 1px 10px 1px #5c8bee, 0px 1px 0 #1d2c4d, 0 6px 0px #1f3053, 0 8px 4px 1px #111;
color: #fff;
font-family: "helvetica neue", helvetica, arial, sans-serif;
font-size: 20px;
font-weight: bold;
line-height: 1;
margin-bottom: 10px;
padding: 10px 0 12px 0;
text-align: center;
text-shadow: 0px -1px 1px rgba(0, 0, 0, .8);
width: 150px;
}
button.fat-blue:hover {
box-shadow: inset 0 0px 20px 1px #87adff, 0px 1px 0 #1d2c4d, 0 6px 0px #1f3053, 0 8px 4px 1px #111;
-moz-box-shadow: inset 0 0px 20px 1px #87adff, 0px 1px 0 #1d2c4d, 0 6px 0px #1f3053, 0 8px 4px 1px #111;
-webkit-box-shadow: inset 0 0px 20px 1px #87adff, 0px 1px 0 #1d2c4d, 0 6px 0px #1f3053, 0 8px 4px 1px #111;
}
button.fat-blue:active {
background: #395591;
box-shadow: inset 0 1px 10px 1px #5c8bee, 0 1px 0 #1d2c4d, 0 2px 0 #1f3053, 0 4px 3px 0 #111;
-moz-box-shadow: inset 0 1px 10px 1px #5c8bee, 0 1px 0 #1d2c4d, 0 2px 0 #1f3053, 0 4px 3px 0 #111;
-webkit-box-shadow: inset 0 1px 10px 1px #5c8bee, 0 1px 0 #1d2c4d, 0 2px 0 #1f3053, 0 4px 3px 0 #111;
margin-top: 58px;
}
/* iconic: check-alt
*******************************************************************************/
button.check-alt {
padding-right: 14px;
}
button.check-alt:before {
color: #333;
content: "Y";
display: inline;
font-size: 18px;
font-family: "IconicStroke";
font-weight: normal;
position: relative;
left: -16px;
line-height: 10px;
text-shadow: 0 1px 0px #fff;
top: 2px;
visibility: hidden;
}
button.check-alt:hover:before {
visibility: visible;
}
button.check-alt:active:before {
color: #0589C8;
}
/* iconic: heart
*******************************************************************************/
button.heart {
padding-right: 25px;
}
button.heart:before {
color: #fff;
content: "h";
font-size: 32px;
font-family: "IconicStroke";
font-weight: normal;
position: relative;
left: -16px;
line-height: 10px;
text-shadow: 0px -1px 1px rgba(104, 45, 64, .7);
top: 6px;
visibility: hidden;
}
button.heart:hover:before {
visibility: visible;
}
button.heart:active:before {
text-shadow: 0px -1px 10px rgba(104, 45, 64, 1);
}
/* iconic: chat
*******************************************************************************/
button.chat {
padding-right: 20px;
}
button.chat:before {
color: #fff;
content: "j";
font-size: 20px;
font-family: "IconicStroke";
font-weight: normal;
position: relative;
left: -13px;
line-height: 10px;
text-shadow: 0px -1px 1px rgba(104, 45, 64, .7);
top: 2px;
visibility: hidden;
}
button.chat:hover:before {
visibility: visible;
}
button.chat:active:before {
text-shadow: 0px -1px 10px rgba(104, 45, 64, 1);
}