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
@@ -0,0 +1,102 @@
1
+ // =============================================
2
+ // Content Boxes
3
+ // Last Updated:2013-8-24
4
+ // =============================================
5
+
6
+ $ui-classes: true !default;
7
+ $ui-states: "info" "alert" "warning" "error" "success" "question" !default;
8
+ $ui-icons: "\f05a" "\f06a" "\f071" "\f057" "\f058" "\f059" !default;
9
+ $radius-helpers: "square" "round" !default;
10
+ $size-helpers: "small" "medium" "large" !default;
11
+ $default-radius: 4px !default;
12
+
13
+ %box {
14
+ @extend %relative, %padded;
15
+ background: $button-color;
16
+ color: $button-text;
17
+ border: 1px solid $border-color;
18
+ @include rounded($default-radius);
19
+ %links {
20
+ color: inherit;
21
+ }
22
+ }
23
+
24
+ %box-small { @include _small; }
25
+ %box-medium { @include _medium; }
26
+ %box-large { @include _large; }
27
+ %box-square { @include _square; }
28
+ %box-round { @include _round; }
29
+
30
+ %box-info {
31
+ background-color: $info-background;
32
+ color: $info-color;
33
+ border-color: $info-border;
34
+ }
35
+
36
+ %box-question {
37
+ background-color: $question-background;
38
+ color: $question-color;
39
+ border-color: $question-border;
40
+ }
41
+
42
+ %box-alert {
43
+ background-color: $alert-background;
44
+ color: $alert-color;
45
+ border-color: $alert-border;
46
+ }
47
+
48
+ %box-warning {
49
+ background: $warning-background;
50
+ color: $warning-color;
51
+ border-color: $warning-border;
52
+ }
53
+
54
+ %box-error {
55
+ background: $error-background;
56
+ color: $error-color;
57
+ border-color: $error-border;
58
+ }
59
+
60
+ %box-success {
61
+ background: $success-background;
62
+ color: $success-color;
63
+ border-color: $success-border;
64
+ }
65
+
66
+ @for $i from 1 through length($modifier-name) {
67
+ %box-#{nth($modifier-name, $i)} {
68
+ border-color: nth($modifier-code, $i);
69
+ background-color: lighten(nth($modifier-code, $i), 10%);
70
+ color: nth($modifier-text, $i);
71
+ }
72
+ }
73
+
74
+ @mixin box-modifiers() {
75
+ @for $i from 1 through length($ui-states) {
76
+ &.#{nth($ui-states, $i)} {
77
+ @extend %box-#{nth($ui-states, $i)};
78
+ }
79
+ }
80
+ @for $i from 1 through length($radius-helpers) {
81
+ &.#{nth($radius-helpers, $i)} {
82
+ @extend %box-#{nth($radius-helpers, $i)};
83
+ }
84
+ }
85
+ @for $i from 1 through length($size-helpers) {
86
+ &.#{nth($size-helpers, $i)} {
87
+ @extend %box-#{nth($size-helpers, $i)};
88
+ }
89
+ }
90
+ @for $i from 1 through length($modifier-name) {
91
+ &.#{nth($modifier-name, $i)} {
92
+ @extend %box-#{nth($modifier-name, $i)};
93
+ }
94
+ }
95
+ }
96
+
97
+ @if $ui-classes {
98
+ .box {
99
+ @extend %box;
100
+ @include box-modifiers;
101
+ }
102
+ }
@@ -0,0 +1,389 @@
1
+ // =============================================
2
+ // Buttons
3
+ // Last Updated:2013-9-6
4
+ // =============================================
5
+
6
+ $button-tags: true !default;
7
+ $button-classes: true !default;
8
+ $button-modifiers: "small" "large" "on" "active" "square" "round" "block" !default;
9
+ $button-states: "on" "active" "selected" "pressed" "disabled" "info" "alert" "warning" "error" "success" "question" !default;
10
+ $aria-selectors: true !default;
11
+ $aria-states: "selected" "pressed" "disabled" "readonly" "invalid" !default;
12
+ $button-color: lighten(gray, 32.5%) !default;
13
+ $button-text: darken(gray, 15%) !default;
14
+ $button-border-color: lighten(gray, 27.5%) !default;
15
+ $button-active: lighten(gray, 27.5%) !default;
16
+ $button-active-text: darken(gray, 12%) !default;
17
+ // shared defaults
18
+ $border-thickness: 1px !default;
19
+ $border-style: solid !default;
20
+ $border-color: #dddddd !default;
21
+ $default-radius: 4px !default;
22
+ $disabled-color: #808080 !default;
23
+ $disabled-text: #dddddd !default;
24
+ $disabled-background: lighten($disabled-color, 20%) !default;
25
+ $disabled-border: darken($disabled-color, 10%) !default;
26
+
27
+
28
+ %button {
29
+ @extend %inline-block;
30
+ word-wrap: break-word;
31
+ padding: 0.25em 1em;
32
+ background: $button-color;
33
+ border: $border-thickness $border-style $button-active;
34
+ color: $button-text;
35
+ @include font-stack();
36
+ font-weight: bold;
37
+ text-decoration: none;
38
+ cursor: pointer;
39
+ line-height: 1.5;
40
+ width: auto;
41
+ height: auto;
42
+ text-align: center;
43
+ @include transition(background-color 0.25s ease-out);
44
+ @include rounded($default-radius);
45
+ &:visited {
46
+ color: $button-text;
47
+ }
48
+ &.active, &[aria-selected="true"], &[aria-pressed="true"], &:hover, &:focus {
49
+ @extend %button-active;
50
+ }
51
+ &.disabled, &[disabled="disabled"] {
52
+ @include state(disabled,normal,$disabled-background);
53
+ &:hover, &:focus {
54
+ @include state(disabled,normal,$disabled-background);
55
+ }
56
+ }
57
+ }
58
+
59
+ %button-on, %button-active, %button-selected, %button-pressed {
60
+ background: $button-active;
61
+ text-decoration: none;
62
+ color: $button-active-text;
63
+ }
64
+
65
+ %button-small { @include _small; }
66
+ %button-medium { @include _medium; }
67
+ %button-large { @include _large; }
68
+ %button-square { @include _square; }
69
+ %button-round { @include _round; }
70
+
71
+ @for $i from 1 through length($modifier-name) {
72
+ %button-#{nth($modifier-name, $i)} {
73
+ background-color: #{nth($modifier-code, $i)};
74
+ color: #{nth($modifier-text, $i)};
75
+ border-color: darken(nth($modifier-code, $i), 5%);
76
+ &.active, &[aria-selected="true"], &[aria-pressed="true"], &:hover, &:focus {
77
+ background: darken(nth($modifier-code, $i), 5%);
78
+ border-color: darken(nth($modifier-code, $i), 10%);
79
+ }
80
+ &.disabled, &[disabled="disabled"] {
81
+ @include state(disabled,normal,desaturate(nth($modifier-code, $i),20%));
82
+ }
83
+ }
84
+ }
85
+
86
+ %button-info {
87
+ background-color: darken($info-background, 40%);
88
+ color: $info-text;
89
+ border-color: darken($info-border, 40%);
90
+ &.active, &[aria-selected="true"], &[aria-pressed="true"], &:hover, &:focus {
91
+ background: darken($info-background, 49%);
92
+ }
93
+ &.disabled, &[disabled="disabled"] {
94
+ @include state(disabled,normal,desaturate($info-color,20%));
95
+ }
96
+ }
97
+
98
+ %button-disabled, %button-readonly {
99
+ background-color: darken($disabled-background, 40%);
100
+ color: $disabled-text;
101
+ border-color: darken($disabled-border, 40%);
102
+ &.active, &[aria-selected="true"], &[aria-pressed="true"], &:hover, &:focus {
103
+ background: darken($disabled-background, 49%);
104
+ }
105
+ &.disabled, &[disabled="disabled"] {
106
+ @include state(disabled,normal,$disabled-background);
107
+ }
108
+ }
109
+
110
+ %button-alert {
111
+ background-color: darken($alert-background, 40%);
112
+ color: $alert-text;
113
+ border-color: darken($alert-border, 25%);
114
+ &.active, &[aria-selected="true"], &[aria-pressed="true"], &:hover, &:focus {
115
+ background: darken($alert-background, 45%);
116
+ }
117
+ &.disabled, &[disabled="disabled"] {
118
+ @include state(disabled,normal,desaturate($alert-color,20%));
119
+ }
120
+ }
121
+
122
+ %button-warning {
123
+ background-color: darken($warning-background, 40%);
124
+ color: $warning-text;
125
+ border-color: darken($warning-border, 40%);
126
+ &.active, &[aria-selected="true"], &[aria-pressed="true"], &:hover, &:focus {
127
+ background: darken($warning-background, 45%);
128
+ }
129
+ &.disabled, &[disabled="disabled"] {
130
+ @include state(disabled,normal,desaturate($warning-color,20%));
131
+ }
132
+ }
133
+
134
+ %button-error, %button-invalid {
135
+ background-color: darken($error-background, 40%);
136
+ color: $error-text;
137
+ border-color: darken($error-border, 40%);
138
+ &.active, &[aria-selected="true"], &[aria-pressed="true"], &:hover, &:focus {
139
+ background: darken($error-background, 49%);
140
+ }
141
+ &.disabled, &[disabled="disabled"] {
142
+ @include state(disabled,normal,desaturate($error-color,20%));
143
+ }
144
+ }
145
+
146
+ %button-success {
147
+ background-color: darken($success-background, 40%);
148
+ color: $success-text;
149
+ border-color: darken($success-border, 40%);
150
+ &.active, &[aria-selected="true"], &[aria-pressed="true"], &:hover, &:focus {
151
+ background: darken($success-background, 49%);
152
+ }
153
+ &.disabled, &[disabled="disabled"] {
154
+ @include state(disabled,normal,desaturate($success-color,20%));
155
+ }
156
+ }
157
+
158
+ %button-question {
159
+ background-color: darken($question-background, 40%);
160
+ color: $question-text;
161
+ border-color: darken($question-border, 40%);
162
+ &.active, &[aria-selected="true"], &[aria-pressed="true"], &:hover, &:focus {
163
+ background: darken($question-background, 49%);
164
+ }
165
+ &.disabled, &[disabled="disabled"] {
166
+ @include state(disabled,normal,desaturate($question-color,20%));
167
+ }
168
+ }
169
+
170
+ %button-block {
171
+ @extend %block;
172
+ width: 100%;
173
+ }
174
+
175
+ %dropdown-holder {
176
+ position: relative;
177
+ @extend %inline-block;
178
+ }
179
+
180
+ %dropdown-button {
181
+ &:after {
182
+ @extend %inline-block, %gap-left;
183
+ @include icon-FontAwesome();
184
+ content: $icon-caret-down;
185
+ }
186
+ }
187
+
188
+ %dropdown-list {
189
+ text-align: left;
190
+ margin: 0;
191
+ padding: 0;
192
+ list-style: none;
193
+ display: none;
194
+ background: white;
195
+ border: $border-thickness $border-style $border-color;
196
+ position: absolute;
197
+ left: 0;
198
+ width: 100%;
199
+ z-index: 10;
200
+ @include box-shadow(rgba(0,0,0,0.25), 5px, 0, 0);
201
+ @include rounded(0 0 $default-radius $default-radius);
202
+ }
203
+
204
+ %dropdown-list-item {
205
+ @extend %block;
206
+ %dropdown-menu-item {
207
+ @extend %block;
208
+ width: 100%;
209
+ padding: 0.5em 1em;
210
+ border: none;
211
+ background: none;
212
+ color: $font-color;
213
+ font-size: 1em;
214
+ font-weight: normal;
215
+ text-shadow: none;
216
+ text-decoration: none;
217
+ text-align: left;
218
+ @include rounded(0);
219
+ &:hover, &:focus {
220
+ background: #efefef;
221
+ }
222
+ &.disabled, &[disabled="disabled"] {
223
+ @include state(disabled,textOnly);
224
+ }
225
+ }
226
+ &:last-child {
227
+ @include rounded(0 0 $default-radius $default-radius);
228
+ }
229
+ }
230
+
231
+ %dropdown-divider {
232
+ margin: 0;
233
+ border-color: #ececec;
234
+ }
235
+
236
+ %button-group {
237
+ @extend %zero, %unstyled;
238
+ &:after {
239
+ @extend %block, %clear;
240
+ content: "";
241
+ }
242
+ li {
243
+ @extend %block;
244
+ float: left;
245
+ margin: 0;
246
+ &:first-child a, &:first-child button {
247
+ @include rounded($default-radius 0 0 $default-radius);
248
+ }
249
+ &:last-child a, &:last-child button {
250
+ @include rounded(0 $default-radius $default-radius 0);
251
+ }
252
+ a, button {
253
+ @extend %block;
254
+ word-wrap: break-word;
255
+ padding: 0.25em 1em;
256
+ background: $button-color;
257
+ border: $border-thickness $border-style $button-active;
258
+ color: $button-text;
259
+ font-weight: bold;
260
+ text-decoration: none;
261
+ cursor: pointer;
262
+ line-height: 1.5;
263
+ @include rounded(0);
264
+ @include transition(background-color 0.25s ease-out);
265
+ &.active, &[aria-selected="true"], &[aria-pressed="true"], &:hover, &:focus {
266
+ background: $button-active;
267
+ text-decoration: none;
268
+ // color: $button-active-text;
269
+ border: $border-thickness $border-style $button-active;
270
+ }
271
+ &.disabled, &[disabled="disabled"] {
272
+ @include state(disabled,normal,$disabled-background);
273
+ }
274
+ }
275
+ }
276
+ }
277
+
278
+ @mixin button_modifiers() {
279
+ @for $i from 1 through length($button-modifiers) {
280
+ &.#{nth($button-modifiers, $i)} {
281
+ @extend %button-#{nth($button-modifiers, $i)};
282
+ }
283
+ }
284
+ @for $i from 1 through length($button-states) {
285
+ &.#{nth($button-states, $i)} {
286
+ @extend %button-#{nth($button-states, $i)};
287
+ }
288
+ }
289
+ // modifier colors
290
+ @for $i from 1 through length($modifier-name) {
291
+ &.#{nth($modifier-name, $i)} {
292
+ @extend %button-#{nth($modifier-name, $i)};
293
+ }
294
+ }
295
+ }
296
+
297
+ @if $button-tags {
298
+ button,
299
+ input[type=submit],
300
+ input[type=button],
301
+ input[type=reset] {
302
+ @extend %button;
303
+
304
+ @if $button-classes {
305
+ @include button_modifiers;
306
+ }
307
+ }
308
+
309
+ .dropdown {
310
+ @extend %dropdown-holder;
311
+ &.on, &.active, &[aria-selected="true"], &[aria-pressed="true"] {
312
+ ul {
313
+ @extend %block;
314
+ }
315
+ }
316
+ > a, > button {
317
+ @extend %dropdown-button;
318
+ }
319
+ ul {
320
+ @extend %dropdown-list;
321
+ li {
322
+ @extend %dropdown-list-item;
323
+ a, button {
324
+ @extend %dropdown-menu-item;
325
+ }
326
+ }
327
+ }
328
+ hr {
329
+ @extend %dropdown-divider;
330
+ }
331
+ }
332
+ }
333
+
334
+ @if $button-classes {
335
+ .button,
336
+ a.button,
337
+ a.button:visited {
338
+ @extend %button;
339
+ @include button_modifiers;
340
+ }
341
+ .dropdown {
342
+ @extend %dropdown-holder;
343
+ &.on, &.active, &[aria-selected="true"], &[aria-pressed="true"] {
344
+ ul {
345
+ @extend %block;
346
+ }
347
+ }
348
+ .button {
349
+ @extend %dropdown-button;
350
+ }
351
+ ul {
352
+ @extend %dropdown-list;
353
+ li {
354
+ @extend %dropdown-list-item;
355
+ a, button {
356
+ @extend %dropdown-menu-item;
357
+ }
358
+ }
359
+ }
360
+ hr {
361
+ @extend %dropdown-divider;
362
+ }
363
+ }
364
+ ul.button-group,
365
+ ol.button-group {
366
+ @extend %button-group;
367
+ li {
368
+ a, button {
369
+ @include button_modifiers;
370
+ }
371
+ }
372
+ }
373
+ }
374
+
375
+ @if $aria-selectors {
376
+ [role~="button"] {
377
+ @extend %button;
378
+
379
+ @for $i from 1 through length($aria-states) {
380
+ &[aria-#{nth($aria-states, $i)}] {
381
+ @extend %button-#{nth($aria-states, $i)};
382
+ }
383
+ }
384
+
385
+ @if $button-classes {
386
+ @include button_modifiers;
387
+ }
388
+ }
389
+ }
@@ -1,20 +1,45 @@
1
1
  // =============================================
