zurb-foundation 3.2.5 → 4.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (239) hide show
  1. data/.gitignore +6 -2
  2. data/CHANGELOG.md +1 -26
  3. data/CONTRIBUTING.md +18 -0
  4. data/Gemfile.lock +19 -0
  5. data/Gruntfile.js +27 -0
  6. data/README.md +5 -6
  7. data/{Capfile → docs/Capfile} +0 -1
  8. data/docs/Gemfile +8 -0
  9. data/docs/Gemfile.lock +43 -0
  10. data/docs/Procfile +2 -0
  11. data/docs/README.md +1 -0
  12. data/docs/_sidebar-components.html.erb +109 -0
  13. data/docs/_sidebar.html.erb +109 -0
  14. data/docs/_zurb-jobs.html.erb +5 -0
  15. data/docs/changelog.html.erb +185 -0
  16. data/docs/compile.rb +43 -0
  17. data/docs/components/alert-boxes.html.erb +202 -0
  18. data/docs/components/block-grid.html.erb +118 -0
  19. data/docs/components/breadcrumbs.html.erb +146 -0
  20. data/docs/components/button-groups.html.erb +174 -0
  21. data/docs/components/buttons.html.erb +220 -0
  22. data/docs/components/clearing.html.erb +152 -0
  23. data/docs/components/custom-forms.html.erb +306 -0
  24. data/docs/components/dropdown-buttons.html.erb +233 -0
  25. data/docs/components/dropdown.html.erb +186 -0
  26. data/docs/components/flex-video.html.erb +93 -0
  27. data/docs/components/forms.html.erb +468 -0
  28. data/docs/components/grid.html.erb +355 -0
  29. data/docs/components/inline-lists.html.erb +89 -0
  30. data/docs/components/joyride.html.erb +178 -0
  31. data/docs/components/keystrokes.html.erb +74 -0
  32. data/docs/components/labels.html.erb +98 -0
  33. data/docs/components/magellan.html.erb +84 -0
  34. data/docs/components/orbit.html.erb +262 -0
  35. data/docs/components/pagination.html.erb +181 -0
  36. data/docs/components/panels.html.erb +121 -0
  37. data/docs/components/pricing-tables.html.erb +154 -0
  38. data/docs/components/progress-bars.html.erb +120 -0
  39. data/docs/components/reveal.html.erb +147 -0
  40. data/docs/components/section.html.erb +156 -0
  41. data/docs/components/side-nav.html.erb +122 -0
  42. data/docs/components/split-buttons.html.erb +218 -0
  43. data/docs/components/sub-nav.html.erb +120 -0
  44. data/docs/components/switch.html.erb +288 -0
  45. data/docs/components/tables.html.erb +123 -0
  46. data/docs/components/thumbnails.html.erb +87 -0
  47. data/docs/components/tooltips.html.erb +73 -0
  48. data/docs/components/top-bar.html.erb +219 -0
  49. data/docs/components/type.html.erb +359 -0
  50. data/docs/components/visibility.html.erb +102 -0
  51. data/docs/config.ru +12 -0
  52. data/docs/config/deploy.rb +33 -0
  53. data/docs/controller.rb +43 -0
  54. data/docs/css/_coderay.scss +116 -0
  55. data/docs/css/_settings.scss +1 -0
  56. data/docs/css/docs.scss +174 -0
  57. data/docs/css/normalize.scss +396 -0
  58. data/docs/css/qunit-composite.css +13 -0
  59. data/docs/css/qunit.css +235 -0
  60. data/docs/faq.html.erb +61 -0
  61. data/docs/img/demos/demo1-th.png +0 -0
  62. data/docs/img/demos/demo1.png +0 -0
  63. data/docs/img/demos/demo2-th.png +0 -0
  64. data/docs/img/demos/demo2.png +0 -0
  65. data/docs/img/demos/demo3-th.png +0 -0
  66. data/docs/img/demos/demo3.png +0 -0
  67. data/docs/img/demos/demo4-th.png +0 -0
  68. data/docs/img/demos/demo4.png +0 -0
  69. data/docs/img/demos/demo5-th.png +0 -0
  70. data/docs/img/demos/demo5.png +0 -0
  71. data/docs/index.html.erb +299 -0
  72. data/docs/javascript.html.erb +133 -0
  73. data/docs/js/docs.js +3 -0
  74. data/docs/js/qunit-composite.js +105 -0
  75. data/docs/js/qunit.js +1977 -0
  76. data/docs/js/tests/tabs/simple_tabs.html +57 -0
  77. data/docs/js/tests/tabs/simple_tabs.js +54 -0
  78. data/docs/js/tests/tooltips/tooltips.html +39 -0
  79. data/docs/js/tests/tooltips/tooltips.js +11 -0
  80. data/docs/layout.html.erb +99 -0
  81. data/docs/rails.html.erb +66 -0
  82. data/docs/sass.html.erb +299 -0
  83. data/docs/support.html.erb +134 -0
  84. data/foundation.gemspec +2 -4
  85. data/index.html +3 -23
  86. data/js/foundation/foundation.alerts.js +50 -0
  87. data/js/foundation/foundation.clearing.js +478 -0
  88. data/{vendor/assets/javascripts/foundation/jquery.cookie.js → js/foundation/foundation.cookie.js} +3 -1
  89. data/js/foundation/foundation.dropdown.js +122 -0
  90. data/js/foundation/foundation.forms.js +403 -0
  91. data/js/foundation/foundation.joyride.js +613 -0
  92. data/js/foundation/foundation.js +331 -0
  93. data/js/foundation/foundation.magellan.js +130 -0
  94. data/js/foundation/foundation.orbit.js +355 -0
  95. data/{vendor/assets/javascripts/foundation/jquery.placeholder.js → js/foundation/foundation.placeholder.js} +4 -2
  96. data/js/foundation/foundation.reveal.js +264 -0
  97. data/js/foundation/foundation.section.js +180 -0
  98. data/js/foundation/foundation.tooltips.js +195 -0
  99. data/js/foundation/foundation.topbar.js +187 -0
  100. data/js/foundation/index.js +16 -0
  101. data/{vendor/assets/javascripts/foundation/modernizr.foundation.js → js/vendor/custom.modernizr.js} +0 -0
  102. data/js/vendor/jquery.js +9597 -0
  103. data/js/vendor/zepto.js +1782 -0
  104. data/lib/foundation/engine.rb +8 -1
  105. data/lib/foundation/generators/install_generator.rb +24 -1
  106. data/lib/foundation/generators/templates/application.html.erb +20 -6
  107. data/lib/foundation/generators/templates/application.html.haml +2 -6
  108. data/lib/foundation/generators/templates/application.html.slim +2 -5
  109. data/lib/foundation/version.rb +1 -1
  110. data/lib/zurb-foundation.rb +7 -9
  111. data/package.json +9 -0
  112. data/scss/foundation.scss +42 -15
  113. data/scss/foundation/_foundation-global.scss +226 -0
  114. data/scss/foundation/components/_alert-boxes.scss +106 -0
  115. data/scss/foundation/components/_block-grid.scss +63 -0
  116. data/scss/foundation/components/_breadcrumbs.scss +117 -0
  117. data/scss/foundation/components/_button-groups.scss +59 -0
  118. data/scss/foundation/components/_buttons.scss +217 -0
  119. data/scss/foundation/components/_clearing.scss +209 -0
  120. data/scss/foundation/components/_custom-forms.scss +232 -0
  121. data/scss/foundation/components/_dropdown-buttons.scss +114 -0
  122. data/scss/foundation/components/_dropdown.scss +137 -0
  123. data/scss/foundation/components/_flex-video.scss +45 -0
  124. data/scss/foundation/components/_forms.scss +309 -0
  125. data/scss/foundation/components/_grid.scss +149 -71
  126. data/scss/foundation/components/_inline-lists.scss +47 -0
  127. data/scss/foundation/components/_joyride.scss +193 -0
  128. data/scss/foundation/components/_keystrokes.scss +56 -0
  129. data/scss/foundation/components/_labels.scss +81 -0
  130. data/scss/foundation/components/_magellan.scss +15 -0
  131. data/scss/foundation/components/_orbit.scss +193 -0
  132. data/scss/foundation/components/_pagination.scss +99 -0
  133. data/scss/foundation/components/_panels.scss +76 -0
  134. data/scss/foundation/components/_pricing-tables.scss +130 -0
  135. data/scss/foundation/components/_progress-bars.scss +68 -0
  136. data/scss/foundation/components/_reveal.scss +131 -0
  137. data/scss/foundation/components/_section.scss +194 -0
  138. data/scss/foundation/components/_side-nav.scss +68 -0
  139. data/scss/foundation/components/_split-buttons.scss +159 -0
  140. data/scss/foundation/components/_sub-nav.scss +67 -0
  141. data/scss/foundation/components/_switch.scss +242 -0
  142. data/scss/foundation/components/_tables.scss +80 -0
  143. data/scss/foundation/components/_thumbs.scss +45 -0
  144. data/scss/foundation/components/_tooltips.scss +113 -0
  145. data/scss/foundation/components/_top-bar.scss +443 -0
  146. data/scss/foundation/components/_type.scss +411 -0
  147. data/scss/foundation/components/_visibility.scss +117 -0
  148. data/scss/normalize.scss +396 -0
  149. data/templates/project/config.rb +26 -0
  150. data/templates/project/index.html +28 -43
  151. data/templates/project/manifest.rb +21 -28
  152. data/templates/project/scss/_settings.scss +4 -243
  153. data/templates/project/scss/app.scss +37 -44
  154. data/templates/project/scss/normalize.scss +396 -0
  155. data/test/stylesheets/styles.css +955 -0
  156. metadata +144 -153
  157. data/config/deploy.rb +0 -42
  158. data/lib/foundation/generators/layout_generator.rb +0 -28
  159. data/scss/foundation/_settings.scss +0 -281
  160. data/scss/foundation/common/_base.scss +0 -4
  161. data/scss/foundation/common/_forms.scss +0 -117
  162. data/scss/foundation/common/_globals.scss +0 -35
  163. data/scss/foundation/common/_ratios.scss +0 -19
  164. data/scss/foundation/common/_typography.scss +0 -104
  165. data/scss/foundation/components/modules/_all.scss +0 -10
  166. data/scss/foundation/components/modules/_buttons.scss +0 -178
  167. data/scss/foundation/components/modules/_clearing.scss +0 -61
  168. data/scss/foundation/components/modules/_joyride.scss +0 -33
  169. data/scss/foundation/components/modules/_mqueries.scss +0 -458
  170. data/scss/foundation/components/modules/_navbar.scss +0 -74
  171. data/scss/foundation/components/modules/_offcanvas.scss +0 -55
  172. data/scss/foundation/components/modules/_orbit.scss +0 -90
  173. data/scss/foundation/components/modules/_reveal.scss +0 -34
  174. data/scss/foundation/components/modules/_tabs.scss +0 -67
  175. data/scss/foundation/components/modules/_topbar.scss +0 -167
  176. data/scss/foundation/components/modules/_ui.scss +0 -292
  177. data/scss/foundation/functions/_all.scss +0 -2
  178. data/scss/foundation/functions/_convert-number-to-word.scss +0 -10
  179. data/scss/foundation/functions/_grid-calc.scss +0 -5
  180. data/scss/foundation/functions/modular-scale.scss +0 -3
  181. data/scss/foundation/mixins/_all.scss +0 -5
  182. data/scss/foundation/mixins/_clearfix.scss +0 -13
  183. data/scss/foundation/mixins/_css-triangle.scss +0 -22
  184. data/scss/foundation/mixins/_font-size.scss +0 -13
  185. data/scss/foundation/mixins/_respond-to.scss +0 -11
  186. data/scss/foundation/mixins/_semantic-grid.scss +0 -66
  187. data/test/buttons.html +0 -189
  188. data/test/clearing.html +0 -85
  189. data/test/config.rb +0 -11
  190. data/test/elements.html +0 -490
  191. data/test/forms.html +0 -371
  192. data/test/grid.html +0 -543
  193. data/test/images/orbit-demo/demo1.jpeg +0 -0
  194. data/test/images/orbit-demo/demo2.jpeg +0 -0
  195. data/test/images/orbit-demo/demo3.jpeg +0 -0
  196. data/test/images/orbit-demo/slider-background.jpeg +0 -0
  197. data/test/index.html +0 -83
  198. data/test/joyride.html +0 -127
  199. data/test/magellan.html +0 -112
  200. data/test/navigation.html +0 -269
  201. data/test/orbit.html +0 -112
  202. data/test/reveal.html +0 -91
  203. data/test/scss/_settings.scss +0 -245
  204. data/test/scss/styles.scss +0 -50
  205. data/test/tabs.html +0 -197
  206. data/test/template.html +0 -52
  207. data/test/topbar-login.html +0 -194
  208. data/test/topbar.html +0 -139
  209. data/test/type.html +0 -188
  210. data/vendor/assets/images/foundation/orbit/bullets.jpg +0 -0
  211. data/vendor/assets/images/foundation/orbit/left-arrow-small.png +0 -0
  212. data/vendor/assets/images/foundation/orbit/left-arrow.png +0 -0
  213. data/vendor/assets/images/foundation/orbit/loading.gif +0 -0
  214. data/vendor/assets/images/foundation/orbit/mask-black.png +0 -0
  215. data/vendor/assets/images/foundation/orbit/pause-black.png +0 -0
  216. data/vendor/assets/images/foundation/orbit/right-arrow-small.png +0 -0
  217. data/vendor/assets/images/foundation/orbit/right-arrow.png +0 -0
  218. data/vendor/assets/images/foundation/orbit/rotator-black.png +0 -0
  219. data/vendor/assets/images/foundation/orbit/timer-black.png +0 -0
  220. data/vendor/assets/javascripts/foundation/app.js +0 -41
  221. data/vendor/assets/javascripts/foundation/index.js +0 -19
  222. data/vendor/assets/javascripts/foundation/jquery.event.move.js +0 -580
  223. data/vendor/assets/javascripts/foundation/jquery.event.swipe.js +0 -130
  224. data/vendor/assets/javascripts/foundation/jquery.foundation.accordion.js +0 -47
  225. data/vendor/assets/javascripts/foundation/jquery.foundation.alerts.js +0 -20
  226. data/vendor/assets/javascripts/foundation/jquery.foundation.buttons.js +0 -83
  227. data/vendor/assets/javascripts/foundation/jquery.foundation.clearing.js +0 -413
  228. data/vendor/assets/javascripts/foundation/jquery.foundation.forms.js +0 -502
  229. data/vendor/assets/javascripts/foundation/jquery.foundation.joyride.js +0 -639
  230. data/vendor/assets/javascripts/foundation/jquery.foundation.magellan.js +0 -96
  231. data/vendor/assets/javascripts/foundation/jquery.foundation.mediaQueryToggle.js +0 -27
  232. data/vendor/assets/javascripts/foundation/jquery.foundation.navigation.js +0 -55
  233. data/vendor/assets/javascripts/foundation/jquery.foundation.orbit.js +0 -919
  234. data/vendor/assets/javascripts/foundation/jquery.foundation.reveal.js +0 -794
  235. data/vendor/assets/javascripts/foundation/jquery.foundation.tabs.js +0 -66
  236. data/vendor/assets/javascripts/foundation/jquery.foundation.tooltips.js +0 -211
  237. data/vendor/assets/javascripts/foundation/jquery.foundation.topbar.js +0 -174
  238. data/vendor/assets/javascripts/foundation/jquery.js +0 -9555
  239. data/vendor/assets/javascripts/foundation/jquery.offcanvas.js +0 -50
