saucy 0.10.1 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ 0.10.2
2
+
3
+ Update static flutie.css and add public/ to the gem so that admin layout has styles.
4
+
1
5
  0.10.1
2
6
 
3
7
  Add admin reporting area at /admin/ to view accounts + users
@@ -0,0 +1,577 @@
1
+ /*
2
+ html5doctor.com Reset Stylesheet
3
+ v1.6.1
4
+ Last Updated: 2010-09-17
5
+ Author: Richard Clark - http://richclarkdesign.com
6
+ Twitter: @rich_clark
7
+ */
8
+ html, body, div, span, object, iframe,
9
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
10
+ abbr, address, cite, code,
11
+ del, dfn, em, img, ins, kbd, q, samp,
12
+ small, strong, sub, sup, var,
13
+ b, i,
14
+ dl, dt, dd, ol, ul, li,
15
+ fieldset, form, label, legend,
16
+ table, caption, tbody, tfoot, thead, tr, th, td,
17
+ article, aside, canvas, details, figcaption, figure,
18
+ footer, header, hgroup, menu, nav, section, summary,
19
+ time, mark, audio, video {
20
+ margin: 0;
21
+ padding: 0;
22
+ border: 0;
23
+ outline: 0;
24
+ font-size: 100%;
25
+ vertical-align: baseline;
26
+ background: transparent; }
27
+
28
+ body {
29
+ line-height: 1; }
30
+
31
+ article, aside, details, figcaption, figure,
32
+ footer, header, hgroup, menu, nav, section {
33
+ display: block; }
34
+
35
+ nav ul {
36
+ list-style: none; }
37
+
38
+ blockquote, q {
39
+ quotes: none; }
40
+
41
+ blockquote:before, blockquote:after,
42
+ q:before, q:after {
43
+ content: '';
44
+ content: none; }
45
+
46
+ a {
47
+ margin: 0;
48
+ padding: 0;
49
+ font-size: 100%;
50
+ vertical-align: baseline;
51
+ background: transparent; }
52
+
53
+ /* change colours to suit your needs */
54
+ ins {
55
+ background-color: #ff9;
56
+ color: #000;
57
+ text-decoration: none; }
58
+
59
+ /* change colours to suit your needs */
60
+ mark {
61
+ background-color: #ff9;
62
+ color: #000;
63
+ font-style: italic;
64
+ font-weight: bold; }
65
+
66
+ del {
67
+ text-decoration: line-through; }
68
+
69
+ abbr[title], dfn[title] {
70
+ border-bottom: 1px dotted;
71
+ cursor: help; }
72
+
73
+ table {
74
+ border-collapse: collapse;
75
+ border-spacing: 0; }
76
+
77
+ /* change border colour to suit your needs */
78
+ hr {
79
+ display: block;
80
+ height: 1px;
81
+ border: 0;
82
+ border-top: 1px solid #cccccc;
83
+ margin: 1em 0;
84
+ padding: 0; }
85
+
86
+ input, select {
87
+ vertical-align: middle; }
88
+
89
+ body {
90
+ color: #333;
91
+ font-size: 13px;
92
+ font-family: "helvetica neue", arial, helvetica, "lucida grande", sans-serif; }
93
+
94
+ h1, h2, h3, h4, h5, h6 {
95
+ color: #111;
96
+ font-family: "helvetica neue", Helvetica, arial, sans-serif; }
97
+
98
+ /* Success, error & notice boxes for messages and errors. */
99
+ div.error, div.notice, div.success,
100
+ #flash_failure, #flash_success, #flash_notice {
101
+ border: 1px solid #ddd;
102
+ -moz-border-radius: 8px;
103
+ -webkit-border-radius: 8px;
104
+ border-radius: 8px;
105
+ margin-bottom: 12px;
106
+ padding: 10px; }
107
+
108
+ div.error,
109
+ #flash_failure {
110
+ background: #FBE3E4;
111
+ border-color: #FBC2C4;
112
+ color: #D12F19; }
113
+
114
+ div.error a,
115
+ #flash_failure a {
116
+ color: #D12F19; }
117
+
118
+ div.notice,
119
+ #flash_notice {
120
+ background: #FFF6BF;
121
+ border-color: #FFD324;
122
+ color: #817134; }
123
+
124
+ div.notice a,
125
+ #flash_notice a {
126
+ color: #817134; }
127
+
128
+ div.success,
129
+ #flash_success {
130
+ background: #E6EFC2;
131
+ border-color: #C6D880;
132
+ color: #529214; }
133
+
134
+ div.success a,
135
+ #flash_success a {
136
+ color: #529214; }
137
+
138
+ /* Misc classes and elements */
139
+ /* Use a .box to create a padded box inside a column. */
140
+ .box {
141
+ background: #eee;
142
+ margin-bottom: 16px;
143
+ padding: 16px; }
144
+
145
+ /* Use this to create a horizontal ruler across a column. */
146
+ hr {
147
+ background: #ddd;
148
+ border: none;
149
+ clear: both;
150
+ color: #ddd;
151
+ float: none;
152
+ height: 1px;
153
+ margin: 0 0 12px;
154
+ width: 100%; }
155
+
156
+ hr.space {
157
+ background: #fff;
158
+ color: #fff; }
159
+
160
+ /* for image replacement */
161
+ .ir {
162
+ background-repeat: no-repeat;
163
+ direction: ltr;
164
+ display: block;
165
+ overflow: hidden;
166
+ text-align: left;
167
+ text-indent: -9999px; }
168
+
169
+ /* Hide for both screenreaders and browsers
170
+ css-discuss.incutio.com/wiki/Screenreader_Visibility */
171
+ .hidden {
172
+ display: none;
173
+ visibility: hidden; }
174
+
175
+ /* Hide only visually, but have it available for screenreaders
176
+ www.webaim.org/techniques/css/invisiblecontent/ & j.mp/visuallyhidden */
177
+ .visuallyhidden {
178
+ clip: rect(1px 1px 1px 1px);
179
+ /* IE6, IE7 */
180
+ clip: rect(1px, 1px, 1px, 1px);
181
+ position: absolute !important; }
182
+
183
+ /* Hide visually and from screenreaders, but maintain layout */
184
+ .invisible {
185
+ visibility: hidden; }
186
+
187
+ /* >> The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */
188
+ .clearfix:before,
189
+ .clearfix:after {
190
+ content: "\0020";
191
+ display: block;
192
+ height: 0;
193
+ visibility: hidden; }
194
+
195
+ .clearfix:after {
196
+ clear: both; }
197
+
198
+ /* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
199
+ .clearfix {
200
+ zoom: 1; }
201
+
202
+ .ie7 img {
203
+ -ms-interpolation-mode: bicubic; }
204
+
205
+ @media print {
206
+ * {
207
+ background: transparent !important;
208
+ color: #444 !important;
209
+ text-shadow: none !important; }
210
+
211
+ a, a:visited {
212
+ color: #444 !important;
213
+ text-decoration: underline; }
214
+
215
+ a:after {
216
+ content: " (" attr(href) ")"; }
217
+
218
+ abbr:after {
219
+ content: " (" attr(title) ")"; }
220
+
221
+ .ir a:after {
222
+ content: ""; }
223
+
224
+ /* Don't show links for images */
225
+ pre, blockquote {
226
+ border: 1px solid #999;
227
+ page-break-inside: avoid; }
228
+
229
+ thead {
230
+ display: table-header-group; }
231
+
232
+ /* css-discuss.incutio.com/wiki/Printing_Tables */
233
+ tr, img {
234
+ page-break-inside: avoid; }
235
+
236
+ @page {
237
+ margin: 0.5cm; }
238
+
239
+ p, h2, h3 {
240
+ orphans: 3;
241
+ widows: 3; }
242
+
243
+ h2, h3 {
244
+ page-break-after: avoid; } }
245
+ /* Headings */
246
+ h1, h2, h3, h4, h5, h6 {
247
+ font-weight: bold; }
248
+
249
+ h1 {
250
+ font-size: 28px;
251
+ line-height: 1.2;
252
+ margin-bottom: 12px; }
253
+
254
+ h2 {
255
+ font-size: 24px;
256
+ line-height: 1.2;
257
+ margin-bottom: 6px; }
258
+
259
+ h3 {
260
+ font-size: 18px;
261
+ line-height: 1.2;
262
+ margin-bottom: 4px; }
263
+
264
+ h4 {
265
+ font-size: 16px;
266
+ line-height: 1.3;
267
+ margin-bottom: 4px; }
268
+
269
+ h5 {
270
+ font-size: 14px;
271
+ margin-bottom: 4px; }
272
+
273
+ h6 {
274
+ font-size: 12px;
275
+ margin-bottom: 4px; }
276
+
277
+ /* Text elements */
278
+ p {
279
+ line-height: 1.4;
280
+ margin-bottom: 12px; }
281
+
282
+ /* Use this if the image is at the top of the <p>. */
283
+ p img.top {
284
+ margin-top: 0; }
285
+
286
+ img {
287
+ margin: 0 0 12px; }
288
+
289
+ abbr, acronym {
290
+ border-bottom: 1px dotted #666;
291
+ cursor: help; }
292
+
293
+ address {
294
+ font-style: italic;
295
+ margin-top: 16px; }
296
+
297
+ del {
298
+ color: #666; }
299
+
300
+ a, a:link {
301
+ color: #1a4882;
302
+ text-decoration: underline; }
303
+
304
+ a:visited {
305
+ color: #1a4882; }
306
+
307
+ a:hover {
308
+ color: #052246; }
309
+
310
+ a:active,
311
+ a:focus {
312
+ color: #1a4882; }
313
+
314
+ blockquote {
315
+ border-left: 4px solid #d1d1d1;
316
+ color: #666;
317
+ font-style: italic;
318
+ margin: 16px 0;
319
+ padding-left: 12px; }
320
+
321
+ strong {
322
+ font-weight: bold; }
323
+
324
+ em,
325
+ dfn {
326
+ font-style: italic; }
327
+
328
+ dfn {
329
+ font-weight: bold; }
330
+
331
+ pre, code {
332
+ margin: 12px 0;
333
+ white-space: pre;
334
+ /* CSS2 */
335
+ white-space: pre-wrap;
336
+ /* CSS 2.1 */
337
+ word-wrap: break-word;
338
+ /* IE */ }
339
+
340
+ pre, code, tt {
341
+ font: 12px 'andale mono', 'monotype.com', 'lucida console', monospace;
342
+ line-height: 1.5; }
343
+
344
+ pre.code {
345
+ background: #000;
346
+ color: #fff;
347
+ padding: 20px; }
348
+
349
+ tt {
350
+ display: block;
351
+ line-height: 1.5;
352
+ margin: 16px 0; }
353
+
354
+ /* Forms */
355
+ /*
356
+ * Remove inner padding and border in FF3/4
357
+ * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
358
+ */
359
+ input[type="submit"]::-moz-focus-inner {
360
+ border: 0;
361
+ padding: 0; }
362
+
363
+ form ol {
364
+ list-style: none;
365
+ margin: 0 0 12px 0; }
366
+
367
+ form ol ol {
368
+ margin-left: 0; }
369
+
370
+ form ol li {
371
+ list-style-position: outside;
372
+ margin: 0 0 12px 0; }
373
+
374
+ /*list-style-position fixes IE label margin bug*/
375
+ form ol ol li {
376
+ list-style-position: outside;
377
+ margin: 0 0 4px 0; }
378
+
379
+ form ol li.error input {
380
+ background: #FBE3E4; }
381
+
382
+ p.inline-errors {
383
+ color: #D12F19; }
384
+
385
+ form ol li.file {
386
+ background: #e1e1e1;
387
+ border: 1px solid #c8c8c8;
388
+ padding: 10px; }
389
+
390
+ form abbr {
391
+ border-bottom: 0; }
392
+
393
+ label {
394
+ display: block; }
395
+
396
+ .required label {
397
+ font-weight: bold; }
398
+
399
+ .checkbox_field label,
400
+ .radio_field label {
401
+ font-weight: normal; }
402
+
403
+ a.cancel {
404
+ color: #7d0d0d; }
405
+
406
+ .inline-hints {
407
+ color: #666;
408
+ font-size: 11px;
409
+ margin-bottom: 4px; }
410
+
411
+ /* Fieldsets */
412
+ fieldset {
413
+ background: #f1f1f1;
414
+ border: 1px solid #e3e3e3;
415
+ margin: 0 0 16px 0;
416
+ padding: 16px 16px 12px 16px; }
417
+
418
+ fieldset fieldset,
419
+ fieldset fieldset fieldset {
420
+ border: 0;
421
+ padding: 0; }
422
+
423
+ legend {
424
+ font-weight: bold; }
425
+
426
+ .ie6 legend, .ie7 legend {
427
+ margin-left: -7px; }
428
+
429
+ fieldset.buttons {
430
+ background: inherit;
431
+ border: 0;
432
+ padding: 0; }
433
+
434
+ fieldset.buttons li {
435
+ display: inline; }
436
+
437
+ .radio fieldset {
438
+ margin: 0;
439
+ padding: 0; }
440
+
441
+ /* Text fields */
442
+ input[type="color"],
443
+ input[type="date"],
444
+ input[type="datetime"],
445
+ input[type="datetime-local"],
446
+ input[type="email"],
447
+ input[type="month"],
448
+ input[type="number"],
449
+ input[type="password"],
450
+ input[type="range"],
451
+ input[type="search"],
452
+ input[type="tel"],
453
+ input[type="text"],
454
+ input[type="time"],
455
+ input[type="url"],
456
+ input[type="week"] {
457
+ font-size: inherit;
458
+ padding: 3px 2px;
459
+ width: 300px; }
460
+
461
+ .ie6 input {
462
+ vertical-align: text-bottom; }
463
+
464
+ input[disabled='disabled'] {
465
+ background-color: #fcfcfc;
466
+ cursor: default; }
467
+
468
+ input[type="checkbox"] {
469
+ margin: 0 3px 0 0;
470
+ position: relative;
471
+ top: -2px;
472
+ vertical-align: middle; }
473
+
474
+ .ie7 input[type="checkbox"] {
475
+ vertical-align: baseline; }
476
+
477
+ input[type="radio"] {
478
+ margin: 0 3px 0 0;
479
+ position: relative;
480
+ top: -2px;
481
+ vertical-align: middle; }
482
+
483
+ .check_boxes label {
484
+ display: inline;
485
+ padding: 0;
486
+ vertical-align: middle; }
487
+
488
+ .radio label {
489
+ padding: 0; }
490
+
491
+ /* Textareas */
492
+ textarea {
493
+ font-size: inherit;
494
+ height: 200px;
495
+ margin: 0 6px 6px 0;
496
+ padding: 5px;
497
+ width: 440px;
498
+ overflow: auto; }
499
+
500
+ /* Select fields */
501
+ fieldset .select select {
502
+ width: 200px;
503
+ font-size: 11px; }
504
+
505
+ optgroup {
506
+ margin: 0 0 6px 0; }
507
+
508
+ /* Date & Time */
509
+ form ol li.date select,
510
+ form ol li.time select,
511
+ form ol li.datetime select {
512
+ display: inline;
513
+ width: auto; }
514
+
515
+ form ol li.date ol li,
516
+ form ol li.time ol li,
517
+ form ol li.datetime ol li {
518
+ display: inline-block; }
519
+
520
+ /* Tables */
521
+ table {
522
+ margin-bottom: 24px;
523
+ width: 100%; }
524
+
525
+ th {
526
+ border-bottom: 2px solid #ccc;
527
+ font-weight: bold;
528
+ text-align: left; }
529
+
530
+ td {
531
+ border-bottom: 1px solid #ddd; }
532
+
533
+ caption, th, td {
534
+ padding: 4px 10px 4px 0; }
535
+
536
+ caption {
537
+ background: #f1f1f1;
538
+ margin-bottom: 12px;
539
+ padding: 10px 0; }
540
+
541
+ tr, td, th {
542
+ vertical-align: middle; }
543
+
544
+ /* Use this if you use span-x classes on th/td. */
545
+ table .last {
546
+ padding-right: 0; }
547
+
548
+ /* Lists */
549
+ ul, ol {
550
+ list-style-position: inside;
551
+ margin-bottom: 16px; }
552
+
553
+ ul {
554
+ list-style-type: disc; }
555
+
556
+ ol {
557
+ list-style-type: decimal; }
558
+
559
+ dl {
560
+ line-height: 1.4;
561
+ margin-bottom: 16px; }
562
+
563
+ dl dt {
564
+ font-weight: bold;
565
+ margin-top: 6px; }
566
+
567
+ dl dd {
568
+ margin-bottom: 0em; }
569
+
570
+ dd {
571
+ margin-left: 6px; }
572
+
573
+ li {
574
+ line-height: 1.4; }
575
+
576
+ ol ol, ol ul, ul ul, ul ol {
577
+ margin-left: 12px; }
@@ -0,0 +1,31 @@
1
+ body {
2
+ font-family: Helvetica, Arial, sans-serif;
3
+ color: #333;
4
+ background-color: #fff;
5
+ }
6
+
7
+ #container header {
8
+ padding: 10px 20px;
9
+ background-color: #333;
10
+ border-bottom: 1px solid #000;
11
+ margin-bottom: 15px;
12
+ }
13
+
14
+ #container header a {
15
+ color: #fff;
16
+ text-decoration: none;
17
+ }
18
+
19
+ #container header h1 {
20
+ font-size: 1.6em;
21
+ }
22
+
23
+ #container #main {
24
+ margin: 0 20px;
25
+ width: auto;
26
+ background-color: #fff;
27
+ }
28
+
29
+ #container .search {
30
+ float: right;
31
+ }
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saucy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 53
4
+ hash: 51
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 10
9
- - 1
10
- version: 0.10.1
9
+ - 2
10
+ version: 0.10.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - thoughtbot, inc.
@@ -214,6 +214,8 @@ files:
214
214
  - app/views/projects/show.html.erb
215
215
  - app/views/shared/_project_dropdown.html.erb
216
216
  - app/views/shared/_saucy_javascript.html.erb
217
+ - public/saucy/stylesheets/flutie.css
218
+ - public/saucy/stylesheets/screen.css
217
219
  - lib/generators/saucy/base.rb
218
220
  - lib/generators/saucy/features/features_generator.rb
219
221
  - lib/generators/saucy/features/templates/factories.rb