archetype 0.0.1.pre.13 → 1.0.0.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (253) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +97 -24
  3. data/README.md +11 -5
  4. data/VERSION +1 -0
  5. data/lib/archetype.rb +30 -18
  6. data/lib/archetype/actions/migrate.rb +152 -0
  7. data/lib/archetype/actions/theme.rb +6 -7
  8. data/lib/archetype/executor.rb +21 -7
  9. data/lib/archetype/extensions.rb +57 -0
  10. data/lib/archetype/functions.rb +2 -3
  11. data/lib/archetype/functions/css.rb +70 -0
  12. data/lib/archetype/functions/css/constants.rb +247 -0
  13. data/lib/archetype/functions/css/helpers.rb +265 -0
  14. data/lib/archetype/functions/css/routers.rb +28 -0
  15. data/lib/archetype/functions/css/routers/animation.rb +55 -0
  16. data/lib/archetype/functions/css/routers/background.rb +38 -0
  17. data/lib/archetype/functions/css/routers/border.rb +151 -0
  18. data/lib/archetype/functions/css/routers/list.rb +63 -0
  19. data/lib/archetype/functions/css/routers/margin_padding.rb +40 -0
  20. data/lib/archetype/functions/css/routers/outline.rb +56 -0
  21. data/lib/archetype/functions/css/routers/overflow.rb +11 -0
  22. data/lib/archetype/functions/css/routers/target.rb +38 -0
  23. data/lib/archetype/functions/css/routers/transition.rb +48 -0
  24. data/lib/archetype/functions/css/shorthands.rb +43 -0
  25. data/lib/archetype/functions/css/shorthands/animation.rb +18 -0
  26. data/lib/archetype/functions/css/shorthands/background.rb +68 -0
  27. data/lib/archetype/functions/css/shorthands/border.rb +102 -0
  28. data/lib/archetype/functions/hash.rb +3 -149
  29. data/lib/archetype/functions/hash/extend.rb +74 -0
  30. data/lib/archetype/functions/hash/shim.rb +48 -0
  31. data/lib/archetype/functions/helpers.rb +231 -22
  32. data/lib/archetype/functions/styleguide_memoizer.rb +18 -1
  33. data/lib/archetype/sass_extensions.rb +1 -3
  34. data/lib/archetype/sass_extensions/functions.rb +15 -1
  35. data/lib/archetype/sass_extensions/functions/environment.rb +152 -1
  36. data/lib/archetype/sass_extensions/functions/lists.rb +95 -45
  37. data/lib/archetype/sass_extensions/functions/locale.rb +107 -28
  38. data/lib/archetype/sass_extensions/functions/numbers.rb +118 -4
  39. data/lib/archetype/sass_extensions/functions/strings.rb +53 -0
  40. data/lib/archetype/sass_extensions/functions/styleguide.rb +43 -375
  41. data/lib/archetype/sass_extensions/functions/styleguide/components.rb +25 -0
  42. data/lib/archetype/sass_extensions/functions/styleguide/constants.rb +27 -0
  43. data/lib/archetype/sass_extensions/functions/styleguide/grammar.rb +80 -0
  44. data/lib/archetype/sass_extensions/functions/styleguide/helpers.rb +36 -0
  45. data/lib/archetype/sass_extensions/functions/styleguide/resolve.rb +159 -0
  46. data/lib/archetype/sass_extensions/functions/styleguide/styles.rb +146 -0
  47. data/lib/archetype/sass_extensions/functions/styleguide/themes.rb +40 -0
  48. data/lib/archetype/sass_extensions/functions/ui.rb +7 -57
  49. data/lib/archetype/sass_extensions/functions/ui/glyphs.rb +118 -0
  50. data/lib/archetype/sass_extensions/functions/ui/scopes.rb +96 -0
  51. data/lib/archetype/sass_extensions/functions/util.rb +14 -0
  52. data/lib/archetype/sass_extensions/functions/util/debug.rb +22 -0
  53. data/lib/archetype/sass_extensions/functions/util/hacks.rb +44 -0
  54. data/lib/archetype/sass_extensions/functions/util/images.rb +132 -0
  55. data/lib/archetype/sass_extensions/functions/util/misc.rb +220 -0
  56. data/lib/archetype/sass_extensions/functions/util/spacing.rb +83 -0
  57. data/lib/archetype/sass_extensions/functions/version.rb +12 -17
  58. data/lib/archetype/version.rb +1 -1
  59. data/stylesheets/archetype/_config.scss +1 -389
  60. data/stylesheets/archetype/_core.scss +15 -0
  61. data/stylesheets/archetype/_hacks.scss +4 -120
  62. data/stylesheets/archetype/_init.scss +4 -22
  63. data/stylesheets/archetype/_required.scss +3 -0
  64. data/stylesheets/archetype/_reset.scss +3 -0
  65. data/stylesheets/archetype/_styleguide.scss +2 -6
  66. data/stylesheets/archetype/_ui.scss +2 -358
  67. data/stylesheets/archetype/_util.scss +3 -10
  68. data/stylesheets/archetype/config/_core.scss +14 -0
  69. data/stylesheets/archetype/config/_environment.scss +19 -0
  70. data/stylesheets/archetype/config/_formatting.scss +63 -0
  71. data/stylesheets/archetype/config/_glyphs.scss +252 -0
  72. data/stylesheets/archetype/config/_resets.scss +7 -0
  73. data/stylesheets/archetype/config/_resolution.scss +3 -0
  74. data/stylesheets/archetype/config/_spacing.scss +5 -0
  75. data/stylesheets/archetype/config/_targeting.scss +18 -0
  76. data/stylesheets/archetype/config/_theme.scss +3 -0
  77. data/stylesheets/archetype/config/_typography.scss +56 -0
  78. data/stylesheets/archetype/config/_units.scss +2 -0
  79. data/stylesheets/archetype/config/_vars.scss +10 -0
  80. data/stylesheets/archetype/hacks/_core.scss +4 -0
  81. data/stylesheets/archetype/hacks/_hacks.scss +160 -0
  82. data/stylesheets/archetype/hacks/_init.scss +2 -0
  83. data/stylesheets/archetype/styleguide/_core.scss +4 -0
  84. data/stylesheets/archetype/styleguide/_init.scss +1 -0
  85. data/stylesheets/archetype/styleguide/_styleguide.scss +41 -18
  86. data/stylesheets/archetype/ui/_accessibility.scss +41 -0
  87. data/stylesheets/archetype/ui/_breakpoints.scss +19 -0
  88. data/stylesheets/archetype/ui/_core.scss +10 -0
  89. data/stylesheets/archetype/ui/_elements.scss +98 -0
  90. data/stylesheets/archetype/ui/_glyphs.scss +244 -0
  91. data/stylesheets/archetype/ui/_init.scss +5 -0
  92. data/stylesheets/archetype/ui/_layout.scss +37 -0
  93. data/stylesheets/archetype/ui/_locale.scss +12 -0
  94. data/stylesheets/archetype/ui/_scopes.scss +42 -0
  95. data/stylesheets/archetype/util/_core.scss +8 -0
  96. data/stylesheets/archetype/util/_debug.scss +9 -21
  97. data/stylesheets/archetype/util/_init.scss +1 -0
  98. data/stylesheets/archetype/util/_misc.scss +21 -86
  99. data/stylesheets/archetype/util/_spacing.scss +9 -40
  100. data/stylesheets/archetype/util/_styles.scss +189 -178
  101. data/stylesheets/archetype/util/_targeting.scss +51 -68
  102. data/templates/example/manifest.rb +2 -2
  103. data/templates/example/screen.scss +0 -1
  104. data/templates/project/manifest.rb +3 -8
  105. metadata +93 -263
  106. data/bin/archetype +0 -3
  107. data/lib/archetype/sass_extensions/monkey_patches.rb +0 -3
  108. data/lib/archetype/sass_extensions/monkey_patches/handle_include_loop.rb +0 -13
  109. data/stylesheets/archetype/_base.scss +0 -54
  110. data/stylesheets/archetype/_grid.scss +0 -3
  111. data/stylesheets/archetype/base/_h5bp.scss +0 -307
  112. data/stylesheets/archetype/base/_hybrid.scss +0 -25
  113. data/stylesheets/archetype/base/_normalize.scss +0 -634
  114. data/stylesheets/archetype/base/_reset.scss +0 -72
  115. data/stylesheets/archetype/grid/_config.scss +0 -14
  116. data/stylesheets/archetype/grid/_grid.scss +0 -391
  117. data/stylesheets/archetype/styleguide/_components.scss +0 -25
  118. data/stylesheets/archetype/styleguide/_helpers.scss +0 -215
  119. data/stylesheets/archetype/styleguide/_primitives.scss +0 -10
  120. data/stylesheets/archetype/styleguide/components/_alerts.scss +0 -59
  121. data/stylesheets/archetype/styleguide/components/_annotations.scss +0 -27
  122. data/stylesheets/archetype/styleguide/components/_bristol.scss +0 -15
  123. data/stylesheets/archetype/styleguide/components/_button_groups.scss +0 -47
  124. data/stylesheets/archetype/styleguide/components/_button_toolbars.scss +0 -17
  125. data/stylesheets/archetype/styleguide/components/_buttons.scss +0 -339
  126. data/stylesheets/archetype/styleguide/components/_canvas.scss +0 -15
  127. data/stylesheets/archetype/styleguide/components/_carets.scss +0 -336
  128. data/stylesheets/archetype/styleguide/components/_closes.scss +0 -63
  129. data/stylesheets/archetype/styleguide/components/_container.scss +0 -27
  130. data/stylesheets/archetype/styleguide/components/_copy.scss +0 -85
  131. data/stylesheets/archetype/styleguide/components/_flyouts.scss +0 -52
  132. data/stylesheets/archetype/styleguide/components/_headings.scss +0 -33
  133. data/stylesheets/archetype/styleguide/components/_headlines.scss +0 -64
  134. data/stylesheets/archetype/styleguide/components/_hovercards.scss +0 -27
  135. data/stylesheets/archetype/styleguide/components/_icons.scss +0 -17
  136. data/stylesheets/archetype/styleguide/components/_identities.scss +0 -34
  137. data/stylesheets/archetype/styleguide/components/_links.scss +0 -68
  138. data/stylesheets/archetype/styleguide/components/_loaders.scss +0 -154
  139. data/stylesheets/archetype/styleguide/components/_menu_items.scss +0 -31
  140. data/stylesheets/archetype/styleguide/components/_module.scss +0 -15
  141. data/stylesheets/archetype/styleguide/components/_pullquotes.scss +0 -29
  142. data/stylesheets/archetype/styleguide/components/_punchcut.scss +0 -18
  143. data/stylesheets/archetype/styleguide/components/_tooltips.scss +0 -28
  144. data/stylesheets/archetype/styleguide/primitives/_animations.scss +0 -17
  145. data/stylesheets/archetype/styleguide/primitives/_dimensions.scss +0 -50
  146. data/stylesheets/archetype/styleguide/primitives/_glyphs.scss +0 -11
  147. data/stylesheets/archetype/styleguide/primitives/_misc.scss +0 -8
  148. data/stylesheets/archetype/styleguide/primitives/_palettes.scss +0 -94
  149. data/stylesheets/archetype/styleguide/primitives/_shadows.scss +0 -23
  150. data/stylesheets/archetype/styleguide/primitives/_sprites.scss +0 -46
  151. data/stylesheets/archetype/styleguide/primitives/_textures.scss +0 -10
  152. data/stylesheets/archetype/styleguide/primitives/_typography.scss +0 -56
  153. data/stylesheets/archetype/util/_lists.scss +0 -57
  154. data/stylesheets/archetype/util/_rtl.scss +0 -279
  155. data/stylesheets/archetype/util/_units.scss +0 -18
  156. data/templates/project/screen.scss +0 -1
  157. data/templates/project/vendor/archetype/animations/loaders/large/large.png +0 -0
  158. data/templates/project/vendor/archetype/animations/loaders/large/large_dark.png +0 -0
  159. data/templates/project/vendor/archetype/animations/loaders/large/large_dark_static.png +0 -0
  160. data/templates/project/vendor/archetype/animations/loaders/large/large_static.png +0 -0
  161. data/templates/project/vendor/archetype/animations/loaders/medium/medium.png +0 -0
  162. data/templates/project/vendor/archetype/animations/loaders/medium/medium_dark.png +0 -0
  163. data/templates/project/vendor/archetype/animations/loaders/medium/medium_dark_static.png +0 -0
  164. data/templates/project/vendor/archetype/animations/loaders/medium/medium_static.png +0 -0
  165. data/templates/project/vendor/archetype/animations/loaders/small/small.png +0 -0
  166. data/templates/project/vendor/archetype/animations/loaders/small/small_dark.png +0 -0
  167. data/templates/project/vendor/archetype/animations/loaders/small/small_dark_static.png +0 -0
  168. data/templates/project/vendor/archetype/animations/loaders/small/small_static.png +0 -0
  169. data/templates/project/vendor/archetype/fontawesome-webfont.eot +0 -0
  170. data/templates/project/vendor/archetype/fontawesome-webfont.svg +0 -255
  171. data/templates/project/vendor/archetype/fontawesome-webfont.ttf +0 -0
  172. data/templates/project/vendor/archetype/fontawesome-webfont.woff +0 -0
  173. data/test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.eot +0 -0
  174. data/test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.svg +0 -255
  175. data/test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.ttf +0 -0
  176. data/test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.woff +0 -0
  177. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders-s7889ccc8c1.png +0 -0
  178. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large.png +0 -0
  179. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large_dark.png +0 -0
  180. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large_dark_static.png +0 -0
  181. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large_static.png +0 -0
  182. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/medium/medium.png +0 -0
  183. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/medium/medium_dark.png +0 -0
  184. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/medium/medium_dark_static.png +0 -0
  185. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/medium/medium_static.png +0 -0
  186. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small.png +0 -0
  187. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small_dark.png +0 -0
  188. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small_dark_static.png +0 -0
  189. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small_static.png +0 -0
  190. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/sprites/hovercard_tip.png +0 -0
  191. data/test/fixtures/stylesheets/archetype/config.rb +0 -21
  192. data/test/fixtures/stylesheets/archetype/source/b.scss +0 -9
  193. data/test/fixtures/stylesheets/archetype/source/base.scss +0 -3
  194. data/test/fixtures/stylesheets/archetype/source/hacks/ie_pseudo.scss +0 -13
  195. data/test/fixtures/stylesheets/archetype/source/hacks/transparent_focusable.scss +0 -5
  196. data/test/fixtures/stylesheets/archetype/source/locale.scss +0 -43
  197. data/test/fixtures/stylesheets/archetype/source/styleguide/alerts.scss +0 -21
  198. data/test/fixtures/stylesheets/archetype/source/styleguide/buttons.scss +0 -18
  199. data/test/fixtures/stylesheets/archetype/source/styleguide/drop.scss +0 -101
  200. data/test/fixtures/stylesheets/archetype/source/styleguide/extend.scss +0 -24
  201. data/test/fixtures/stylesheets/archetype/source/styleguide/fallback_styles.scss +0 -23
  202. data/test/fixtures/stylesheets/archetype/source/styleguide/invalid_structures.scss +0 -85
  203. data/test/fixtures/stylesheets/archetype/source/styleguide/multi_value.scss +0 -18
  204. data/test/fixtures/stylesheets/archetype/source/styleguide/nested_styleguides.scss +0 -40
  205. data/test/fixtures/stylesheets/archetype/source/styleguide/selective_state.scss +0 -22
  206. data/test/fixtures/stylesheets/archetype/source/ui/glyph_icon.scss +0 -35
  207. data/test/fixtures/stylesheets/archetype/source/ui/hide_element.scss +0 -5
  208. data/test/fixtures/stylesheets/archetype/source/ui/stroke.scss +0 -13
  209. data/test/fixtures/stylesheets/archetype/source/ui/triangle.scss +0 -13
  210. data/test/fixtures/stylesheets/archetype/source/utilities/associative.scss +0 -24
  211. data/test/fixtures/stylesheets/archetype/source/utilities/custom_output_styler.scss +0 -22
  212. data/test/fixtures/stylesheets/archetype/source/utilities/if-set.scss +0 -16
  213. data/test/fixtures/stylesheets/archetype/source/utilities/spacing/horizontal-spacing.scss +0 -27
  214. data/test/fixtures/stylesheets/archetype/source/utilities/spacing/vertical-spacing.scss +0 -27
  215. data/test/fixtures/stylesheets/archetype/source/utilities/styles/filter.scss +0 -9
  216. data/test/fixtures/stylesheets/archetype/source/utilities/styles/font-family.scss +0 -9
  217. data/test/fixtures/stylesheets/archetype/source/utilities/styles/z-index.scss +0 -18
  218. data/test/fixtures/stylesheets/archetype/source/utilities/targeting/target-browser.scss +0 -77
  219. data/test/fixtures/stylesheets/archetype/source/utilities/targeting/target-os.scss +0 -42
  220. data/test/fixtures/stylesheets/archetype/tmp/b.css +0 -14
  221. data/test/fixtures/stylesheets/archetype/tmp/base.css +0 -349
  222. data/test/fixtures/stylesheets/archetype/tmp/hacks/ie_pseudo.css +0 -11
  223. data/test/fixtures/stylesheets/archetype/tmp/hacks/transparent_focusable.css +0 -4
  224. data/test/fixtures/stylesheets/archetype/tmp/locale.css +0 -23
  225. data/test/fixtures/stylesheets/archetype/tmp/styleguide/alerts.css +0 -711
  226. data/test/fixtures/stylesheets/archetype/tmp/styleguide/buttons.css +0 -2119
  227. data/test/fixtures/stylesheets/archetype/tmp/styleguide/drop.css +0 -63
  228. data/test/fixtures/stylesheets/archetype/tmp/styleguide/extend.css +0 -11
  229. data/test/fixtures/stylesheets/archetype/tmp/styleguide/fallback_styles.css +0 -10
  230. data/test/fixtures/stylesheets/archetype/tmp/styleguide/invalid_structures.css +0 -21
  231. data/test/fixtures/stylesheets/archetype/tmp/styleguide/multi_value.css +0 -13
  232. data/test/fixtures/stylesheets/archetype/tmp/styleguide/nested_styleguides.css +0 -28
  233. data/test/fixtures/stylesheets/archetype/tmp/styleguide/selective_state.css +0 -177
  234. data/test/fixtures/stylesheets/archetype/tmp/ui/glyph_icon.css +0 -127
  235. data/test/fixtures/stylesheets/archetype/tmp/ui/hide_element.css +0 -8
  236. data/test/fixtures/stylesheets/archetype/tmp/ui/stroke.css +0 -17
  237. data/test/fixtures/stylesheets/archetype/tmp/ui/triangle.css +0 -35
  238. data/test/fixtures/stylesheets/archetype/tmp/utilities/associative.css +0 -9
  239. data/test/fixtures/stylesheets/archetype/tmp/utilities/custom_output_styler.css +0 -8
  240. data/test/fixtures/stylesheets/archetype/tmp/utilities/if-set.css +0 -9
  241. data/test/fixtures/stylesheets/archetype/tmp/utilities/spacing/horizontal-spacing.css +0 -29
  242. data/test/fixtures/stylesheets/archetype/tmp/utilities/spacing/vertical-spacing.css +0 -29
  243. data/test/fixtures/stylesheets/archetype/tmp/utilities/styles/filter.css +0 -11
  244. data/test/fixtures/stylesheets/archetype/tmp/utilities/styles/font-family.css +0 -16
  245. data/test/fixtures/stylesheets/archetype/tmp/utilities/styles/z-index.css +0 -15
  246. data/test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-browser.css +0 -105
  247. data/test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-os.css +0 -55
  248. data/test/helpers/diff.rb +0 -49
  249. data/test/helpers/io.rb +0 -36
  250. data/test/helpers/test_case.rb +0 -62
  251. data/test/integrations/archetype_test.rb +0 -126
  252. data/test/test_helper.rb +0 -26
  253. data/test/units/sass_extensions_test.rb +0 -200
