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
@@ -1,74 +0,0 @@
1
- .nav-bar { height: $navBarHeight; background: lighten($black, 30%); margin-left: 0; margin-top: $navBarHeight / 2; padding: 0;
2
-
3
- &>li { float: $defaultFloat; display: block; position: relative; padding: 0; margin: 0; border: 1px solid lighten($black, 20%); border-#{$defaultOpposite}: none; line-height: $navBarHeight - 2; @include box-shadow(1px 0 0 fade-out($shinyEdge, .3) inset);
4
-
5
- &:first-child { @include box-shadow(0 0 0); }
6
- &:last-child { border-#{$defaultOpposite}: solid 1px lighten($black, 20%); @include box-shadow(1px 0 0 fade-out($shinyEdge, .3) inset, 1px 0 0 fade-out($shinyEdge, .3)); }
7
-
8
- &.active { background: $mainColor; border-color: darken($mainColor, 10%);
9
- &>a { color: $white; cursor: default; }
10
- &:hover { background: $mainColor; cursor: default; }
11
- }
12
- &:hover { background: lighten($black, 20%); }
13
-
14
- &>a { color: darken($white, 10%); }
15
- ul { margin-bottom: 0; }
16
- .flyout { display: none; }
17
-
18
- &.has-flyout {
19
- &>a:first-child { padding-#{$defaultOpposite}: $navBarHeight; position: relative;
20
- &:after { @include cssTriangle(4px, darken($white, 10%), top); position: absolute; #{$defaultOpposite}: $navBarHeight / 2; top: ($navBarHeight / 2) - 3; }
21
- }
22
- &>a.flyout-toggle { border-#{$defaultFloat}: 0 !important; position: absolute; #{$defaultOpposite}: 0; top: 0; padding: ($navBarHeight / 2); z-index: 2; display: block; }
23
- &.is-touch {
24
- &>a:first-child { padding-#{$defaultOpposite}: 55px;}
25
- &>a.flyout-toggle { border-#{$defaultFloat}: 1px dashed #666; }
26
- }
27
- }
28
- }
29
-
30
- &>li>a:first-child { position: relative; padding: 0 ($navBarHeight / 2); display: block; text-decoration: none; font-size: ms(0); }
31
- &>li>input { margin: 0 10px; }
32
-
33
- &.vertical { height: auto; margin-top: 0;
34
-
35
- &>li { float: none; border-bottom: none; border-#{$defaultOpposite}: solid 1px lighten($black, 20%); @include box-shadow(none);
36
-
37
- &.has-flyout>a:first-child:after { @include cssTriangle(4px, darken($white, 10%), $defaultFloat); }
38
- .flyout { #{$defaultFloat}: 100%; top: -1px;
39
- &.right { #{$defaultFloat}: auto; #{$defaultOpposite}: 100%; }
40
- }
41
- &.active { border-#{$defaultOpposite}: solid 1px darken($mainColor, 10%); }
42
- &:last-child { border-bottom: solid 1px lighten($black, 20%);}
43
- }
44
- }
45
-
46
- }
47
-
48
- .flyout { background: darken($white, 5%); padding: $navBarHeight / 2; margin: 0; border: 1px solid darken($white, 15%); position: absolute; top: $navBarHeight - 1; #{$defaultFloat}: -1px; width: $navFlyoutBaseWidth; z-index: 40; @include box-shadow(0 1px 5px rgba(#000, .1));
49
-
50
- p { line-height: 1.2; font-size: ms(0) - 1; }
51
- *:first-child { margin-top: 0; } /* remove margin on any first-child element */
52
- *:last-child { margin-bottom: 0; } /* remove margin on last element */
53
-
54
- &.small { width: $navFlyoutBaseWidth / 1.5; }
55
- &.large { width: $navFlyoutBaseWidth * 1.75; }
56
-
57
- &.right { left: auto; right: -2px; }
58
- &.left { right: auto; left: -2px; }
59
- &.up { top: auto; bottom: $navBarHeight - 1; }
60
-
61
- }
62
-
63
- ul.flyout, .nav-bar li ul { padding: 0; list-style: none;
64
-
65
- li { border-#{$defaultFloat}: solid 3px #CCC;
66
- a { background: darken($white, 5%); border: 1px solid darken($white, 10%); border-width: 1px 1px 0 0; color: #555; display: block; font-size: ms(0); height: auto; line-height: 1; padding: (($navBarHeight / 2) - 5) ($navBarHeight / 2); @include box-shadow(0 1px 0 $shinyEdge inset);
67
- &:hover, &:focus { background: darken($white, 8%); color: #333; }
68
- }
69
- &.active { margin-top: 0; border-top: 1px solid lighten($black, 30%); border-#{$defaultFloat}: 4px solid lighten($black, 10%);
70
- a { background: lighten($black, 30%); border: none; color: #fff; height: auto; margin: 0; position: static; top: 0; @include box-shadow(0 0 0); }
71
- }
72
- }
73
-
74
- }
@@ -1,55 +0,0 @@
1
- /* Off canvas layout CSS/JS provided by or adapted from work by Jason Weaver and Luke Wroblewski
2
- Requires
3
- globals.css
4
- grid.css */
5
-
6
- body.off-canvas { padding: 0; margin: 0; }
7
-
8
- .container { width: 100%; }
9
- .row { overflow: hidden; }
10
- .row .row { overflow: visible; }
11
-
12
- .paneled .container { overflow: hidden; }
13
- .paneled .row { width: 100%; }
14
-
15
- [role="main"]:before { content: " "; position: absolute; z-index: -1; top: 0; left: -100%; width: 100%; height: 100%; }
16
-
17
- [role="complementary"],
18
- [role="main"] { width: 100%; padding: 0 15px; display: block; position: relative; z-index: 1; @include transition(.25s all ease-in); }
19
-
20
- .paneled [role="main"] { padding: 0; }
21
- .page-panel { width: 100%; padding: 0 15px; @include transition(.3s margin ease-in-out); background: #fff; }
22
- #switchPanels { margin: 0 -15px; }
23
-
24
- .hide-extras [role="complementary"] { display: block; }
25
-
26
- [role="navigation"]#topMenu { @include transition(.25s all ease-in); }
27
- [role="navigation"]#topMenu ul { margin-top: 0; }
28
-
29
- [role="complementary"] { margin-left: -100%; width: 80%; float: left; z-index: 2; }
30
- [role="main"] { margin-left: 0; float: right; z-index: 1; position: relative; }
31
-
32
- .paneled [role="main"] { background: #fff; width: 500%; overflow: hidden; float: none; position: relative; left: 0; @include transition(.15s all ease-in); }
33
- .page-panel { min-height: 400px; float: left; margin: 0; width: 20%; }
34
-
35
-
36
- .active [role="complementary"] { margin-left: 0; }
37
- .active [role="main"] { margin-right: -80%; }
38
-
39
- .active-menu [role="navigation"]#topMenu { margin-top: 0 !important; }
40
-
41
- @media all and (min-width: 768px) {
42
-
43
- menu-button, .sidebar-button { display: none; }
44
- [role="complementary"] { width: $complementaryWidth; margin-left: 0; float: left; padding: 0 15px; }
45
- [role="main"] { width: $mainWidth; padding: 0 15px; }
46
-
47
- .paneled [role="main"] { width: 100%; padding: 0; background: #f4f4f4; left: 0 !important; }
48
- .page-panel { display: block; min-height: 800px; float: none; margin: 0; width: 100%; background: #f4f4f4; }
49
-
50
- .hide-extras [role="main"] { width: 100%; }
51
- .hide-extras [role="complementary"] { display: none; }
52
-
53
- [role="navigation"]#topMenu { display: none; }
54
-
55
- }
@@ -1,90 +0,0 @@
1
- /* CSS for jQuery Orbit Plugin 1.4.0
2
- * Maintained for Foundation. foundation.zurb.com
3
- * Free to use under the MIT license.
4
- * http://www.opensource.org/licenses/mit-license.php
5
- */
6
-
7
- /* Container ---------------------- */
8
-
9
- .orbit-wrapper { width: 1px; height: 1px; position: relative; }
10
-
11
- .orbit { width: 1px; height: 1px; position: relative; overflow: hidden; margin-bottom: ms(1);
12
-
13
- &.with-bullets { margin-bottom: 40px; }
14
-
15
- .orbit-slide { max-width: 100%; position: absolute; top: 0; #{$defaultFloat}: 0; }
16
- a.orbit-slide { border: none; line-height: 0; display: none; }
17
- div.orbit-slide { width: 100%; height: 100%; @include opacity(0); }
18
- }
19
-
20
- /* Note: If your slider only uses content or anchors, you're going to want to put the width and height declarations on the ".orbit>div" and "div.orbit>a" tags in addition to just the .orbit-wrapper */
21
-
22
- /* Timer ---------------------- */
23
-
24
- .orbit-wrapper {
25
- .timer { width: 40px; height: 40px; overflow: hidden; position: absolute; top: 10px; #{$defaultOpposite}: 10px; opacity: .6; cursor: pointer; z-index: 31; }
26
- span.rotator { display: block; width: 40px; height: 40px; position: absolute; top: 0; #{$defaultFloat}: -20px; background: image-url("foundation/orbit/rotator-black.png") no-repeat; z-index: 3;
27
- &.move { #{$defaultFloat}: 0 }
28
- }
29
- span.mask { display: block; width: 20px; height: 40px; position: absolute; top: 0; #{$defaultOpposite}: 0; z-index: 2; overflow: hidden;
30
- &.move { width: 40px; #{$defaultFloat}: 0; background: image-url("foundation/orbit/timer-black.png") repeat 0 0; }
31
- }
32
- span.pause { display: block; width: 40px; height: 40px; position: absolute; top: 0; #{$defaultFloat}: 0; background: image-url("foundation/orbit/pause-black.png") no-repeat; z-index: 4; opacity: 0;
33
- &.active { background: image-url("foundation/orbit/pause-black.png") no-repeat 0 -40px; }
34
- }
35
- .timer:hover span.pause, .timer:focus span.pause, span.pause.active { opacity: 1 }
36
- }
37
-
38
- /* Captions ---------------------- */
39
-
40
- .orbit-caption { display: none; font-family: inherit; }
41
- .orbit-wrapper .orbit-caption { background: $orbitCaptionBgColorOldBrowser; background: $orbitCaptionBgColor; z-index: 30; color: $orbitCaptionFontColor; text-align: center; padding: 7px 0; font-size: ms(0) - 1; position: absolute; #{$defaultOpposite}: 0; bottom: 0; width: 100%; }
42
-
43
- /* Directional Nav ---------------------- */
44
-
45
- .orbit-wrapper {
46
- .slider-nav { display: block; }
47
- .slider-nav span { width: 39px; height: 50px; text-indent: -9999px; position: absolute; z-index: 30; top: 50%; margin-top: -25px; cursor: pointer; }
48
- .slider-nav span.#{$defaultOpposite} { background: image-url("foundation/orbit/#{$defaultOpposite}-arrow.png"); background-size: 100%; #{$defaultOpposite}: 0; }
49
- .slider-nav span.#{$defaultFloat} { background: image-url("foundation/orbit/#{$defaultFloat}-arrow.png"); background-size: 100%; #{$defaultFloat}: 0; }
50
- }
51
-
52
- .lt-ie9 {
53
- .orbit-wrapper {
54
- .slider-nav span.#{$defaultOpposite} { background: image-url("foundation/orbit/#{$defaultOpposite}-arrow-small.png"); }
55
- .slider-nav span.#{$defaultFloat} { background: image-url("foundation/orbit/#{$defaultFloat}-arrow-small.png"); }
56
- }
57
- }
58
-
59
- /* Bullet Nav ---------------------- */
60
-
61
- ul.orbit-bullets { position: absolute; z-index: 30; list-style: none; bottom: -40px; #{$defaultFloat}: 50%; margin-#{$defaultFloat}: -50px; padding: 0;
62
- li { float: $defaultFloat; margin-#{$defaultFloat}: 5px; cursor: pointer; color: $orbitBulletNavColor; text-indent: -9999px; background: image-url("foundation/orbit/bullets.jpg") no-repeat 4px 0; width: 13px; height: 12px; overflow: hidden;
63
- &.active { color: $orbitBulletNavColorActive; background-position: -8px 0; }
64
- &.has-thumb { background: none; width: 100px; height: 75px; }
65
- &.active.has-thumb { background-position: 0 0; border-top: $orbitHasThumbBorderWidth $orbitHasThumbBorderStyle $orbitHasThumbBorderColor; }
66
- }
67
- }
68
-
69
- /* Orbit Slide Counter */
70
- .orbit-slide-counter { position: absolute; bottom: 0; z-index: 99; background: $orbitSlideNumBgColor; color: $orbitSlideNumFontColor; padding: $orbitSlideNumPadding; }
71
-
72
- /* Fluid Layout ---------------------- */
73
-
74
- .orbit img.fluid-placeholder { visibility: hidden; position: static; display: block; width: 100%; }
75
- .orbit, .orbit-wrapper { width: 100% !important; }
76
-
77
- /* Correct timer in IE */
78
- .lt-ie9 .timer { display: none !important; }
79
- .lt-ie9 .orbit-caption { background: $orbitCaptionBgColorOldBrowser; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);zoom: 1; }
80
-
81
- // Allow slides to be stacked on mobile devices
82
- @media only screen and (max-width: $screenSmall - 1) {
83
- .orbit.orbit-stack-on-small img.fluid-placeholder {
84
- visibility:visible;
85
- }
86
- .orbit.orbit-stack-on-small .orbit-slide {
87
- position:static;
88
- margin-bottom:10px;
89
- }
90
- }
@@ -1,34 +0,0 @@
1
- /* CSS for jQuery Reveal Plugin
2
- * Maintained for Foundation. foundation.zurb.com
3
- * Free to use under the MIT license.
4
- * http://www.opensource.org/licenses/mit-license.php
5
- */
6
-
7
- /* Reveal Modals ---------------------- */
8
-
9
- .reveal-modal-bg { position: fixed; height: 100%; width: 100%; background: #000; background: rgba(#000, .45); z-index: 40; display: none; top: 0; #{$defaultFloat}: 0; }
10
-
11
- .reveal-modal { background: #fff; visibility: hidden; display: none; top: 100px; #{$defaultFloat}: 50%; margin-#{$defaultFloat}: -260px; width: 520px; position: absolute; z-index: 41; padding: 30px; @include box-shadow(0 0 10px rgba(#000,.4));
12
- .close-reveal-modal:not(.button) {
13
- @include font-size(22);
14
- line-height: .5;
15
- position: absolute;
16
- top: 8px;
17
- #{$defaultOpposite}: 11px;
18
- color: #aaa;
19
- text-shadow: 0 -1px 1px rgba(0,0,0,.6);
20
- font-weight: bold;
21
- cursor: pointer;
22
- }
23
- &.small { width: 30%; margin-#{$defaultFloat}: -15%; }
24
- &.medium { width: 40%; margin-#{$defaultFloat}: -20%; }
25
- &.large { width: 60%; margin-#{$defaultFloat}: -30%; }
26
- &.xlarge { width: 70%; margin-#{$defaultFloat}: -35%; }
27
- &.expand { width: 90%; margin-#{$defaultFloat}: -45%; }
28
- .row { min-width: 0; margin-bottom: 10px; }
29
- > :first-child { margin-top: 0; }
30
- > :last-child { margin-bottom: 0; }
31
- }
32
- @media print {
33
- .reveal-modal { border: solid 1px #000; background: #fff; }
34
- }
@@ -1,67 +0,0 @@
1
- /* Tabs ---------------------- */
2
-
3
- .tabs { list-style: none; border-bottom: solid 1px darken($white, 10%); display: block; height: $tabHeight; padding: 0; margin-bottom: 20px;
4
- &.contained { margin-bottom: 0; margin-left: 0; }
5
-
6
- dt, li.section-title { color: darken($white, 30%); cursor: default; display: block; float: $defaultFloat; font-size: $tabTermFontSize; height: $tabHeight; line-height: $tabHeight; padding: 0; padding-#{$defaultOpposite}: 9px; padding-#{$defaultFloat}: 20px; font-weight: normal; width: auto; text-transform: uppercase;
7
- &:first-child { padding: 0; padding-#{$defaultOpposite}: 9px; }
8
- }
9
-
10
- dd, li { display: block; float: $defaultFloat; padding: 0; margin: 0;
11
- a { color: lighten($txtColor, 30%); display: block; font-size: ms(0); height: $tabHeight; line-height: $tabHeight; padding: 0px ms(1) * 1.4;
12
- &:focus { font-weight: bold; color: $mainColor; }
13
- }
14
- &.active { border-top: 3px solid $mainColor; margin-top: -3px;
15
- a { cursor: default; color: lighten($txtColor, 10%); background: #fff; border-#{$defaultFloat}: 1px solid darken($white, 10%); border-#{$defaultOpposite}: 1px solid darken($white, 10%); font-weight: bold; }
16
- }
17
- &:first-child { margin-#{$defaultFloat}: 0; }
18
- }
19
-
20
- &.vertical { height: auto; border-bottom: 1px solid darken($white, 10%);
21
- dt, dd, li { float: none; height: auto; }
22
-
23
- dd, li { border-#{$defaultFloat}: 3px solid darken($white, 20%);
24
- a { background: darken($white, 5%); border: none; border: 1px solid darken($white, 10%); border-width: 1px 1px 0 0; color: #555; display: block; font-size: ms(0); height: auto; line-height: 1; padding: 15px 20px; @include box-shadow(0 1px 0 $shinyEdge inset);
25
- }
26
- &.active { margin-top: 0; border-top: 1px solid lighten($black, 30%); border-#{$defaultFloat}: 4px solid lighten($black, 10%);
27
- a { background: lighten($black, 30%); border: none; color: #fff; height: auto; margin: 0; position: static; top: 0; @include box-shadow(0 0 0); }
28
- }
29
- &:first-child a.active { margin: 0; }
30
- }
31
- }
32
-
33
- &.pill { border-bottom: none; margin-bottom: 10px;
34
- dd, li { margin-#{$defaultOpposite}: 10px;
35
- &:last-child { margin-#{$defaultOpposite}: 0; }
36
- a { @include border-radius(1000px); background: darken($white, 10%); height: $tabHeight - 14; line-height: $tabHeight - 14; color: #666; }
37
-
38
- &.active { border: none; margin-top: 0;
39
- a { background-color: $mainColor; border: none; color: #fff; }
40
- }
41
- }
42
- &.contained { border-bottom: solid 1px #eee; margin-bottom: 0; }
43
- &.two-up, &.three-up, &.four-up, &.five-up {
44
- dd, li { margin-#{$defaultOpposite}: 0; }
45
- }
46
- }
47
-
48
- &.two-up, &.three-up, &.four-up, &.five-up {
49
- dt a, dd a, li a { padding: 0 ms(1); text-align: center; overflow: hidden; }
50
- }
51
- &.two-up dt, &.two-up dd, &.two-up li { width: 50%; }
52
- &.three-up dt, &.three-up dd, &.three-up li { width: 33.33%; }
53
- &.four-up dt, &.four-up dd, &.four-up li { width: 25%; }
54
- &.five-up dt, &.five-up dd, &.five-up li { width: 20%; }
55
- }
56
-
57
- ul.tabs-content { display: block; margin: 0 0 20px; padding: 0;
58
- &>li { display: none;
59
- &.active { display: block; }
60
- }
61
- &.contained { padding: 0;
62
- &>li { border: solid 0 darken($white, 10%); border-width: 0 1px 1px 1px; padding: 20px; }
63
- &.vertical>li { border-width: 1px 1px 1px 1px; }
64
- }
65
- }
66
-
67
- .no-js ul.tabs-content>li { display: block; }
@@ -1,167 +0,0 @@
1
- /*
2
- Foundation Top Bar
3
-
4
- Requires:
5
- -jquery.foundation.topbar.js
6
-
7
- Notes:
8
- - <nav class="top-bar"> can have .fixed added to make it stick to the top of viewport. Can add .contain-to-grid to top-bar to make it full width but content on grid.
9
- - <li class="name"> creates a branding area that can be linked to homepage
10
- - Can include text, image or both inside this <li>.
11
- - <li class="divider"> creates a divider between nav items, add margins for space
12
- - <li class="search"> Needs to hold a <form> which can use .row.collapse and pre/postfix buttons or default type="search"
13
- */
14
-
15
- /* Element that controls breakpoint, no need to change this ever */
16
- .top-bar-js-breakpoint { width: $topBarBreakPoint !important; visibility: hidden; }
17
-
18
- /* Wrapped around .top-bar to contain to grid width */
19
- .contain-to-grid { width: 100%; background: $topBarBgColor; }
20
-
21
- /* Wrapped around .top-bar to make it fixed at the top */
22
- .fixed { width: 100%; left: 0; position: fixed; top: 0; z-index: 99; }
23
-
24
- /* Add .sticky class for using top bar as a sticky navigation when scrolling passed it. Add the class .sticky to a top bar using .contain-to-grid but leave off .fixed, javascript will take care of that */
25
- .sticky { float: left; overflow: hidden;
26
- &.fixed { float: none; }
27
- }
28
-
29
- /* <nav> */
30
- .top-bar { background: $topBarBgColor; min-height: $topBarHeight; line-height: $topBarHeight; margin: 0 0 $topBarBtmMargin 0; padding: 0; width: 100%; position: relative;
31
-
32
- /* Contain width to .row width */
33
- .contain-to-grid & { max-width: $rowWidth; margin: 0 auto; }
34
-
35
- /* First <ul> for branding, title, name, etc */
36
- &>ul {
37
- .name {
38
- h1 { line-height: $topBarHeight; margin: 0;
39
- a { font-weight: $topBarTitleWeight; padding: 0 $topBarHeight / 2; font-size: $topBarTitleSize !important; }
40
- }
41
- img { margin-top: -5px; vertical-align: middle; }
42
- }
43
- }
44
- &.expanded { height: inherit; }
45
-
46
- /* topbar global <ul> styles */
47
- ul { margin-left: 0; display: inline; height: $topBarHeight; line-height: $topBarHeight; list-style: none;
48
-
49
- /* Main Navigation links style */
50
- &>li { float: left;
51
- a:not(.button) { color: $topBarLinkColor; display: block; font-size: $topBarLinkSize; font-weight: $topBarLinkWeight; height: $topBarHeight; line-height: $topBarHeight; padding: 0 $topBarHeight / 3; }
52
- &:not(.name) {
53
- &:hover, &.active, &:focus { background: darken($topBarBgColor, 15%);
54
- a { color: darken($topBarLinkColor, 15%); }
55
- }
56
- }
57
-
58
- /* Dividers between navigation */
59
- &.divider { background: darken($topBarBgColor, 15%); @include box-shadow(1px 0 0 rgba(255,255,255,0.10)); height: 100%; margin-right: 1px; width: 1px; }
60
-
61
- /* Put a button in an <li> but give is a class */
62
- &.has-button {
63
- a.button { margin: 0 $topBarHeight / 4; }
64
- &:hover, &:focus { background: $topBarBgColor;
65
- a { color: #fff; }
66
- }
67
- }
68
-
69
- /* Put a search bar or text input in the bar */
70
- &.search { padding: 0 $topBarHeight / 3;
71
- form { display: inline-block; margin-bottom: 0; vertical-align: middle; width: $topBarSearchWidth;
72
- input[type=text] { @include border-right-radius(0); float: left; font-size: ms(0) - 1; margin-top: -1px; height: $topBarHeight / 2; //28px
73
- margin-bottom: 0; width: $topBarSearchWidth - 70px;
74
- &+.button { border-left: none; @include border-left-radius(0); float: left; font-size: ms(0) - 2; margin-top: -1px; padding: 5px 12px 4px; }
75
- }
76
- input[type=search] { font-size: 16px; margin-bottom: 0; }
77
- }
78
- &:hover, &:focus { background: $topBarBgColor; }
79
- }
80
-
81
- /* Put login bar in the top bar */
82
- &.login {padding: 0 $topBarHeight / 3;
83
- form {display: inline-block; margin-bottom: 0; vertical-align: middle; width: $topBarLoginWidth;
84
- input{float: left; width: auto; font-size: ms(0) - 1; margin-top: -1px; height: $topBarHeight / 2; margin-bottom: 0; }
85
- input[type=text]{ @include border-right-radius(0); width: $topBarLoginInputWidth;}
86
- input[type=password] { margin-bottom: 0; @include border-left-radius(0); width: $topBarLoginInputWidth;
87
- &+.button {border-left: none; @include border-left-radius(0); @include border-right-radius(2px); float: left; font-size: ms(0) - 2; margin-top: -1px; padding: 5px 12px 4px; width: $topBarLoginButtonWidth;}
88
- }
89
- }
90
- &:hover, &:focus { background: $topBarBgColor; }
91
- }
92
-
93
- /* Hide the triangle for breakpoint menu */
94
- &.toggle-topbar { display: none; }
95
-
96
- /* li.has-dropdown */
97
- &.has-dropdown { position: relative;
98
- &:hover, &:focus { &>.dropdown { display: block; visibility: visible; } }
99
- a { padding-right: $topBarHeight * .75;
100
- &:after { @include cssTriangle($topBarDropToggleSize, $topBarDropToggleColor, top); margin-right: $topBarHeight / 3; margin-top: -$topBarDropToggleSize / 2; position: absolute; right: 0; top: 50%; }
101
- }
102
- .dropdown { background: $topBarDropBgColor; left: 0; margin: 0; padding: $topBarHeight / 5 0 0 0; position: absolute; visibility: hidden; z-index: 99;
103
- li { background: $topBarDropBgColor; line-height: 1; min-width: 100%; padding-bottom: 5px;
104
- a { color: $topBarDropLinkColor; font-weight: normal; height: 100%; line-height: 1; padding: 5px $topBarHeight / 3 + 2 5px $topBarHeight / 3; white-space: nowrap;
105
- &:after { border: none; }
106
- &:hover, &:focus { background: lighten($topBarDropBgColor, 10%); }
107
- }
108
- label { color: lighten($topBarDropBgColor, 30%); font-size: ms(0) - 4; font-weight: $topBarLinkWeight; margin: 0; padding-left: $topBarHeight / 3; text-transform: uppercase; }
109
- &.divider { border-top: solid 1px darken($topBarDropBgColor, 20%); @include box-shadow(0 1px 0 rgba(255,255,255,.10) inset); height: 10px; padding: 0; width: 100%; }
110
- &:last-child { padding-bottom: 10px; }
111
- &.active a { background: darken($topBarBgColor, 15%); }
112
- }
113
- }
114
-
115
- /* Dropdown Level 2+ */
116
- .dropdown li.has-dropdown {
117
- &>a { padding-right: $navBarHeight * .75;
118
- &:after { border: none; content:"\00bb"; right: 5px; top: 6px; }
119
- }
120
- .dropdown { position: absolute; left: 100%; top: 0; }
121
- &:hover, &:focus {
122
- &>.dropdown { display: block; }
123
- }
124
- }
125
- }
126
- }
127
-
128
- /* Left Side <ul> */
129
- &.left { float: left; width: auto; margin-bottom: 0; }
130
-
131
- /* Right Side <ul> */
132
- &.right { float: right; width: auto; margin-bottom: 0;
133
- /* Dropdown Right Side Alignment */
134
- .has-dropdown .dropdown { left: auto; right: 0px;
135
- li.has-dropdown > .dropdown { right: 100%; left: auto; width: 100%; }
136
- }
137
- }
138
- }
139
-
140
- .js-generated { display: none; }
141
- }
142
-
143
- /* Firefox Fixes */
144
- @-moz-document url-prefix() {
145
- .top-bar ul li .button.small { padding-bottom: 6px; }
146
- .top-bar ul li.search form input[type=search] { font-size: 14px; height: 22px; padding: 3px; }
147
- }
148
-
149
- /* IE8 Fixes */
150
- .lt-ie9 .top-bar ul li a { color: $topBarLinkColor; display: block; font-weight: $topBarLinkWeight; font-size: $topBarLinkSize; height: $topBarHeight; line-height: $topBarHeight; padding: 0 $topBarHeight / 3;
151
- &.button { height: auto; line-height: 30px; margin-top: 7px; }
152
- img { margin-top: -5px; vertical-align: middle; }
153
- }
154
- .lt-ie9 .top-bar section > ul > li
155
- {
156
- a
157
- {
158
- &:hover, &:focus {color: darken($topBarLinkColor, 20%); }
159
- }
160
- &:hover, &:focus { background: darken($topBarBgColor, 15%) }
161
- &.search:hover,&.search:focus,&.has-button:hover,&.has-button:focus { background: none }
162
- &.active { background: darken($topBarBgColor, 15%); color: darken($topBarLinkColor, 15%); }
163
- }
164
- .lt-ie9 .top-bar ul li.has-dropdown {
165
- padding-right: $topBarHeight * .75;
166
- &>ul li { padding-right: 0; }
167
- }