groundworkcss 0.4.4 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (411) hide show
  1. data/Gemfile.lock +63 -0
  2. data/README.md +90 -48
  3. data/app/assets/fonts/groundworkcss/museo-slab-500-webfont.eot +0 -0
  4. data/app/assets/fonts/groundworkcss/museo-slab-500-webfont.svg +1228 -0
  5. data/app/assets/fonts/groundworkcss/museo-slab-500-webfont.ttf +0 -0
  6. data/app/assets/fonts/groundworkcss/museo-slab-500-webfont.woff +0 -0
  7. data/app/assets/fonts/groundworkcss/quicksand-regular-webfont.eot +0 -0
  8. data/app/assets/fonts/groundworkcss/quicksand-regular-webfont.svg +1746 -0
  9. data/app/assets/fonts/groundworkcss/quicksand-regular-webfont.ttf +0 -0
  10. data/app/assets/fonts/groundworkcss/quicksand-regular-webfont.woff +0 -0
  11. data/app/assets/fonts/groundworkcss/redacted-regular.eot +0 -0
  12. data/app/assets/fonts/groundworkcss/redacted-regular.svg +242 -0
  13. data/app/assets/fonts/groundworkcss/redacted-regular.ttf +0 -0
  14. data/app/assets/fonts/groundworkcss/redacted-regular.woff +0 -0
  15. data/app/assets/fonts/groundworkcss/redacted-script-bold.eot +0 -0
  16. data/app/assets/fonts/groundworkcss/redacted-script-bold.svg +244 -0
  17. data/app/assets/fonts/groundworkcss/redacted-script-bold.ttf +0 -0
  18. data/app/assets/fonts/groundworkcss/redacted-script-bold.woff +0 -0
  19. data/app/assets/fonts/groundworkcss/redacted-script-light.eot +0 -0
  20. data/app/assets/fonts/groundworkcss/redacted-script-light.svg +244 -0
  21. data/app/assets/fonts/groundworkcss/redacted-script-light.ttf +0 -0
  22. data/app/assets/fonts/groundworkcss/redacted-script-light.woff +0 -0
  23. data/app/assets/fonts/groundworkcss/redacted-script-regular.eot +0 -0
  24. data/app/assets/fonts/groundworkcss/redacted-script-regular.svg +244 -0
  25. data/app/assets/fonts/groundworkcss/redacted-script-regular.ttf +0 -0
  26. data/app/assets/fonts/groundworkcss/redacted-script-regular.woff +0 -0
  27. data/app/assets/fonts/groundworkcss/sourcesanspro-regular-webfont.eot +0 -0
  28. data/app/assets/fonts/groundworkcss/sourcesanspro-regular-webfont.svg +978 -0
  29. data/app/assets/fonts/groundworkcss/sourcesanspro-regular-webfont.ttf +0 -0
  30. data/app/assets/fonts/groundworkcss/sourcesanspro-regular-webfont.woff +0 -0
  31. data/app/assets/images/groundworkcss/black_linen_v2.png +0 -0
  32. data/app/assets/images/groundworkcss/diag6-black.png +0 -0
  33. data/app/assets/images/groundworkcss/example-usage.png +0 -0
  34. data/app/assets/images/groundworkcss/favicon.ico +0 -0
  35. data/app/assets/images/groundworkcss/groundwork-logo.png +0 -0
  36. data/app/assets/images/groundworkcss/groundwork-logo.svg +1 -0
  37. data/app/assets/images/groundworkcss/layout-a.png +0 -0
  38. data/app/assets/images/groundworkcss/layout-b.png +0 -0
  39. data/app/assets/images/groundworkcss/layout-c.png +0 -0
  40. data/app/assets/javascripts/groundworkcss/all.js +4 -0
  41. data/app/assets/javascripts/groundworkcss/components/checklists.coffee +8 -0
  42. data/app/assets/javascripts/groundworkcss/components/dismissible.coffee +7 -3
  43. data/app/assets/javascripts/groundworkcss/components/equalizeColumns.coffee +3 -4
  44. data/app/assets/javascripts/groundworkcss/components/menus.coffee +22 -156
  45. data/app/assets/javascripts/groundworkcss/components/navigation.coffee +90 -0
  46. data/app/assets/javascripts/groundworkcss/components/tabs.coffee +83 -18
  47. data/app/assets/javascripts/groundworkcss/demo/ZeroClipboard.swf +0 -0
  48. data/app/assets/javascripts/groundworkcss/demo/jquery.snippet.min.js +12 -0
  49. data/app/assets/javascripts/groundworkcss/libs/boxsizing.htc +6 -3
  50. data/app/assets/javascripts/groundworkcss/plugins/jquery-placeholderText.coffee +90 -0
  51. data/app/assets/javascripts/groundworkcss/plugins/jquery-responsiveTables.coffee +0 -1
  52. data/app/assets/stylesheets/groundworkcss/_settings-rails3.scss +298 -262
  53. data/app/assets/stylesheets/groundworkcss/_settings-rails4.scss +298 -262
  54. data/app/assets/stylesheets/groundworkcss/_settings.scss +306 -268
  55. data/app/assets/stylesheets/groundworkcss/anim/_all-animations.scss +37 -0
  56. data/app/assets/stylesheets/groundworkcss/anim/_bounce.scss +253 -0
  57. data/app/assets/stylesheets/groundworkcss/anim/_fade.scss +279 -0
  58. data/app/assets/stylesheets/groundworkcss/anim/_flash.scss +14 -0
  59. data/app/assets/stylesheets/groundworkcss/anim/_flip.scss +115 -0
  60. data/app/assets/stylesheets/groundworkcss/anim/_hinge.scss +21 -0
  61. data/app/assets/stylesheets/groundworkcss/anim/_lightspeed.scss +28 -0
  62. data/app/assets/stylesheets/groundworkcss/anim/_pulse.scss +15 -0
  63. data/app/assets/stylesheets/groundworkcss/anim/_roll.scss +37 -0
  64. data/app/assets/stylesheets/groundworkcss/anim/_rotate.scss +171 -0
  65. data/app/assets/stylesheets/groundworkcss/anim/_shake.scss +15 -0
  66. data/app/assets/stylesheets/groundworkcss/anim/_spin.scss +57 -0
  67. data/app/assets/stylesheets/groundworkcss/anim/_swing.scss +18 -0
  68. data/app/assets/stylesheets/groundworkcss/anim/_tada.scss +17 -0
  69. data/app/assets/stylesheets/groundworkcss/anim/_wiggle.scss +28 -0
  70. data/app/assets/stylesheets/groundworkcss/anim/_wobble.scss +19 -0
  71. data/app/assets/stylesheets/groundworkcss/base/_all-base.scss +4 -1
  72. data/app/assets/stylesheets/groundworkcss/base/_flex-box.scss +8 -23
  73. data/app/assets/stylesheets/groundworkcss/base/_global.scss +25 -19
  74. data/app/assets/stylesheets/groundworkcss/base/_grid.scss +140 -52
  75. data/app/assets/stylesheets/groundworkcss/base/_hbox-vbox.scss +101 -0
  76. data/app/assets/stylesheets/groundworkcss/base/_helpers.scss +80 -47
  77. data/app/assets/stylesheets/groundworkcss/base/_reset.scss +13 -1
  78. data/app/assets/stylesheets/groundworkcss/core/_all-core.scss +10 -6
  79. data/app/assets/stylesheets/groundworkcss/core/_constants.scss +1 -11
  80. data/app/assets/stylesheets/groundworkcss/core/_defaults.scss +2 -295
  81. data/app/assets/stylesheets/groundworkcss/core/_mixins-core.scss +16 -42
  82. data/app/assets/stylesheets/groundworkcss/core/_palette.scss +123 -0
  83. data/app/assets/stylesheets/groundworkcss/demo/_jquery.snippet.groundwork.scss +145 -0
  84. data/app/assets/stylesheets/groundworkcss/demo/groundworkdocs.scss +102 -0
  85. data/app/assets/stylesheets/groundworkcss/demo/jquery.snippet.scss +35 -0
  86. data/app/assets/stylesheets/groundworkcss/groundwork-ie.scss +30 -63
  87. data/app/assets/stylesheets/groundworkcss/groundwork.scss +10 -11
  88. data/app/assets/stylesheets/groundworkcss/icons/_all-icons.scss +5 -2
  89. data/app/assets/stylesheets/groundworkcss/icons/font-awesome/_extras.scss +0 -39
  90. data/app/assets/stylesheets/groundworkcss/{libs/placeholder_polyfill.css → placeholder_polyfill.css} +0 -0
  91. data/app/assets/stylesheets/groundworkcss/responsive/_all-responsive.scss +2 -2
  92. data/app/assets/stylesheets/groundworkcss/responsive/_desktop.scss +138 -13
  93. data/app/assets/stylesheets/groundworkcss/responsive/_helpers-responsive.scss +21 -15
  94. data/app/assets/stylesheets/groundworkcss/responsive/_ipad.scss +144 -16
  95. data/app/assets/stylesheets/groundworkcss/responsive/_mobile.scss +148 -34
  96. data/app/assets/stylesheets/groundworkcss/responsive/_small-tablet.scss +133 -176
  97. data/app/assets/stylesheets/groundworkcss/type/_all-type.scss +8 -4
  98. data/app/assets/stylesheets/groundworkcss/type/_link-type-icons.scss +404 -0
  99. data/app/assets/stylesheets/groundworkcss/type/_typography.scss +291 -84
  100. data/app/assets/stylesheets/groundworkcss/type/_webfonts.scss +48 -5
  101. data/app/assets/stylesheets/groundworkcss/ui/_all-ui.scss +6 -4
  102. data/app/assets/stylesheets/groundworkcss/ui/_boxes.scss +102 -0
  103. data/app/assets/stylesheets/groundworkcss/ui/_buttons.scss +389 -0
  104. data/app/assets/stylesheets/groundworkcss/{form → ui}/_forms.scss +49 -33
  105. data/app/assets/stylesheets/groundworkcss/ui/_messages.scss +76 -32
  106. data/app/assets/stylesheets/groundworkcss/ui/_nav.scss +346 -0
  107. data/app/assets/stylesheets/groundworkcss/ui/_tables.scss +83 -29
  108. data/app/assets/stylesheets/groundworkcss/ui/_tabs.scss +192 -0
  109. data/app/views/groundworkdocs/animations.html.erb +156 -0
  110. data/app/views/groundworkdocs/boxes.html.erb +131 -0
  111. data/app/views/groundworkdocs/breakpoints.html.erb +143 -0
  112. data/app/views/groundworkdocs/buttons.html.erb +369 -0
  113. data/app/views/groundworkdocs/forms.html.erb +399 -0
  114. data/app/views/groundworkdocs/grid.html.erb +582 -0
  115. data/app/views/groundworkdocs/helpers.html.erb +326 -0
  116. data/app/views/groundworkdocs/home.html.erb +88 -0
  117. data/app/views/groundworkdocs/icons.html.erb +1428 -0
  118. data/app/views/groundworkdocs/layout_a.html.erb +122 -0
  119. data/app/views/groundworkdocs/layout_b.html.erb +37 -0
  120. data/app/views/groundworkdocs/layout_c.html.erb +116 -0
  121. data/app/views/groundworkdocs/media_queries.html.erb +75 -0
  122. data/app/views/groundworkdocs/messages.html.erb +92 -0
  123. data/app/views/groundworkdocs/navigation.html.erb +500 -0
  124. data/app/views/groundworkdocs/placeholder_text.html.erb +86 -0
  125. data/app/views/groundworkdocs/responsive_text.html.erb +90 -0
  126. data/app/views/groundworkdocs/tables.html.erb +554 -0
  127. data/app/views/groundworkdocs/tabs.html.erb +216 -0
  128. data/app/views/groundworkdocs/typography.html.erb +656 -0
  129. data/app/views/layouts/groundworkdocs.html.erb +126 -0
  130. data/groundworkcss.gemspec +2 -2
  131. data/lib/groundworkcss/generators/USAGE.md +24 -0
  132. data/lib/groundworkcss/generators/docs_generator.rb +61 -0
  133. data/lib/groundworkcss/generators/install_generator.rb +25 -8
  134. data/lib/groundworkcss/version.rb +1 -1
  135. data/lib/groundworkcss.rb +1 -1
  136. metadata +105 -292
  137. data/app/assets/fonts/groundworkcss/FontAwesome.otf +0 -0
  138. data/app/assets/fonts/groundworkcss/americantypewriterstd-bold.eot +0 -0
  139. data/app/assets/fonts/groundworkcss/americantypewriterstd-bold.svg +0 -128
  140. data/app/assets/fonts/groundworkcss/americantypewriterstd-bold.ttf +0 -0
  141. data/app/assets/fonts/groundworkcss/americantypewriterstd-bold.woff +0 -0
  142. data/app/assets/fonts/groundworkcss/average-sans-webfont.eot +0 -0
  143. data/app/assets/fonts/groundworkcss/average-sans-webfont.ttf +0 -0
  144. data/app/assets/fonts/groundworkcss/average-sans-webfont.woff +0 -0
  145. data/app/assets/images/groundworkcss/social-icons/500px-m.png +0 -0
  146. data/app/assets/images/groundworkcss/social-icons/500px-s.png +0 -0
  147. data/app/assets/images/groundworkcss/social-icons/500px.png +0 -0
  148. data/app/assets/images/groundworkcss/social-icons/500px.svg +0 -62
  149. data/app/assets/images/groundworkcss/social-icons/aboutme-m.png +0 -0
  150. data/app/assets/images/groundworkcss/social-icons/aboutme-s.png +0 -0
  151. data/app/assets/images/groundworkcss/social-icons/aboutme.png +0 -0
  152. data/app/assets/images/groundworkcss/social-icons/aboutme.svg +0 -42
  153. data/app/assets/images/groundworkcss/social-icons/adn-m.png +0 -0
  154. data/app/assets/images/groundworkcss/social-icons/adn-s.png +0 -0
  155. data/app/assets/images/groundworkcss/social-icons/adn.png +0 -0
  156. data/app/assets/images/groundworkcss/social-icons/adn.svg +0 -14
  157. data/app/assets/images/groundworkcss/social-icons/android-m.png +0 -0
  158. data/app/assets/images/groundworkcss/social-icons/android-s.png +0 -0
  159. data/app/assets/images/groundworkcss/social-icons/android.png +0 -0
  160. data/app/assets/images/groundworkcss/social-icons/android.svg +0 -30
  161. data/app/assets/images/groundworkcss/social-icons/apple-m.png +0 -0
  162. data/app/assets/images/groundworkcss/social-icons/apple-s.png +0 -0
  163. data/app/assets/images/groundworkcss/social-icons/apple.png +0 -0
  164. data/app/assets/images/groundworkcss/social-icons/apple.svg +0 -19
  165. data/app/assets/images/groundworkcss/social-icons/behance-m.png +0 -0
  166. data/app/assets/images/groundworkcss/social-icons/behance-s.png +0 -0
  167. data/app/assets/images/groundworkcss/social-icons/behance.png +0 -0
  168. data/app/assets/images/groundworkcss/social-icons/behance.svg +0 -48
  169. data/app/assets/images/groundworkcss/social-icons/bitbucket-m.png +0 -0
  170. data/app/assets/images/groundworkcss/social-icons/bitbucket-s.png +0 -0
  171. data/app/assets/images/groundworkcss/social-icons/bitbucket.png +0 -0
  172. data/app/assets/images/groundworkcss/social-icons/bitbucket.svg +0 -36
  173. data/app/assets/images/groundworkcss/social-icons/blogger-m.png +0 -0
  174. data/app/assets/images/groundworkcss/social-icons/blogger-s.png +0 -0
  175. data/app/assets/images/groundworkcss/social-icons/blogger.png +0 -0
  176. data/app/assets/images/groundworkcss/social-icons/blogger.svg +0 -22
  177. data/app/assets/images/groundworkcss/social-icons/coderwall-m.png +0 -0
  178. data/app/assets/images/groundworkcss/social-icons/coderwall-s.png +0 -0
  179. data/app/assets/images/groundworkcss/social-icons/coderwall.png +0 -0
  180. data/app/assets/images/groundworkcss/social-icons/coderwall.svg +0 -21
  181. data/app/assets/images/groundworkcss/social-icons/creativecloud-m.png +0 -0
  182. data/app/assets/images/groundworkcss/social-icons/creativecloud-s.png +0 -0
  183. data/app/assets/images/groundworkcss/social-icons/creativecloud.png +0 -0
  184. data/app/assets/images/groundworkcss/social-icons/creativecloud.svg +0 -48
  185. data/app/assets/images/groundworkcss/social-icons/dribbble-m.png +0 -0
  186. data/app/assets/images/groundworkcss/social-icons/dribbble-s.png +0 -0
  187. data/app/assets/images/groundworkcss/social-icons/dribbble.png +0 -0
  188. data/app/assets/images/groundworkcss/social-icons/dribbble.svg +0 -28
  189. data/app/assets/images/groundworkcss/social-icons/dropbox-m.png +0 -0
  190. data/app/assets/images/groundworkcss/social-icons/dropbox-s.png +0 -0
  191. data/app/assets/images/groundworkcss/social-icons/dropbox.png +0 -0
  192. data/app/assets/images/groundworkcss/social-icons/dropbox.svg +0 -73
  193. data/app/assets/images/groundworkcss/social-icons/evernote-m.png +0 -0
  194. data/app/assets/images/groundworkcss/social-icons/evernote-s.png +0 -0
  195. data/app/assets/images/groundworkcss/social-icons/evernote.png +0 -0
  196. data/app/assets/images/groundworkcss/social-icons/evernote.svg +0 -62
  197. data/app/assets/images/groundworkcss/social-icons/facebook-m.png +0 -0
  198. data/app/assets/images/groundworkcss/social-icons/facebook-s.png +0 -0
  199. data/app/assets/images/groundworkcss/social-icons/facebook.png +0 -0
  200. data/app/assets/images/groundworkcss/social-icons/facebook.svg +0 -15
  201. data/app/assets/images/groundworkcss/social-icons/fairheadcreative-m.png +0 -0
  202. data/app/assets/images/groundworkcss/social-icons/fairheadcreative-s.png +0 -0
  203. data/app/assets/images/groundworkcss/social-icons/fairheadcreative.png +0 -0
  204. data/app/assets/images/groundworkcss/social-icons/fairheadcreative.svg +0 -24
  205. data/app/assets/images/groundworkcss/social-icons/flickr-m.png +0 -0
  206. data/app/assets/images/groundworkcss/social-icons/flickr-s.png +0 -0
  207. data/app/assets/images/groundworkcss/social-icons/flickr.png +0 -0
  208. data/app/assets/images/groundworkcss/social-icons/flickr.svg +0 -14
  209. data/app/assets/images/groundworkcss/social-icons/foursquare-m.png +0 -0
  210. data/app/assets/images/groundworkcss/social-icons/foursquare-s.png +0 -0
  211. data/app/assets/images/groundworkcss/social-icons/foursquare.png +0 -0
  212. data/app/assets/images/groundworkcss/social-icons/foursquare.svg +0 -43
  213. data/app/assets/images/groundworkcss/social-icons/git-m.png +0 -0
  214. data/app/assets/images/groundworkcss/social-icons/git-s.png +0 -0
  215. data/app/assets/images/groundworkcss/social-icons/git.png +0 -0
  216. data/app/assets/images/groundworkcss/social-icons/git.svg +0 -22
  217. data/app/assets/images/groundworkcss/social-icons/github-m.png +0 -0
  218. data/app/assets/images/groundworkcss/social-icons/github-s.png +0 -0
  219. data/app/assets/images/groundworkcss/social-icons/github.png +0 -0
  220. data/app/assets/images/groundworkcss/social-icons/github.svg +0 -38
  221. data/app/assets/images/groundworkcss/social-icons/goodreads-m.png +0 -0
  222. data/app/assets/images/groundworkcss/social-icons/goodreads-s.png +0 -0
  223. data/app/assets/images/groundworkcss/social-icons/goodreads.png +0 -0
  224. data/app/assets/images/groundworkcss/social-icons/goodreads.svg +0 -38
  225. data/app/assets/images/groundworkcss/social-icons/googleplay-m.png +0 -0
  226. data/app/assets/images/groundworkcss/social-icons/googleplay-s.png +0 -0
  227. data/app/assets/images/groundworkcss/social-icons/googleplay.png +0 -0
  228. data/app/assets/images/groundworkcss/social-icons/googleplay.svg +0 -24
  229. data/app/assets/images/groundworkcss/social-icons/googleplus-m.png +0 -0
  230. data/app/assets/images/groundworkcss/social-icons/googleplus-s.png +0 -0
  231. data/app/assets/images/groundworkcss/social-icons/googleplus.png +0 -0
  232. data/app/assets/images/groundworkcss/social-icons/googleplus.svg +0 -52
  233. data/app/assets/images/groundworkcss/social-icons/html5-m.png +0 -0
  234. data/app/assets/images/groundworkcss/social-icons/html5-s.png +0 -0
  235. data/app/assets/images/groundworkcss/social-icons/html5.png +0 -0
  236. data/app/assets/images/groundworkcss/social-icons/html5.svg +0 -29
  237. data/app/assets/images/groundworkcss/social-icons/icloud-m.png +0 -0
  238. data/app/assets/images/groundworkcss/social-icons/icloud-s.png +0 -0
  239. data/app/assets/images/groundworkcss/social-icons/icloud.png +0 -0
  240. data/app/assets/images/groundworkcss/social-icons/icloud.svg +0 -26
  241. data/app/assets/images/groundworkcss/social-icons/instagram-m.png +0 -0
  242. data/app/assets/images/groundworkcss/social-icons/instagram-s.png +0 -0
  243. data/app/assets/images/groundworkcss/social-icons/instagram.png +0 -0
  244. data/app/assets/images/groundworkcss/social-icons/instagram.svg +0 -166
  245. data/app/assets/images/groundworkcss/social-icons/lastfm-m.png +0 -0
  246. data/app/assets/images/groundworkcss/social-icons/lastfm-s.png +0 -0
  247. data/app/assets/images/groundworkcss/social-icons/lastfm.png +0 -0
  248. data/app/assets/images/groundworkcss/social-icons/lastfm.svg +0 -44
  249. data/app/assets/images/groundworkcss/social-icons/linkedin-m.png +0 -0
  250. data/app/assets/images/groundworkcss/social-icons/linkedin-s.png +0 -0
  251. data/app/assets/images/groundworkcss/social-icons/linkedin.png +0 -0
  252. data/app/assets/images/groundworkcss/social-icons/linkedin.svg +0 -28
  253. data/app/assets/images/groundworkcss/social-icons/mail-m.png +0 -0
  254. data/app/assets/images/groundworkcss/social-icons/mail-s.png +0 -0
  255. data/app/assets/images/groundworkcss/social-icons/mail.png +0 -0
  256. data/app/assets/images/groundworkcss/social-icons/mail.svg +0 -27
  257. data/app/assets/images/groundworkcss/social-icons/mercurial-m.png +0 -0
  258. data/app/assets/images/groundworkcss/social-icons/mercurial-s.png +0 -0
  259. data/app/assets/images/groundworkcss/social-icons/mercurial.png +0 -0
  260. data/app/assets/images/groundworkcss/social-icons/mercurial.svg +0 -22
  261. data/app/assets/images/groundworkcss/social-icons/mixi-m.png +0 -0
  262. data/app/assets/images/groundworkcss/social-icons/mixi-s.png +0 -0
  263. data/app/assets/images/groundworkcss/social-icons/mixi.png +0 -0
  264. data/app/assets/images/groundworkcss/social-icons/mixi.svg +0 -32
  265. data/app/assets/images/groundworkcss/social-icons/msn-m.png +0 -0
  266. data/app/assets/images/groundworkcss/social-icons/msn-s.png +0 -0
  267. data/app/assets/images/groundworkcss/social-icons/msn.png +0 -0
  268. data/app/assets/images/groundworkcss/social-icons/msn.svg +0 -44
  269. data/app/assets/images/groundworkcss/social-icons/orkut-m.png +0 -0
  270. data/app/assets/images/groundworkcss/social-icons/orkut-s.png +0 -0
  271. data/app/assets/images/groundworkcss/social-icons/orkut.png +0 -0
  272. data/app/assets/images/groundworkcss/social-icons/orkut.svg +0 -23
  273. data/app/assets/images/groundworkcss/social-icons/picasa-m.png +0 -0
  274. data/app/assets/images/groundworkcss/social-icons/picasa-s.png +0 -0
  275. data/app/assets/images/groundworkcss/social-icons/picasa.png +0 -0
  276. data/app/assets/images/groundworkcss/social-icons/picasa.svg +0 -48
  277. data/app/assets/images/groundworkcss/social-icons/pinterest-m.png +0 -0
  278. data/app/assets/images/groundworkcss/social-icons/pinterest-s.png +0 -0
  279. data/app/assets/images/groundworkcss/social-icons/pinterest.png +0 -0
  280. data/app/assets/images/groundworkcss/social-icons/pinterest.svg +0 -42
  281. data/app/assets/images/groundworkcss/social-icons/pocketapp-m.png +0 -0
  282. data/app/assets/images/groundworkcss/social-icons/pocketapp-s.png +0 -0
  283. data/app/assets/images/groundworkcss/social-icons/pocketapp.png +0 -0
  284. data/app/assets/images/groundworkcss/social-icons/pocketapp.svg +0 -38
  285. data/app/assets/images/groundworkcss/social-icons/quora-m.png +0 -0
  286. data/app/assets/images/groundworkcss/social-icons/quora-s.png +0 -0
  287. data/app/assets/images/groundworkcss/social-icons/quora.png +0 -0
  288. data/app/assets/images/groundworkcss/social-icons/quora.svg +0 -20
  289. data/app/assets/images/groundworkcss/social-icons/rdio-m.png +0 -0
  290. data/app/assets/images/groundworkcss/social-icons/rdio-s.png +0 -0
  291. data/app/assets/images/groundworkcss/social-icons/rdio.png +0 -0
  292. data/app/assets/images/groundworkcss/social-icons/rdio.svg +0 -18
  293. data/app/assets/images/groundworkcss/social-icons/renren-m.png +0 -0
  294. data/app/assets/images/groundworkcss/social-icons/renren-s.png +0 -0
  295. data/app/assets/images/groundworkcss/social-icons/renren.png +0 -0
  296. data/app/assets/images/groundworkcss/social-icons/renren.svg +0 -79
  297. data/app/assets/images/groundworkcss/social-icons/rss-m.png +0 -0
  298. data/app/assets/images/groundworkcss/social-icons/rss-s.png +0 -0
  299. data/app/assets/images/groundworkcss/social-icons/rss.png +0 -0
  300. data/app/assets/images/groundworkcss/social-icons/rss.svg +0 -18
  301. data/app/assets/images/groundworkcss/social-icons/skitch-m.png +0 -0
  302. data/app/assets/images/groundworkcss/social-icons/skitch-s.png +0 -0
  303. data/app/assets/images/groundworkcss/social-icons/skitch.png +0 -0
  304. data/app/assets/images/groundworkcss/social-icons/skitch.svg +0 -24
  305. data/app/assets/images/groundworkcss/social-icons/skype-m.png +0 -0
  306. data/app/assets/images/groundworkcss/social-icons/skype-s.png +0 -0
  307. data/app/assets/images/groundworkcss/social-icons/skype.png +0 -0
  308. data/app/assets/images/groundworkcss/social-icons/skype.svg +0 -25
  309. data/app/assets/images/groundworkcss/social-icons/soundcloud-m.png +0 -0
  310. data/app/assets/images/groundworkcss/social-icons/soundcloud-s.png +0 -0
  311. data/app/assets/images/groundworkcss/social-icons/soundcloud.png +0 -0
  312. data/app/assets/images/groundworkcss/social-icons/soundcloud.svg +0 -60
  313. data/app/assets/images/groundworkcss/social-icons/spotify-m.png +0 -0
  314. data/app/assets/images/groundworkcss/social-icons/spotify-s.png +0 -0
  315. data/app/assets/images/groundworkcss/social-icons/spotify.png +0 -0
  316. data/app/assets/images/groundworkcss/social-icons/spotify.svg +0 -38
  317. data/app/assets/images/groundworkcss/social-icons/stackoverflow-m.png +0 -0
  318. data/app/assets/images/groundworkcss/social-icons/stackoverflow-s.png +0 -0
  319. data/app/assets/images/groundworkcss/social-icons/stackoverflow.png +0 -0
  320. data/app/assets/images/groundworkcss/social-icons/stackoverflow.svg +0 -32
  321. data/app/assets/images/groundworkcss/social-icons/stumbleupon-m.png +0 -0
  322. data/app/assets/images/groundworkcss/social-icons/stumbleupon-s.png +0 -0
  323. data/app/assets/images/groundworkcss/social-icons/stumbleupon.png +0 -0
  324. data/app/assets/images/groundworkcss/social-icons/stumbleupon.svg +0 -22
  325. data/app/assets/images/groundworkcss/social-icons/svn-m.png +0 -0
  326. data/app/assets/images/groundworkcss/social-icons/svn-s.png +0 -0
  327. data/app/assets/images/groundworkcss/social-icons/svn.png +0 -0
  328. data/app/assets/images/groundworkcss/social-icons/svn.svg +0 -25
  329. data/app/assets/images/groundworkcss/social-icons/tent-m.png +0 -0
  330. data/app/assets/images/groundworkcss/social-icons/tent-s.png +0 -0
  331. data/app/assets/images/groundworkcss/social-icons/tent.png +0 -0
  332. data/app/assets/images/groundworkcss/social-icons/tent.svg +0 -16
  333. data/app/assets/images/groundworkcss/social-icons/tripadvisor-m.png +0 -0
  334. data/app/assets/images/groundworkcss/social-icons/tripadvisor-s.png +0 -0
  335. data/app/assets/images/groundworkcss/social-icons/tripadvisor.png +0 -0
  336. data/app/assets/images/groundworkcss/social-icons/tripadvisor.svg +0 -30
  337. data/app/assets/images/groundworkcss/social-icons/tumblr-m.png +0 -0
  338. data/app/assets/images/groundworkcss/social-icons/tumblr-s.png +0 -0
  339. data/app/assets/images/groundworkcss/social-icons/tumblr.png +0 -0
  340. data/app/assets/images/groundworkcss/social-icons/tumblr.svg +0 -16
  341. data/app/assets/images/groundworkcss/social-icons/twitter-m.png +0 -0
  342. data/app/assets/images/groundworkcss/social-icons/twitter-s.png +0 -0
  343. data/app/assets/images/groundworkcss/social-icons/twitter.png +0 -0
  344. data/app/assets/images/groundworkcss/social-icons/twitter.svg +0 -24
  345. data/app/assets/images/groundworkcss/social-icons/vimeo-m.png +0 -0
  346. data/app/assets/images/groundworkcss/social-icons/vimeo-s.png +0 -0
  347. data/app/assets/images/groundworkcss/social-icons/vimeo.png +0 -0
  348. data/app/assets/images/groundworkcss/social-icons/vimeo.svg +0 -20
  349. data/app/assets/images/groundworkcss/social-icons/weibo-m.png +0 -0
  350. data/app/assets/images/groundworkcss/social-icons/weibo-s.png +0 -0
  351. data/app/assets/images/groundworkcss/social-icons/weibo.png +0 -0
  352. data/app/assets/images/groundworkcss/social-icons/weibo.svg +0 -54
  353. data/app/assets/images/groundworkcss/social-icons/windows-m.png +0 -0
  354. data/app/assets/images/groundworkcss/social-icons/windows-s.png +0 -0
  355. data/app/assets/images/groundworkcss/social-icons/windows.png +0 -0
  356. data/app/assets/images/groundworkcss/social-icons/windows.svg +0 -26
  357. data/app/assets/images/groundworkcss/social-icons/wordpress-m.png +0 -0
  358. data/app/assets/images/groundworkcss/social-icons/wordpress-s.png +0 -0
  359. data/app/assets/images/groundworkcss/social-icons/wordpress.png +0 -0
  360. data/app/assets/images/groundworkcss/social-icons/wordpress.svg +0 -50
  361. data/app/assets/images/groundworkcss/social-icons/xing-m.png +0 -0
  362. data/app/assets/images/groundworkcss/social-icons/xing-s.png +0 -0
  363. data/app/assets/images/groundworkcss/social-icons/xing.png +0 -0
  364. data/app/assets/images/groundworkcss/social-icons/xing.svg +0 -16
  365. data/app/assets/images/groundworkcss/social-icons/yelp-m.png +0 -0
  366. data/app/assets/images/groundworkcss/social-icons/yelp-s.png +0 -0
  367. data/app/assets/images/groundworkcss/social-icons/yelp.png +0 -0
  368. data/app/assets/images/groundworkcss/social-icons/yelp.svg +0 -54
  369. data/app/assets/images/groundworkcss/social-icons/youtube-m.png +0 -0
  370. data/app/assets/images/groundworkcss/social-icons/youtube-s.png +0 -0
  371. data/app/assets/images/groundworkcss/social-icons/youtube.png +0 -0
  372. data/app/assets/images/groundworkcss/social-icons/youtube.svg +0 -106
  373. data/app/assets/images/groundworkcss/social-icons/youversion-m.png +0 -0
  374. data/app/assets/images/groundworkcss/social-icons/youversion-s.png +0 -0
  375. data/app/assets/images/groundworkcss/social-icons/youversion.png +0 -0
  376. data/app/assets/images/groundworkcss/social-icons/youversion.svg +0 -54
  377. data/app/assets/images/groundworkcss/social-icons/zerply-m.png +0 -0
  378. data/app/assets/images/groundworkcss/social-icons/zerply-s.png +0 -0
  379. data/app/assets/images/groundworkcss/social-icons/zerply.png +0 -0
  380. data/app/assets/images/groundworkcss/social-icons/zerply.svg +0 -20
  381. data/app/assets/javascripts/groundworkcss/components/disabled.coffee +0 -18
  382. data/app/assets/javascripts/groundworkcss/components/modals.coffee +0 -46
  383. data/app/assets/javascripts/groundworkcss/components/pagination.coffee +0 -128
  384. data/app/assets/javascripts/groundworkcss/components/tiles.coffee +0 -32
  385. data/app/assets/javascripts/groundworkcss/index.js +0 -17
  386. data/app/assets/javascripts/groundworkcss/plugins/cycle/jquery.cycle2.caption2.js +0 -67
  387. data/app/assets/javascripts/groundworkcss/plugins/cycle/jquery.cycle2.carousel.js +0 -265
  388. data/app/assets/javascripts/groundworkcss/plugins/cycle/jquery.cycle2.center.js +0 -63
  389. data/app/assets/javascripts/groundworkcss/plugins/cycle/jquery.cycle2.ie-fade.js +0 -46
  390. data/app/assets/javascripts/groundworkcss/plugins/cycle/jquery.cycle2.scrollVert.js +0 -15
  391. data/app/assets/javascripts/groundworkcss/plugins/cycle/jquery.cycle2.shuffle.js +0 -62
  392. data/app/assets/javascripts/groundworkcss/plugins/cycle/jquery.cycle2.swipe.js +0 -70
  393. data/app/assets/javascripts/groundworkcss/plugins/cycle/jquery.cycle2.tile.js +0 -131
  394. data/app/assets/javascripts/groundworkcss/plugins/cycle/jquery.cycle2.video.js +0 -66
  395. data/app/assets/javascripts/groundworkcss/plugins/jquery-tooltip.coffee +0 -127
  396. data/app/assets/javascripts/groundworkcss/plugins/jquery.cycle2.js +0 -1426
  397. data/app/assets/javascripts/groundworkcss/plugins/jquery.magnific-popup.js +0 -1760
  398. data/app/assets/stylesheets/groundworkcss/base/_animations.scss +0 -29
  399. data/app/assets/stylesheets/groundworkcss/form/_all-form.scss +0 -11
  400. data/app/assets/stylesheets/groundworkcss/form/_tiles.scss +0 -98
  401. data/app/assets/stylesheets/groundworkcss/nav/_all-nav.scss +0 -12
  402. data/app/assets/stylesheets/groundworkcss/nav/_buttons.scss +0 -341
  403. data/app/assets/stylesheets/groundworkcss/nav/_navigation.scss +0 -409
  404. data/app/assets/stylesheets/groundworkcss/nav/_tabs.scss +0 -232
  405. data/app/assets/stylesheets/groundworkcss/social-icons-png.scss +0 -295
  406. data/app/assets/stylesheets/groundworkcss/social-icons-svg.scss +0 -99
  407. data/app/assets/stylesheets/groundworkcss/ui/_callouts.scss +0 -143
  408. data/app/assets/stylesheets/groundworkcss/ui/_modals.scss +0 -556
  409. data/app/assets/stylesheets/groundworkcss/ui/_tooltips.scss +0 -197
  410. data/groundworkcss-0.4.3.gem +0 -0
  411. data/lib/groundworkcss/railties.rb +0 -8
