archetype 0.0.1.pre.8 → 0.0.1.pre.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/lib/archetype/version.rb +1 -1
  3. data/stylesheets/archetype/util/_styles.scss +1 -1
  4. data/test/fixtures/stylesheets/archetype/source/styleguide/extend.scss +2 -1
  5. data/test/fixtures/stylesheets/archetype/tmp/b.css +14 -0
  6. data/test/fixtures/stylesheets/archetype/tmp/base.css +349 -0
  7. data/test/fixtures/stylesheets/archetype/tmp/hacks/ie_pseudo.css +11 -0
  8. data/test/fixtures/stylesheets/archetype/tmp/hacks/transparent_focusable.css +4 -0
  9. data/test/fixtures/stylesheets/archetype/tmp/locale.css +23 -0
  10. data/test/fixtures/stylesheets/archetype/tmp/styleguide/alerts.css +711 -0
  11. data/test/fixtures/stylesheets/archetype/tmp/styleguide/buttons.css +2119 -0
  12. data/test/fixtures/stylesheets/archetype/tmp/styleguide/drop.css +63 -0
  13. data/test/fixtures/stylesheets/archetype/tmp/styleguide/extend.css +11 -0
  14. data/test/fixtures/stylesheets/archetype/tmp/styleguide/fallback_styles.css +9 -0
  15. data/test/fixtures/stylesheets/archetype/tmp/styleguide/invalid_structures.css +21 -0
  16. data/test/fixtures/stylesheets/archetype/tmp/styleguide/multi_value.css +13 -0
  17. data/test/fixtures/stylesheets/archetype/tmp/styleguide/nested_styleguides.css +28 -0
  18. data/test/fixtures/stylesheets/archetype/tmp/styleguide/selective_state.css +177 -0
  19. data/test/fixtures/stylesheets/archetype/tmp/ui/glyph_icon.css +127 -0
  20. data/test/fixtures/stylesheets/archetype/tmp/ui/hide_element.css +8 -0
  21. data/test/fixtures/stylesheets/archetype/tmp/ui/stroke.css +17 -0
  22. data/test/fixtures/stylesheets/archetype/tmp/ui/triangle.css +35 -0
  23. data/test/fixtures/stylesheets/archetype/tmp/utilities/associative.css +9 -0
  24. data/test/fixtures/stylesheets/archetype/tmp/utilities/custom_output_styler.css +8 -0
  25. data/test/fixtures/stylesheets/archetype/tmp/utilities/if-set.css +9 -0
  26. data/test/fixtures/stylesheets/archetype/tmp/utilities/spacing/horizontal-spacing.css +29 -0
  27. data/test/fixtures/stylesheets/archetype/tmp/utilities/spacing/vertical-spacing.css +29 -0
  28. data/test/fixtures/stylesheets/archetype/tmp/utilities/styles/filter.css +11 -0
  29. data/test/fixtures/stylesheets/archetype/tmp/utilities/styles/font-family.css +16 -0
  30. data/test/fixtures/stylesheets/archetype/tmp/utilities/styles/z-index.css +15 -0
  31. data/test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-browser.css +105 -0
  32. data/test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-os.css +55 -0
  33. metadata +57 -1
