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,89 +1,167 @@
1
- /* The Grid ---------------------- */
1
+ //
2
+ // Grid Variables
3
+ //
4
+ $row-width: 62.5em !default;
5
+ $column-gutter: 1.875em !default;
6
+ $total-columns: 12 !default;
7
+
8
+ //
9
+ // Grid Mixins
10
+ //
11
+
12
+ // For creating container, nested, and collapsed rows.
13
+ @mixin grid-row($behavior: false) {
14
+
15
+ // use @include grid-row(nest); to include a nested row
16
+ @if $behavior == nest {
17
+ width: auto;
18
+ margin-left: -($column-gutter/2);
19
+ margin-right: -($column-gutter/2);
20
+ margin-top: 0;
21
+ margin-bottom: 0;
22
+ max-width: none;
23
+ }
2
24
 
3
- .row { width: $rowWidth; max-width: 100%; min-width: $screenSmall; margin: 0 auto;
4
- .row { width: auto; max-width: none; min-width: 0; margin: 0 (-($columnGutter/2)); }
25
+ // use @include grid-row(collapse); to collapsed a container row margins
26
+ @else if $behavior == collapse {
27
+ width: 100%;
28
+ margin: 0;
29
+ max-width: $row-width;
30
+ }
5
31
 
6
- &.collapse {
7
- .column, .columns { padding: 0; }
8
- }
9
- .row { width: auto; max-width: none; min-width: 0; margin: 0 (-($columnGutter/2));
10
- &.collapse { margin: 0; }
11
- }
32
+ // use @include grid-row(nest-collapse); to collapse outer margins on a nested row
33
+ @else if $behavior == nest-collapse {
34
+ width: auto;
35
+ margin: 0;
36
+ max-width: none;
12
37
  }
13
38
 
14
- .column, .columns { float: $defaultFloat; min-height: 1px; padding: 0 ($columnGutter/2); position: relative;
15
- &.centered { float: none; margin: 0 auto; }
39
+ // use @include grid-row; to use a container row
40
+ @else {
41
+ width: 100%;
42
+ margin-left: auto;
43
+ margin-right: auto;
44
+ margin-top: 0;
45
+ margin-bottom: 0;
46
+ max-width: $row-width;
16
47
  }
17
48
 
18
- [class*="column"] + [class*="column"]:last-child { float: $defaultOpposite; }
19
- [class*="column"] + [class*="column"].end { float: $defaultFloat; }
49
+ // Clearfix for all rows
50
+ @include clearfix();
51
+
52
+ }
20
53
 
21
- // Creating column classes
22
- @for $i from 1 through $totalColumns {
23
- .#{convert-number-to-word($i)} { width: gridCalc($i, $totalColumns); }
54
+
55
+ // For creating columns - @include these inside a media query to control small vs. large grid layouts
56
+ @mixin grid-column($columns:false, $last-column:false, $center:false, $offset:false, $push:false, $pull:false, $collapse:false, $float:false) {
57
+
58
+ position: relative;
59
+
60
+ // Gutter padding whenever a column isn't set to collapse
61
+ @if $collapse == false {
62
+ padding-left: $column-gutter / 2;
63
+ padding-right: $column-gutter / 2;
24
64
  }
25
65
 
26
- // Creating .row-# classes
27
- @for $i from 1 through $totalColumns {
28
- .row {
29
- .#{convert-number-to-word($i)} { @extend .#{convert-number-to-word($i)}; }
30
- }
66
+ // If a column number is given, calculate width
67
+ @if $columns {
68
+ width: gridCalc($columns, $total-columns);
69
+
70
+ // If last column, float naturally instead of to the right
71
+ @if $last-column { float: $default-opposite; }
72
+
73
+ // if collapsed, get rid of gutter padding
74
+ @else if $collapse { padding-left: 0; padding-right: 0; }
75
+
76
+ }
77
+
78
+ @if $collapse { padding-left: 0; padding-right: 0; }
79
+
80
+ // If offset, calculate appropriate margins
81
+ @if $offset { margin-#{$default-float}: gridCalc($offset, $total-columns); }
82
+
83
+ // Source Ordering, adds left/right depending on which you use.
84
+ @if $push { #{$default-float}: gridCalc($push, $total-columns); #{$default-opposite}: auto; }
85
+ @if $pull { #{$default-opposite}: gridCalc($pull, $total-columns); #{$default-float}: auto; }
86
+
87
+ // If centered, get rid of float and add appropriate margins
88
+ @if $center {
89
+ margin-left: auto;
90
+ margin-right: auto;
31
91
  }
32
92
 
33
- // Creating .row .offset-by-# classes
34
- @for $i from 1 through $totalColumns - 2 {
35
- .row {
36
- .offset-by-#{convert-number-to-word($i)} { margin-#{$defaultFloat}: gridCalc($i, $totalColumns); }
93
+ @if $float {
94
+ @if $float == left { float: $default-float; }
95
+ @else if $float == right { float: $default-opposite; }
96
+ @else { float: none; }
97
+ }
98
+
99
+ }
100
+
101
+
102
+ /* Grid HTML Classes */
103
+ @if $include-html-classes {
104
+
105
+ .row {
106
+ @include grid-row;
107
+
108
+ .column,
109
+ .columns { @include grid-column($columns:$total-columns); }
110
+
111
+ &.collapse {
112
+ .column,
113
+ .columns { @include grid-column($collapse:true); }
114
+ }
115
+
116
+ .row { @include grid-row($behavior:nest);
117
+ &.collapse { @include grid-row($behavior:nest-collapse); }
37
118
  }
38
119
  }
39
120
 
40
- // Creating .row .push-# classes
41
- @for $i from 2 through $totalColumns - 2 {
42
- .push-#{convert-number-to-word($i)} { #{$defaultFloat}: gridCalc($i, $totalColumns); }
43
- .pull-#{convert-number-to-word($i)} { #{$defaultOpposite}: gridCalc($i, $totalColumns); }
121
+ @media only screen {
122
+
123
+ .row .column,
124
+ .row .columns { @include grid-column($columns:false, $float:left); }
125
+
126
+ @for $i from 1 through $total-columns {
127
+ .row .small#{-$i} { @include grid-column($columns:$i,$collapse:null); }
128
+ }
129
+
130
+ @for $i from 1 through $total-columns - 2 {
131
+ .row .small-offset-#{$i} { @include grid-column($offset:$i, $collapse:null); }
132
+ }
133
+
134
+ [class*="column"] + [class*="column"]:last-child { float: $default-opposite; }
135
+ [class*="column"] + [class*="column"].end { float: $default-float; }
136
+
137
+ .column.small-centered,
138
+ .columns.small-centered { @include grid-column($center:true, $collapse:null, $float:none); }
44
139
  }
45
140
 
46
- img { height: auto; }
47
- img, object, embed { max-width: 100%; }
48
- img { -ms-interpolation-mode: bicubic; }
49
- #map_canvas img, .map_canvas img {max-width: none!important;}
50
-
51
- /* Nicolas Gallagher's micro clearfix */
52
- .row { @include clearfix(); }
53
-
54
- /* Block Grids ---------------------- */
55
-
56
- /* These are 2-up, 3-up, 4-up and 5-up ULs, suited
57
- for repeating blocks of content. Add 'mobile' to
58
- them to switch them just like the layout grid
59
- (one item per line) on phones
60
-
61
- For IE7/8 compatibility block-grid items need to be
62
- the same height. You can optionally uncomment the
63
- lines below to support arbitrary height, but know
64
- that IE7/8 do not support :nth-child.
65
- -------------------------------------------------- */
66
-
67
- .block-grid { display: block; overflow: hidden; padding: 0;
68
-
69
- &>li { display: block; height: auto; float: $defaultFloat; }
70
-
71
- @for $i from 1 through $blockGridElements {
72
- &.#{convert-number-to-word($i)}-up {
73
- @if $i == 1 { margin: 0; }
74
- @else if $i == 2 { margin: 0 -15px; }
75
- @else if $i == 3 { margin: 0 -12px; }
76
- @else if $i == 4 { margin: 0 -10px; }
77
- @else { margin: 0 -8px; }
78
- &>li {
79
- width: 100%/$i;
80
- @if $i == 1 { padding: 0 0 15px; }
81
- @else if $i == 2 { padding: 0 15px 15px; }
82
- @else if $i == 3 { padding: 0 12px 12px; }
83
- @else if $i == 4 { padding: 0 10px 10px; }
84
- @else { padding: 0 8px 8px; }
85
- @if $i > 1 { &:nth-child(#{$i}n+1) { clear: both; } }
86
- }
87
- }
141
+ /* Styles for screens that are atleast 768px; */
142
+ @media #{$small} {
143
+
144
+ @for $i from 1 through $total-columns {
145
+ .row .large#{-$i} { @include grid-column($columns:$i,$collapse:null); }
146
+ }
147
+
148
+ @for $i from 1 through $total-columns - 2 {
149
+ .row .large-offset-#{$i} { @include grid-column($offset:$i, $collapse:null); }
150
+ }
151
+
152
+ @for $i from 2 through $total-columns - 2 {
153
+ .push#{-$i} { @include grid-column($push:$i, $collapse:null); }
154
+ .pull#{-$i} { @include grid-column($pull:$i, $collapse:null); }
88
155
  }
156
+
157
+ @for $i from 2 through $total-columns - 2 {
158
+ .small-push#{-$i} { left: inherit; }
159
+ .small-pull#{-$i} { right: inherit; }
160
+ }
161
+
162
+ .column.large-centered,
163
+ .columns.large-centered { @include grid-column($center:true, $collapse:null, $float:none); }
164
+
89
165
  }
166
+
167
+ }
@@ -0,0 +1,47 @@
1
+ //
2
+ // Inline List Variables
3
+ //
4
+
5
+ // We use this to control the margins and padding of the inline list.
6
+ $inline-list-margin-bottom: emCalc(17px) emCalc(-22px ) !default;
7
+ $inline-list-margin: 0 0 !default;
8
+ $inline-list-padding: 0 !default;
9
+
10
+ // We use this to control the overflow of the inline list.
11
+ $inline-list-overflow: hidden !default;
12
+
13
+ // We use this to control the list items
14
+ $inline-list-display: block !default;
15
+
16
+ // We use this to control any elments within list items
17
+ $inline-list-children-display: block !default;
18
+
19
+ //
20
+ // Inline List Mixins
21
+ //
22
+
23
+ // We use this mixin to create inline lists
24
+ @mixin inline-list {
25
+ margin: $inline-list-margin $inline-list-margin-bottom;
26
+ padding: $inline-list-padding;
27
+ list-style: none;
28
+ overflow: $inline-list-overflow;
29
+
30
+ & > li {
31
+ list-style: none;
32
+ float: $default-float;
33
+ margin-#{$default-float}: emCalc(22px);
34
+ display: $inline-list-display;
35
+ &>* { display: $inline-list-children-display; }
36
+ }
37
+ }
38
+
39
+
40
+ @if $include-html-classes {
41
+
42
+ /* Inline Lists */
43
+ .inline-list {
44
+ @include inline-list();
45
+ }
46
+
47
+ }
@@ -0,0 +1,193 @@
1
+ //
2
+ // Joyride Variables
3
+ //
4
+
5
+ // Controlling default Joyride styles
6
+ $joyride-tip-bg: rgb(0,0,0) !default;
7
+ $joyride-tip-default-width: 300px !default;
8
+ $joyride-tip-padding: emCalc(18px) emCalc(20px) emCalc(24px) !default;
9
+ $joyride-tip-border: solid 1px #555 !default;
10
+ $joyride-tip-radius: 4px !default;
11
+ $joyride-tip-position-offset: 22px !default;
12
+
13
+ // Here, we're setting the tip dont styles
14
+ $joyride-tip-font-color: #fff !default;
15
+ $joyride-tip-font-size: emCalc(14px) !default;
16
+ $joyride-tip-header-weight: bold !default;
17
+
18
+ // This changes the nub size
19
+ $joyride-tip-nub-size: 14px !default;
20
+
21
+ // This adjusts the styles for the timer when its enabled
22
+ $joyride-tip-timer-width: 50px !default;
23
+ $joyride-tip-timer-height: 3px !default;
24
+ $joyride-tip-timer-color: #666 !default;
25
+
26
+ // This changes up the styles for the close button
27
+ $joyride-tip-close-color: #777 !default;
28
+ $joyride-tip-close-size: 30px !default;
29
+ $joyride-tip-close-weight: normal !default;
30
+
31
+ // When Joyride is filling the screen, we use this style for the bg
32
+ $joyride-screenfill: rgba(0,0,0,0.5) !default;
33
+
34
+
35
+ // We decided not to make a mixin for this because it relies on predefined classes to work properly.
36
+
37
+ /* Foundation Joyride */
38
+ .joyride-list { display: none; }
39
+
40
+ /* Default styles for the container */
41
+ .joyride-tip-guide {
42
+ display: none;
43
+ position: absolute;
44
+ background: $joyride-tip-bg;
45
+ color: $joyride-tip-font-color;
46
+ z-index: 101;
47
+ top: 0;
48
+ #{$default-float}: 2.5%;
49
+ font-family: inherit;
50
+ font-weight: normal;
51
+ width: 95%;
52
+ }
53
+
54
+ .lt-ie9 .joyride-tip-guide {
55
+ max-width:800px;
56
+ left: 50%;
57
+ margin-left:-400px;
58
+ }
59
+
60
+ .joyride-content-wrapper {
61
+ width: 100%;
62
+
63
+ padding: $joyride-tip-padding;
64
+
65
+ .button { margin-bottom: 0 !important; }
66
+ }
67
+
68
+ /* Add a little css triangle pip, older browser just miss out on the fanciness of it */
69
+ .joyride-tip-guide {
70
+ .joyride-nub {
71
+ display: block;
72
+ position: absolute;
73
+ #{$default-float}: $joyride-tip-position-offset;
74
+ width: 0;
75
+ height: 0;
76
+ border: solid $joyride-tip-nub-size;
77
+
78
+ &.top {
79
+ border-color: $joyride-tip-bg;
80
+ border-top-color: transparent !important;
81
+ border-#{$default-float}-color: transparent !important;
82
+ border-#{$default-opposite}-color: transparent !important;
83
+ top: -($joyride-tip-nub-size*2);
84
+ bottom: none;
85
+ }
86
+ &.bottom {
87
+ border-color: $joyride-tip-bg !important;
88
+ border-bottom-color: transparent !important;
89
+ border-#{$default-float}-color: transparent !important;
90
+ border-#{$default-opposite}-color: transparent !important;
91
+ bottom: -($joyride-tip-nub-size*2);
92
+ bottom: none;
93
+ }
94
+
95
+ &.right { right: -($joyride-tip-nub-size*2); }
96
+ &.left { left: -($joyride-tip-nub-size*2); }
97
+ }
98
+ }
99
+
100
+ /* Typography */
101
+ .joyride-tip-guide h1,
102
+ .joyride-tip-guide h2,
103
+ .joyride-tip-guide h3,
104
+ .joyride-tip-guide h4,
105
+ .joyride-tip-guide h5,
106
+ .joyride-tip-guide h6 {
107
+ line-height: 1.25;
108
+ margin: 0;
109
+ font-weight: $joyride-tip-header-weight;
110
+ color: $joyride-tip-font-color;
111
+ }
112
+ .joyride-tip-guide p {
113
+ margin: 0 0 emCalc(18px) 0;
114
+ font-size: $joyride-tip-font-size;
115
+ line-height: 1.3;
116
+ }
117
+
118
+ .joyride-timer-indicator-wrap {
119
+ width: $joyride-tip-timer-width;
120
+ height: $joyride-tip-timer-height;
121
+ border: $joyride-tip-border;
122
+ position: absolute;
123
+ #{$default-opposite}: emCalc(17px);
124
+ bottom: emCalc(16px);
125
+ }
126
+ .joyride-timer-indicator {
127
+ display: block;
128
+ width: 0;
129
+ height: inherit;
130
+ background: $joyride-tip-timer-color;
131
+ }
132
+
133
+ .joyride-close-tip {
134
+ position: absolute;
135
+ #{$default-opposite}: 12px;
136
+ top: 10px;
137
+ color: $joyride-tip-close-color !important;
138
+ text-decoration: none;
139
+ font-size: $joyride-tip-close-size;
140
+ font-weight: $joyride-tip-close-weight;
141
+ line-height: .5 !important;
142
+
143
+ &:hover,
144
+ &:focus { color: #eee !important; }
145
+ }
146
+
147
+ .joyride-modal-bg {
148
+ position: fixed;
149
+ height: 100%;
150
+ width: 100%;
151
+ background: transparent;
152
+ background: $joyride-screenfill;
153
+ z-index: 100;
154
+ display: none;
155
+ top: 0;
156
+ #{$default-float}: 0;
157
+ cursor: pointer;
158
+ }
159
+
160
+
161
+ /* Styles for screens that are atleast 768px; */
162
+ @media #{$small} {
163
+ .joyride-tip-guide { width: $joyride-tip-default-width; #{$default-float}: 0;
164
+ .joyride-nub {
165
+ &.bottom {
166
+ border-color: $joyride-tip-bg !important;
167
+ border-bottom-color: transparent !important;
168
+ border-#{$default-float}-color: transparent !important;
169
+ border-#{$default-opposite}-color: transparent !important;
170
+ bottom: -($joyride-tip-nub-size*2);
171
+ bottom: none;
172
+ }
173
+ &.right {
174
+ border-color: $joyride-tip-bg !important;
175
+ border-top-color: transparent !important;
176
+ border-right-color: transparent !important; border-bottom-color: transparent !important;
177
+ top: $joyride-tip-position-offset;
178
+ bottom: none;
179
+ left: auto;
180
+ right: -($joyride-tip-nub-size*2);
181
+ }
182
+ &.left {
183
+ border-color: $joyride-tip-bg !important;
184
+ border-top-color: transparent !important;
185
+ border-left-color: transparent !important;
186
+ border-bottom-color: transparent !important;
187
+ top: $joyride-tip-position-offset;
188
+ left: -($joyride-tip-nub-size*2);
189
+ right: auto; bottom: none;
190
+ }
191
+ }
192
+ }
193
+ }