@@ -1,16 +1,74 @@
1
1
  // =============================================
2
2
  // Typography
3
- // Last Updated:2013-5-21
3
+ // Last Updated:2013-8-16
4
4
  // =============================================
5
5
 
6
+ @import "webfonts";
7
+
8
+ // typography defaults
9
+ $type-tags: true !default;
10
+ $type-elements: "h1" "h2" "h3" "h4" "h5" "h6" "p"
11
+ "ul" "ol" "dl"
12
+ "q" "quote" "blockquote" "cite"
13
+ "small" "big"
14
+ "b" "strong"
15
+ "em"
16
+ "sup" "sub"
17
+ "del" "strike"
18
+ "code" "pre" !default;
19
+ $type-colors: true !default;
20
+ $type-classes: false !default;
21
+ $type-classnames: "h1" "h2" "h3" "h4" "h5" "h6" "p"
22
+ "ul" "ol" "dl"
23
+ "q" "quote" "blockquote" "cite"
24
+ "small" "big" "large"
25
+ "b" "bold" "strong"
26
+ "em" "italic"
27
+ "sup" "sub"
28
+ "del" "strike"
29
+ "code" "pre"
30
+ "invalid" "valid"
31
+ "unstyled" !default;
32
+ $styled-lists: true !default;
33
+ $multi-column-classes: true !default;
34
+ $multi-column-names: "one-column" "two-column" "three-column" "four-column" "five-column" !default;
35
+ $info-color: #3a87ad !default;
36
+ $alert-text: #ffffff !default;
37
+ $error-color: #b94a48 !default;
38
+ $warning-color: #FF971E !default;
39
+ $success-color: #468847 !default;
40
+ $question-color: #9855b4 !default;
41
+ $ui-states: "info" "alert" "warning" "error" "success" "question" !default;
42
+ $ui-icons: "\f05a" "\f06a" "\f071" "\f057" "\f058" "\f059" !default;
43
+ $ui-states-colors: $info-color $alert-color $warning-color $error-color $success-color $question-color !default;
44
+ $font-size: 14px !default;
45
+ $line-height: 1.5 !default;
46
+ $heading-line-height: 1.3 !default;
47
+ $headings-font: nth($web-font-names, 1) !default;
48
+ $links-underlined: false !default;
49
+ $links-active-underlined: true !default;
50
+ // shared defaults
51
+ $background-color: #ffffff !default;
52
+ $font-family: Helvetica, Arial, Geneva, sans-serif !default;
53
+ $font-color: #2b2b2d !default;
54
+ $link-color: #489AC1 !default;
55
+ $link-active: #198D98 !default;
56
+ $code-text: #555555 !default;
57
+ $code-background: #ffffff !default;
58
+ $selection-color: $link-color !default;
59
+ $selection-text: #ffffff !default;
60
+ $border-thickness: 1px !default;
61
+ $border-style: solid !default;
62
+ $border-color: #dddddd !default;
63
+ $gutter: 10px !default;
64
+ $default-radius: 4px !default;
65
+ $placeholderText-fallback: true !default;
6
66
 