@@ -1,63 +0,0 @@
1
- .dropping-styles-test {
2
- /* should contain hover state and .test selector */
3
- display: block;
4
- color: red;
5
- background: green;
6
- }
7
- .dropping-styles-test.hover, .dropping-styles-test:hover, .dropping-styles-test.focus, .dropping-styles-test:focus {
8
- background: #eeeeee;
9
- border: 2px solid red;
10
- }
11
- .dropping-styles-test.hover .test, .dropping-styles-test:hover .test, .dropping-styles-test.focus .test, .dropping-styles-test:focus .test {
12
- padding: 100px;
13
- margin: 20px;
14
- }
15
- .dropping-styles-test.parent {
16
- /* should contain hover state and .test selector */
17
- display: none;
18
- color: black;
19
- background: green;
20
- }
21
- .dropping-styles-test.parent.hover, .dropping-styles-test.parent:hover, .dropping-styles-test.parent.focus, .dropping-styles-test.parent:focus {
22
- background: #eeeeee;
23
- border: 2px solid red;
24
- }
25
- .dropping-styles-test.parent.hover .test, .dropping-styles-test.parent:hover .test, .dropping-styles-test.parent.focus .test, .dropping-styles-test.parent:focus .test {
26
- padding: 100px;
27
- margin: 20px;
28
- }
29
- .dropping-styles-test.heir {
30
- /* should contain hover state and .test selector */
31
- display: none;
32
- color: black;
33
- background: green;
34
- }
35
- .dropping-styles-test.heir.hover, .dropping-styles-test.heir:hover, .dropping-styles-test.heir.focus, .dropping-styles-test.heir:focus {
36
- background: #eeeeee;
37
- border: 2px solid red;
38
- }
39
- .dropping-styles-test.heir.hover .test, .dropping-styles-test.heir:hover .test, .dropping-styles-test.heir.focus .test, .dropping-styles-test.heir:focus .test {
40
- padding: 100px;
41
- margin: 20px;
42
- }
43
- .dropping-styles-test.dropped {
44
- /* should only contain color:yellow */
45
- color: yellow;
46
- }
47
- .dropping-styles-test.dropped2 {
48
- /* should contain color:yellow, custom :hover, :active */
49
- color: yellow;
50
- }
51
- .dropping-styles-test.dropped2.hover, .dropping-styles-test.dropped2:hover, .dropping-styles-test.dropped2.focus, .dropping-styles-test.dropped2:focus {
52
- color: blue;
53
- }
54
- .dropping-styles-test.dropped2.active, .dropping-styles-test.dropped2:active {
55
- color: green;
56
- width: 100%;
57
- }
58
- .dropping-styles-test.dropped3 {
59
- /* should only contain color:purple */
60
- display: block;
61
- color: purple;
62
- background: green;
63
- }
@@ -1,11 +0,0 @@
1
- .some-extend-class, .extend-styleguide-test {
2
- color: red;
3
- }
4
-
5
- .extend-styleguide-test {
6
- background: green;
7
- }
8
-
9
- .extend-styleguide-test {
10
- content: "\0020";
11
- }
@@ -1,10 +0,0 @@
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
- content: "\0020";
10
- }
@@ -1,21 +0,0 @@
1
- .test-missing-nil {
2
- color: red;
3
- }
4
-
5
- .test-missing-nil-2 {
6
- color: yellow;
7
- }
8
-
9
- .test-missing-nil-3 {
10
- color: blue;
11
- }
12
- .test-missing-nil-3.hover, .test-missing-nil-3:hover, .test-missing-nil-3.focus, .test-missing-nil-3:focus {
13
- color: black;
14
- background: green;
15
- font-weight: bold;
16
- }
17
-
18
- .test-missing-comma {
19
- color: white;
20
- background: green;
21
- }
@@ -1,13 +0,0 @@
1
- .multi-value-styleguide-test {
2
- color: gray;
3
- color: rgba(0, 0, 0, 0.7);
4
- background: white;
5
- background: transparent;
6
- *color: blue;
7
- }
8
- .ie.ie8 .multi-value-styleguide-test {
9
- color: red;
10
- }
11
- .multi-value-styleguide-test, .multi-value-styleguide-test x:-moz-any-link {
12
- color: pink;
13
- }
@@ -1,28 +0,0 @@
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
- cursor: pointer;
11
- background: #eeeeee;
12
- }
13
- .ie .nested-styleguide-test.hover, .ie .nested-styleguide-test:hover, .ie .nested-styleguide-test.focus, .ie .nested-styleguide-test:focus {
14
- cursor: hand;
15
- }
16
- .nested-styleguide-test h3 {
17
- font-size: 18px;
18
- font-weight: bold;
19
- line-height: 22px;
20
- color: #0088cc;
21
- text-decoration: none;
22
- }
23
- .nested-styleguide-test h3.hover, .nested-styleguide-test h3:hover, .nested-styleguide-test h3.focus, .nested-styleguide-test h3:focus {
24
- text-decoration: none;
25
- }
26
- .nested-styleguide-test:after {
27
- color: red;
28
- }
@@ -1,177 +0,0 @@
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
- text-align: center;
10
- width: auto;
11
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
12
- -webkit-border-radius: 3px;
13
- -moz-border-radius: 3px;
14
- -ms-border-radius: 3px;
15
- -o-border-radius: 3px;
16
- border-radius: 3px;
17
- padding: 0 10px;
18
- height: 26px;
19
- line-height: 24px;
20
- -webkit-box-sizing: border-box;
21
- -moz-box-sizing: border-box;
22
- box-sizing: border-box;
23
- font-size: 12px;
24
- color: white;
25
- background-color: #0055cc;
26
- border-color: #1b5480;
27
- *zoom: 1;
28
- filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF0066CC', endColorstr='#FF0033CC');
29
- background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0066cc), color-stop(100%, #0033cc));
30
- background-image: -webkit-linear-gradient(top, #0066cc, #0033cc);
31
- background-image: -moz-linear-gradient(top, #0066cc, #0033cc);
32
- background-image: -o-linear-gradient(top, #0066cc, #0033cc);
33
- background-image: linear-gradient(top, #0066cc, #0033cc);
34
- white-space: nowrap;
35
- display: -moz-inline-stack;
36
- display: inline-block;
37
- vertical-align: middle;
38
- *vertical-align: auto;
39
- zoom: 1;
40
- *display: inline;
41
- vertical-align: middle;
42
- -webkit-box-shadow: none;
43
- -moz-box-shadow: none;
44
- box-shadow: none;
45
- filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
46
- opacity: 0.6;
47
- }
48
- .simple-button.my-custom-hover {
49
- font-weight: bold;
50
- border-width: 1px;
51
- border-style: solid;
52
- cursor: pointer;
53
- margin: 0;
54
- overflow: visible;
55
- text-decoration: none !important;
56
- text-align: center;
57
- width: auto;
58
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
59
- -webkit-border-radius: 3px;
60
- -moz-border-radius: 3px;
61
- -ms-border-radius: 3px;
62
- -o-border-radius: 3px;
63
- border-radius: 3px;
64
- padding: 0 10px;
65
- height: 26px;
66
- line-height: 24px;
67
- -webkit-box-sizing: border-box;
68
- -moz-box-sizing: border-box;
69
- box-sizing: border-box;
70
- font-size: 12px;
71
- color: white;
72
- background-color: #0055cc;
73
- border-color: #1b5480;
74
- *zoom: 1;
75
- filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF0066CC', endColorstr='#FF0033CC');
76
- background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0066cc), color-stop(100%, #0033cc));
77
- background-image: -webkit-linear-gradient(top, #0066cc, #0033cc);
78
- background-image: -moz-linear-gradient(top, #0066cc, #0033cc);
79
- background-image: -o-linear-gradient(top, #0066cc, #0033cc);
80
- background-image: linear-gradient(top, #0066cc, #0033cc);
81
- white-space: nowrap;
82
- display: -moz-inline-stack;
83
- display: inline-block;
84
- vertical-align: middle;
85
- *vertical-align: auto;
86
- zoom: 1;
87
- *display: inline;
88
- vertical-align: middle;
89
- -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
90
- -moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
91
- box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
92
- }
93
- .simple-button.normal {
94
- font-weight: bold;
95
- border-width: 1px;
96
- border-style: solid;
97
- cursor: pointer;
98
- margin: 0;
99
- overflow: visible;
100
- text-decoration: none !important;
101
- text-align: center;
102
- width: auto;
103
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
104
- -webkit-border-radius: 3px;
105
- -moz-border-radius: 3px;
106
- -ms-border-radius: 3px;
107
- -o-border-radius: 3px;
108
- border-radius: 3px;
109
- padding: 0 10px;
110
- height: 26px;
111
- line-height: 24px;
112
- -webkit-box-sizing: border-box;
113
- -moz-box-sizing: border-box;
114
- box-sizing: border-box;
115
- font-size: 12px;
116
- color: white;
117
- background-color: #0074cc;
118
- border-color: #1b5480;
119
- *zoom: 1;
120
- filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF0088CC', endColorstr='#FF0055CC');
121
- background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0088cc), color-stop(100%, #0055cc));
122
- background-image: -webkit-linear-gradient(top, #0088cc, #0055cc);
123
- background-image: -moz-linear-gradient(top, #0088cc, #0055cc);
124
- background-image: -o-linear-gradient(top, #0088cc, #0055cc);
125
- background-image: linear-gradient(top, #0088cc, #0055cc);
126
- white-space: nowrap;
127
- display: -moz-inline-stack;
128
- display: inline-block;
129
- vertical-align: middle;
130
- *vertical-align: auto;
131
- zoom: 1;
132
- *display: inline;
133
- vertical-align: middle;
134
- }
135
- .simple-button.normal.hover, .simple-button.normal:hover, .simple-button.normal.focus, .simple-button.normal:focus {
136
- background-color: #0055cc;
137
- *zoom: 1;
138
- filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF0066CC', endColorstr='#FF0033CC');
139
- background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0066cc), color-stop(100%, #0033cc));
140
- background-image: -webkit-linear-gradient(top, #0066cc, #0033cc);
141
- background-image: -moz-linear-gradient(top, #0066cc, #0033cc);
142
- background-image: -o-linear-gradient(top, #0066cc, #0033cc);
143
- background-image: linear-gradient(top, #0066cc, #0033cc);
144
- -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
145
- -moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
146
- box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
147
- }
148
- .simple-button.normal.active, .simple-button.normal:active {
149
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset;
150
- -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset;
151
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset;
152
- }
153
- .simple-button.normal.disabled, .simple-button.normal[disabled] {
154
- background-color: #0055cc;
155
- *zoom: 1;
156
- filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF0066CC', endColorstr='#FF0033CC');
157
- background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0066cc), color-stop(100%, #0033cc));
158
- background-image: -webkit-linear-gradient(top, #0066cc, #0033cc);
159
- background-image: -moz-linear-gradient(top, #0066cc, #0033cc);
160
- background-image: -o-linear-gradient(top, #0066cc, #0033cc);
161
- background-image: linear-gradient(top, #0066cc, #0033cc);
162
- -webkit-box-shadow: none;
163
- -moz-box-shadow: none;
164
- box-shadow: none;
165
- cursor: default;
166
- filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
167
- opacity: 0.6;
168
- }
169
-
170
- .anchor.missing {
171
- color: #0088cc;
172
- text-decoration: none;
173
- }
174
- .anchor.my-custom-hover {
175
- color: #0088cc;
176
- text-decoration: underline;
177
- }
@@ -1,127 +0,0 @@
1
- @font-face {
2
- font-family: "FontAwesome";
3
- src: url('/assets/fonts/vendor/archetype/fontawesome-webfont.eot');
4
- src: url('/assets/fonts/vendor/archetype/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('/assets/fonts/vendor/archetype/fontawesome-webfont.woff') format('woff'), url('/assets/fonts/vendor/archetype/fontawesome-webfont.ttf') format('truetype'), url('/assets/fonts/vendor/archetype/fontawesome-webfont.svg#FontAwesome') format('svg');
5
- font-weight: normal;
6
- font-style: normal;
7
- }
8
-
9
- @font-face {
10
- font-family: "FontAwesome-0.0.1";
11
- src: url('/assets/fonts/vendor/archetype/fontawesome-webfont.eot');
12
- src: url('/assets/fonts/vendor/archetype/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('/assets/fonts/vendor/archetype/fontawesome-webfont.woff') format('woff'), url('/assets/fonts/vendor/archetype/fontawesome-webfont.ttf') format('truetype'), url('/assets/fonts/vendor/archetype/fontawesome-webfont.svg#FontAwesome') format('svg');
13
- font-weight: normal;
14
- font-style: normal;
15
- }
16
-
17
- .simple {
18
- *zoom: expression(this.runtimeStyle.zoom="1",(function(t){setTimeout(function(){t.el=document.createElement("x-archetype-glyph"), t.el.innerHTML="", t.el.style.cssText="font-family:'FontAwesome-0.0.1', 'FontAwesome';font-weight:normal;font-style:normal;text-decoration:inherit;font-size:100%;color:inherit;", t.insertBefore(t.el,t.childNodes[0]||null)})}(this)));
19
- }
20
- .simple:before {
21
- font-family: "FontAwesome-0.0.1", "FontAwesome";
22
- font-weight: normal;
23
- font-style: normal;
24
- text-decoration: inherit;
25
- speak: none;
26
- font-size: 100%;
27
- color: inherit;
28
- content: "\f0d7";
29
- }
30
-
31
- .false {
32
- font-family: "FontAwesome-0.0.1", "FontAwesome";
33
- font-weight: normal;
34
- font-style: normal;
35
- text-decoration: inherit;
36
- speak: none;
37
- font-size: 100%;
38
- color: inherit;
39
- }
40
-
41
- .size {
42
- *zoom: expression(this.runtimeStyle.zoom="1",(function(t){setTimeout(function(){t.el=document.createElement("x-archetype-glyph"), t.el.innerHTML="", t.el.style.cssText="font-family:'FontAwesome-0.0.1', 'FontAwesome';font-weight:normal;font-style:normal;text-decoration:inherit;font-size:20px;color:inherit;", t.insertBefore(t.el,t.childNodes[0]||null)})}(this)));
43
- }
44
- .size:before {
45
- font-family: "FontAwesome-0.0.1", "FontAwesome";
46
- font-weight: normal;
47
- font-style: normal;
48
- text-decoration: inherit;
49
- speak: none;
50
- font-size: 20px;
51
- color: inherit;
52
- content: "\f0d7";
53
- }
54
-
55
- .not-inline {
56
- *zoom: expression(this.runtimeStyle.zoom="1",(function(t){setTimeout(function(){t.el=document.createElement("x-archetype-glyph"), t.el.innerHTML="", t.insertBefore(t.el,t.childNodes[0]||null)})}(this)));
57
- }
58
- .not-inline:before {
59
- font-family: "FontAwesome-0.0.1", "FontAwesome";
60
- font-weight: normal;
61
- font-style: normal;
62
- text-decoration: inherit;
63
- speak: none;
64
- font-size: 100%;
65
- color: inherit;
66
- content: "\f0d7";
67
- }
68
- .not-inline #ie-pseudo-archetype-uid-RANDOM_UID {
69
- font-family: 'FontAwesome-0.0.1', 'FontAwesome';
70
- font-weight: normal;
71
- font-style: normal;
72
- text-decoration: inherit;
73
- font-size: 100%;
74
- color: inherit;
75
- }
76
-
77
- .ie-uid {
78
- *zoom: expression(this.runtimeStyle.zoom="1",(function(t){setTimeout(function(){t.el=document.createElement("x-archetype-glyph"), t.el.innerHTML="", t.insertBefore(t.el,t.childNodes[0]||null)})}(this)));
79
- }
80
- .ie-uid:before {
81
- font-family: "FontAwesome-0.0.1", "FontAwesome";
82
- font-weight: normal;
83
- font-style: normal;
84
- text-decoration: inherit;
85
- speak: none;
86
- font-size: 100%;
87
- color: inherit;
88
- content: "\f0d7";
89
- }
90
- .ie-uid #my-custom-id {
91
- font-family: 'FontAwesome-0.0.1', 'FontAwesome';
92
- font-weight: normal;
93
- font-style: normal;
94
- text-decoration: inherit;
95
- font-size: 100%;
96
- color: inherit;
97
- }
98
- .ie-uid:before, .ie-uid #my-custom-id {
99
- color: pink;
100
- }
101
-
102
- .content-block {
103
- *zoom: expression(this.runtimeStyle.zoom="1",(function(t){setTimeout(function(){t.el=document.createElement("x-archetype-glyph"), t.el.innerHTML="", t.insertBefore(t.el,t.childNodes[0]||null)})}(this)));
104
- }
105
- .content-block:before {
106
- font-family: "FontAwesome-0.0.1", "FontAwesome";
107
- font-weight: normal;
108
- font-style: normal;
109
- text-decoration: inherit;
110
- speak: none;
111
- font-size: 100%;
112
- color: inherit;
113
- content: "\f0d7";
114
- }
115
- .content-block #ie-pseudo-archetype-uid-RANDOM_UID {
116
- font-family: 'FontAwesome-0.0.1', 'FontAwesome';
117
- font-weight: normal;
118
- font-style: normal;
119
- text-decoration: inherit;
120
- font-size: 100%;
121
- color: inherit;
122
- }
123
- .content-block:before, .content-block #ie-pseudo-archetype-uid-RANDOM_UID {
124
- position: absolute;
125
- top: 10px;
126
- left: 10px;
127
- }