handy-css-rails 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,692 +1,25 @@
1
- /* normalize.css v1.1.1 | MIT License | git.io/normalize */
2
- /* ==========================================================================
3
- HTML5 display definitions
4
- ========================================================================== */
5
- /**
6
- * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
7
- */
8
- article,
9
- aside,
10
- details,
11
- figcaption,
12
- figure,
13
- footer,
14
- header,
15
- hgroup,
16
- main,
17
- nav,
18
- section,
19
- summary {
20
- display: block; }
21
-
22
- /**
23
- * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
24
- */
25
- audio,
26
- canvas,
27
- video {
28
- display: inline-block;
29
- *display: inline;
30
- *zoom: 1; }
31
-
32
- /**
33
- * Prevent modern browsers from displaying `audio` without controls.
34
- * Remove excess height in iOS 5 devices.
35
- */
36
- audio:not([controls]) {
37
- display: none;
38
- height: 0; }
39
-
40
- /**
41
- * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
42
- * Known issue: no IE 6 support.
43
- */
44
- [hidden] {
45
- display: none; }
46
-
47
- /* ==========================================================================
48
- Base
49
- ========================================================================== */
50
- /**
51
- * 1. Prevent system color scheme's background color being used in Firefox, IE,
52
- * and Opera.
53
- * 2. Prevent system color scheme's text color being used in Firefox, IE, and
54
- * Opera.
55
- * 3. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
56
- * `em` units.
57
- * 4. Prevent iOS text size adjust after orientation change, without disabling
58
- * user zoom.
59
- */
60
- html {
61
- background: #fff;
62
- /* 1 */
63
- color: #000;
64
- /* 2 */
65
- font-size: 100%;
66
- /* 3 */
67
- -webkit-text-size-adjust: 100%;
68
- /* 4 */
69
- -ms-text-size-adjust: 100%;
70
- /* 4 */ }
71
-
72
- /**
73
- * Address `font-family` inconsistency between `textarea` and other form
74
- * elements.
75
- */
76
- html,
77
- button,
78
- input,
79
- select,
80
- textarea {
81
- font-family: sans-serif; }
82
-
83
- /**
84
- * Address margins handled incorrectly in IE 6/7.
85
- */
86
- body {
87
- margin: 0; }
88
-
89
- /* ==========================================================================
90
- Links
91
- ========================================================================== */
92
- /**
93
- * Address `outline` inconsistency between Chrome and other browsers.
94
- */
95
- a:focus {
96
- outline: thin dotted; }
97
-
98
- /**
99
- * Improve readability when focused and also mouse hovered in all browsers.
100
- */
101
- a:active,
102
- a:hover {
103
- outline: 0; }
104
-
105
- /* ==========================================================================
106
- Typography
107
- ========================================================================== */
108
- /**
109
- * Address font sizes and margins set differently in IE 6/7.
110
- * Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
111
- * and Chrome.
112
- */
113
- h1 {
114
- font-size: 2em;
115
- margin: 0.67em 0; }
116
-
117
- h2 {
118
- font-size: 1.5em;
119
- margin: 0.83em 0; }
120
-
121
- h3 {
122
- font-size: 1.17em;
123
- margin: 1em 0; }
124
-
125
- h4 {
126
- font-size: 1em;
127
- margin: 1.33em 0; }
128
-
129
- h5 {
130
- font-size: 0.83em;
131
- margin: 1.67em 0; }
132
-
133
- h6 {
134
- font-size: 0.67em;
135
- margin: 2.33em 0; }
136
-
137
- /**
138
- * Address styling not present in IE 7/8/9, Safari 5, and Chrome.
139
- */
140
- abbr[title] {
141
- border-bottom: 1px dotted; }
142
-
143
- /**
144
- * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
145
- */
146
- b,
147
- strong {
148
- font-weight: bold; }
149
-
150
- blockquote {
151
- margin: 1em 40px; }
152
-
153
- /**
154
- * Address styling not present in Safari 5 and Chrome.
155
- */
156
- dfn {
157
- font-style: italic; }
158
-
159
- /**
160
- * Address differences between Firefox and other browsers.
161
- * Known issue: no IE 6/7 normalization.
162
- */
163
- hr {
164
- -moz-box-sizing: content-box;
165
- box-sizing: content-box;
166
- height: 0; }
167
-
168
- /**
169
- * Address styling not present in IE 6/7/8/9.
170
- */
171
- mark {
172
- background: #ff0;
173
- color: #000; }
174
-
175
- /**
176
- * Address margins set differently in IE 6/7.
177
- */
178
- p,
179
- pre {
180
- margin: 1em 0; }
181
-
182
- /**
183
- * Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
184
- */
185
- code,
186
- kbd,
187
- pre,
188
- samp {
189
- font-family: monospace, serif;
190
- _font-family: 'courier new', monospace;
191
- font-size: 1em; }
192
-
193
- /**
194
- * Improve readability of pre-formatted text in all browsers.
195
- */
196
- pre {
197
- white-space: pre;
198
- white-space: pre-wrap;
199
- word-wrap: break-word; }
200
-
201
- /**
202
- * Address CSS quotes not supported in IE 6/7.
203
- */
204
- q {
205
- quotes: none; }
206
-
207
- /**
208
- * Address `quotes` property not supported in Safari 4.
209
- */
210
- q:before,
211
- q:after {
212
- content: '';
213
- content: none; }
214
-
215
- /**
216
- * Address inconsistent and variable font size in all browsers.
217
- */
218
- small {
219
- font-size: 80%; }
220
-
221
- /**
222
- * Prevent `sub` and `sup` affecting `line-height` in all browsers.
223
- */
224
- sub,
225
- sup {
226
- font-size: 75%;
227
- line-height: 0;
228
- position: relative;
229
- vertical-align: baseline; }
230
-
231
- sup {
232
- top: -0.5em; }
233
-
234
- sub {
235
- bottom: -0.25em; }
236
-
237
- /* ==========================================================================
238
- Lists
239
- ========================================================================== */
240
- /**
241
- * Address margins set differently in IE 6/7.
242
- */
243
- dl,
244
- menu,
245
- ol,
246
- ul {
247
- margin: 1em 0; }
248
-
249
- dd {
250
- margin: 0 0 0 40px; }
251
-
252
- /**
253
- * Address paddings set differently in IE 6/7.
254
- */
255
- menu,
256
- ol,
257
- ul {
258
- padding: 0 0 0 40px; }
259
-
260
- /**
261
- * Correct list images handled incorrectly in IE 7.
262
- */
263
- nav ul,
264
- nav ol {
265
- list-style: none;
266
- list-style-image: none; }
267
-
268
- /* ==========================================================================
269
- Embedded content
270
- ========================================================================== */
271
- /**
272
- * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
273
- * 2. Improve image quality when scaled in IE 7.
274
- */
275
- img {
276
- border: 0;
277
- /* 1 */
278
- -ms-interpolation-mode: bicubic;
279
- /* 2 */ }
280
-
281
- /**
282
- * Correct overflow displayed oddly in IE 9.
283
- */
284
- svg:not(:root) {
285
- overflow: hidden; }
286
-
287
- /* ==========================================================================
288
- Figures
289
- ========================================================================== */
290
- /**
291
- * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
292
- */
293
- figure {
294
- margin: 0; }
295
-
296
- /* ==========================================================================
297
- Forms
298
- ========================================================================== */
299
- /**
300
- * Correct margin displayed oddly in IE 6/7.
301
- */
302
- form {
303
- margin: 0; }
304
-
305
- /**
306
- * Define consistent border, margin, and padding.
307
- */
308
- fieldset {
309
- border: 1px solid #c0c0c0;
310
- margin: 0 2px;
311
- padding: 0.35em 0.625em 0.75em; }
312
-
313
- /**
314
- * 1. Correct color not being inherited in IE 6/7/8/9.
315
- * 2. Correct text not wrapping in Firefox 3.
316
- * 3. Correct alignment displayed oddly in IE 6/7.
317
- */
318
- legend {
319
- border: 0;
320
- /* 1 */
321
- padding: 0;
322
- white-space: normal;
323
- /* 2 */
324
- *margin-left: -7px;
325
- /* 3 */ }
326
-
327
- /**
328
- * 1. Correct font size not being inherited in all browsers.
329
- * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
330
- * and Chrome.
331
- * 3. Improve appearance and consistency in all browsers.
332
- */
333
- button,
334
- input,
335
- select,
336
- textarea {
337
- font-size: 100%;
338
- /* 1 */
339
- margin: 0;
340
- /* 2 */
341
- vertical-align: baseline;
342
- /* 3 */
343
- *vertical-align: middle;
344
- /* 3 */ }
345
-
346
- /**
347
- * Address Firefox 3+ setting `line-height` on `input` using `!important` in
348
- * the UA stylesheet.
349
- */
350
- button,
351
- input {
352
- line-height: normal; }
353
-
354
- /**
355
- * Address inconsistent `text-transform` inheritance for `button` and `select`.
356
- * All other form control elements do not inherit `text-transform` values.
357
- * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
358
- * Correct `select` style inheritance in Firefox 4+ and Opera.
359
- */
360
- button,
361
- select {
362
- text-transform: none; }
363
-
364
- /**
365
- * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
366
- * and `video` controls.
367
- * 2. Correct inability to style clickable `input` types in iOS.
368
- * 3. Improve usability and consistency of cursor style between image-type
369
- * `input` and others.
370
- * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
371
- * Known issue: inner spacing remains in IE 6.
372
- */
373
- button,
374
- html input[type="button"],
375
- input[type="reset"],
376
- input[type="submit"] {
377
- -webkit-appearance: button;
378
- /* 2 */
379
- cursor: pointer;
380
- /* 3 */
381
- *overflow: visible;
382
- /* 4 */ }
383
-
384
- /**
385
- * Re-set default cursor for disabled elements.
386
- */
387
- button[disabled],
388
- html input[disabled] {
389
- cursor: default; }
390
-
391
- /**
392
- * 1. Address box sizing set to content-box in IE 8/9.
393
- * 2. Remove excess padding in IE 8/9.
394
- * 3. Remove excess padding in IE 7.
395
- * Known issue: excess padding remains in IE 6.
396
- */
397
- input[type="checkbox"],
398
- input[type="radio"] {
399
- box-sizing: border-box;
400
- /* 1 */
401
- padding: 0;
402
- /* 2 */
403
- *height: 13px;
404
- /* 3 */
405
- *width: 13px;
406
- /* 3 */ }
407
-
408
- /**
409
- * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
410
- * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
411
- * (include `-moz` to future-proof).
412
- */
413
- input[type="search"] {
414
- -webkit-appearance: textfield;
415
- /* 1 */
416
- -moz-box-sizing: content-box;
417
- -webkit-box-sizing: content-box;
418
- /* 2 */
419
- box-sizing: content-box; }
420
-
421
- /**
422
- * Remove inner padding and search cancel button in Safari 5 and Chrome
423
- * on OS X.
424
- */
425
- input[type="search"]::-webkit-search-cancel-button,
426
- input[type="search"]::-webkit-search-decoration {
427
- -webkit-appearance: none; }
428
-
429
- /**
430
- * Remove inner padding and border in Firefox 3+.
431
- */
432
- button::-moz-focus-inner,
433
- input::-moz-focus-inner {
434
- border: 0;
435
- padding: 0; }
436
-
437
- /**
438
- * 1. Remove default vertical scrollbar in IE 6/7/8/9.
439
- * 2. Improve readability and alignment in all browsers.
440
- */
441
- textarea {
442
- overflow: auto;
443
- /* 1 */
444
- vertical-align: top;
445
- /* 2 */ }
446
-
447
- /* ==========================================================================
448
- Tables
449
- ========================================================================== */
450
- /**
451
- * Remove most spacing between table cells.
452
- */
453
- table {
454
- border-collapse: collapse;
455
- border-spacing: 0; }
456
-
457
- /*
458
- * HTML5 Boilerplate
1
+ /* ========================================================
2
+ * handycss.backdrops.css v0.0.1
3
+ * https://github.com/kpvarma/handyCSS
4
+ * ========================================================
5
+ * Copyright 2013 VarmaLabs
459
6
  *
460
- * What follows is the result of much research on cross-browser styling.
461
- * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
462
- * Kroc Camen, and the H5BP dev community and team.
463
- */
464
- /* ==========================================================================
465
- Base styles: opinionated defaults
466
- ========================================================================== */
467
- html,
468
- button,
469
- input,
470
- select,
471
- textarea {
472
- color: #222; }
473
-
474
- body {
475
- font-size: 1em;
476
- line-height: 1.4; }
477
-
478
- /*
479
- * Remove text-shadow in selection highlight: h5bp.com/i
480
- * These selection rule sets have to be separate.
481
- * Customize the background color to match your design.
482
- */
483
- ::-moz-selection {
484
- background: #b3d4fc;
485
- text-shadow: none; }
486
-
487
- ::selection {
488
- background: #b3d4fc;
489
- text-shadow: none; }
490
-
491
- /*
492
- * A better looking default horizontal rule
493
- */
494
- hr {
495
- display: block;
496
- height: 1px;
497
- border: 0;
498
- border-top: 1px solid #ccc;
499
- margin: 1em 0;
500
- padding: 0; }
501
-
502
- /*
503
- * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
504
- */
505
- img {
506
- vertical-align: middle; }
507
-
508
- /*
509
- * Remove default fieldset styles.
510
- */
511
- fieldset {
512
- border: 0;
513
- margin: 0;
514
- padding: 0; }
515
-
516
- /*
517
- * Allow only vertical resizing of textareas.
518
- */
519
- textarea {
520
- resize: vertical; }
521
-
522
- /* ==========================================================================
523
- Chrome Frame prompt
524
- ========================================================================== */
525
- .chromeframe {
526
- margin: 0.2em 0;
527
- background: #ccc;
528
- color: #000;
529
- padding: 0.2em 0; }
530
-
531
- /* ==========================================================================
532
- Author's custom styles
533
- ========================================================================== */
534
- /* ==========================================================================
535
- Helper classes
536
- ========================================================================== */
537
- /*
538
- * Image replacement
539
- */
540
- .ir {
541
- background-color: transparent;
542
- border: 0;
543
- overflow: hidden;
544
- /* IE 6/7 fallback */
545
- *text-indent: -9999px; }
546
-
547
- .ir:before {
548
- content: "";
549
- display: block;
550
- width: 0;
551
- height: 150%; }
552
-
553
- /*
554
- * Hide from both screenreaders and browsers: h5bp.com/u
555
- */
556
- .hidden {
557
- display: none !important;
558
- visibility: hidden; }
559
-
560
- /*
561
- * Hide only visually, but have it available for screenreaders: h5bp.com/v
562
- */
563
- .visuallyhidden {
564
- border: 0;
565
- clip: rect(0 0 0 0);
566
- height: 1px;
567
- margin: -1px;
568
- overflow: hidden;
569
- padding: 0;
570
- position: absolute;
571
- width: 1px; }
572
-
573
- /*
574
- * Extends the .visuallyhidden class to allow the element to be focusable
575
- * when navigated to via the keyboard: h5bp.com/p
576
- */
577
- .visuallyhidden.focusable:active,
578
- .visuallyhidden.focusable:focus {
579
- clip: auto;
580
- height: auto;
581
- margin: 0;
582
- overflow: visible;
583
- position: static;
584
- width: auto; }
585
-
586
- /*
587
- * Hide visually and from screenreaders, but maintain layout
588
- */
589
- .invisible {
590
- visibility: hidden; }
591
-
592
- /*
593
- * Clearfix: contain floats
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
594
10
  *
595
- * For modern browsers
596
- * 1. The space content is one way to avoid an Opera bug when the
597
- * `contenteditable` attribute is included anywhere else in the document.
598
- * Otherwise it causes space to appear at the top and bottom of elements
599
- * that receive the `clearfix` class.
600
- * 2. The use of `table` rather than `block` is only necessary if using
601
- * `:before` to contain the top-margins of child elements.
602
- */
603
- .clearfix:before,
604
- .clearfix:after {
605
- content: " ";
606
- /* 1 */
607
- display: table;
608
- /* 2 */ }
609
-
610
- .clearfix:after {
611
- clear: both; }
612
-
613
- /*
614
- * For IE 6/7 only
615
- * Include this rule to trigger hasLayout and contain floats.
616
- */
617
- .clearfix {
618
- *zoom: 1; }
619
-
620
- /* ==========================================================================
621
- EXAMPLE Media Queries for Responsive Design.
622
- These examples override the primary ('mobile first') styles.
623
- Modify as content requires.
624
- ========================================================================== */
625
- @media only screen and (min-width: 35em) {
626
- /* Style adjustments for viewports that meet the condition */ }
627
- @media print, (-o-min-device-pixel-ratio: 5 / 4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
628
- /* Style adjustments for high resolution devices */ }
629
- /* ==========================================================================
630
- Print styles.
631
- Inlined to avoid required HTTP connection: h5bp.com/r
632
- ========================================================================== */
633
- @media print {
634
- * {
635
- background: transparent !important;
636
- color: #000 !important;
637
- /* Black prints faster: h5bp.com/s */
638
- box-shadow: none !important;
639
- text-shadow: none !important; }
640
-
641
- a,
642
- a:visited {
643
- text-decoration: underline; }
644
-
645
- a[href]:after {
646
- content: " (" attr(href) ")"; }
647
-
648
- abbr[title]:after {
649
- content: " (" attr(title) ")"; }
650
-
651
- /*
652
- * Don't show links for images, or javascript/internal links
653
- */
654
- .ir a:after,
655
- a[href^="javascript:"]:after,
656
- a[href^="#"]:after {
657
- content: ""; }
658
-
659
- pre,
660
- blockquote {
661
- border: 1px solid #999;
662
- page-break-inside: avoid; }
663
-
664
- thead {
665
- display: table-header-group;
666
- /* h5bp.com/t */ }
667
-
668
- tr,
669
- img {
670
- page-break-inside: avoid; }
671
-
672
- img {
673
- max-width: 100% !important; }
674
-
675
- @page {
676
- margin: 0.5cm; }
677
-
678
- p,
679
- h2,
680
- h3 {
681
- orphans: 3;
682
- widows: 3; }
683
-
684
- h2,
685
- h3 {
686
- page-break-after: avoid; } }
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ * ======================================================== */
687
19
  /* boxes */
688
20
  .box {
689
21
  border: 1px solid #c1c1c1;
22
+ padding: 8px;
690
23
  border-top-left-radius: 4px;
691
24
  border-top-right-radius: 4px;
692
25
  border-bottom-left-radius: 4px;
@@ -701,45 +34,47 @@ textarea {
701
34
  box-sizing: border-box;
702
35
  -webkit-box-shadow: 2px 2px 5px #c1c1c1;
703
36
  -moz-box-shadow: 2px 2px 5px #c1c1c1;
704
- box-shadow: 2px 2px 5px #c1c1c1; }
705
-
706
- .box.hoverable:hover, .box.hoverable:active, .box.hoverable:focus, .box.hoverable.selected {
707
- background-color: #e5eef6;
708
- border-color: #25aae1;
709
- -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
710
- -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
711
- -o-transition: border linear 0.2s, box-shadow linear 0.2s;
712
- transition: border linear 0.2s, box-shadow linear 0.2s; }
37
+ box-shadow: 2px 2px 5px #c1c1c1;
38
+ }
39
+ .box h1.heading {
40
+ font-size: 18px;
41
+ color: #960D2E;
42
+ margin: 4px 2px;
43
+ }
44
+ .box a {
45
+ font-size: 16px;
46
+ color: #1370AD;
47
+ }
713
48
 
714
49
  .box.active {
715
- background-color: #e5eef6; }
716
-
717
- .box-border-blue {
718
- border-left: 5px solid #25aae1 !important; }
719
-
720
- .box-border-green {
721
- border-left: 5px solid #5ebc5e !important; }
722
-
723
- .box-border-red {
724
- border-left: 5px solid red !important; }
725
-
726
- .box-border-yellow {
727
- border-left: 5px solid #e9e16d !important; }
50
+ background-color: #e5eef6;
51
+ }
728
52
 
729
- .box-border-grey {
730
- border-left: 5px solid #989898 !important; }
53
+ .box.border-blue {
54
+ border-left: 5px solid #25aae1 !important;
55
+ }
731
56
 
732
- .box-blue {
733
- background-color: #25aae1; }
57
+ .box.border-green {
58
+ border-left: 5px solid #5ebc5e !important;
59
+ }
734
60
 
735
- .box-green {
736
- background-color: #5ebc5e; }
61
+ .box.border-red {
62
+ border-left: 5px solid red !important;
63
+ }
737
64
 
738
- .box-red {
739
- background-color: red; }
65
+ .box.border-yellow {
66
+ border-left: 5px solid #e9e16d !important;
67
+ }
740
68
 
741
- .box-yellow {
742
- background-color: #e9e16d; }
69
+ .box.border-grey {
70
+ border-left: 5px solid #989898 !important;
71
+ }
743
72
 
744
- .box-grey {
745
- background-color: #989898; }
73
+ .box.hoverable:hover, .box.hoverable:active, .box.hoverable:focus, .box.hoverable.selected {
74
+ background-color: #e5eef6;
75
+ border-color: #25aae1;
76
+ -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
77
+ -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
78
+ -o-transition: border linear 0.2s, box-shadow linear 0.2s;
79
+ transition: border linear 0.2s, box-shadow linear 0.2s;
80
+ }