7
67
 
8
-
9
- // vertical rhythm
10
- @include establish-baseline;
11
-
12
68
  %document {
13
69
  font-family: $font-family;
70
+ font-size: $font-size;
71
+ line-height: $line-height;
14
72
  color: $font-color;
15
73
  }
16
74
 
@@ -22,57 +80,65 @@
22
80
 
23
81
  %links {
24
82
  color: $link-color;
83
+ @if $links-underlined == false {
84
+ text-decoration: none;
85
+ }
25
86
  @include transition(color 0.25s);
26
87
  &:hover, &:focus {
27
88
  color: $link-active;
28
- text-decoration: underline;
89
+ @if $links-active-underlined {
90
+ text-decoration: underline;
91
+ }
29
92
  }
30
93
  }
31
94
 
32
95
  %heading {
33
- margin-bottom: 15px;
96
+ margin-bottom: ($gutter * 1.5);
97
+ line-height: $heading-line-height;
98
+ @extend %#{$headings-font};
34
99
  }
35
100
 
36
101
  %h1 {
37
102
  @extend %heading;
38
103
  font-weight: 200;
39
- @include adjust-font-size-to($base-font-size * 2.3333333333);
104
+ font-size: 2.3333333333em;
40
105
  }
41
106
 
42
107
  %h2 {
43
108
  @extend %heading;
44
109
  font-weight: 200;
45
- @include adjust-font-size-to($base-font-size * 2);
110
+ font-size: 2em;
46
111
  }
