archetype 0.0.1.pre.1 → 0.0.1.pre.3.00dfd9a

Sign up to get free protection for your applications and to get access to all the features.
Files changed (185) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +88 -0
  3. data/LICENSE +16 -0
  4. data/README.md +87 -1
  5. data/VERSION.yml +6 -0
  6. data/lib/README.rdoc +4 -0
  7. data/lib/archetype.rb +45 -0
  8. data/lib/archetype/functions.rb +9 -0
  9. data/lib/archetype/functions/hash.rb +149 -0
  10. data/lib/archetype/functions/helpers.rb +125 -0
  11. data/lib/archetype/functions/styleguide_memoizer.rb +61 -0
  12. data/lib/archetype/sass_extensions.rb +6 -0
  13. data/lib/archetype/sass_extensions/functions.rb +14 -0
  14. data/lib/archetype/sass_extensions/functions/environment.rb +14 -0
  15. data/lib/archetype/sass_extensions/functions/lists.rb +284 -0
  16. data/lib/archetype/sass_extensions/functions/locale.rb +77 -0
  17. data/lib/archetype/sass_extensions/functions/numbers.rb +19 -0
  18. data/lib/archetype/sass_extensions/functions/styleguide.rb +406 -0
  19. data/lib/archetype/sass_extensions/functions/ui.rb +59 -0
  20. data/lib/archetype/sass_extensions/functions/version.rb +95 -0
  21. data/lib/archetype/version.rb +75 -0
  22. data/stylesheets/_archetype.scss +2 -0
  23. data/stylesheets/archetype/_base.scss +46 -0
  24. data/stylesheets/archetype/_config.scss +366 -0
  25. data/stylesheets/archetype/_grid.scss +3 -0
  26. data/stylesheets/archetype/_hacks.scss +72 -0
  27. data/stylesheets/archetype/_init.scss +23 -0
  28. data/stylesheets/archetype/_styleguide.scss +6 -0
  29. data/stylesheets/archetype/_ui.scss +326 -0
  30. data/stylesheets/archetype/_util.scss +12 -0
  31. data/stylesheets/archetype/base/_h5bp.scss +307 -0
  32. data/stylesheets/archetype/base/_hybrid.scss +25 -0
  33. data/stylesheets/archetype/base/_normalize.scss +595 -0
  34. data/stylesheets/archetype/base/_reset.scss +72 -0
  35. data/stylesheets/archetype/grid/_config.scss +14 -0
  36. data/stylesheets/archetype/grid/_grid.scss +391 -0
  37. data/stylesheets/archetype/styleguide/_components.scss +25 -0
  38. data/stylesheets/archetype/styleguide/_helpers.scss +215 -0
  39. data/stylesheets/archetype/styleguide/_primitives.scss +10 -0
  40. data/stylesheets/archetype/styleguide/_styleguide.scss +41 -0
  41. data/stylesheets/archetype/styleguide/components/_alerts.scss +59 -0
  42. data/stylesheets/archetype/styleguide/components/_annotations.scss +27 -0
  43. data/stylesheets/archetype/styleguide/components/_bristol.scss +15 -0
  44. data/stylesheets/archetype/styleguide/components/_button_groups.scss +47 -0
  45. data/stylesheets/archetype/styleguide/components/_button_toolbars.scss +17 -0
  46. data/stylesheets/archetype/styleguide/components/_buttons.scss +338 -0
  47. data/stylesheets/archetype/styleguide/components/_canvas.scss +15 -0
  48. data/stylesheets/archetype/styleguide/components/_carets.scss +336 -0
  49. data/stylesheets/archetype/styleguide/components/_closes.scss +63 -0
  50. data/stylesheets/archetype/styleguide/components/_container.scss +27 -0
  51. data/stylesheets/archetype/styleguide/components/_copy.scss +85 -0
  52. data/stylesheets/archetype/styleguide/components/_flyouts.scss +52 -0
  53. data/stylesheets/archetype/styleguide/components/_headings.scss +33 -0
  54. data/stylesheets/archetype/styleguide/components/_headlines.scss +63 -0
  55. data/stylesheets/archetype/styleguide/components/_hovercards.scss +27 -0
  56. data/stylesheets/archetype/styleguide/components/_icons.scss +17 -0
  57. data/stylesheets/archetype/styleguide/components/_identities.scss +34 -0
  58. data/stylesheets/archetype/styleguide/components/_links.scss +66 -0
  59. data/stylesheets/archetype/styleguide/components/_loaders.scss +154 -0
  60. data/stylesheets/archetype/styleguide/components/_menu_items.scss +31 -0
  61. data/stylesheets/archetype/styleguide/components/_module.scss +15 -0
  62. data/stylesheets/archetype/styleguide/components/_pullquotes.scss +29 -0
  63. data/stylesheets/archetype/styleguide/components/_punchcut.scss +18 -0
  64. data/stylesheets/archetype/styleguide/components/_tooltips.scss +28 -0
  65. data/stylesheets/archetype/styleguide/primitives/_animations.scss +17 -0
  66. data/stylesheets/archetype/styleguide/primitives/_dimensions.scss +50 -0
  67. data/stylesheets/archetype/styleguide/primitives/_glyphs.scss +11 -0
  68. data/stylesheets/archetype/styleguide/primitives/_misc.scss +8 -0
  69. data/stylesheets/archetype/styleguide/primitives/_palettes.scss +94 -0
  70. data/stylesheets/archetype/styleguide/primitives/_shadows.scss +23 -0
  71. data/stylesheets/archetype/styleguide/primitives/_sprites.scss +46 -0
  72. data/stylesheets/archetype/styleguide/primitives/_textures.scss +10 -0
  73. data/stylesheets/archetype/styleguide/primitives/_typography.scss +56 -0
  74. data/stylesheets/archetype/util/_debug.scss +40 -0
  75. data/stylesheets/archetype/util/_lists.scss +57 -0
  76. data/stylesheets/archetype/util/_misc.scss +108 -0
  77. data/stylesheets/archetype/util/_rtl.scss +279 -0
  78. data/stylesheets/archetype/util/_spacing.scss +78 -0
  79. data/stylesheets/archetype/util/_styles.scss +466 -0
  80. data/stylesheets/archetype/util/_targeting.scss +210 -0
  81. data/stylesheets/archetype/util/_units.scss +18 -0
  82. data/templates/example/index.html +40 -0
  83. data/templates/example/manifest.rb +13 -0
  84. data/templates/example/screen.scss +99 -0
  85. data/templates/example/vendor/archetype/animations/loaders/large/large.png +0 -0
  86. data/templates/example/vendor/archetype/animations/loaders/large/large_dark.png +0 -0
  87. data/templates/example/vendor/archetype/animations/loaders/large/large_dark_static.png +0 -0
  88. data/templates/example/vendor/archetype/animations/loaders/large/large_static.png +0 -0
  89. data/templates/example/vendor/archetype/animations/loaders/medium/medium.png +0 -0
  90. data/templates/example/vendor/archetype/animations/loaders/medium/medium_dark.png +0 -0
  91. data/templates/example/vendor/archetype/animations/loaders/medium/medium_dark_static.png +0 -0
  92. data/templates/example/vendor/archetype/animations/loaders/medium/medium_static.png +0 -0
  93. data/templates/example/vendor/archetype/animations/loaders/small/small.png +0 -0
  94. data/templates/example/vendor/archetype/animations/loaders/small/small_dark.png +0 -0
  95. data/templates/example/vendor/archetype/animations/loaders/small/small_dark_static.png +0 -0
  96. data/templates/example/vendor/archetype/animations/loaders/small/small_static.png +0 -0
  97. data/templates/example/vendor/archetype/fontawesome-webfont.eot +0 -0
  98. data/templates/example/vendor/archetype/fontawesome-webfont.svg +255 -0
  99. data/templates/example/vendor/archetype/fontawesome-webfont.ttf +0 -0
  100. data/templates/example/vendor/archetype/fontawesome-webfont.woff +0 -0
  101. data/templates/project/manifest.rb +9 -0
  102. data/templates/project/screen.scss +1 -0
  103. data/templates/project/vendor/archetype/animations/loaders/large/large.png +0 -0
  104. data/templates/project/vendor/archetype/animations/loaders/large/large_dark.png +0 -0
  105. data/templates/project/vendor/archetype/animations/loaders/large/large_dark_static.png +0 -0
  106. data/templates/project/vendor/archetype/animations/loaders/large/large_static.png +0 -0
  107. data/templates/project/vendor/archetype/animations/loaders/medium/medium.png +0 -0
  108. data/templates/project/vendor/archetype/animations/loaders/medium/medium_dark.png +0 -0
  109. data/templates/project/vendor/archetype/animations/loaders/medium/medium_dark_static.png +0 -0
  110. data/templates/project/vendor/archetype/animations/loaders/medium/medium_static.png +0 -0
  111. data/templates/project/vendor/archetype/animations/loaders/small/small.png +0 -0
  112. data/templates/project/vendor/archetype/animations/loaders/small/small_dark.png +0 -0
  113. data/templates/project/vendor/archetype/animations/loaders/small/small_dark_static.png +0 -0
  114. data/templates/project/vendor/archetype/animations/loaders/small/small_static.png +0 -0
  115. data/templates/project/vendor/archetype/fontawesome-webfont.eot +0 -0
  116. data/templates/project/vendor/archetype/fontawesome-webfont.svg +255 -0
  117. data/templates/project/vendor/archetype/fontawesome-webfont.ttf +0 -0
  118. data/templates/project/vendor/archetype/fontawesome-webfont.woff +0 -0
  119. data/test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.eot +0 -0
  120. data/test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.svg +255 -0
  121. data/test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.ttf +0 -0
  122. data/test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.woff +0 -0
  123. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large.png +0 -0
  124. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large_dark.png +0 -0
  125. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large_dark_static.png +0 -0
  126. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large_static.png +0 -0
  127. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/medium/medium.png +0 -0
  128. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/medium/medium_dark.png +0 -0
  129. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/medium/medium_dark_static.png +0 -0
  130. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/medium/medium_static.png +0 -0
  131. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small.png +0 -0
  132. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small_dark.png +0 -0
  133. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small_dark_static.png +0 -0
  134. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small_static.png +0 -0
  135. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/sprites/hovercard_tip.png +0 -0
  136. data/test/fixtures/stylesheets/archetype/config.rb +19 -0
  137. data/test/fixtures/stylesheets/archetype/expected/b.css +14 -0
  138. data/test/fixtures/stylesheets/archetype/expected/base.css +349 -0
  139. data/test/fixtures/stylesheets/archetype/expected/hacks/ie_pseudo.css +11 -0
  140. data/test/fixtures/stylesheets/archetype/expected/locale.css +23 -0
  141. data/test/fixtures/stylesheets/archetype/expected/styleguide/buttons.css +2091 -0
  142. data/test/fixtures/stylesheets/archetype/expected/styleguide/fallback_styles.css +9 -0
  143. data/test/fixtures/stylesheets/archetype/expected/styleguide/nested_styleguides.css +24 -0
  144. data/test/fixtures/stylesheets/archetype/expected/styleguide/selective_state.css +174 -0
  145. data/test/fixtures/stylesheets/archetype/expected/ui/glyph_icon.css +37 -0
  146. data/test/fixtures/stylesheets/archetype/expected/ui/hide_element.css +8 -0
  147. data/test/fixtures/stylesheets/archetype/expected/ui/stroke.css +17 -0
  148. data/test/fixtures/stylesheets/archetype/expected/ui/triangle.css +35 -0
  149. data/test/fixtures/stylesheets/archetype/expected/utilities/associative.css +9 -0
  150. data/test/fixtures/stylesheets/archetype/expected/utilities/if-set.css +9 -0
  151. data/test/fixtures/stylesheets/archetype/expected/utilities/spacing/horizontal-spacing.css +29 -0
  152. data/test/fixtures/stylesheets/archetype/expected/utilities/spacing/vertical-spacing.css +29 -0
  153. data/test/fixtures/stylesheets/archetype/expected/utilities/styles/filter.css +11 -0
  154. data/test/fixtures/stylesheets/archetype/expected/utilities/styles/font-family.css +16 -0
  155. data/test/fixtures/stylesheets/archetype/expected/utilities/styles/z-index.css +15 -0
  156. data/test/fixtures/stylesheets/archetype/expected/utilities/targeting/target-browser.css +100 -0
  157. data/test/fixtures/stylesheets/archetype/expected/utilities/targeting/target-os.css +55 -0
  158. data/test/fixtures/stylesheets/archetype/source/b.scss +9 -0
  159. data/test/fixtures/stylesheets/archetype/source/base.scss +3 -0
  160. data/test/fixtures/stylesheets/archetype/source/hacks/ie_pseudo.scss +13 -0
  161. data/test/fixtures/stylesheets/archetype/source/locale.scss +43 -0
  162. data/test/fixtures/stylesheets/archetype/source/styleguide/buttons.scss +18 -0
  163. data/test/fixtures/stylesheets/archetype/source/styleguide/fallback_styles.scss +22 -0
  164. data/test/fixtures/stylesheets/archetype/source/styleguide/nested_styleguides.scss +40 -0
  165. data/test/fixtures/stylesheets/archetype/source/styleguide/selective_state.scss +22 -0
  166. data/test/fixtures/stylesheets/archetype/source/ui/glyph_icon.scss +13 -0
  167. data/test/fixtures/stylesheets/archetype/source/ui/hide_element.scss +5 -0
  168. data/test/fixtures/stylesheets/archetype/source/ui/stroke.scss +13 -0
  169. data/test/fixtures/stylesheets/archetype/source/ui/triangle.scss +13 -0
  170. data/test/fixtures/stylesheets/archetype/source/utilities/associative.scss +24 -0
  171. data/test/fixtures/stylesheets/archetype/source/utilities/if-set.scss +16 -0
  172. data/test/fixtures/stylesheets/archetype/source/utilities/spacing/horizontal-spacing.scss +27 -0
  173. data/test/fixtures/stylesheets/archetype/source/utilities/spacing/vertical-spacing.scss +27 -0
  174. data/test/fixtures/stylesheets/archetype/source/utilities/styles/filter.scss +9 -0
  175. data/test/fixtures/stylesheets/archetype/source/utilities/styles/font-family.scss +9 -0
  176. data/test/fixtures/stylesheets/archetype/source/utilities/styles/z-index.scss +18 -0
  177. data/test/fixtures/stylesheets/archetype/source/utilities/targeting/target-browser.scss +70 -0
  178. data/test/fixtures/stylesheets/archetype/source/utilities/targeting/target-os.scss +42 -0
  179. data/test/helpers/diff.rb +49 -0
  180. data/test/helpers/io.rb +36 -0
  181. data/test/helpers/test_case.rb +62 -0
  182. data/test/integrations/archetype_test.rb +126 -0
  183. data/test/test_helper.rb +26 -0
  184. data/test/units/sass_extensions_test.rb +207 -0
  185. metadata +303 -15
