plinth 0.0.1.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (237) hide show
  1. data/.codoopts +10 -0
  2. data/.env +1 -0
  3. data/.gitignore +23 -0
  4. data/.ruby-version +1 -0
  5. data/CHANGELOG.md +1 -0
  6. data/Capfile +4 -0
  7. data/Gemfile +52 -0
  8. data/Gemfile.lock +243 -0
  9. data/Guardfile +9 -0
  10. data/LICENSE +22 -0
  11. data/Procfile +1 -0
  12. data/README.md +79 -0
  13. data/Rakefile +35 -0
  14. data/app/assets/images/layouts/basic-marketing-site.png +0 -0
  15. data/app/assets/images/layouts/jumbotron-site.png +0 -0
  16. data/app/assets/images/rails.png +0 -0
  17. data/app/assets/javascripts/application.js +17 -0
  18. data/app/assets/javascripts/base.js.coffee +3 -0
  19. data/app/assets/javascripts/grids.js.coffee +3 -0
  20. data/app/assets/javascripts/javascript.js.coffee +3 -0
  21. data/app/assets/javascripts/lib/modernizr.js +4 -0
  22. data/app/assets/javascripts/modules.js.coffee +3 -0
  23. data/app/assets/stylesheets/application-old-ie.css.scss +10 -0
  24. data/app/assets/stylesheets/application.css.scss +57 -0
  25. data/app/assets/stylesheets/base/_all.scss +6 -0
  26. data/app/assets/stylesheets/base/_reset.css.scss +16 -0
  27. data/app/assets/stylesheets/base/_type.scss +16 -0
  28. data/app/assets/stylesheets/modules/_coderay.css.scss +171 -0
  29. data/app/assets/stylesheets/modules/_layout_examples.css.scss +13 -0
  30. data/app/assets/stylesheets/modules/_webfont_table.css.scss +47 -0
  31. data/app/assets/stylesheets/vanilla-normal-old-ie.css.scss +11 -0
  32. data/app/assets/stylesheets/vanilla-normal.css.scss +33 -0
  33. data/app/controllers/application_controller.rb +5 -0
  34. data/app/controllers/base_controller.rb +52 -0
  35. data/app/controllers/grids_controller.rb +48 -0
  36. data/app/controllers/javascript_controller.rb +20 -0
  37. data/app/controllers/javascripts_controller.rb +4 -0
  38. data/app/controllers/modules_controller.rb +43 -0
  39. data/app/controllers/ui_controller.rb +2 -0
  40. data/app/helpers/plinth_helper.rb +33 -0
  41. data/app/views/base/_webfonts_social_standard.html +429 -0
  42. data/app/views/base/_webfonts_ss_standard.html +2413 -0
  43. data/app/views/base/buttons.html.haml +20 -0
  44. data/app/views/base/forms.html.haml +40 -0
  45. data/app/views/base/images.html.haml +20 -0
  46. data/app/views/base/index.html.haml +68 -0
  47. data/app/views/base/labels.html.haml +22 -0
  48. data/app/views/base/lists.html.haml +20 -0
  49. data/app/views/base/webfonts.html.haml +17 -0
  50. data/app/views/grids/index.html.haml +73 -0
  51. data/app/views/grids/layouts/basic-marketing-site.haml +69 -0
  52. data/app/views/grids/layouts/jumbotron-site.haml +92 -0
  53. data/app/views/grids/layouts.html.haml +9 -0
  54. data/app/views/layouts/_main_nav.html.haml +15 -0
  55. data/app/views/layouts/application.html.haml +15 -0
  56. data/app/views/modules/alerts.html.haml +12 -0
  57. data/app/views/modules/footer.html.haml +2 -0
  58. data/app/views/modules/index.html.haml +5 -0
  59. data/app/views/modules/nav.html.haml +12 -0
  60. data/app/views/modules/panels.html.haml +3 -0
  61. data/app/views/modules/tabs.html.haml +58 -0
  62. data/app/views/old_javascript/close.html.haml +2 -0
  63. data/app/views/old_javascript/forms.html.haml +2 -0
  64. data/app/views/old_javascript/ga_events.html.haml +2 -0
  65. data/app/views/old_javascript/index.html.haml +2 -0
  66. data/app/views/old_javascript/responsive_resize.html.haml +2 -0
  67. data/app/views/old_javascript/switch.html.haml +2 -0
  68. data/app/views/parts/base/_button.haml +3 -0
  69. data/app/views/parts/base/_button_colours.haml +4 -0
  70. data/app/views/parts/base/_button_group.haml +4 -0
  71. data/app/views/parts/base/_button_sizing.haml +3 -0
  72. data/app/views/parts/base/_button_states.haml +3 -0
  73. data/app/views/parts/base/_form_example.haml +26 -0
  74. data/app/views/parts/base/_form_example_horizontal.haml +26 -0
  75. data/app/views/parts/base/_form_group.haml +10 -0
  76. data/app/views/parts/base/_form_location.haml +3 -0
  77. data/app/views/parts/base/_labels.haml +5 -0
  78. data/app/views/parts/base/_labels_sizing.haml +3 -0
  79. data/app/views/parts/base/_list.haml +10 -0
  80. data/app/views/parts/base/_list_action.haml +5 -0
  81. data/app/views/parts/base/_list_nav.haml +12 -0
  82. data/app/views/parts/base/_list_unset.haml +10 -0
  83. data/app/views/parts/base/_type_body.haml +2 -0
  84. data/app/views/parts/base/_type_headings.haml +5 -0
  85. data/app/views/parts/base/_type_helpers.haml +3 -0
  86. data/app/views/parts/base/_type_links.haml +9 -0
  87. data/app/views/parts/base/_type_shouts.haml +4 -0
  88. data/app/views/parts/grids/_example_layout_1.haml +10 -0
  89. data/app/views/parts/grids/_live_grid.haml +29 -0
  90. data/app/views/parts/modules/_alerts.haml +11 -0
  91. data/app/views/parts/modules/_nav_footer.haml +34 -0
  92. data/app/views/parts/modules/_nav_header.haml +18 -0
  93. data/app/views/parts/modules/_panels.haml +9 -0
  94. data/app/views/parts/modules/_tabs_minimal.haml +11 -0
  95. data/app/views/parts/modules/_tabs_simple_group.haml +11 -0
  96. data/app/views/parts/modules/_tabs_simple_group_toggle.haml +11 -0
  97. data/app/views/parts/modules/_tabs_toggle.haml +5 -0
  98. data/app/views/parts/modules/_tabs_traditional.haml +11 -0
  99. data/app/views/shared/_placeholder_text.html.haml +1 -0
  100. data/app/views/shared/_title.html.haml +8 -0
  101. data/app/views/shared/_ui_nav.html.haml +5 -0
  102. data/app/views/ui/alert.html.haml +35 -0
  103. data/app/views/ui/buttons.html.haml +116 -0
  104. data/app/views/ui/footer.html.haml +69 -0
  105. data/app/views/ui/forms/_vertical_form.haml +7 -0
  106. data/app/views/ui/forms.html.haml +59 -0
  107. data/app/views/ui/grids.html.haml +18 -0
  108. data/app/views/ui/index.html.haml +5 -0
  109. data/app/views/ui/labels.html.haml +15 -0
  110. data/app/views/ui/modules/panel.html.haml +3 -0
  111. data/app/views/ui/nav.html.haml +48 -0
  112. data/app/views/ui/tabs.html.haml +171 -0
  113. data/app/views/ui/typography.html.haml +118 -0
  114. data/db/development.sqlite3 +0 -0
  115. data/db/seeds.rb +7 -0
  116. data/doc/README_FOR_APP +2 -0
  117. data/lib/assets/.gitkeep +0 -0
  118. data/lib/plinth/version.rb +3 -0
  119. data/lib/plinth.rb +11 -0
  120. data/lib/tasks/.gitkeep +0 -0
  121. data/lib/templates/haml/scaffold/_form.html.haml +8 -0
  122. data/log/.gitkeep +0 -0
  123. data/plinth.gemspec +33 -0
  124. data/public/404.html +26 -0
  125. data/public/422.html +26 -0
  126. data/public/500.html +25 -0
  127. data/public/favicon.ico +0 -0
  128. data/public/javascripts/LICENSE.html +158 -0
  129. data/public/javascripts/README.md.html +163 -0
  130. data/public/javascripts/assets/codo.css +1 -0
  131. data/public/javascripts/assets/codo.js +21 -0
  132. data/public/javascripts/assets/search_data.js +1 -0
  133. data/public/javascripts/class_index.html +215 -0
  134. data/public/javascripts/class_list.html +58 -0
  135. data/public/javascripts/classes/Close.html +259 -0
  136. data/public/javascripts/classes/GAEvent.html +231 -0
  137. data/public/javascripts/classes/ResizeHandler.html +225 -0
  138. data/public/javascripts/classes/Switch.html +318 -0
  139. data/public/javascripts/classes/TBGForm.html +373 -0
  140. data/public/javascripts/extra_list.html +36 -0
  141. data/public/javascripts/file_list.html +74 -0
  142. data/public/javascripts/files/styleguide/plugins/tbg-close.js.coffee.html +160 -0
  143. data/public/javascripts/files/styleguide/plugins/tbg-forms.js.coffee.html +160 -0
  144. data/public/javascripts/files/styleguide/plugins/tbg-ga-events.js.coffee.html +160 -0
  145. data/public/javascripts/files/styleguide/plugins/tbg-respinsiveresize.js.coffee.html +160 -0
  146. data/public/javascripts/files/styleguide/plugins/tbg-switch.js.coffee.html +160 -0
  147. data/public/javascripts/index.html +14 -0
  148. data/public/javascripts/method_list.html +187 -0
  149. data/public/javascripts/mixin_list.html +28 -0
  150. data/public/robots.txt +5 -0
  151. data/script/rails +6 -0
  152. data/spec/javascripts/fixtures/plugins/tbg-close_fixture.html.haml +4 -0
  153. data/spec/javascripts/fixtures/plugins/tbg-forms_fixture.html.haml +12 -0
  154. data/spec/javascripts/fixtures/plugins/tbg-ga-events_fixture.html.haml +9 -0
  155. data/spec/javascripts/fixtures/plugins/tbg-switch_fixture.html.haml +11 -0
  156. data/spec/javascripts/plugins/tbg-close_spec.js.coffee +54 -0
  157. data/spec/javascripts/plugins/tbg-forms_spec.js.coffee +87 -0
  158. data/spec/javascripts/plugins/tbg-ga-events_spec.js.coffee +83 -0
  159. data/spec/javascripts/plugins/tbg-switch_spec.js.coffee +96 -0
  160. data/spec/javascripts/spec.js.coffee +2 -0
  161. data/vendor/assets/fonts/ss-social-circle.eot +0 -0
  162. data/vendor/assets/fonts/ss-social-circle.svg +139 -0
  163. data/vendor/assets/fonts/ss-social-circle.ttf +0 -0
  164. data/vendor/assets/fonts/ss-social-circle.woff +0 -0
  165. data/vendor/assets/fonts/ss-social-regular.eot +0 -0
  166. data/vendor/assets/fonts/ss-social-regular.svg +133 -0
  167. data/vendor/assets/fonts/ss-social-regular.ttf +0 -0
  168. data/vendor/assets/fonts/ss-social-regular.woff +0 -0
  169. data/vendor/assets/fonts/ss-social.js +75 -0
  170. data/vendor/assets/fonts/ss-standard.eot +0 -0
  171. data/vendor/assets/fonts/ss-standard.js +75 -0
  172. data/vendor/assets/fonts/ss-standard.svg +207 -0
  173. data/vendor/assets/fonts/ss-standard.ttf +0 -0
  174. data/vendor/assets/fonts/ss-standard.woff +0 -0
  175. data/vendor/assets/images/background.png +0 -0
  176. data/vendor/assets/images/logos/sb-logo-white.png +0 -0
  177. data/vendor/assets/images/logos/sb-logo-white.svg +5 -0
  178. data/vendor/assets/images/middleman.png +0 -0
  179. data/vendor/assets/index.html.haml +8 -0
  180. data/vendor/assets/javascripts/.gitkeep +0 -0
  181. data/vendor/assets/javascripts/plinth/lib/handlebars.js +3 -0
  182. data/vendor/assets/javascripts/plinth/lib/jquery.fitvids.js +81 -0
  183. data/vendor/assets/javascripts/plinth/lib/ss-social.js +75 -0
  184. data/vendor/assets/javascripts/plinth/lib/ss-standard.js +78 -0
  185. data/vendor/assets/javascripts/plinth/plugins/doc/assets/codo.css +1 -0
  186. data/vendor/assets/javascripts/plinth/plugins/doc/assets/codo.js +21 -0
  187. data/vendor/assets/javascripts/plinth/plugins/doc/assets/search_data.js +1 -0
  188. data/vendor/assets/javascripts/plinth/plugins/doc/class_index.html +194 -0
  189. data/vendor/assets/javascripts/plinth/plugins/doc/class_list.html +58 -0
  190. data/vendor/assets/javascripts/plinth/plugins/doc/classes/Close.html +215 -0
  191. data/vendor/assets/javascripts/plinth/plugins/doc/classes/GAEvent.html +235 -0
  192. data/vendor/assets/javascripts/plinth/plugins/doc/classes/ResizeHandler.html +192 -0
  193. data/vendor/assets/javascripts/plinth/plugins/doc/classes/Switch.html +233 -0
  194. data/vendor/assets/javascripts/plinth/plugins/doc/classes/TBGForm.html +318 -0
  195. data/vendor/assets/javascripts/plinth/plugins/doc/extra_list.html +30 -0
  196. data/vendor/assets/javascripts/plinth/plugins/doc/file_list.html +58 -0
  197. data/vendor/assets/javascripts/plinth/plugins/doc/files/tbg-close.js.coffee.html +154 -0
  198. data/vendor/assets/javascripts/plinth/plugins/doc/files/tbg-forms.js.coffee.html +154 -0
  199. data/vendor/assets/javascripts/plinth/plugins/doc/files/tbg-ga-events.js.coffee.html +154 -0
  200. data/vendor/assets/javascripts/plinth/plugins/doc/files/tbg-respinsiveresize.js.coffee.html +154 -0
  201. data/vendor/assets/javascripts/plinth/plugins/doc/files/tbg-switch.js.coffee.html +154 -0
  202. data/vendor/assets/javascripts/plinth/plugins/doc/index.html +14 -0
  203. data/vendor/assets/javascripts/plinth/plugins/doc/method_list.html +163 -0
  204. data/vendor/assets/javascripts/plinth/plugins/doc/mixin_list.html +28 -0
  205. data/vendor/assets/javascripts/plinth/plugins/tbg-close.js.coffee +97 -0
  206. data/vendor/assets/javascripts/plinth/plugins/tbg-forms.js.coffee +156 -0
  207. data/vendor/assets/javascripts/plinth/plugins/tbg-ga-events.js.coffee +107 -0
  208. data/vendor/assets/javascripts/plinth/plugins/tbg-respinsiveresize.js.coffee +73 -0
  209. data/vendor/assets/javascripts/plinth/plugins/tbg-switch.js.coffee +121 -0
  210. data/vendor/assets/stylesheets/.gitkeep +0 -0
  211. data/vendor/assets/stylesheets/_functions.scss +28 -0
  212. data/vendor/assets/stylesheets/_mixins.css.scss +273 -0
  213. data/vendor/assets/stylesheets/_settings.css.scss +120 -0
  214. data/vendor/assets/stylesheets/plinth/base/_all.css.scss +7 -0
  215. data/vendor/assets/stylesheets/plinth/base/_buttons.css.scss +166 -0
  216. data/vendor/assets/stylesheets/plinth/base/_form.css.scss +196 -0
  217. data/vendor/assets/stylesheets/plinth/base/_labels.css.scss +58 -0
  218. data/vendor/assets/stylesheets/plinth/base/_lists.css.scss +57 -0
  219. data/vendor/assets/stylesheets/plinth/base/_reset.css.scss +284 -0
  220. data/vendor/assets/stylesheets/plinth/base/_type.css.scss +328 -0
  221. data/vendor/assets/stylesheets/plinth/base/webfonts/_all.css.scss +2 -0
  222. data/vendor/assets/stylesheets/plinth/base/webfonts/ss-social.css.scss +57 -0
  223. data/vendor/assets/stylesheets/plinth/base/webfonts/ss-standard.css.scss +48 -0
  224. data/vendor/assets/stylesheets/plinth/grid/_grid.css.scss +127 -0
  225. data/vendor/assets/stylesheets/plinth/modules/_alert.css.scss +71 -0
  226. data/vendor/assets/stylesheets/plinth/modules/_all-grid.css.scss +1 -0
  227. data/vendor/assets/stylesheets/plinth/modules/_all-no-grid.css.scss +4 -0
  228. data/vendor/assets/stylesheets/plinth/modules/_footer.css.scss +93 -0
  229. data/vendor/assets/stylesheets/plinth/modules/_nav.css.scss +106 -0
  230. data/vendor/assets/stylesheets/plinth/modules/_panel.css.scss +28 -0
  231. data/vendor/assets/stylesheets/plinth/modules/_switch.css.scss +88 -0
  232. data/vendor/assets/stylesheets/plinth.css.scss +15 -0
  233. data/vendor/assets/views/buttons/_buttons.haml +9 -0
  234. data/vendor/assets/views/forms/_vertical_form.haml +7 -0
  235. data/vendor/assets/views/type/_headings.haml +6 -0
  236. data/vendor/assets/views/type/_paragraphs.haml +4 -0
  237. metadata +537 -0