2
2
  // Forms
3
- // Last Updated:2013-4-24
3
+ // Last Updated:2013-8-21
4
4
  // =============================================
5
5
 
6
+ $form-tags: true !default;
7
+ $form-classes: false !default;
8
+ $form-elements: "fieldset" "legend" "label" "input" "textarea" !default;
9
+ $default-radius: 4px !default;
6
10
 
11
+ $fieldset-color: darken(white, 2%) !default;
12
+
13
+ $border-thickness: 1px !default;
14
+ $border-style: solid !default;
15
+ $border-color: #dddddd !default;
16
+
17
+ $error-color: #b94a48 !default;
18
+ $error-text: #ffffff !default;
19
+ $error-background: #f2dede !default;
20
+ $error-border: #eed3d7 !default;
21
+
22
+ $success-color: #468847 !default;
23
+ $success-text: #ffffff !default;
24
+ $success-background: #dff0d8 !default;
25
+ $success-border: #d6e9c6 !default;
26
+
27
+ $question-color: #9855b4 !default;
28
+ $question-text: #ffffff !default;
29
+ $question-background: #f0e6f4 !default;
30
+ $question-border: #f1dbfa !default;
7
31
 
8
32
 
9
33
  %fieldset {
34
+ background-color: $fieldset-color;
10
35
  border:1px solid $border-color;
11
36
  padding:$gutter;
37
+ @include rounded($default-radius);
12
38
  }