@@ -0,0 +1,8 @@
1
+ .hide-element {
2
+ position: absolute !important;
3
+ height: 1px;
4
+ width: 1px;
5
+ overflow: hidden;
6
+ *clip: rect(1px 1px 1px 1px);
7
+ clip: rect(1px, 1px, 1px, 1px);
8
+ }
@@ -0,0 +1,17 @@
1
+ .stroke {
2
+ -webkit-box-shadow: 0 1px 0 black, 0 -1px 0 black, 1px 0 0 black, -1px 0 0 black;
3
+ -moz-box-shadow: 0 1px 0 black, 0 -1px 0 black, 1px 0 0 black, -1px 0 0 black;
4
+ box-shadow: 0 1px 0 black, 0 -1px 0 black, 1px 0 0 black, -1px 0 0 black;
5
+ }
6
+
7
+ .stroke-fat {
8
+ -webkit-box-shadow: 0 10px 0 black, 0 -10px 0 black, 10px 0 0 black, -10px 0 0 black;
9
+ -moz-box-shadow: 0 10px 0 black, 0 -10px 0 black, 10px 0 0 black, -10px 0 0 black;
10
+ box-shadow: 0 10px 0 black, 0 -10px 0 black, 10px 0 0 black, -10px 0 0 black;
11
+ }
12
+
13
+ .stroke-colorful {
14
+ -webkit-box-shadow: 0 10px 0 red, 0 -10px 0 red, 10px 0 0 red, -10px 0 0 red;
15
+ -moz-box-shadow: 0 10px 0 red, 0 -10px 0 red, 10px 0 0 red, -10px 0 0 red;
16
+ box-shadow: 0 10px 0 red, 0 -10px 0 red, 10px 0 0 red, -10px 0 0 red;
17
+ }
@@ -0,0 +1,35 @@
1
+ .a {
2
+ height: 0;
3
+ width: 0;
4
+ _font-size: 0;
5
+ _line-height: 0;
6
+ border-style: dashed;
7
+ border-color: transparent;
8
+ border-width: 1em 0.5em 0;
9
+ border-top-color: #aaaaaa;
10
+ border-top-style: solid;
11
+ }
12
+
13
+ .b {
14
+ height: 0;
15
+ width: 0;
16
+ _font-size: 0;
17
+ _line-height: 0;
18
+ border-style: dashed;
19
+ border-color: transparent;
20
+ border-width: 0 5px 5px;
21
+ border-bottom-color: black;
22
+ border-bottom-style: solid;
23
+ }
24
+
25
+ .c {
26
+ height: 0;
27
+ width: 0;
28
+ _font-size: 0;
29
+ _line-height: 0;
30
+ border-style: dashed;
31
+ border-color: transparent;
32
+ border-width: 0 10px 5px 0;
33
+ border-bottom-color: black;
34
+ border-bottom-style: solid;
35
+ }
@@ -0,0 +1,9 @@
1
+ .test {
2
+ a: "1";
3
+ b: "2";
4
+ c: "5";
5
+ d: "6";
6
+ e: "5";
7
+ f: "6";
8
+ g: "1";
9
+ }
@@ -0,0 +1,8 @@
1
+ .test {
2
+ font-size: 13px;
3
+ line-height: 17px;
4
+ /* post override */
5
+ color: #222222;
6
+ /* pre override */
7
+ font-weight: normal;
8
+ }
@@ -0,0 +1,9 @@
1
+ a {
2
+ margin: 5px;
3
+ border: 1px solid #cccccc;
4
+ }
5
+
6
+ b {
7
+ margin: 5px;
8
+ border: 1px solid #cccccc;
9
+ }
@@ -0,0 +1,29 @@
1
+ a {
2
+ padding-left: 20px;
3
+ padding-right: 20px;
4
+ margin-left: 20px;
5
+ margin-right: 20px;
6
+ }
7
+
8
+ b {
9
+ padding-right: 20px;
10
+ margin-right: 20px;
11
+ }
12
+
13
+ c {
14
+ padding-left: 20px;
15
+ margin-left: 20px;
16
+ }
17
+
18
+ d {
19
+ padding-right: 15px;
20
+ padding-right: 13px;
21
+ margin-right: 13px;
22
+ }
23
+
24
+ e {
25
+ padding-left: 0px;
26
+ padding-right: 0px;
27
+ margin-left: 0px;
28
+ margin-right: 0px;
29
+ }
@@ -0,0 +1,29 @@
1
+ a {
2
+ padding-top: 10px;
3
+ padding-bottom: 10px;
4
+ margin-top: 10px;
5
+ margin-bottom: 10px;
6
+ }
7
+
8
+ b {
9
+ padding-bottom: 10px;
10
+ margin-bottom: 10px;
11
+ }
12
+
13
+ c {
14
+ padding-top: 10px;
15
+ margin-top: 10px;
16
+ }
17
+
18
+ d {
19
+ padding-bottom: 15px;
20
+ padding-bottom: 13px;
21
+ margin-bottom: 13px;
22
+ }
23
+
24
+ e {
25
+ padding-top: 0px;
26
+ padding-bottom: 0px;
27
+ margin-top: 0px;
28
+ margin-bottom: 0px;
29
+ }
@@ -0,0 +1,11 @@
1
+ a {
2
+ -webkit-filter: Shadow(Strength=2, Direction=135, Color="#CCCCCC");
3
+ -moz-filter: Shadow(Strength=2, Direction=135, Color="#CCCCCC");
4
+ filter: Shadow(Strength=2, Direction=135, Color="#CCCCCC");
5
+ }
6
+
7
+ b {
8
+ -webkit-filter: gradient(enabled=false);
9
+ -moz-filter: gradient(enabled=false);
10
+ filter: gradient(enabled=false);
11
+ }
@@ -0,0 +1,16 @@
1
+ a {
2
+ font-family: Georgia, serif;
3
+ }
4
+
5
+ b {
6
+ font-family: sans-serif;
7
+ }
8
+ .os-win b {
9
+ font-family: Arial, sans-serif;
10
+ }
11
+ .os-mac b {
12
+ font-family: Helvetica, Arial, sans-serif;
13
+ }
14
+ .os-linux b {
15
+ font-family: Helvetica, FreeSans, "Liberation Sans", Helmet, Arial, sans-serif;
16
+ }
@@ -0,0 +1,15 @@
1
+ a {
2
+ z-index: -1;
3
+ }
4
+
5
+ b {
6
+ z-index: 1;
7
+ }
8
+
9
+ c {
10
+ z-index: 101;
11
+ }
12
+
13
+ d {
14
+ z-index: 10021;
15
+ }
@@ -0,0 +1,105 @@
1
+ .target-ie-6 {
2
+ _vertical-align: -5px;
3
+ _background-position: 6px -2170px;
4
+ _overflow: hidden;
5
+ }
6
+
7
+ .target-ie-lte-7 {
8
+ *margin-top: 1px;
9
+ *padding: 0;
10
+ *width: 195px;
11
+ *font-size: 0.01em;
12
+ *height: 18px;
13
+ }
14
+
15
+ .ie.ie6 .target-ie-6-7, .ie.ie7 .target-ie-6-7 {
16
+ display: inline;
17
+ }
18
+ .ie.ie6 .target-ie-6-7, .ie.ie7 .target-ie-6-7 {
19
+ zoom: 1;
20
+ }
21
+ .ie.ie6 .target-ie-6-7, .ie.ie7 .target-ie-6-7 {
22
+ margin-left: 0;
23
+ }
24
+
25
+ .ie.ie7 .target-ie-7 {
26
+ vertical-align: -5px;
27
+ }
28
+ .ie.ie7 .target-ie-7 {
29
+ background-position: 6px -2170px;
30
+ }
31
+ .ie.ie7 .target-ie-7 {
32
+ overflow: hidden;
33
+ }
34
+
35
+ .ie.ie7 .target-ie-7-8, .ie.ie8 .target-ie-7-8 {
36
+ min-height: 250px !important;
37
+ height: auto !important;
38
+ height: 250px !important;
39
+ }
40
+
41
+ .ie.lte8 .target-ie-lte-8 {
42
+ filter: BasicImage(rotation=3);
43
+ }
44
+ .ie.lte8 .target-ie-lte-8 {
45
+ padding-bottom: 8px;
46
+ }
47
+ .ie.lte8 .target-ie-lte-8 {
48
+ line-height: 1.6;
49
+ }
50
+
51
+ .ie.ie8 .target-ie-8 {
52
+ margin-top: 2px;
53
+ }
54
+ .ie.ie8 .target-ie-8 {
55
+ min-height: 170px;
56
+ height: auto !important;
57
+ height: 170px;
58
+ }
59
+
60
+ .ie.lte9 .target-ie-lte-9 {
61
+ border-color: #111111;
62
+ }
63
+ .ie.lte9 .target-ie-lte-9 {
64
+ background: #2c2c2b;
65
+ }
66
+
67
+ .ie.ie7 .target-ie-7-8-9, .ie.ie8 .target-ie-7-8-9, .ie.ie9 .target-ie-7-8-9 {
68
+ width: 250px;
69
+ }
70
+
71
+ .ie.ie9 .target-ie-9 {
72
+ right: -83px;
73
+ }
74
+ .ie.ie9 .target-ie-9 {
75
+ top: 17px;
76
+ }
77
+
78
+ @media screen and (-webkit-min-device-pixel-ratio: 0) {
79
+ .target-webkit {
80
+ line-height: 16px;
81
+ }
82
+ }
83
+ @media screen and (-webkit-min-device-pixel-ratio: 0) {
84
+ .target-webkit {
85
+ padding-top: 10px;
86
+ }
87
+ }
88
+ @media screen and (-webkit-min-device-pixel-ratio: 0) {
89
+ .target-webkit {
90
+ width: 151px;
91
+ }
92
+ }
93
+
94
+ .target-firefox, .target-firefox x:-moz-any-link {
95
+ margin-top: 16px;
96
+ }
97
+
98
+ .target-opera, .target-opera x:-o-prefocus {
99
+ width: 82%;
100
+ }
101
+
102
+ .ie.lte8 .target-with-content-block {
103
+ /* testing content block */
104
+ color: red;
105
+ }
@@ -0,0 +1,55 @@
1
+ .os-linux .target-linux {
2
+ top: -3px;
3
+ }
4
+ .os-linux .target-linux {
5
+ width: 300px;
6
+ }
7
+
8
+ .os-mac .target-apple {
9
+ top: -3px;
10
+ }
11
+ .os-mac .target-apple {
12
+ width: 300px;
13
+ }
14
+
15
+ .os-mac .target-mac {
16
+ top: -3px;
17
+ }
18
+ .os-mac .target-mac {
19
+ width: 300px;
20
+ }
21
+
22
+ .os-mac .target-osx {
23
+ top: -3px;
24
+ }
25
+ .os-mac .target-osx {
26
+ width: 300px;
27
+ }
28
+
29
+ .os-win .target-windows {
30
+ top: -3px;
31
+ }
32
+ .os-win .target-windows {
33
+ width: 300px;
34
+ }
35
+
36
+ .os-win .target-win {
37
+ top: -3px;
38
+ }
39
+ .os-win .target-win {
40
+ width: 300px;
41
+ }
42
+
43
+ .os-win .target-winxp {
44
+ top: -3px;
45
+ }
46
+ .os-win .target-winxp {
47
+ width: 300px;
48
+ }
49
+
50
+ .os-win .target-win7 {
51
+ top: -3px;
52
+ }
53
+ .os-win .target-win7 {
54
+ width: 300px;
55
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: archetype
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.pre.8
4
+ version: 0.0.1.pre.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugene ONeill
@@ -254,6 +254,34 @@ files:
254
254
  - test/fixtures/stylesheets/archetype/source/utilities/styles/z-index.scss
255
255
  - test/fixtures/stylesheets/archetype/source/utilities/targeting/target-browser.scss
256
256
  - test/fixtures/stylesheets/archetype/source/utilities/targeting/target-os.scss
257
+ - test/fixtures/stylesheets/archetype/tmp/b.css
258
+ - test/fixtures/stylesheets/archetype/tmp/base.css
259
+ - test/fixtures/stylesheets/archetype/tmp/hacks/ie_pseudo.css
260
+ - test/fixtures/stylesheets/archetype/tmp/hacks/transparent_focusable.css
261
+ - test/fixtures/stylesheets/archetype/tmp/locale.css
262
+ - test/fixtures/stylesheets/archetype/tmp/styleguide/alerts.css
263
+ - test/fixtures/stylesheets/archetype/tmp/styleguide/buttons.css
264
+ - test/fixtures/stylesheets/archetype/tmp/styleguide/drop.css
265
+ - test/fixtures/stylesheets/archetype/tmp/styleguide/extend.css
266
+ - test/fixtures/stylesheets/archetype/tmp/styleguide/fallback_styles.css
267
+ - test/fixtures/stylesheets/archetype/tmp/styleguide/invalid_structures.css
268
+ - test/fixtures/stylesheets/archetype/tmp/styleguide/multi_value.css
269
+ - test/fixtures/stylesheets/archetype/tmp/styleguide/nested_styleguides.css
270
+ - test/fixtures/stylesheets/archetype/tmp/styleguide/selective_state.css
271
+ - test/fixtures/stylesheets/archetype/tmp/ui/glyph_icon.css
272
+ - test/fixtures/stylesheets/archetype/tmp/ui/hide_element.css
273
+ - test/fixtures/stylesheets/archetype/tmp/ui/stroke.css
274
+ - test/fixtures/stylesheets/archetype/tmp/ui/triangle.css
275
+ - test/fixtures/stylesheets/archetype/tmp/utilities/associative.css
276
+ - test/fixtures/stylesheets/archetype/tmp/utilities/custom_output_styler.css
277
+ - test/fixtures/stylesheets/archetype/tmp/utilities/if-set.css
278
+ - test/fixtures/stylesheets/archetype/tmp/utilities/spacing/horizontal-spacing.css
279
+ - test/fixtures/stylesheets/archetype/tmp/utilities/spacing/vertical-spacing.css
280
+ - test/fixtures/stylesheets/archetype/tmp/utilities/styles/filter.css
281
+ - test/fixtures/stylesheets/archetype/tmp/utilities/styles/font-family.css
282
+ - test/fixtures/stylesheets/archetype/tmp/utilities/styles/z-index.css
283
+ - test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-browser.css
284
+ - test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-os.css
257
285
  - test/helpers/diff.rb
258
286
  - test/helpers/io.rb
259
287
  - test/helpers/test_case.rb
@@ -337,6 +365,34 @@ test_files:
337
365
  - test/fixtures/stylesheets/archetype/source/utilities/styles/z-index.scss
338
366
  - test/fixtures/stylesheets/archetype/source/utilities/targeting/target-browser.scss
339
367
  - test/fixtures/stylesheets/archetype/source/utilities/targeting/target-os.scss
368
+ - test/fixtures/stylesheets/archetype/tmp/b.css
369
+ - test/fixtures/stylesheets/archetype/tmp/base.css
370
+ - test/fixtures/stylesheets/archetype/tmp/hacks/ie_pseudo.css
371
+ - test/fixtures/stylesheets/archetype/tmp/hacks/transparent_focusable.css
372
+ - test/fixtures/stylesheets/archetype/tmp/locale.css
373
+ - test/fixtures/stylesheets/archetype/tmp/styleguide/alerts.css
374
+ - test/fixtures/stylesheets/archetype/tmp/styleguide/buttons.css
375
+ - test/fixtures/stylesheets/archetype/tmp/styleguide/drop.css
376
+ - test/fixtures/stylesheets/archetype/tmp/styleguide/extend.css
377
+ - test/fixtures/stylesheets/archetype/tmp/styleguide/fallback_styles.css
378
+ - test/fixtures/stylesheets/archetype/tmp/styleguide/invalid_structures.css
379
+ - test/fixtures/stylesheets/archetype/tmp/styleguide/multi_value.css
380
+ - test/fixtures/stylesheets/archetype/tmp/styleguide/nested_styleguides.css
381
+ - test/fixtures/stylesheets/archetype/tmp/styleguide/selective_state.css
382
+ - test/fixtures/stylesheets/archetype/tmp/ui/glyph_icon.css
383
+ - test/fixtures/stylesheets/archetype/tmp/ui/hide_element.css
384
+ - test/fixtures/stylesheets/archetype/tmp/ui/stroke.css
385
+ - test/fixtures/stylesheets/archetype/tmp/ui/triangle.css
386
+ - test/fixtures/stylesheets/archetype/tmp/utilities/associative.css
387
+ - test/fixtures/stylesheets/archetype/tmp/utilities/custom_output_styler.css
388
+ - test/fixtures/stylesheets/archetype/tmp/utilities/if-set.css
389
+ - test/fixtures/stylesheets/archetype/tmp/utilities/spacing/horizontal-spacing.css
390
+ - test/fixtures/stylesheets/archetype/tmp/utilities/spacing/vertical-spacing.css
391
+ - test/fixtures/stylesheets/archetype/tmp/utilities/styles/filter.css
392
+ - test/fixtures/stylesheets/archetype/tmp/utilities/styles/font-family.css
393
+ - test/fixtures/stylesheets/archetype/tmp/utilities/styles/z-index.css
394
+ - test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-browser.css
395
+ - test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-os.css
340
396
  - test/helpers/diff.rb
341
397
  - test/helpers/io.rb
342
398
  - test/helpers/test_case.rb