47
112
 
48
113
  %h3 {
49
114
  @extend %heading;
50
115
  font-weight: 500;
51
- @include adjust-font-size-to($base-font-size * 1.5);
116
+ font-size: 1.5em;
52
117
  }
53
118
 
54
119
  %h4 {
55
120
  @extend %heading;
56
121
  font-weight: 500;
57
- @include adjust-font-size-to($base-font-size * 1.3333333333);
122
+ font-size: 1.3333333333em;
58
123
  }
59
124
 
60
125
  %h5 {
61
126
  @extend %heading;
62
127
  font-weight: 900;
63
- @include adjust-font-size-to($base-font-size * 1.1666666667);
128
+ font-size: 1.1666666667em;
64
129
  }
65
130
 
66
131
  %h6 {
67
132
  @extend %heading;
68
133
  font-weight: 900;
69
- @include adjust-font-size-to($base-font-size * 1.1666666667);
134
+ font-size: 1.1666666667em;
70
135
  text-transform: uppercase;
71
136
  }
72
137
 
73
138
  %p, %ul, %ol, %dl {
74
139
  margin-bottom: 10px;
75
140
  font-weight: normal;
141
+ line-height: 1.5;
76
142
  }
77
143
 
78
144
  %list {
@@ -93,15 +159,16 @@
93
159
  }