@@ -0,0 +1,12 @@
1
+ require 'sprockets'
2
+ require 'sass'
3
+
4
+ map '/assets' do
5
+ environment = Sprockets::Environment.new
6
+ environment.append_path File.expand_path('../../scss', __FILE__)
7
+ environment.append_path File.expand_path('../css', __FILE__)
8
+ environment.append_path File.expand_path('../../test/js', __FILE__)
9
+ environment.append_path File.expand_path('../../js', __FILE__)
10
+ environment.append_path File.expand_path('../js', __FILE__)
11
+ run environment
12
+ end
@@ -0,0 +1,33 @@
1
+ # use local key for authentication
2
+ ssh_options[:forward_agent] = true
3
+ default_run_options[:pty] = true
4
+
5
+ set :application, "foundation"
6
+ set :repository, "git@github.com:zurb/#{application}.git"
7
+ set :user, application
8
+ set :deploy_to, "/var/www/foundation-docs"
9
+ set :deploy_via, :remote_cache
10
+ set :use_sudo, false
11
+ set :branch, "4.0-wip"
12
+ set :bundle_gemfile, "docs/Gemfile"
13
+
14
+ set :scm, :git
15
+
16
+ server 'foundation.zurb.com', :web
17
+
18
+ after "deploy:update_code", "deploy:generate_static_site"
19
+ set :keep_releases, 3
20
+ after "deploy:update", "deploy:cleanup"
21
+
22
+ namespace :deploy do
23
+ task :default do
24
+ update
25
+ end
26
+
27
+ task :generate_static_site do
28
+ run "cd #{release_path}/docs && bundle exec ruby #{release_path}/docs/compile.rb"
29
+ end
30
+
31
+ end
32
+
33
+ require "bundler/capistrano"
@@ -0,0 +1,43 @@
1
+ require 'socket'
2
+ layout 'layout.html.erb'
3
+
4
+ ignore /css\//
5
+ ignore /js\//
6
+ ignore /.+.md/
7
+ ignore /Gemfile.*/
8
+ ignore /Procfile/
9
+ ignore /compile.rb/
10
+
11
+ helpers do
12
+ def asset_path
13
+ if Socket.gethostname == "foundation"
14
+ "http://foundation4.zurb.com/docs/assets"
15
+ else
16
+ "http://#{Socket.ip_address_list.detect{|intf| intf.ipv4_private?}.getnameinfo[0]}:4001/assets"
17
+ end
18
+ end
19
+
20
+ def code_example(code, lang=:ruby)
21
+ "<div class='#{lang}'>" + CodeRay.scan(code, lang).div(:css => :class) + "</div>"
22
+ end
23
+
24
+ def foundation_home_path
25
+ '/'
26
+ end
27
+
28
+ def features_path
29
+ '/grid.php'
30
+ end
31
+
32
+ def add_ons_path
33
+ '/templates.php'
34
+ end
35
+
36
+ def case_studies_path
37
+ '/case-jacquelinewest.php'
38
+ end
39
+
40
+ def docs_path
41
+ '/docs/'
42
+ end
43
+ end
@@ -0,0 +1,116 @@
1
+
2
+ /* CodeRay Syntax Highlighting Styles to match Github */
3
+ .CodeRay {
4
+ background-color: #eee;
5
+ border: 1px solid #CCC;
6
+ font-family: 'Consolas', 'Liberation Mono', Courier, monospace;
7
+ color: #000;
8
+ padding: .8em 0 .8em .8em;
9
+ margin-bottom: 1.3em;
10
+ overflow: auto;
11
+ }
12
+
13
+ .CodeRay pre {
14
+ margin: 0px;
15
+ font-size: .9em;
16
+ line-height: 1.4em;
17
+ white-space: pre;
18
+ }
19
+
20
+ table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px }
21
+ table.CodeRay td {
22
+ padding: 1em 0.5em;
23
+ vertical-align: top;
24
+ }
25
+
26
+ .CodeRay .code { width: 100% }
27
+
28
+ .CodeRay .debug { color:white !important; background:blue !important; }
29
+
30
+ .CodeRay .annotation { color:#007 }
31
+ .CodeRay .attribute-name { color:#f08 }
32
+ .CodeRay .attribute-value { color:#700 }
33
+ .CodeRay .binary { color:#509; }
34
+ .CodeRay .comment { color:#998; font-style: italic;}
35
+ .CodeRay .char { color:#04D }
36
+ .CodeRay .char .content { color:#04D }
37
+ .CodeRay .char .delimiter { color:#039 }
38
+ .CodeRay .class { color:#458; }
39
+ .CodeRay .complex { color:#A08; }
40
+ .CodeRay .constant { color:teal; }
41
+ .CodeRay .color { color:#0A0 }
42
+ .CodeRay .class-variable { color:#369 }
43
+ .CodeRay .decorator { color:#B0B; }
44
+ .CodeRay .definition { color:#099; }
45
+ .CodeRay .directive { color:#088; }
46
+ .CodeRay .delimiter { color:black }
47
+ .CodeRay .doc { color:#970 }
48
+ .CodeRay .doctype { color:#34b }
49
+ .CodeRay .doc-string { color:#D42; }
50
+ .CodeRay .escape { color:#666; }
51
+ .CodeRay .entity { color:#800; }
52
+ .CodeRay .error { color: #808; }
53
+ .CodeRay .exception { color:#C00; }
54
+ .CodeRay .filename { color:#099; }
55
+ .CodeRay .function { color:#900; }
56
+ .CodeRay .global-variable { color:teal; }
57
+ .CodeRay .hex { color:#058; }
58
+ .CodeRay .integer { color:#099; }
59
+ .CodeRay .include { color:#B44; }
60
+ .CodeRay .inline { color: black }
61
+ .CodeRay .inline .inline { background: #ccc }
62
+ .CodeRay .inline .inline .inline { background: #bbb }
63
+ .CodeRay .inline .inline-delimiter { color: #D14; }
64
+ .CodeRay .inline-delimiter { color: #D14; }
65
+ .CodeRay .important { color:#f00; }
66
+ .CodeRay .interpreted { color:#B2B; }
67
+ .CodeRay .instance-variable { color:teal }
68
+ .CodeRay .label { color:#970; }
69
+ .CodeRay .local-variable { color:#963 }
70
+ .CodeRay .octal { color:#40E; }
71
+ .CodeRay .predefined { color:#369; }
72
+ .CodeRay .preprocessor { color:#579; }
73
+ .CodeRay .pseudo-class { color:#00C; }
74
+ .CodeRay .predefined-type { color:#074; }
75
+ .CodeRay .reserved, .keyword { color:#000; }
76
+
77
+ .CodeRay .key { color: #808; }
78
+ .CodeRay .key .delimiter { color: #606; }
79
+ .CodeRay .key .char { color: #80f; }
80
+ .CodeRay .value { color: #088; }
81
+
82
+ .CodeRay .regexp { background-color:#fff0ff }
83
+ .CodeRay .regexp .content { color:#808 }
84
+ .CodeRay .regexp .delimiter { color:#404 }
85
+ .CodeRay .regexp .modifier { color:#C2C }
86
+ .CodeRay .regexp .function { color:#404; font-weight: bold }
87
+
88
+ .CodeRay .string { color: #D20; }
89
+ .CodeRay .string .string { }
90
+ .CodeRay .string .string .string { background-color:#ffd0d0 }
91
+ .CodeRay .string .content { color: #D14; }
92
+ .CodeRay .string .char { color: #D14; }
93
+ .CodeRay .string .delimiter { color: #D14; }
94
+
95
+ .CodeRay .shell { color:#D14 }
96
+ .CodeRay .shell .content { }
97
+ .CodeRay .shell .delimiter { color:#D14 }
98
+
99
+ .CodeRay .symbol { color:#990073 }
100
+ .CodeRay .symbol .content { color:#A60 }
101
+ .CodeRay .symbol .delimiter { color:#630 }
102
+
103
+ .CodeRay .tag, .CodeRay .attribute-name { color:#070 }
104
+ .CodeRay .tag-special { color:#D70; }
105
+ .CodeRay .type { color:#339; }
106
+ .CodeRay .variable { color:#036 }
107
+
108
+ .CodeRay .insert { background: #afa; }
109
+ .CodeRay .delete { background: #faa; }
110
+ .CodeRay .change { color: #aaf; background: #007; }
111
+ .CodeRay .head { color: #f8f; background: #505 }
112
+
113
+ .CodeRay .insert .insert { color: #080; }
114
+ .CodeRay .delete .delete { color: #800; }
115
+ .CodeRay .change .change { color: #66f; }
116
+ .CodeRay .head .head { color: #f4f; }
@@ -0,0 +1 @@
1
+ $row-width: 70em;
@@ -0,0 +1,174 @@
1
+ @import "settings";
2
+ @import "foundation";
3
+ @import "coderay";
4
+
5
+ /* Documentation Overrides */
6
+
7
+ /* Coderay styles */
8
+ .html, .css, .scss, .js { position: relative; }
9
+
10
+ .CodeRay:before {
11
+ position: absolute;
12
+ top: 6px;
13
+ right: 6px;
14
+ display: block;
15
+ color: #ccc;
16
+ font-size: .75em;
17
+ }
18
+ .html > .CodeRay:before { content: "HTML"; }
19
+ .css > .CodeRay:before { content: "SCSS"; }
20
+ .js > .CodeRay:before { content: "JS"; }
21
+
22
+
23
+ /* Docs Footer Styles */
24
+ .row.full-width {
25
+ max-width: 100%;
26
+ }
27
+ footer.row.full-width {
28
+ padding-top: 30px;
29
+ border-top: solid 1px #ddd;
30
+ font-size: 14px;
31
+ }
32
+
33
+ #copyright {
34
+ background: #3f3f3f;
35
+ color: #fff;
36
+ padding: 11px 0;
37
+ margin-top: 30px;
38
+
39
+ a {
40
+ color: #fff;
41
+ font-size: 14px;
42
+ }
43
+
44
+ p,
45
+ ul { margin-bottom: 0; }
46
+ }
47
+
48
+
49
+
50
+ /* Alert Docs */
51
+ .alert-base {
52
+ @include alert-base;
53
+
54
+ &.bg { @include alert-style; }
55
+ &.custom-bg { @include alert-style(#ff6c3c); }
56
+ &.radius { @include radius; }
57
+ .close { @include alert-close; }
58
+ }
59
+
60
+ /* Breadcrumb Docs */
61
+ .crumb-container {
62
+ @include crumb-container;
63
+ &.radius { @include radius; }
64
+ &.crumbs li { @include crumbs; }
65
+ }
66
+
67
+ /* Button Docs */
68
+ .buttony.custom { @include button(1.1em, #FF94CB, 20px); }
69
+
70
+ .button-base {
71
+ @include button-base;
72
+ &.size { @include button-size; }
73
+ &.style { @include button-style; }
74
+ &.shine { @include single-transition(background-color); @include radius; @include inset-shadow(); }
75
+ }
76
+
77
+ /* Button Group Docs */
78
+ .button-group-docs {
79
+ @include button-group-container;
80
+ .button-class { @include button; }
81
+ &.list li { @include button-group-style; }
82
+ &.extras {
83
+ li { @include button-group-style(true); }
84
+ .button-class { @include inset-shadow; @include single-transition(background-color); }
85
+ }
86
+ }
87
+
88
+ /* Clearing Docs */
89
+ .clearing-thumbs { list-style: none;
90
+ li { float: left; margin-right: 10px; }
91
+ }
92
+
93
+ /* Forms Docs */
94
+ .attached-label {
95
+ @include prefix-postfix-base;
96
+ @include grid-column($columns:3,$float:left);
97
+ &.style { @include prefix; }
98
+ &.custom { @include prefix(orange); }
99
+ }
100
+
101
+ input[type="text"].attached-input {
102
+ @include grid-column($columns:9);
103
+ }
104
+
105
+ /* Dropdown Buttons Docs */
106
+ .customized-dropdown-docs {
107
+ @include button;
108
+ @include dropdown-button;
109
+ @include radius;
110
+ @include single-transition;
111
+ @include inset-shadow;
112
+ }
113
+
114
+ /* Keystroke Docs */
115
+ .custom-keystroke kbd { @include keystroke(orange);}
116
+
117
+ /* Label Docs */
118
+ .label-custom {
119
+ @include label(0 10px,11px,pink,6px);
120
+ }
121
+
122
+ /* Panels Docs */
123
+ .panel-custom { @include panel(pink,40px); }
124
+
125
+ /* Progress Bar Docs */
126
+ .progress-custom {
127
+ @include progress-container;
128
+ @include radius(6px);
129
+ & > span {
130
+ @include progress-meter(pink);
131
+ @include radius(5px);
132
+ }
133
+ }
134
+
135
+ /* Side Nav Docs */
136
+ .side-nav-custom { @include side-nav(darken(orange, 20%),16px,orange); }
137
+
138
+ /* Sub Nav Docs */
139
+ .sub-nav-custom { @include sub-nav(orange,11px,orange); }
140
+
141
+ /* Thumbs Docs */
142
+ .th-custom {
143
+ @include thumb(10px,0 0 0 2px black, 0 0 10px 2px rgba(orange,0.5));
144
+ @include radius(6);
145
+ @include single-transition(all,400ms,ease-in);
146
+ }
147
+
148
+ /* Grid Docs */
149
+ #masthead { @include grid-row; @include panel;
150
+ & > hgroup { @include grid-column(4, $float:left); }
151
+ & > section { @include grid-column(8, $float:left); }
152
+ }
153
+
154
+ /* Switch Docs */
155
+ .switch-custom { @include switch(700ms, ease-in-out, 50px, 18px, 2.6em, #888, lighten(yellow, 30%), lighten(red, 40%)); }
156
+ .switch-custom-base { @include switch-base;
157
+ &.size { @include switch-size; }
158
+ &.style { @include switch-style; }
159
+ }
160
+
161
+ /* ZURBjobs */
162
+ .jobs {
163
+ border: 1px solid #eee;
164
+ padding: 10px 20px 20px;
165
+ font-size: 14px;
166
+ line-height: 1.1;
167
+ ul { list-style: none;
168
+ li { margin-bottom: 10px; }
169
+ }
170
+ .location {
171
+ display: block;
172
+ color: #555;
173
+ }
174
+ }
@@ -0,0 +1,396 @@
1
+ /*! normalize.css v2.1.0 | MIT License | git.io/normalize */
2
+
3
+ /* ==========================================================================
4
+ HTML5 display definitions
5
+ ========================================================================== */
6
+
7
+ /**
8
+ * Correct `block` display not defined in IE 8/9.
9
+ */
10
+
11
+ article,
12
+ aside,
13
+ details,
14
+ figcaption,
15
+ figure,
16
+ footer,
17
+ header,
18
+ hgroup,
19
+ main,
20
+ nav,
21
+ section,
22
+ summary {
23
+ display: block;
24
+ }
25
+
26
+ /**
27
+ * Correct `inline-block` display not defined in IE 8/9.
28
+ */
29
+
30
+ audio,
31
+ canvas,
32
+ video {
33
+ display: inline-block;
34
+ }
35
+
36
+ /**
37
+ * Prevent modern browsers from displaying `audio` without controls.
38
+ * Remove excess height in iOS 5 devices.
39
+ */
40
+
41
+ audio:not([controls]) {
42
+ display: none;
43
+ height: 0;
44
+ }
45
+
46
+ /**
47
+ * Address styling not present in IE 8/9.
48
+ */
49
+
50
+ [hidden] {
51
+ display: none;
52
+ }
53
+
54
+ /* ==========================================================================
55
+ Base
56
+ ========================================================================== */
57
+
58
+ /**
59
+ * 1. Set default font family to sans-serif.
60
+ * 2. Prevent iOS text size adjust after orientation change, without disabling
61
+ * user zoom.
62
+ */
63
+
64
+ html {
65
+ font-family: sans-serif; /* 1 */
66
+ -webkit-text-size-adjust: 100%; /* 2 */
67
+ -ms-text-size-adjust: 100%; /* 2 */
68
+ }
69
+
70
+ /**
71
+ * Remove default margin.
72
+ */
73
+
74
+ body {
75
+ margin: 0;
76
+ }
77
+
78
+ /* ==========================================================================
79
+ Links
80
+ ========================================================================== */
81
+
82
+ /**
83
+ * Address `outline` inconsistency between Chrome and other browsers.
84
+ */
85
+
86
+ a:focus {
87
+ outline: thin dotted;
88
+ }
89
+
90
+ /**
91
+ * Improve readability when focused and also mouse hovered in all browsers.
92
+ */
93
+
94
+ a:active,
95
+ a:hover {
96
+ outline: 0;
97
+ }
98
+
99
+ /* ==========================================================================
100
+ Typography
101
+ ========================================================================== */
102
+
103
+ /**
104
+ * Address variable `h1` font-size and margin within `section` and `article`
105
+ * contexts in Firefox 4+, Safari 5, and Chrome.
106
+ */
107
+
108
+ h1 {
109
+ font-size: 2em;
110
+ margin: 0.67em 0;
111
+ }
112
+
113
+ /**
114
+ * Address styling not present in IE 8/9, Safari 5, and Chrome.
115
+ */
116
+
117
+ abbr[title] {
118
+ border-bottom: 1px dotted;
119
+ }
120
+
121
+ /**
122
+ * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
123
+ */
124
+
125
+ b,
126
+ strong {
127
+ font-weight: bold;
128
+ }
129
+
130
+ /**
131
+ * Address styling not present in Safari 5 and Chrome.
132
+ */
133
+
134
+ dfn {
135
+ font-style: italic;
136
+ }
137
+
138
+ /**
139
+ * Address differences between Firefox and other browsers.
140
+ */
141
+
142
+ hr {
143
+ -moz-box-sizing: content-box;
144
+ box-sizing: content-box;
145
+ height: 0;
146
+ }
147
+
148
+ /**
149
+ * Address styling not present in IE 8/9.
150
+ */
151
+
152
+ mark {
153
+ background: #ff0;
154
+ color: #000;
155
+ }
156
+
157
+ /**
158
+ * Correct font family set oddly in Safari 5 and Chrome.
159
+ */
160
+
161
+ code,
162
+ kbd,
163
+ pre,
164
+ samp {
165
+ font-family: monospace, serif;
166
+ font-size: 1em;
167
+ }
168
+
169
+ /**
170
+ * Improve readability of pre-formatted text in all browsers.
171
+ */
172
+
173
+ pre {
174
+ white-space: pre-wrap;
175
+ }
176
+
177
+ /**
178
+ * Set consistent quote types.
179
+ */
180
+
181
+ q {
182
+ quotes: "\201C" "\201D" "\2018" "\2019";
183
+ }
184
+
185
+ /**
186
+ * Address inconsistent and variable font size in all browsers.
187
+ */
188
+
189
+ small {
190
+ font-size: 80%;
191
+ }
192
+
193
+ /**
194
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
195
+ */
196
+
197
+ sub,
198
+ sup {
199
+ font-size: 75%;
200
+ line-height: 0;
201
+ position: relative;
202
+ vertical-align: baseline;
203
+ }
204
+
205
+ sup {
206
+ top: -0.5em;
207
+ }
208
+
209
+ sub {
210
+ bottom: -0.25em;
211
+ }
212
+
213
+ /* ==========================================================================
214
+ Embedded content
215
+ ========================================================================== */
216
+
217
+ /**
218
+ * Remove border when inside `a` element in IE 8/9.
219
+ */
220
+
221
+ img {
222
+ border: 0;
223
+ }
224
+
225
+ /**
226
+ * Correct overflow displayed oddly in IE 9.
227
+ */
228
+
229
+ svg:not(:root) {
230
+ overflow: hidden;
231
+ }
232
+
233
+ /* ==========================================================================
234
+ Figures
235
+ ========================================================================== */
236
+
237
+ /**
238
+ * Address margin not present in IE 8/9 and Safari 5.
239
+ */
240
+
241
+ figure {
242
+ margin: 0;
243
+ }
244
+
245
+ /* ==========================================================================
246
+ Forms
247
+ ========================================================================== */
248
+
249
+ /**
250
+ * Define consistent border, margin, and padding.
251
+ */
252
+
253
+ fieldset {
254
+ border: 1px solid #c0c0c0;
255
+ margin: 0 2px;
256
+ padding: 0.35em 0.625em 0.75em;
257
+ }
258
+
259
+ /**
260
+ * 1. Correct `color` not being inherited in IE 8/9.
261
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
262
+ */
263
+
264
+ legend {
265
+ border: 0; /* 1 */
266
+ padding: 0; /* 2 */
267
+ }
268
+
269
+ /**
270
+ * 1. Correct font family not being inherited in all browsers.
271
+ * 2. Correct font size not being inherited in all browsers.
272
+ * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
273
+ */
274
+
275
+ button,
276
+ input,
277
+ select,
278
+ textarea {
279
+ font-family: inherit; /* 1 */
280
+ font-size: 100%; /* 2 */
281
+ margin: 0; /* 3 */
282
+ }
283
+
284
+ /**
285
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
286
+ * the UA stylesheet.
287
+ */
288
+
289
+ button,
290
+ input {
291
+ line-height: normal;
292
+ }
293
+
294
+ /**
295
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
296
+ * All other form control elements do not inherit `text-transform` values.
297
+ * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
298
+ * Correct `select` style inheritance in Firefox 4+ and Opera.
299
+ */
300
+
301
+ button,
302
+ select {
303
+ text-transform: none;
304
+ }
305
+
306
+ /**
307
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
308
+ * and `video` controls.
309
+ * 2. Correct inability to style clickable `input` types in iOS.
310
+ * 3. Improve usability and consistency of cursor style between image-type
311
+ * `input` and others.
312
+ */
313
+
314
+ button,
315
+ html input[type="button"], /* 1 */
316
+ input[type="reset"],
317
+ input[type="submit"] {
318
+ -webkit-appearance: button; /* 2 */
319
+ cursor: pointer; /* 3 */
320
+ }
321
+
322
+ /**
323
+ * Re-set default cursor for disabled elements.
324
+ */
325
+
326
+ button[disabled],
327
+ html input[disabled] {
328
+ cursor: default;
329
+ }
330
+
331
+ /**
332
+ * 1. Address box sizing set to `content-box` in IE 8/9.
333
+ * 2. Remove excess padding in IE 8/9.
334
+ */
335
+
336
+ input[type="checkbox"],
337
+ input[type="radio"] {
338
+ box-sizing: border-box; /* 1 */
339
+ padding: 0; /* 2 */
340
+ }
341
+
342
+ /**
343
+ * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
344
+ * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
345
+ * (include `-moz` to future-proof).
346
+ */
347
+
348
+ input[type="search"] {
349
+ -webkit-appearance: textfield; /* 1 */
350
+ -moz-box-sizing: content-box;
351
+ -webkit-box-sizing: content-box; /* 2 */
352
+ box-sizing: content-box;
353
+ }
354
+
355
+ /**
356
+ * Remove inner padding and search cancel button in Safari 5 and Chrome
357
+ * on OS X.
358
+ */
359
+
360
+ input[type="search"]::-webkit-search-cancel-button,
361
+ input[type="search"]::-webkit-search-decoration {
362
+ -webkit-appearance: none;
363
+ }
364
+
365
+ /**
366
+ * Remove inner padding and border in Firefox 4+.
367
+ */
368
+
369
+ button::-moz-focus-inner,
370
+ input::-moz-focus-inner {
371
+ border: 0;
372
+ padding: 0;
373
+ }
374
+
375
+ /**
376
+ * 1. Remove default vertical scrollbar in IE 8/9.
377
+ * 2. Improve readability and alignment in all browsers.
378
+ */
379
+
380
+ textarea {
381
+ overflow: auto; /* 1 */
382
+ vertical-align: top; /* 2 */
383
+ }
384
+
385
+ /* ==========================================================================
386
+ Tables
387
+ ========================================================================== */
388
+
389
+ /**
390
+ * Remove most spacing between table cells.
391
+ */
392
+
393
+ table {
394
+ border-collapse: collapse;
395
+ border-spacing: 0;
396
+ }