13
39
 
14
40
  %legend {
15
- font-weight:900;
16
- color:darken($background-color, 35%);
17
- margin-bottom:0;
41
+ font-weight: 900;
42
+ margin-bottom: 0;
18
43
  }
19
44
 
20
45
  %label {
@@ -46,12 +71,12 @@
46
71
  height:auto;
47
72
  }
48
73
  &[type=checkbox], &[type=radio] {
49
- display:inline-block;
50
- width:1em;
51
- height:1em;
52
- margin:0 0 0 0.2em;
53
- background:white;
54
- border:1px solid $border-color;
74
+ @extend %inline-block;
75
+ width: 1em;
76
+ height: 1em;
77
+ margin: 0 0 0 0.2em;
78
+ background: white;
79
+ border: $border-thickness $border-style $border-color;
55
80
  @include rounded($default-radius);
56
81
  }
57
82
  }
@@ -67,7 +92,7 @@
67
92
  }
68
93
 
69
94
  %error-block-prefix, %error-block-suffix {
70
- color:lighten($error-color, 62%);;
95
+ color:lighten($error-color, 62%);
71
96
  background:$error-color;
72
97
  border-color:$error-color;
73
98
  }
@@ -79,17 +104,11 @@
79
104
  }
80
105
 
81
106
  %success-block-prefix, %success-block-suffix {
82
- color:lighten($success-color, 62%);;
107
+ color:lighten($success-color, 62%);
83
108
  background:$success-color;
84
109
  border-color:$success-color;
85
110
  }