94
160
 
95
161
  %unstyled {
162
+ @extend %zero;
96
163
  list-style: none;
97
164
  }
98
165
 
99
- %ul-list {
166
+ %ul-checklist {
100
167
  @extend %unstyled;
101
168
  margin-left: 0;
102
- %list-item {
169
+ %checklist-item {
103
170
  &:before {
104
- content: '\f00c';
171
+ content: $icon-check-empty;
105
172
  display: inline-block;
106
173
  width: 1.1em;
107
174
  margin-right: 0.25em;
@@ -113,6 +180,38 @@
113
180
  background-repeat: repeat;
114
181
  margin-top: 0;
115
182
  }
183
+ &[aria-checked~="true"], &[data-checked~="true"], &[checked="checked"], &.checked, &.completed {
184
+ &:before {
185
+ content: $icon-check;
186
+ }
187
+ }
188
+ }
189
+ &:not([readonly]) {
190
+ %checklist-item {
191
+ &:not([readonly]) {
192
+ cursor: pointer;
193
+ }
194
+ }
195
+ }
196
+ }
197
+
198
+ %ul-list {
199
+ @extend %unstyled;
200
+ margin-left: 0;
201
+ %list-item {
202
+ &:before {
203
+ content: $icon-circle;
204
+ display: inline-block;
205
+ width: 1.1em;
206
+ margin-right: 0.25em;
207
+ @include icon-FontAwesome();
208
+ font-size: 0.6em;
209
+ vertical-align: middle;
210
+ background-image: none;
211
+ background-position: 0% 0%;
212
+ background-repeat: repeat;
213
+ margin-top: 0;
214
+ }
116
215
  }
117
216
  }
118
217
 
@@ -143,34 +242,84 @@
143
242
  }
144
243
  }