@@ -0,0 +1,9 @@
1
+ .fallback-styleguide-test {
2
+ background: transparent url(/some/img.png) repeat;
3
+ background: rbga(255, 0, 0, 0.9);
4
+ white-space: pre-wrap;
5
+ white-space: -moz-pre-wrap;
6
+ white-space: -pre-wrap;
7
+ white-space: -o-pre-wrap;
8
+ something: valid;
9
+ }
@@ -0,0 +1,24 @@
1
+ .nested-styleguide-test {
2
+ text-decoration: none;
3
+ display: block;
4
+ color: red;
5
+ background: green;
6
+ }
7
+ .nested-styleguide-test.hover, .nested-styleguide-test:hover, .nested-styleguide-test.focus, .nested-styleguide-test:focus {
8
+ text-decoration: none;
9
+ color: #0088cc;
10
+ background: #eeeeee;
11
+ }
12
+ .nested-styleguide-test h3 {
13
+ font-size: 18px;
14
+ font-weight: bold;
15
+ line-height: 22px;
16
+ color: #0088cc;
17
+ text-decoration: none;
18
+ }
19
+ .nested-styleguide-test h3.hover, .nested-styleguide-test h3:hover, .nested-styleguide-test h3.focus, .nested-styleguide-test h3:focus {
20
+ text-decoration: none;
21
+ }
22
+ .nested-styleguide-test:after {
23
+ color: red;
24
+ }
@@ -0,0 +1,174 @@
1
+ .simple-button.disabled {
2
+ font-weight: bold;
3
+ border-width: 1px;
4
+ border-style: solid;
5
+ cursor: default;
6
+ margin: 0;
7
+ overflow: visible;
8
+ text-decoration: none !important;
9
+ width: auto;
10
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
11
+ -webkit-border-radius: 3px;
12
+ -moz-border-radius: 3px;
13
+ -ms-border-radius: 3px;
14
+ -o-border-radius: 3px;
15
+ border-radius: 3px;
16
+ padding: 0 10px;
17
+ height: 26px;
18
+ line-height: 24px;
19
+ -webkit-box-sizing: border-box;
20
+ -moz-box-sizing: border-box;
21
+ box-sizing: border-box;
22
+ font-size: 12px;
23
+ color: white;
24
+ background-color: #0055cc;
25
+ border-color: #1b5480;
26
+ *zoom: 1;
27
+ filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF0066CC', endColorstr='#FF0033CC');
28
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0066cc), color-stop(100%, #0033cc));
29
+ background-image: -webkit-linear-gradient(top, #0066cc, #0033cc);
30
+ background-image: -moz-linear-gradient(top, #0066cc, #0033cc);
31
+ background-image: -o-linear-gradient(top, #0066cc, #0033cc);
32
+ background-image: linear-gradient(top, #0066cc, #0033cc);
33
+ white-space: nowrap;
34
+ display: -moz-inline-stack;
35
+ display: inline-block;
36
+ vertical-align: middle;
37
+ *vertical-align: auto;
38
+ zoom: 1;
39
+ *display: inline;
40
+ vertical-align: middle;
41
+ -webkit-box-shadow: none;
42
+ -moz-box-shadow: none;
43
+ box-shadow: none;
44
+ filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
45
+ opacity: 0.6;
46
+ }
47
+ .simple-button.my-custom-hover {
48
+ font-weight: bold;
49
+ border-width: 1px;
50
+ border-style: solid;
51
+ cursor: pointer;
52
+ margin: 0;
53
+ overflow: visible;
54
+ text-decoration: none !important;
55
+ width: auto;
56
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
57
+ -webkit-border-radius: 3px;
58
+ -moz-border-radius: 3px;
59
+ -ms-border-radius: 3px;
60
+ -o-border-radius: 3px;
61
+ border-radius: 3px;
62
+ padding: 0 10px;
63
+ height: 26px;
64
+ line-height: 24px;
65
+ -webkit-box-sizing: border-box;
66
+ -moz-box-sizing: border-box;
67
+ box-sizing: border-box;
68
+ font-size: 12px;
69
+ color: white;
70
+ background-color: #0055cc;
71
+ border-color: #1b5480;
72
+ *zoom: 1;
73
+ filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF0066CC', endColorstr='#FF0033CC');
74
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0066cc), color-stop(100%, #0033cc));
75
+ background-image: -webkit-linear-gradient(top, #0066cc, #0033cc);
76
+ background-image: -moz-linear-gradient(top, #0066cc, #0033cc);
77
+ background-image: -o-linear-gradient(top, #0066cc, #0033cc);
78
+ background-image: linear-gradient(top, #0066cc, #0033cc);
79
+ white-space: nowrap;
80
+ display: -moz-inline-stack;
81
+ display: inline-block;
82
+ vertical-align: middle;
83
+ *vertical-align: auto;
84
+ zoom: 1;
85
+ *display: inline;
86
+ vertical-align: middle;
87
+ -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
88
+ -moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
89
+ box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
90
+ }
91
+ .simple-button.normal {
92
+ font-weight: bold;
93
+ border-width: 1px;
94
+ border-style: solid;
95
+ cursor: pointer;
96
+ margin: 0;
97
+ overflow: visible;
98
+ text-decoration: none !important;
99
+ width: auto;
100
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
101
+ -webkit-border-radius: 3px;
102
+ -moz-border-radius: 3px;
103
+ -ms-border-radius: 3px;
104
+ -o-border-radius: 3px;
105
+ border-radius: 3px;
106
+ padding: 0 10px;
107
+ height: 26px;
108
+ line-height: 24px;
109
+ -webkit-box-sizing: border-box;
110
+ -moz-box-sizing: border-box;
111
+ box-sizing: border-box;
112
+ font-size: 12px;
113
+ color: white;
114
+ background-color: #0074cc;
115
+ border-color: #1b5480;
116
+ *zoom: 1;
117
+ filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF0088CC', endColorstr='#FF0055CC');
118
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0088cc), color-stop(100%, #0055cc));
119
+ background-image: -webkit-linear-gradient(top, #0088cc, #0055cc);
120
+ background-image: -moz-linear-gradient(top, #0088cc, #0055cc);
121
+ background-image: -o-linear-gradient(top, #0088cc, #0055cc);
122
+ background-image: linear-gradient(top, #0088cc, #0055cc);
123
+ white-space: nowrap;
124
+ display: -moz-inline-stack;
125
+ display: inline-block;
126
+ vertical-align: middle;
127
+ *vertical-align: auto;
128
+ zoom: 1;
129
+ *display: inline;
130
+ vertical-align: middle;
131
+ }
132
+ .simple-button.normal.hover, .simple-button.normal:hover, .simple-button.normal.focus, .simple-button.normal:focus {
133
+ background-color: #0055cc;
134
+ *zoom: 1;
135
+ filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF0066CC', endColorstr='#FF0033CC');
136
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0066cc), color-stop(100%, #0033cc));
137
+ background-image: -webkit-linear-gradient(top, #0066cc, #0033cc);
138
+ background-image: -moz-linear-gradient(top, #0066cc, #0033cc);
139
+ background-image: -o-linear-gradient(top, #0066cc, #0033cc);
140
+ background-image: linear-gradient(top, #0066cc, #0033cc);
141
+ -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
142
+ -moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
143
+ box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
144
+ }
145
+ .simple-button.normal.active, .simple-button.normal:active {
146
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset;
147
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset;
148
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset;
149
+ }
150
+ .simple-button.normal.disabled, .simple-button.normal[disabled] {
151
+ background-color: #0055cc;
152
+ *zoom: 1;
153
+ filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF0066CC', endColorstr='#FF0033CC');
154
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0066cc), color-stop(100%, #0033cc));
155
+ background-image: -webkit-linear-gradient(top, #0066cc, #0033cc);
156
+ background-image: -moz-linear-gradient(top, #0066cc, #0033cc);
157
+ background-image: -o-linear-gradient(top, #0066cc, #0033cc);
158
+ background-image: linear-gradient(top, #0066cc, #0033cc);
159
+ -webkit-box-shadow: none;
160
+ -moz-box-shadow: none;
161
+ box-shadow: none;
162
+ cursor: default;
163
+ filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
164
+ opacity: 0.6;
165
+ }
166
+
167
+ .anchor.missing {
168
+ color: #0088cc;
169
+ text-decoration: none;
170
+ }
171
+ .anchor.my-custom-hover {
172
+ color: #0088cc;
173
+ text-decoration: underline;
174
+ }
@@ -0,0 +1,37 @@
1
+ .simple {
2
+ *zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("x-archetype-glyph"),this.el.innerHTML="",this.el.style.cssText="font-family:'FontAwesome';font-weight:normal;font-style:normal;text-decoration:inherit;font-size:100%;color:inherit;",this.insertBefore(this.el));
3
+ }
4
+ .simple:before {
5
+ font-family: FontAwesome;
6
+ font-weight: normal;
7
+ font-style: normal;
8
+ text-decoration: inherit;
9
+ speak: none;
10
+ font-size: 100%;
11
+ color: inherit;
12
+ content: "\f0d7";
13
+ }
14
+
15
+ .false {
16
+ font-family: FontAwesome;
17
+ font-weight: normal;
18
+ font-style: normal;
19
+ text-decoration: inherit;
20
+ speak: none;
21
+ font-size: 100%;
22
+ color: inherit;
23
+ }
24
+
25
+ .size {
26
+ *zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("x-archetype-glyph"),this.el.innerHTML="",this.el.style.cssText="font-family:'FontAwesome';font-weight:normal;font-style:normal;text-decoration:inherit;font-size:20px;color:inherit;",this.insertBefore(this.el));
27
+ }
28
+ .size:before {
29
+ font-family: FontAwesome;
30
+ font-weight: normal;
31
+ font-style: normal;
32
+ text-decoration: inherit;
33
+ speak: none;
34
+ font-size: 20px;
35
+ color: inherit;
36
+ content: "\f0d7";
37
+ }
@@ -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,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
+ }