@@ -0,0 +1,48 @@
1
+ /*
2
+ * Symbolset
3
+ * www.symbolset.com
4
+ * Copyright © 2012 Oak Studios LLC
5
+ *
6
+ * Upload this file to your web server
7
+ * and place this within your <head> tags.
8
+ * <link href="webfonts/ss-standard.css" rel="stylesheet" />
9
+ */
10
+
11
+
12
+ @font-face {
13
+ font: {
14
+ family: 'SSStandard';
15
+ weight: 'normal';
16
+ style: 'normal';
17
+ }
18
+ src: asset-url('ss-standard.eot', font);
19
+ src: asset-url('ss-standard.eot?#iefix', font) format('embedded-opentype'),
20
+ asset-url('ss-standard.woff', font) format('woff'),
21
+ asset-url('ss-standard.ttf', font) format('truetype'),
22
+ asset-url('ss-standard.svg#SSStandard', font) format('svg');
23
+ }
24
+
25
+ .ss-icon, .ss-icon.ss-standard,
26
+ [class^="ss-"]:before, [class*=" ss-"]:before,
27
+ [class^="ss-"].ss-standard:before, [class*=" ss-"].ss-standard:before,
28
+ [class^="ss-"].right:after, [class*=" ss-"].right:after,
29
+ [class^="ss-"].ss-standard.right:after, [class*=" ss-"].ss-standard.right:after {
30
+ font-family: "SSStandard";
31
+ font-style: normal;
32
+ font-weight: normal;
33
+ text-decoration: none;
34
+ text-rendering: optimizeLegibility;
35
+ white-space: nowrap;
36
+ -webkit-font-feature-settings: "liga";
37
+ -moz-font-feature-settings: "liga=1";
38
+ -moz-font-feature-settings: "liga";
39
+ -ms-font-feature-settings: "liga" 1;
40
+ -o-font-feature-settings: "liga";
41
+ font-feature-settings: "liga";
42
+ -webkit-font-smoothing: antialiased;
43
+ vertical-align: middle;
44
+ }
45
+
46
+ [class^="ss-"].right:before, [class*=" ss-"].ss-standard.right:before{display:none;content:'';}
47
+
48
+ .ss-cursor:before,.ss-cursor.right:after{content:''}.ss-crosshair:before,.ss-crosshair.right:after{content:'⌖'}.ss-search:before,.ss-search.right:after{content:'🔎'}.ss-zoomin:before,.ss-zoomin.right:after{content:''}.ss-zoomout:before,.ss-zoomout.right:after{content:''}.ss-view:before,.ss-view.right:after{content:'👀'}.ss-attach:before,.ss-attach.right:after{content:'📎'}.ss-link:before,.ss-link.right:after{content:'🔗'}.ss-move:before,.ss-move.right:after{content:''}.ss-write:before,.ss-write.right:after{content:'✎'}.ss-writingdisabled:before,.ss-writingdisabled.right:after{content:''}.ss-erase:before,.ss-erase.right:after{content:'✐'}.ss-compose:before,.ss-compose.right:after{content:'📝'}.ss-lock:before,.ss-lock.right:after{content:'🔒'}.ss-unlock:before,.ss-unlock.right:after{content:'🔓'}.ss-key:before,.ss-key.right:after{content:'🔑'}.ss-backspace:before,.ss-backspace.right:after{content:'⌫'}.ss-ban:before,.ss-ban.right:after{content:'🚫'}.ss-trash:before,.ss-trash.right:after{content:''}.ss-target:before,.ss-target.right:after{content:'◎'}.ss-tag:before,.ss-tag.right:after{content:''}.ss-bookmark:before,.ss-bookmark.right:after{content:'🔖'}.ss-flag:before,.ss-flag.right:after{content:'⚑'}.ss-like:before,.ss-like.right:after{content:'👍'}.ss-dislike:before,.ss-dislike.right:after{content:'👎'}.ss-heart:before,.ss-heart.right:after{content:'♥'}.ss-halfheart:before,.ss-halfheart.right:after{content:''}.ss-star:before,.ss-star.right:after{content:'⋆'}.ss-halfstar:before,.ss-halfstar.right:after{content:''}.ss-sample:before,.ss-sample.right:after{content:''}.ss-crop:before,.ss-crop.right:after{content:''}.ss-layers:before,.ss-layers.right:after{content:''}.ss-phone:before,.ss-phone.right:after{content:'📞'}.ss-phonedisabled:before,.ss-phonedisabled.right:after{content:''}.ss-rss:before,.ss-rss.right:after{content:''}.ss-facetime:before,.ss-facetime.right:after{content:''}.ss-reply:before,.ss-reply.right:after{content:'↩'}.ss-send:before,.ss-send.right:after{content:''}.ss-mail:before,.ss-mail.right:after{content:'✉'}.ss-inbox:before,.ss-inbox.right:after{content:'📥'}.ss-chat:before,.ss-chat.right:after{content:'💬'}.ss-user:before,.ss-user.right:after{content:'👤'}.ss-femaleuser:before,.ss-femaleuser.right:after{content:'👧'}.ss-users:before,.ss-users.right:after{content:'👥'}.ss-cart:before,.ss-cart.right:after{content:''}.ss-creditcard:before,.ss-creditcard.right:after{content:'💳'}.ss-dollarsign:before,.ss-dollarsign.right:after{content:'💲'}.ss-barchart:before,.ss-barchart.right:after{content:'📊'}.ss-piechart:before,.ss-piechart.right:after{content:''}.ss-box:before,.ss-box.right:after{content:'📦'}.ss-home:before,.ss-home.right:after{content:'⌂'}.ss-globe:before,.ss-globe.right:after{content:'🌎'}.ss-navigate:before,.ss-navigate.right:after{content:''}.ss-compass:before,.ss-compass.right:after{content:''}.ss-signpost:before,.ss-signpost.right:after{content:''}.ss-map:before,.ss-map.right:after{content:''}.ss-location:before,.ss-location.right:after{content:''}.ss-pin:before,.ss-pin.right:after{content:'📍'}.ss-database:before,.ss-database.right:after{content:''}.ss-hdd:before,.ss-hdd.right:after{content:''}.ss-music:before,.ss-music.right:after{content:'♫'}.ss-mic:before,.ss-mic.right:after{content:'🎤'}.ss-volume:before,.ss-volume.right:after{content:'🔈'}.ss-volumelow:before,.ss-volumelow.right:after{content:'🔉'}.ss-volumehigh:before,.ss-volumehigh.right:after{content:'🔊'}.ss-airplay:before,.ss-airplay.right:after{content:''}.ss-camera:before,.ss-camera.right:after{content:'📷'}.ss-picture:before,.ss-picture.right:after{content:'🌄'}.ss-video:before,.ss-video.right:after{content:'📹'}.ss-play:before,.ss-play.right:after{content:'▶'}.ss-pause:before,.ss-pause.right:after{content:''}.ss-stop:before,.ss-stop.right:after{content:'■'}.ss-record:before,.ss-record.right:after{content:'●'}.ss-rewind:before,.ss-rewind.right:after{content:'⏪'}.ss-fastforward:before,.ss-fastforward.right:after{content:'⏩'}.ss-skipback:before,.ss-skipback.right:after{content:'⏮'}.ss-skipforward:before,.ss-skipforward.right:after{content:'⏭'}.ss-eject:before,.ss-eject.right:after{content:'⏏'}.ss-repeat:before,.ss-repeat.right:after{content:'🔁'}.ss-replay:before,.ss-replay.right:after{content:'↺'}.ss-shuffle:before,.ss-shuffle.right:after{content:'🔀'}.ss-book:before,.ss-book.right:after{content:'📕'}.ss-openbook:before,.ss-openbook.right:after{content:'📖'}.ss-notebook:before,.ss-notebook.right:after{content:'📓'}.ss-grid:before,.ss-grid.right:after{content:''}.ss-rows:before,.ss-rows.right:after{content:''}.ss-columns:before,.ss-columns.right:after{content:''}.ss-thumbnails:before,.ss-thumbnails.right:after{content:''}.ss-desktop:before,.ss-desktop.right:after{content:'💻'}.ss-laptop:before,.ss-laptop.right:after{content:''}.ss-tablet:before,.ss-tablet.right:after{content:''}.ss-cell:before,.ss-cell.right:after{content:'📱'}.ss-battery:before,.ss-battery.right:after{content:'🔋'}.ss-batteryhigh:before,.ss-batteryhigh.right:after{content:''}.ss-batterymedium:before,.ss-batterymedium.right:after{content:''}.ss-batterylow:before,.ss-batterylow.right:after{content:''}.ss-batteryempty:before,.ss-batteryempty.right:after{content:''}.ss-clouddownload:before,.ss-clouddownload.right:after{content:''}.ss-download:before,.ss-download.right:after{content:''}.ss-cloudupload:before,.ss-cloudupload.right:after{content:''}.ss-upload:before,.ss-upload.right:after{content:''}.ss-fork:before,.ss-fork.right:after{content:''}.ss-merge:before,.ss-merge.right:after{content:''}.ss-refresh:before,.ss-refresh.right:after{content:'↻'}.ss-sync:before,.ss-sync.right:after{content:''}.ss-loading:before,.ss-loading.right:after{content:''}.ss-wifi:before,.ss-wifi.right:after{content:''}.ss-connection:before,.ss-connection.right:after{content:''}.ss-file:before,.ss-file.right:after{content:'📄'}.ss-folder:before,.ss-folder.right:after{content:'📁'}.ss-quote:before,.ss-quote.right:after{content:'“'}.ss-text:before,.ss-text.right:after{content:''}.ss-font:before,.ss-font.right:after{content:''}.ss-print:before,.ss-print.right:after{content:'⎙'}.ss-fax:before,.ss-fax.right:after{content:'📠'}.ss-list:before,.ss-list.right:after{content:''}.ss-layout:before,.ss-layout.right:after{content:''}.ss-action:before,.ss-action.right:after{content:''}.ss-redirect:before,.ss-redirect.right:after{content:'↪'}.ss-expand:before,.ss-expand.right:after{content:'⤢'}.ss-contract:before,.ss-contract.right:after{content:''}.ss-help:before,.ss-help.right:after{content:'❓'}.ss-info:before,.ss-info.right:after{content:'ℹ'}.ss-alert:before,.ss-alert.right:after{content:'⚠'}.ss-caution:before,.ss-caution.right:after{content:'⛔'}.ss-logout:before,.ss-logout.right:after{content:''}.ss-plus:before,.ss-plus.right:after{content:'+'}.ss-hyphen:before,.ss-hyphen.right:after{content:'-'}.ss-check:before,.ss-check.right:after{content:'✓'}.ss-delete:before,.ss-delete.right:after{content:'␡'}.ss-settings:before,.ss-settings.right:after{content:'⚙'}.ss-dashboard:before,.ss-dashboard.right:after{content:''}.ss-notifications:before,.ss-notifications.right:after{content:'🔔'}.ss-notificationsdisabled:before,.ss-notificationsdisabled.right:after{content:'🔕'}.ss-clock:before,.ss-clock.right:after{content:'⏲'}.ss-stopwatch:before,.ss-stopwatch.right:after{content:'⏱'}.ss-calendar:before,.ss-calendar.right:after{content:'📅'}.ss-calendaradd:before,.ss-calendaradd.right:after{content:''}.ss-calendarremove:before,.ss-calendarremove.right:after{content:''}.ss-calendarcheck:before,.ss-calendarcheck.right:after{content:''}.ss-calendardelete:before,.ss-calendardelete.right:after{content:''}.ss-briefcase:before,.ss-briefcase.right:after{content:'💼'}.ss-cloud:before,.ss-cloud.right:after{content:'☁'}.ss-droplet:before,.ss-droplet.right:after{content:'💧'}.ss-up:before,.ss-up.right:after{content:'⬆'}.ss-upright:before,.ss-upright.right:after{content:'⬈'}.ss-right:before,.ss-right.right:after{content:'➡'}.ss-downright:before,.ss-downright.right:after{content:'⬊'}.ss-down:before,.ss-down.right:after{content:'⬇'}.ss-downleft:before,.ss-downleft.right:after{content:'⬋'}.ss-left:before,.ss-left.right:after{content:'⬅'}.ss-upleft:before,.ss-upleft.right:after{content:'⬉'}.ss-navigateup:before,.ss-navigateup.right:after{content:''}.ss-navigateright:before,.ss-navigateright.right:after{content:'▻'}.ss-navigatedown:before,.ss-navigatedown.right:after{content:''}.ss-navigateleft:before,.ss-navigateleft.right:after{content:'◅'}.ss-directup:before,.ss-directup.right:after{content:'▴'}.ss-directright:before,.ss-directright.right:after{content:'▹'}.ss-dropdown:before,.ss-dropdown.right:after{content:'▾'}.ss-directleft:before,.ss-directleft.right:after{content:'◃'}.ss-retweet:before,.ss-retweet.right:after{content:''}
@@ -0,0 +1,127 @@
1
+ //
2
+ // Grids - based on Foundation
3
+ // $author Ad Taylor
4
+ //
5
+ @import "compass/css3";
6
+
7
+
8
+ // ==========================================================================
9
+ // Conditional CSS - JS Detection
10
+ // ==========================================================================
11
+
12
+ @include conditional-CSS($grids);
13
+
14
+
15
+ // ==========================================================================
16
+ // Set default box model
17
+ // ==========================================================================
18
+
19
+ @if $setBoxSizing {
20
+ * {
21
+ @include box-sizing(border-box);
22
+ *behavior: url(/boxsizing.htc);
23
+ }
24
+ }
25
+
26
+
27
+ // ==========================================================================
28
+ // Container
29
+ // ==========================================================================
30
+
31
+ .container {
32
+ width: $container-width;
33
+ max-width: $container-max-width;
34
+ min-width: $container-min-width;
35
+ margin: 0 auto;
36
+
37
+ @include clearfix;
38
+
39
+ &.full {
40
+ width: auto;
41
+ }
42
+ }
43
+
44
+ // ==========================================================================
45
+ // Rows
46
+ // ==========================================================================
47
+
48
+ .row {
49
+ @include clearfix;
50
+ $padding-pos: 3;
51
+ //$query-pos: 4;
52
+ $query-pos: 5;
53
+
54
+ @each $grid in $grids {
55
+ @if(length($grid) == $query-pos ) {
56
+ //@include media-query( nth($grid,$query-pos)) {
57
+ @include media-query($grid) {
58
+ .row {
59
+ margin: 0 0px-(0.5*nth($grid,$padding-pos));
60
+ }
61
+ }
62
+ }
63
+ @else {
64
+ @if(length($grid) > 1){
65
+ .row {
66
+ margin: 0 0-(0.5*nth($grid,$padding-pos));
67
+ }
68
+ }
69
+ }
70
+ }
71
+
72
+ &.collapse {
73
+ & > .column {
74
+ padding-left: 0;
75
+ padding: 0;
76
+ }
77
+ }
78
+ }
79
+
80
+ // ==========================================================================
81
+ // Columns
82
+ // ==========================================================================
83
+
84
+ .column {
85
+ position: relative;
86
+
87
+ //padding: 0 ($column-gutter/2);
88
+
89
+
90
+
91
+ &.center {
92
+ float: none;
93
+ margin: 0 auto;
94
+ }
95
+
96
+ & > .suffix,
97
+ & > .prefix {
98
+ width: 100%;
99
+ }
100
+ }
101
+
102
+
103
+ // ==========================================================================
104
+ // Image Blocks
105
+ // ==========================================================================
106
+
107
+ .img-block {
108
+ .img {
109
+ float:left;
110
+ margin:0 $column-gutter*2 0 0;
111
+ }
112
+
113
+ .img-medium {
114
+ margin-right: $column-gutter*4;
115
+ }
116
+
117
+ .img img {
118
+ display:block;
119
+ }
120
+
121
+ .content {
122
+ display:table-cell;
123
+ width:10000px;
124
+ *width:auto;
125
+ *zoom:1;
126
+ }
127
+ }
@@ -0,0 +1,71 @@
1
+ //
2
+ // Alert Module
3
+ // $author Ad Taylor
4
+
5
+ @import "compass/css3";
6
+
7
+ // ==========================================================================
8
+ // Default alert
9
+ // ==========================================================================
10
+
11
+ .alert {
12
+ padding: ms(0) ms(0)/2 ms(0);
13
+ border-bottom: 2px solid blue(2);
14
+ background-color: blue(3);
15
+ color: blue(1);
16
+ font-weight: bold;
17
+
18
+ p {
19
+ margin: 0;
20
+ }
21
+
22
+ .close {
23
+ float: right;
24
+ opacity: 0.8;
25
+
26
+ color: blue(2);
27
+
28
+ &:hover, &:active {
29
+ color: blue(1);
30
+ }
31
+ }
32
+ }
33
+
34
+ // ==========================================================================
35
+ // Error alert
36
+ // ==========================================================================
37
+
38
+ .alert.error {
39
+ border-bottom-color: darken($alert-color, 10%);
40
+ background-color: $alert-color;
41
+ color: $white;
42
+
43
+ .close {
44
+ color: darken($alert-color, 20%);
45
+
46
+ &:hover, &:active {
47
+ color: darken($alert-color, 30%);
48
+ }
49
+ }
50
+
51
+ }
52
+
53
+
54
+ // ==========================================================================
55
+ // Success alert
56
+ // ==========================================================================
57
+
58
+ .alert.success {
59
+ border-bottom-color: green(2);
60
+ background-color: $success-color;
61
+ color: $white;
62
+
63
+ .close {
64
+ color: darken(green(2), 10%);
65
+
66
+ &:hover, &:active {
67
+ color: darken(green(2), 20%);
68
+ }
69
+ }
70
+
71
+ }
@@ -0,0 +1 @@
1
+ @import "plinth/modules/switch";
@@ -0,0 +1,4 @@
1
+ @import "plinth/modules/panel";
2
+ @import "plinth/modules/nav";
3
+ @import "plinth/modules/footer";
4
+ @import "plinth/modules/alert";
@@ -0,0 +1,93 @@
1
+ //
2
+ // Footer Module
3
+ // $author Ad Taylor
4
+
5
+ @import "compass/css3";
6
+
7
+ // ==========================================================================
8
+ // Default Footer styles
9
+ // ==========================================================================
10
+
11
+ .footer {
12
+ position: fixed;
13
+ bottom: 0;
14
+ left: 0;
15
+ width: 100%;
16
+
17
+ background-color: $main-color;
18
+ color: $white;
19
+
20
+ $tab-size: 20px;
21
+
22
+ .footer-tab {
23
+ position: relative;
24
+ display: block;
25
+ top: 0 - $tab-size;
26
+ width: $tab-size*1.25;
27
+ height: $tab-size;
28
+ padding-top: $tab-size*0.25;
29
+ background-color: $main-color;
30
+ text-align: center;
31
+ @include border-radius(5px 5px 0px 0px);
32
+
33
+ display: none;
34
+ }
35
+
36
+ .footer-up {
37
+ display: block;
38
+ }
39
+ .is-active {
40
+ .footer-up {
41
+ display: none;
42
+ }
43
+ .footer-down {
44
+ display: block;
45
+ }
46
+ }
47
+
48
+ #footer-content {
49
+ display: none;
50
+
51
+ &.is-active {
52
+ display: block;
53
+ }
54
+ }
55
+ a {
56
+ color: $white;
57
+ border-style: none;
58
+ }
59
+
60
+ ul {
61
+ padding-left: 0;
62
+ }
63
+
64
+ li {
65
+ list-style: none;
66
+ }
67
+ }
68
+
69
+
70
+ // ==========================================================================
71
+ // Responsive Logo
72
+ // ==========================================================================
73
+
74
+ .footer-logo {
75
+ background: url('logos/sb-logo-white.png') no-repeat center center;
76
+ @include ol-padded-box(83,51);
77
+ }
78
+
79
+ .svg .footer-logo {
80
+ background-image: url('logos/sb-logo-white.svg')
81
+ }
82
+
83
+ .footer .footer-logo-container {
84
+ margin-bottom: ms(0)/2;
85
+ & > a {
86
+ display: block;
87
+ border-style: none;
88
+ }
89
+
90
+ @include smallest-query {
91
+ width: 100px;
92
+ }
93
+ }
@@ -0,0 +1,106 @@
1
+ //
2
+ // Nav Module
3
+ // $author Ad Taylor
4
+
5
+ @import "compass/css3";
6
+
7
+ // ==========================================================================
8
+ // Global Nav
9
+ // ==========================================================================
10
+
11
+ $nav-color: $main-color !default;
12
+ $nav-color-hover: $main-color-hover !default;
13
+ $nav-align: right !default;
14
+
15
+ .nav-global {
16
+ @include clearfix();
17
+
18
+ background-color: $nav-color;
19
+ text-align: $nav-align;
20
+
21
+ .nav-items {
22
+ @extend .action-list;
23
+ @extend .support;
24
+
25
+ margin-bottom: 0;
26
+
27
+ text-transform: uppercase;
28
+
29
+ & > li {
30
+ margin: 0;
31
+ border-left: 1px solid $nav-color-hover;
32
+
33
+ a {
34
+ padding: ms(0)/2 ms(0);
35
+ display: block;
36
+ }
37
+
38
+ &:hover, &:focus, &.is-active {
39
+ background-color: $nav-color-hover;
40
+ }
41
+ }
42
+ }
43
+
44
+ a {
45
+ color: $white;
46
+ border: none;
47
+ }
48
+ }
49
+
50
+
51
+ // ==========================================================================
52
+ // Global Nav Mobile button
53
+ // ==========================================================================
54
+
55
+ $nav-switch-color: mono(1);
56
+ $nav-width: 22px;
57
+ $nav-height: $nav-width;
58
+ $nav-line-height: 0px + ($nav-width * 0.1);
59
+ $nav-spacing: 0.22;
60
+
61
+ .nav-mobile-switch {
62
+ position: relative;
63
+ float: right;
64
+ margin: ms(0)/2;
65
+
66
+ @include transition-property(transform);
67
+ @include transition-duration(0.5s);
68
+ @include transition-timing-function(ease-out);
69
+
70
+ &.is-active {
71
+ @include rotate(-90deg);
72
+ }
73
+
74
+ a {
75
+ position: relative;
76
+ display: block;
77
+ width: $nav-width;
78
+ height: $nav-height;
79
+ overflow: hidden;
80
+ z-index: 2;
81
+
82
+ border: $nav-line-height solid $nav-switch-color;
83
+
84
+ text-indent: 9999em;
85
+ }
86
+
87
+ $nav-line-top-offset:0;
88
+ i {
89
+ position: absolute;
90
+ display: block;
91
+ width: $nav-width * 0.8 - $nav-line-height;
92
+ height: $nav-line-height;
93
+ left: ($nav-width * 0.1) + $nav-line-height/2;
94
+ top: $nav-height * $nav-spacing - $nav-line-top-offset;
95
+ z-index: 1;
96
+ background-color: $nav-switch-color;
97
+ }
98
+
99
+ i + i {
100
+ top: $nav-height * ($nav-spacing * 2) - $nav-line-top-offset;
101
+ }
102
+
103
+ i + i + i {
104
+ top: $nav-height * ($nav-spacing * 3) - $nav-line-top-offset;
105
+ }
106
+ }
@@ -0,0 +1,28 @@
1
+ //
2
+ // Panel Module
3
+ // $author Ad Taylor
4
+
5
+ // ==========================================================================
6
+ // Default Panel
7
+ // ==========================================================================
8
+
9
+
10
+ .panel {
11
+ margin-bottom: ms(0);
12
+ padding: ms(0) $column-gutter*2 ms(2) $column-gutter*2;
13
+ background-color: mono(4);
14
+ }
15
+
16
+ // Text helper classes
17
+
18
+ .panel-left {
19
+ text-align: left;
20
+ }
21
+
22
+ .panel-right {
23
+ text-align: right;
24
+ }
25
+
26
+ .panel-center {
27
+ text-align: center;
28
+ }
@@ -0,0 +1,88 @@
1
+ //
2
+ // Switch Modules
3
+ // $author Ad Taylor
4
+
5
+ // ==========================================================================
6
+ // Switch Defaults
7
+ // ==========================================================================
8
+
9
+
10
+ .switch-nav {
11
+ @include clearfix();
12
+ padding-left: 0;
13
+
14
+ & > li {
15
+ list-style: none;
16
+ }
17
+ }
18
+
19
+ @mixin switch-content($grid-name, $nested-grid-name){
20
+ @if($grid-name == $nested-grid-name) {
21
+ .#{$grid-name}switch-content {
22
+ display: none;
23
+ &.is-active {
24
+ display: block;
25
+ }
26
+ }
27
+ }
28
+ @else {
29
+ .#{$grid-name}switch-content {
30
+ display: block;
31
+ &.is-active {
32
+ display: none;
33
+ }
34
+ }
35
+ }
36
+ }
37
+
38
+ @each $grid in $grids {
39
+ $grid-name: nth($grid, 1);
40
+
41
+ @each $nested-grid in $grids {
42
+ $nested-grid-name: nth($nested-grid, 1);
43
+ // If there is a media query
44
+ @include is-responsive($nested-grid) {
45
+ @include switch-content($grid-name, $nested-grid-name);
46
+ }
47
+ }
48
+ }
49
+
50
+
51
+
52
+ .switch-content {
53
+ display: none;
54
+
55
+ &.is-active {
56
+ display: block;
57
+ }
58
+ }
59
+
60
+ // ==========================================================================
61
+ // Tabs
62
+ // ==========================================================================
63
+
64
+ .tabs {
65
+ @extend .action-list;
66
+
67
+ border-bottom: 1px solid mono(3);
68
+
69
+ & > li {
70
+ float: left;
71
+ margin-bottom: -1px;
72
+ margin-left: $column-gutter;
73
+
74
+
75
+ & > a {
76
+ display: block;
77
+ padding: ms(0)/2 $column-gutter;
78
+ border-bottom: 1px solid transparent;
79
+ line-height: $base-line-height-px;
80
+ }
81
+
82
+ &.is-active {
83
+ background-color: #ffffff;
84
+ border: 1px solid #ddd;
85
+ border-bottom-color: transparent;
86
+ }
87
+ }
88
+ }
@@ -0,0 +1,15 @@
1
+ @charset "UTF-8";
2
+
3
+ // Foundation Features
4
+ // =============
5
+
6
+ @import "compass";
7
+ @import "modular-scale";
8
+
9
+ // ==========================================================================
10
+ // Setup modules
11
+ // ==========================================================================
12
+
13
+ @import "settings";
14
+ @import "functions";
15
+ @import "mixins";
@@ -0,0 +1,9 @@
1
+ %div{:style=>"margin-bottom:10px;"}
2
+ - ['large','medium', 'small'].each do |type|
3
+ %a{:href=>"stuff", :class=>"btn #{type}"}= "#{type} button"
4
+
5
+ %div
6
+ - ['orange','green', 'blue'].each do |color|
7
+ %div{:style=>"margin-bottom:10px;"}
8
+ - ['small','active small','disabled small'].each do |type|
9
+ %a{:href=>"stuff", :class=>"btn #{type} #{color}"}= "#{type} #{color} button"
@@ -0,0 +1,7 @@
1
+ %form
2
+ %div
3
+ %label a label
4
+ %input{:type =>"text", :class=>"large"}
5
+ %div
6
+ %label a label
7
+ %input{:type =>"text"}
@@ -0,0 +1,6 @@
1
+ - heading_text = "Heading text"
2
+ %h1= heading_text
3
+ %h2= heading_text
4
+ %h3= heading_text
5
+ %h4= heading_text
6
+ %h5= heading_text
@@ -0,0 +1,4 @@
1
+ %p.standout It's a complicated case, Maude. Lotta ins. Lotta outs. And a lotta strands to keep in my head, man. Dolor sit amet, consectetur adipiscing elit praesent ac magna justo pellentesque ac lectus. I mean his wife goes out and owes money and they pee on my rug. Quis elit blandit fringilla a ut turpis praesent felis ligula, malesuada suscipit malesuada. All right, Plan B. You might want to watch out the front window there, Larry. Non, ultrices non urna sed orci ipsum, placerat id condimentum rutrum, rhoncus ac.
2
+
3
+ %p Here's the name and number of a doctor who will look at it for you. You will receive no bill. He's a good man. And thorough. Lorem aliquam placerat posuere neque, at dignissim magna ullamcorper in aliquam sagittis massa. Ac tortor ultrices faucibus curabitur eu mi sapien, ut ultricies ipsum morbi eget. …and even if he's a lazy man, and the Dude was certainly that—quite possibly the laziest in Los Angeles County. Risus nulla nullam vel nisi enim, vel auctor ante morbi. I, uh… money, yeah, I gotta respectfully, 69 you know, tender my resignation on that matter, 'cause it looks like your mother really was kidnapped after all. Id urna vel felis lacinia placerat vestibulum turpis nulla, viverra. You're just looking for a handout like every other. Are you employed, Mr. Lebowski? Nec volutpat ac, ornare id lectus cras pharetra faucibus tristique. Hey, relax man, I'm a brother shamus. Nullam non accumsan justo nulla facilisi integer interdum elementum. I—the royal we, man, you know, the editorial. Hardly Dude, a new 'vette? The kid's still got, oh, 96 to 97 thousand, depending on the options. Nulla, nec eleifend nisl euismod ac maecenas vitae eros. Wonderful woman. Very free-spirited. We're all very fond of her. Velit, eu suscipit erat integer purus lacus, pretium vel. My art has been commended as being strongly vaginal. Which bothers some men. The word itself makes some men uncomfortable. Vagina. Venenatis eu, volutpat non erat donec a metus ac. Eros dictum aliquet nulla. Yeah. Roadie for Metallica. Speed of Sound Tour. Consectetur egestas placerat maecenas. Ja, your viggly penis, Lebowski. Pulvinar nisl et nisl. Since you have failed to achieve, even in the modest task that was your charge, since you have stolen my money, and since you have unrepentantly betrayed my trust. Rhoncus at volutpat felis. Eight-year-olds, Dude. Blandit in libero turpis, I have no choice but to tell these bums that they should do whatever is necessary to recover their money from you, Jeffrey Lebowski.
4
+