145
244
 
245
+ %small { @include _small; }
246
+ %medium { @include _medium; }
247
+ %big, %large { @include _large; }
248
+ %em, %italic { font-style: italic; }
249
+ %b, %bold, %strong { font-weight: 900; }
250
+ %sup { @extend %relative, %small; top: -0.4em; }
251
+ %sub { @extend %relative, %small; top: 0.2em; }
252
+ %monospace { font-family: monospace; }
253
+ %del, %strike { text-decoration: line-through; }
254
+
255
+ @mixin _multi-column($count: 2) {
256
+ column-count: $count;
257
+ }
258
+
259
+ %one-column {
260
+ @include _multi-column(1);
261
+ }
262
+ %two-column {
263
+ @include _multi-column(2);
264
+ }
265
+ %three-column {
266
+ @include _multi-column(3);
267
+ }
268
+ %four-column {
269
+ @include _multi-column(4);
270
+ }
271
+ %five-column {
272
+ @include _multi-column(5);
273
+ }
274
+
275
+ @if $multi-column-classes {
276
+ @for $i from 1 through length($multi-column-names) {
277
+ .#{nth($multi-column-names, $i)}, .#{nth($multi-column-names, $i)}s {
278
+ @extend %#{nth($multi-column-names, $i)};
279
+ }
280
+ }
281
+ }
282
+
283
+ @for $i from 1 through length($modifier-name) {
284
+ %#{nth($modifier-name, $i)} {
285
+ color: #{nth($modifier-text, $i)};
286
+ }
287
+ }
288
+
289
+ %q, %quote {
290
+ @extend %bold, %italic;
291
+ &:before {
292
+ content: "\201C"; // left quotation mark
293
+ }
294
+ &:after {
295
+ content: "\201D"; // right quotation mark
296
+ }
297
+ }
298
+
146
299
  %blockquote {
300
+ @extend %relative, %bold;
147
301
  padding: 1.3em 4em 1em;
148
302
  color: $font-color;
149
- @include adjust-font-size-to($base-font-size, 1.15);
150
- font-weight: bold;
151
- position: relative;
152
- z-index: 0;
303
+ font-size: 1.15em;
153
304
  background: darken($background-color, 10%);
154
305
  @include border-radius($default-radius);
155
306
  &:before {
156
- content: '\201C';
307
+ content: "\201C"; // left quotation mark
157
308
  color: darken($background-color, 20%);
158
- font-size: 6em;
309
+ font-size: 4em;
159
310
  display: block;
160
311
  position: absolute;
161
- top: 0.4em;
312
+ top: -0.2em;
162
313
  left: 0.1em;
163
- z-index: -1;
164
314
  }
165
315
  &:after {
166
- content: '\201D';
316
+ content: "\201D"; // right quotation mark
167
317
  color: darken($background-color, 20%);
168
- font-size: 6em;
318
+ font-size: 4em;
169
319
  display: block;
170
320
  position: absolute;
171
- top: 0.4em;
321
+ top: -0.2em;
172
322
  right: 0.1em;
173
- z-index: -1;
174
323
  }
175
324
  }
176
325
 
@@ -179,12 +328,12 @@
179
328
  position: relative;
180
329
  left: -1em;
181
330
  margin-top: 0.25em;
182
- @include adjust-font-size-to($base-font-size, 0.95);
331
+ font-size: 0.95em;
183
332
  font-weight: normal;
184
333
  font-style: normal;
185
334
  color: lighten($font-color, 15%);
186
335
  &:before {
187
- content: '\2014';
336
+ content: "\2014"; // em dash
188
337
  }
189
338
  }
190
339
 
@@ -193,60 +342,24 @@
193
342
  cursor: help;
194
343
  }
195
344
 
196
- %small { @extend %small; }
197
- %big, %large { @extend %large; }
198
- %em, %italic { font-style: italic; }
199
- %b, %bold, %strong { font-weight: 900; }
200
- %sup { @extend %small; }
201
- %sub { @extend %small; }
202
- %monospace { font-family: monospace; }
203
- %del, %strike { text-decoration: line-through; }
204
-
205
- @for $i from 1 through length($modifier-name) {
206
- %#{nth($modifier-name, $i)} {
207
- color: #{nth($modifier-text, $i)};
208
- }
209
- }
210
-
211
- %code {
345
+ %pre {
212
346
  @extend %monospace;
213
- white-space: pre-wrap;
214
- word-wrap: break-word;
215
- min-height: 1em;
216
- display: inline-block;
217
- background: lighten(gray, 30%);
218
- border: none;
219
- padding: 0 0.3em;
220
- margin: 0 0.2em;
221
- font-weight: normal;
222
- line-height: inherit;
347
+ white-space: pre;
348
+ max-width: 100%;
349
+ overflow: auto;
223
350
  }
224
351
 
225
- %pre {
226
- @extend %monospace;
227
- $gutter-column: 2.6em;
228
- color: darken(white, 5%);
229
- background: #050505;
230
- @include adjust-font-size-to($base-font-size, 1);
231
- padding: 0.5em;
232
- display: block;
233
- border-left: #{$gutter-column} solid lighten(#050505, 20%);
234
- counter-reset: linenumber;
235
- %code {
236
- display: block;
237
- background: inherit;
238
- margin: 0;
239
- padding: 0;
240
- &:before {
241
- text-align: right;
242
- color: lighten(gray, 10%);
243
- counter-increment: linenumber;
244
- content: counter(linenumber) ".";
245
- position: absolute;
246
- left: 0.65em;
247
- width: #{$gutter-column};
248
- }
249
- }
352
+ %code {
353
+ @extend %inline-block, %monospace;
354
+ white-space: no-wrap;
355
+ background: $code-background;
356
+ color: $code-text;
357
+ border: $border-thickness $border-style $border-color;
358
+ @include rounded($default-radius);
359
+ padding: 0 ($gutter / 2);
360
+ &.block {
361
+ padding: ($gutter / 2) $gutter;
362
+ }
250
363
  }
251
364
 
252
365
  %info { color: $info-color; }
@@ -254,6 +367,7 @@
254
367
  %warning { color: $warning-color; }
255
368
  %error, %invalid { color: $error-color; }
256
369
  %success, %valid { color: $success-color; }
370
+ %question { color: $question-color; }
257
371
 
258
372
  // responsive headings
259
373
  .js {
@@ -296,9 +410,9 @@
296
410
  @extend %abbr;
297
411
  }
298
412
  @for $i from 1 through length($type-elements) {
299
- #{nth($type-elements, $i)} {
300
- @extend %#{nth($type-elements, $i)};
301
- }
413
+ #{nth($type-elements, $i)} {
414
+ @extend %#{nth($type-elements, $i)};
415
+ }
302
416
  }