86
111
 
87
- %radio-list {
88
- list-style:none;
89
- margin:0;
90
- padding:0;
91
- }
92
-
93
112
  %prefix, %suffix {
94
113
  display:block;
95
114
  position:relative;
@@ -146,18 +165,18 @@
146
165
  }
147
166
 
148
167
  @if $form-tags {
149
- @for $i from 1 through length($form-elements) {
150
- $element: nth($form-elements, $i);
151
- #{$element} {
152
- @extend %#{$element};
153
- @if $element == input or $element == textarea {
154
- @extend %field;
155
- }
156
- @if $element == textarea {
157
- @extend %textarea;
158
- }
159
- }
160
- }
168
+ @for $i from 1 through length($form-elements) {
169
+ $element: nth($form-elements, $i);
170
+ #{$element} {
171
+ @extend %#{$element};
172
+ @if $element == input or $element == textarea {
173
+ @extend %field;
174
+ }
175
+ @if $element == textarea {
176
+ @extend %textarea;
177
+ }
178
+ }
179
+ }
161
180
  select {
162
181
  @extend %field;
163
182
  }
@@ -179,7 +198,4 @@
179
198
  .input, .select, .textarea {
180
199
  @extend %field;
181
200
  }
182
- .radio-list {
183
- @extend %radio-list;
184
- }
185
201
  }