303
417
  }
304
418
 
@@ -312,6 +426,20 @@
312
426
  @extend %ul-list;
313
427
  > li {
314
428
  @extend %list-item;
429
+ @for $i from 1 through length($ui-states) {
430
+ &.#{nth($ui-states, $i)} {
431
+ &:before {
432
+ content: "#{nth($ui-icons, $i)}"; // see $ui-icons
433
+ font-size: 1.2em;
434
+ }
435
+ }
436
+ }
437
+ }
438
+ }
439
+ ul.checklist {
440
+ @extend %ul-checklist;
441
+ > li {
442
+ @extend %checklist-item;
315
443
  }
316
444
  }
317
445
  ol.list {
@@ -335,6 +463,13 @@
335
463
  }
336
464
  }
337
465
  }
466
+ @for $i from 1 through length($ui-states) {
467
+ &.#{nth($ui-states, $i)} {
468
+ &:before {
469
+ background-color: #{nth($ui-states-colors, $i)};
470
+ }
471
+ }
472
+ }
338
473
  }
339
474
  }
340
475
 
@@ -344,6 +479,78 @@
344
479
  }
345
480
  }
346
481
 
482
+ // @if $placeholderText-fallback {
483
+ // .no-js {
484
+ // .placeholderText, .placeholderText:nth-of-type(1), .placeholderText.placeholderOne {
485
+ // &:before {
486
+ // content: "Nam quis nulla. Integer malesuada. In in enim a arcu imperdiet malesuada. Sed vel lectus. Donec odio urna, tempus molestie, porttitor ut, iaculis quis, sem. Phasellus rhoncus. Aenean id metus id velit ullamcorper pulvinar. Vestibulum fermentum tortor id mi. Pellentesque ipsum. Nulla non arcu lacinia neque faucibus fringilla. Nulla non lectus sed nisl molestie malesuada. Proin in tellus sit amet nibh dignissim sagittis. Vivamus luctus egestas leo. Maecenas sollicitudin. Nullam rhoncus aliquam metus. Etiam egestas wisi a erat.";
487
+ // }
488
+ // }
489
+ // .placeholderText:nth-of-type(2), .placeholderText.placeholderTwo {
490
+ // &:before {
491
+ // content: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam feugiat, turpis at pulvinar vulputate, erat libero tristique tellus, nec bibendum odio risus sit amet ante. Aliquam erat volutpat. Nunc auctor. Mauris pretium quam et urna. Fusce nibh. Duis risus. Curabitur sagittis hendrerit ante. Aliquam erat volutpat. Vestibulum erat nulla, ullamcorper nec, rutrum non, nonummy ac, erat. Duis condimentum augue id magna semper rutrum. Nullam justo enim, consectetuer nec, ullamcorper ac, vestibulum in, elit. Proin pede metus, vulputate nec, fermentum fringilla, vehicula vitae, justo. Fusce consectetuer risus a nunc. Aliquam ornare wisi eu metus. Integer pellentesque quam vel velit. Duis pulvinar.";
492
+ // }
493
+ // }
494
+ // .placeholderText:nth-of-type(3), .placeholderText.placeholderThree {
495
+ // &:before {
496
+ // content: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi gravida libero nec velit. Morbi scelerisque luctus velit. Etiam dui sem, fermentum vitae, sagittis id, malesuada in, quam. Proin mattis lacinia justo. Vestibulum facilisis auctor urna. Aliquam in lorem sit amet leo accumsan lacinia. Integer rutrum, orci vestibulum ullamcorper ultricies, lacus quam ultricies odio, vitae placerat pede sem sit amet enim. Phasellus et lorem id felis nonummy placerat. Fusce dui leo, imperdiet in, aliquam sit amet, feugiat eu, orci. Aenean vel massa quis mauris vehicula lacinia. Quisque tincidunt scelerisque libero. Maecenas libero. Etiam dictum tincidunt diam. Donec ipsum massa, ullamcorper in, auctor et, scelerisque sed, est. Suspendisse nisl. Sed convallis magna eu sem. Cras pede libero, dapibus nec, pretium sit amet, tempor quis, urna.";
497
+ // }
498
+ // }
499
+ // .placeholderText:nth-of-type(4), .placeholderText.placeholderFour {
500
+ // &:before {
501
+ // content: "Etiam posuere quam ac quam. Maecenas aliquet accumsan leo. Nullam dapibus fermentum ipsum. Etiam quis quam. Integer lacinia. Nulla est. Nulla turpis magna, cursus sit amet, suscipit a, interdum id, felis. Integer vulputate sem a nibh rutrum consequat. Maecenas lorem. Pellentesque pretium lectus id turpis. Etiam sapien elit, consequat eget, tristique non, venenatis quis, ante. Fusce wisi. Phasellus faucibus molestie nisl. Fusce eget urna. Curabitur vitae diam non enim vestibulum interdum. Nulla quis diam. Ut tempus purus at lorem.";
502
+ // }
503
+ // }
504
+ // .placeholderText:nth-of-type(5), .placeholderText.placeholderFive {
505
+ // &:before {
506
+ // content: "In sem justo, commodo ut, suscipit at, pharetra vitae, orci. Duis sapien nunc, commodo et, interdum suscipit, sollicitudin et, dolor. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aliquam id dolor. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Mauris dictum facilisis augue. Fusce tellus. Pellentesque arcu. Maecenas fermentum, sem in pharetra pellentesque, velit turpis volutpat ante, in pharetra metus odio a lectus. Sed elit dui, pellentesque a, faucibus vel, interdum nec, diam. Mauris dolor felis, sagittis at, luctus sed, aliquam non, tellus. Etiam ligula pede, sagittis quis, interdum ultricies, scelerisque eu, urna. Nullam at arcu a est sollicitudin euismod. Praesent dapibus. Duis bibendum, lectus ut viverra rhoncus, dolor nunc faucibus libero, eget facilisis enim ipsum id lacus. Nam sed tellus id magna elementum tincidunt.";
507
+ // }
508
+ // }
509
+ // .placeholderText:nth-of-type(6), .placeholderText.placeholderSix {
510
+ // &:before {
511
+ // content: "Morbi a metus. Phasellus enim erat, vestibulum vel, aliquam a, posuere eu, velit. Nullam sapien sem, ornare ac, nonummy non, lobortis a, enim. Nunc tincidunt ante vitae massa. Duis ante orci, molestie vitae, vehicula venenatis, tincidunt ac, pede. Nulla accumsan, elit sit amet varius semper, nulla mauris mollis quam, tempor suscipit diam nulla vel leo. Etiam commodo dui eget wisi. Donec iaculis gravida nulla. Donec quis nibh at felis congue commodo. Etiam bibendum elit eget erat.";
512
+ // }
513
+ // }
514
+ // .placeholderText:nth-of-type(7), .placeholderText.placeholderSeven {
515
+ // &:before {
516
+ // content: "Praesent in mauris eu tortor porttitor accumsan. Mauris suscipit, ligula sit amet pharetra semper, nibh ante cursus purus, vel sagittis velit mauris vel metus. Aenean fermentum risus id tortor. Integer imperdiet lectus quis justo. Integer tempor. Vivamus ac urna vel leo pretium faucibus. Mauris elementum mauris vitae tortor. In dapibus augue non sapien. Aliquam ante. Curabitur bibendum justo non orci.";
517
+ // }
518
+ // }
519
+ // .placeholderText:nth-of-type(8), .placeholderText.placeholderEight {
520
+ // &:before {
521
+ // content: "Morbi leo mi, nonummy eget, tristique non, rhoncus non, leo. Nullam faucibus mi quis velit. Integer in sapien. Fusce tellus odio, dapibus id, fermentum quis, suscipit id, erat. Fusce aliquam vestibulum ipsum. Aliquam erat volutpat. Pellentesque sapien. Cras elementum. Nulla pulvinar eleifend sem. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Quisque porta. Vivamus porttitor turpis ac leo.";
522
+ // }
523
+ // }
524
+ // .placeholderText:nth-of-type(9), .placeholderText.placeholderNine {
525
+ // &:before {
526
+ // content: "Maecenas ipsum velit, consectetuer eu, lobortis ut, dictum at, dui. In rutrum. Sed ac dolor sit amet purus malesuada congue. In laoreet, magna id viverra tincidunt, sem odio bibendum justo, vel imperdiet sapien wisi sed libero. Suspendisse sagittis ultrices augue. Mauris metus. Nunc dapibus tortor vel mi dapibus sollicitudin. Etiam posuere lacus quis dolor. Praesent id justo in neque elementum ultrices. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. In convallis. Fusce suscipit libero eget elit. Praesent vitae arcu tempor neque lacinia pretium. Morbi imperdiet, mauris ac auctor dictum, nisl ligula egestas nulla, et sollicitudin sem purus in lacus.";
527
+ // }
528
+ // }
529
+ // .placeholderText:nth-of-type(10), .placeholderText.placeholderTen {
530
+ // &:before {
531
+ // content: "Aenean placerat. In vulputate urna eu arcu. Aliquam erat volutpat. Suspendisse potenti. Morbi mattis felis at nunc. Duis viverra diam non justo. In nisl. Nullam sit amet magna in magna gravida vehicula. Mauris tincidunt sem sed arcu. Nunc posuere. Nullam lectus justo, vulputate eget, mollis sed, tempor sed, magna. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Etiam neque. Curabitur ligula sapien, pulvinar a, vestibulum quis, facilisis vel, sapien. Nullam eget nisl. Donec vitae arcu.";
532
+ // }
533
+ // }
534
+ // .placeholderText[data-placeholder-type="words"] {
535
+ // &:before {
536
+ // content: "Lorem";
537
+ // }
538
+ // }
539
+ // $words: "Lorem" "ipsum" "dolor" "sit" "amet" "consectetuer" "adipiscing" "elit" "nullam" "feugiat" "turpis" "at" "pulvinar" "vulputate" "erat" "libero" "tristique" "tellus" "nec" "bibendum" "odio" "risus" "sit" "amet" "ante" "aliquam" "erat" "volutpat" "nunc" "auctor" "mauris" "pretium" "quam" "et" "urna" "fusce" "nibh" "duis" "risus" "curabitur" "sagittis" "hendrerit" "ante" "aliquam" "erat" "volutpat" "vestibulum" "erat" "nulla" "ullamcorper" "nec" "rutrum" "non" "nonummy" "ac" "erat" "duis" "condimentum" "augue" "id" "magna" "semper" "rutrum" "nullam" "justo" "enim" "consectetuer" "nec" "ullamcorper" "ac" "vestibulum" "in" "elit" "proin" "pede" "metus" "vulputate" "nec" "fermentum" "fringilla" "vehicula" "vitae" "justo" "fusce" "consectetuer" "risus" "a" "nunc" "aliquam" "ornare" "wisi" "eu" "metus" "integer" "pellentesque" "quam" "vel" "velit" "duis" "pulvinar";
540
+ // @for $i from 1 through length($words) {
541
+ // $theseWords: "";
542
+ // @for $j from 1 through $i {
543
+ // $theseWords: $theseWords + " " + nth($words, $j);
544
+ // }
545
+ // .placeholderText[data-placeholder-type="words"][data-placeholder-amount="#{$i}"] {
546
+ // &:before {
547
+ // content: $theseWords;
548
+ // }
549
+ // }
550
+ // }
551
+ // }
552
+ // }
553
+
347
554
  @if $type-colors {
348
555
  @for $i from 1 through length($modifier-name) {
349
556
  .#{nth($modifier-name, $i)} {
@@ -1,13 +1,32 @@
1
1
  // =============================================
2
2
  // Web Fonts
3
- // Last Updated:2013-4-25
3
+ // Last Updated:2013-8-16
4
4
  // =============================================
5
5
 
6
-
6
+ $web-font-classes: true !default;
7
+ $web-font-names: "source-sans-pro"
8
+ "museo-slab"
9
+ "quicksand"
10
+ !default;
11
+ $web-font-files: "sourcesanspro-regular-webfont"
12
+ "museo-slab-500-webfont"
13
+ "quicksand-regular-webfont"
14
+ !default;
15
+ $placeholder-fonts: true !default;
16
+ $placeholder-font-classes: true !default;
17
+ $placeholder-font-names: "redacted"
18
+ "redacted-script"
19
+ "redacted-script-light"
20
+ "redacted-script-bold"
21
+ !default;
22
+ $placeholder-font-files: "redacted-regular"
23
+ "redacted-script-regular"
24
+ "redacted-script-light"
25
+ "redacted-script-bold"
26
+ !default;
7
27
 
8
28
 
9
29
  @for $i from 1 through length($web-font-files) {
10
- // @include font-face('#{nth($web-font-names, $i)}', inline-font-files("#{nth($web-font-files, $i)}.eot", "#{nth($web-font-files, $i)}.woff", "#{nth($web-font-files, $i)}.ttf"));
11
30
  @font-face {
12
31
  font-family: '#{nth($web-font-names, $i)}';
13
32
  font-style: normal;
@@ -15,14 +34,38 @@
15
34
  src: url('#{$root_path}#{$fonts_path}#{nth($web-font-files, $i)}.eot');
16
35
  src: url('#{$root_path}#{$fonts_path}#{nth($web-font-files, $i)}.eot#iefix') format('embedded-opentype'),
17
36
  url('#{$root_path}#{$fonts_path}#{nth($web-font-files, $i)}.woff') format('woff'),
18
- url('#{$root_path}#{$fonts_path}#{nth($web-font-files, $i)}.ttf') format('truetype');
37
+ url('#{$root_path}#{$fonts_path}#{nth($web-font-files, $i)}.ttf') format('truetype'),
38
+ url('#{$root_path}#{$fonts_path}#{nth($web-font-files, $i)}.svg##{nth($web-font-names, $i)}') format('svg');
19
39
  }
20
40
  %#{nth($web-font-names, $i)} {
21
41
  @include font-stack(#{nth($web-font-names, $i)});
22
42
  }
23
- @if $webfont-classes {
43
+ @if $web-font-classes {
24
44
  .#{nth($web-font-names, $i)} {
25
45
  @extend %#{nth($web-font-names, $i)};
26
46
  }
27
47
  }
28
48
  }
49
+
50
+ @if $placeholder-fonts {
51
+ @for $i from 1 through length($placeholder-font-files) {
52
+ @font-face {
53
+ font-family: '#{nth($placeholder-font-names, $i)}';
54
+ font-style: normal;
55
+ font-weight: normal;
56
+ src: url('#{$root_path}#{$fonts_path}#{nth($placeholder-font-files, $i)}.eot');
57
+ src: url('#{$root_path}#{$fonts_path}#{nth($placeholder-font-files, $i)}.eot#iefix') format('embedded-opentype'),
58
+ url('#{$root_path}#{$fonts_path}#{nth($placeholder-font-files, $i)}.woff') format('woff'),
59
+ url('#{$root_path}#{$fonts_path}#{nth($placeholder-font-files, $i)}.ttf') format('truetype'),
60
+ url('#{$root_path}#{$fonts_path}#{nth($placeholder-font-files, $i)}.svg##{nth($placeholder-font-names, $i)}') format('svg');
61
+ }
62
+ %#{nth($placeholder-font-names, $i)} {
63
+ @include font-stack(#{nth($placeholder-font-names, $i)});
64
+ }
65
+ @if $placeholder-font-classes {
66
+ .#{nth($placeholder-font-names, $i)} {
67
+ @extend %#{nth($placeholder-font-names, $i)};
68
+ }
69
+ }
70
+ }
71
+ }
@@ -1,14 +1,16 @@
1
1
  // =============================================
2
2
  // UI Elements
3
- // Last Updated:2013-6-25
3
+ // Last Updated:2013-9-3
4
4
  // =============================================
5
5
 
6
6
 
7
7
 
8
8
 
9
9
  // ui elements
10
+ @import "boxes";
11
+ @import "buttons";
12
+ @import "forms";
10
13
  @import "messages";
11
- @import "callouts";
14
+ @import "nav";
12
15
  @import "tables";
13
- @import "tooltips";
14
- @import "modals";
16
+ @import "tabs";