fastlane-plugin-polidea 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +52 -0
  4. data/lib/fastlane/plugin/polidea.rb +16 -0
  5. data/lib/fastlane/plugin/polidea/actions/extract_app_icon.rb +155 -0
  6. data/lib/fastlane/plugin/polidea/actions/extract_app_name.rb +91 -0
  7. data/lib/fastlane/plugin/polidea/actions/extract_version.rb +96 -0
  8. data/lib/fastlane/plugin/polidea/actions/get_binary_size.rb +53 -0
  9. data/lib/fastlane/plugin/polidea/actions/mailgun.rb +173 -0
  10. data/lib/fastlane/plugin/polidea/actions/polidea_store_action.rb +248 -0
  11. data/lib/fastlane/plugin/polidea/actions/qr_generator.rb +76 -0
  12. data/lib/fastlane/plugin/polidea/actions/s3.rb +551 -0
  13. data/lib/fastlane/plugin/polidea/helper/polidea_helper.rb +12 -0
  14. data/lib/fastlane/plugin/polidea/templates/images/icon-placeholder.png +0 -0
  15. data/lib/fastlane/plugin/polidea/templates/images/logo.png +0 -0
  16. data/lib/fastlane/plugin/polidea/templates/images/polidea-facebook-icon.png +0 -0
  17. data/lib/fastlane/plugin/polidea/templates/images/polidea-github-icon.png +0 -0
  18. data/lib/fastlane/plugin/polidea/templates/images/polidea-logo.png +0 -0
  19. data/lib/fastlane/plugin/polidea/templates/images/polidea-twitter-icon.png +0 -0
  20. data/lib/fastlane/plugin/polidea/templates/installation-page/css/installation-page.css +3142 -0
  21. data/lib/fastlane/plugin/polidea/templates/installation-page/css/installation-page.css.map +7 -0
  22. data/lib/fastlane/plugin/polidea/templates/installation-page/img/bg.png +0 -0
  23. data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg.jpg +0 -0
  24. data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_1024.jpg +0 -0
  25. data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_1280.jpg +0 -0
  26. data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_1360.jpg +0 -0
  27. data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_1440.jpg +0 -0
  28. data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_1680.jpg +0 -0
  29. data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_768.jpg +0 -0
  30. data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_ipad_1024.jpg +0 -0
  31. data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_ipad_768.jpg +0 -0
  32. data/lib/fastlane/plugin/polidea/templates/installation-page/img/logo.svg +32 -0
  33. data/lib/fastlane/plugin/polidea/templates/installation-page/img/logo_square.svg +12 -0
  34. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation.min.js +10 -0
  35. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.abide.js +294 -0
  36. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.accordion.js +65 -0
  37. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.alert.js +43 -0
  38. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.clearing.js +558 -0
  39. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.dropdown.js +313 -0
  40. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.equalizer.js +74 -0
  41. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.interchange.js +344 -0
  42. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.joyride.js +915 -0
  43. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.js +625 -0
  44. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.magellan.js +189 -0
  45. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.offcanvas.js +139 -0
  46. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.orbit.js +472 -0
  47. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.reveal.js +443 -0
  48. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.slider.js +231 -0
  49. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.tab.js +167 -0
  50. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.tooltip.js +298 -0
  51. data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.topbar.js +436 -0
  52. data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/aes.js +35 -0
  53. data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/enc-base64-min.js +8 -0
  54. data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/fastclick.js +9 -0
  55. data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/jquery.cookie.js +8 -0
  56. data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/jquery.js +26 -0
  57. data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/modernizr.js +8 -0
  58. data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/pbkdf2.js +19 -0
  59. data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/placeholder.js +2 -0
  60. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/fonts.scss +64 -0
  61. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation.scss +45 -0
  62. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/_functions.scss +101 -0
  63. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/_settings.scss +1441 -0
  64. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_accordion.scss +156 -0
  65. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_alert-boxes.scss +126 -0
  66. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_block-grid.scss +132 -0
  67. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_breadcrumbs.scss +132 -0
  68. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_button-groups.scss +200 -0
  69. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_buttons.scss +252 -0
  70. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_clearing.scss +247 -0
  71. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_dropdown-buttons.scss +129 -0
  72. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_dropdown.scss +248 -0
  73. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_flex-video.scss +51 -0
  74. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_forms.scss +570 -0
  75. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_global.scss +447 -0
  76. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_grid.scss +275 -0
  77. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_icon-bar.scss +293 -0
  78. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_inline-lists.scss +57 -0
  79. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_joyride.scss +222 -0
  80. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_keystrokes.scss +61 -0
  81. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_labels.scss +105 -0
  82. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_magellan.scss +34 -0
  83. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_offcanvas.scss +510 -0
  84. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_orbit.scss +368 -0
  85. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_pagination.scss +162 -0
  86. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_panels.scss +93 -0
  87. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_pricing-tables.scss +150 -0
  88. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_progress-bars.scss +79 -0
  89. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_range-slider.scss +168 -0
  90. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_reveal.scss +220 -0
  91. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_side-nav.scss +116 -0
  92. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_split-buttons.scss +191 -0
  93. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_sub-nav.scss +125 -0
  94. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_switches.scss +226 -0
  95. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_tables.scss +135 -0
  96. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_tabs.scss +123 -0
  97. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_thumbs.scss +66 -0
  98. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_toolbar.scss +70 -0
  99. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_tooltips.scss +142 -0
  100. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_top-bar.scss +676 -0
  101. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_type.scss +523 -0
  102. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_visibility.scss +408 -0
  103. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/installation-page.scss +171 -0
  104. data/lib/fastlane/plugin/polidea/templates/installation-page/sass/normalize.scss +425 -0
  105. data/lib/fastlane/plugin/polidea/templates/installation_template.erb +58 -0
  106. data/lib/fastlane/plugin/polidea/templates/mailgun_template.erb +1225 -0
  107. data/lib/fastlane/plugin/polidea/version.rb +5 -0
  108. metadata +323 -0
@@ -0,0 +1,447 @@
1
+ // Foundation by ZURB
2
+ // foundation.zurb.com
3
+ // Licensed under MIT Open Source
4
+
5
+ @import "../functions";
6
+ //
7
+ // Foundation Variables
8
+ //
9
+
10
+ // Data attribute namespace
11
+ // styles get applied to [data-mysite-plugin], etc
12
+ $namespace: false !default;
13
+
14
+ // The default font-size is set to 100% of the browser style sheet (usually 16px)
15
+ // for compatibility with browser-based text zoom or user-set defaults.
16
+
17
+ // Since the typical default browser font-size is 16px, that makes the calculation for grid size.
18
+ // If you want your base font-size to be different and not have it affect the grid breakpoints,
19
+ // set $rem-base to $base-font-size and make sure $base-font-size is a px value.
20
+ $base-font-size: 100% !default;
21
+
22
+ // $base-line-height is 24px while $base-font-size is 16px
23
+ $base-line-height: 150% !default;
24
+
25
+ //
26
+ // Global Foundation Mixins
27
+ //
28
+
29
+ // @mixins
30
+ //
31
+ // We use this to control border radius.
32
+ // $radius - Default: $global-radius || 4px
33
+ @mixin radius($radius:$global-radius) {
34
+ @if $radius {
35
+ border-radius: $radius;
36
+ }
37
+ }
38
+
39
+ // @mixins
40
+ //
41
+ // We use this to create equal side border radius on elements.
42
+ // $side - Options: left, right, top, bottom
43
+ @mixin side-radius($side, $radius:$global-radius) {
44
+ @if ($side == left or $side == right) {
45
+ -webkit-border-bottom-#{$side}-radius: $radius;
46
+ -webkit-border-top-#{$side}-radius: $radius;
47
+ border-bottom-#{$side}-radius: $radius;
48
+ border-top-#{$side}-radius: $radius;
49
+ } @else {
50
+ -webkit-#{$side}-left-radius: $radius;
51
+ -webkit-#{$side}-right-radius: $radius;
52
+ border-#{$side}-left-radius: $radius;
53
+ border-#{$side}-right-radius: $radius;
54
+ }
55
+ }
56
+
57
+ // @mixins
58
+ //
59
+ // We can control whether or not we have inset shadows edges.
60
+ // $active - Default: true, Options: false
61
+ @mixin inset-shadow($active:true) {
62
+ box-shadow: $shiny-edge-size $shiny-edge-color inset;
63
+
64
+ @if $active { &:active {
65
+ box-shadow: $shiny-edge-size $shiny-edge-active-color inset; } }
66
+ }
67
+
68
+ // @mixins
69
+ //
70
+ // We use this to add transitions to elements
71
+ // $property - Default: all, Options: http://www.w3.org/TR/css3-transitions/#animatable-properties
72
+ // $speed - Default: 300ms
73
+ // $ease - Default:ease-out, Options: http://css-tricks.com/almanac/properties/t/transition-timing-function/
74
+ @mixin single-transition($property:all, $speed:300ms, $ease:ease-out) {
75
+ transition: $property $speed $ease;
76
+ }
77
+
78
+ // @mixins
79
+ //
80
+ // We use this to add box-sizing across browser prefixes
81
+ @mixin box-sizing($type:border-box) {
82
+ -webkit-box-sizing: $type; // Android < 2.3, iOS < 4
83
+ -moz-box-sizing: $type; // Firefox < 29
84
+ box-sizing: $type; // Chrome, IE 8+, Opera, Safari 5.1
85
+ }
86
+
87
+ // @mixins
88
+ //
89
+ // We use this to create isosceles triangles
90
+ // $triangle-size - Used to set border-size. No default, set a px or em size.
91
+ // $triangle-color - Used to set border-color which makes up triangle. No default
92
+ // $triangle-direction - Used to determine which direction triangle points. Options: top, bottom, left, right
93
+ @mixin css-triangle($triangle-size, $triangle-color, $triangle-direction) {
94
+ content: "";
95
+ display: block;
96
+ width: 0;
97
+ height: 0;
98
+ border: inset $triangle-size;
99
+ @if ($triangle-direction == top) {
100
+ border-color: $triangle-color transparent transparent transparent;
101
+ border-top-style: solid;
102
+ }
103
+ @if ($triangle-direction == bottom) {
104
+ border-color: transparent transparent $triangle-color transparent;
105
+ border-bottom-style: solid;
106
+ }
107
+ @if ($triangle-direction == left) {
108
+ border-color: transparent transparent transparent $triangle-color;
109
+ border-left-style: solid;
110
+ }
111
+ @if ($triangle-direction == right) {
112
+ border-color: transparent $triangle-color transparent transparent;
113
+ border-right-style: solid;
114
+ }
115
+ }
116
+
117
+ // @mixins
118
+ //
119
+ // We use this to create the icon with three lines aka the hamburger icon, the menu-icon or the navicon
120
+ // $width - Width of hamburger icon in rem
121
+ // $left - If false, icon will be centered horizontally || explicitly set value in rem
122
+ // $top - If false, icon will be centered vertically || explicitly set value in rem
123
+ // $thickness - thickness of lines in hamburger icon, set value in px
124
+ // $gap - spacing between the lines in hamburger icon, set value in px
125
+ // $color - icon color
126
+ // $hover-color - icon color during hover
127
+ // $offcanvas - Set to true of @include in offcanvas
128
+ @mixin hamburger($width, $left, $top, $thickness, $gap, $color, $hover-color, $offcanvas) {
129
+ span::after {
130
+ content: "";
131
+ position: absolute;
132
+ display: block;
133
+ height: 0;
134
+
135
+ @if $offcanvas {
136
+ @if $top {
137
+ top: $top;
138
+ }
139
+ @else {
140
+ top: 50%;
141
+ margin-top: -$width/2;
142
+ }
143
+ @if $left {
144
+ left: $left;
145
+ }
146
+ @else {
147
+ left: ($tabbar-menu-icon-width - $width)/2;
148
+ }
149
+ }
150
+ @else {
151
+ top: 50%;
152
+ margin-top: -($width/2);
153
+ #{$opposite-direction}: $topbar-link-padding;
154
+ }
155
+
156
+ box-shadow:
157
+ 0 0px 0 $thickness $color,
158
+ 0 $gap + $thickness 0 $thickness $color,
159
+ 0 (2 * $gap + 2*$thickness) 0 $thickness $color;
160
+ width: $width;
161
+ }
162
+ span:hover:after {
163
+ box-shadow:
164
+ 0 0px 0 $thickness $hover-color,
165
+ 0 $gap + $thickness 0 $thickness $hover-color,
166
+ 0 (2 * $gap + 2*$thickness) 0 $thickness $hover-color;
167
+ }
168
+ }
169
+
170
+ // We use this to do clear floats
171
+ @mixin clearfix {
172
+ &:before, &:after { content: " "; display: table; }
173
+ &:after { clear: both; }
174
+ }
175
+
176
+ // @mixins
177
+ //
178
+ // We use this to add a glowing effect to block elements
179
+ // $selector - Used for selector state. Default: focus, Options: hover, active, visited
180
+ // $fade-time - Default: 300ms
181
+ // $glowing-effect-color - Default: fade-out($primary-color, .25)
182
+ @mixin block-glowing-effect($selector:focus, $fade-time:300ms, $glowing-effect-color:fade-out($primary-color, .25)) {
183
+ transition: box-shadow $fade-time, border-color $fade-time ease-in-out;
184
+
185
+ &:#{$selector} {
186
+ box-shadow: 0 0 5px $glowing-effect-color;
187
+ border-color: $glowing-effect-color;
188
+ }
189
+ }
190
+
191
+ // @mixins
192
+ //
193
+ // We use this to translate elements in 2D
194
+ // $horizontal: Default: 0
195
+ // $vertical: Default: 0
196
+ @mixin translate2d($horizontal:0, $vertical:0) {
197
+ transform: translate($horizontal,$vertical)
198
+ }
199
+
200
+ // @mixins
201
+ //
202
+ // Makes an element visually hidden, but accessible.
203
+ // @see http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
204
+ @mixin element-invisible {
205
+ position: absolute !important;
206
+ height: 1px;
207
+ width: 1px;
208
+ overflow: hidden;
209
+ clip: rect(1px, 1px, 1px, 1px);
210
+ }
211
+
212
+ // @mixins
213
+ //
214
+ // Turns off the element-invisible effect.
215
+ @mixin element-invisible-off {
216
+ position: static !important;
217
+ height: auto;
218
+ width: auto;
219
+ overflow: visible;
220
+ clip: auto;
221
+ }
222
+
223
+ // We use these as default colors throughout
224
+ $primary-color: #008CBA !default; // bondi-blue
225
+ $secondary-color: #e7e7e7 !default; // white-lilac
226
+ $alert-color: #f04124 !default; // cinnabar
227
+ $success-color: #43AC6A !default; // sea-green
228
+ $warning-color: #f08a24 !default; // carrot
229
+ $info-color: #a0d3e8 !default; // cornflower
230
+
231
+ $white : #FFFFFF !default;
232
+ $ghost : #FAFAFA !default;
233
+ $snow : #F9F9F9 !default;
234
+ $vapor : #F6F6F6 !default;
235
+ $white-smoke : #F5F5F5 !default;
236
+ $silver : #EFEFEF !default;
237
+ $smoke : #EEEEEE !default;
238
+ $gainsboro : #DDDDDD !default;
239
+ $iron : #CCCCCC !default;
240
+ $base : #AAAAAA !default;
241
+ $aluminum : #999999 !default;
242
+ $jumbo : #888888 !default;
243
+ $monsoon : #777777 !default;
244
+ $steel : #666666 !default;
245
+ $charcoal : #555555 !default;
246
+ $tuatara : #444444 !default;
247
+ $oil : #333333 !default;
248
+ $jet : #222222 !default;
249
+ $black : #000000 !default;
250
+
251
+ // We use these to define default font weights
252
+ $font-weight-normal: normal !default;
253
+ $font-weight-bold: bold !default;
254
+
255
+ // We use these to control various global styles
256
+ $body-bg: #fff !default;
257
+ $body-font-color: #222 !default;
258
+ $body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif !default;
259
+ $body-font-weight: $font-weight-normal !default;
260
+ $body-font-style: normal !default;
261
+
262
+ // We use this to control font-smoothing
263
+ $font-smoothing: antialiased !default;
264
+
265
+ // We use these to control text direction settings
266
+ $text-direction: ltr !default;
267
+ $default-float: left !default;
268
+ $opposite-direction: right !default;
269
+ @if $text-direction == ltr {
270
+ $default-float: left;
271
+ $opposite-direction: right;
272
+ } @else {
273
+ $default-float: right;
274
+ $opposite-direction: left;
275
+ }
276
+
277
+ // We use these to make sure border radius matches unless we want it different.
278
+ $global-radius: 3px !default;
279
+ $global-rounded: 1000px !default;
280
+
281
+ // We use these to control inset shadow shiny edges and depressions.
282
+ $shiny-edge-size: 0 1px 0 !default;
283
+ $shiny-edge-color: rgba(#fff, .5) !default;
284
+ $shiny-edge-active-color: rgba(#000, .2) !default;
285
+
286
+ // We use this to control whether or not CSS classes come through in the gem files.
287
+ $include-html-classes: true !default;
288
+ $include-print-styles: true !default;
289
+ $include-html-global-classes: $include-html-classes !default;
290
+
291
+ $column-gutter: rem-calc(30) !default;
292
+
293
+ // Media Query Ranges
294
+ $small-range: (0em, 40em) !default;
295
+ $medium-range: (40.063em, 64em) !default;
296
+ $large-range: (64.063em, 90em) !default;
297
+ $xlarge-range: (90.063em, 120em) !default;
298
+ $xxlarge-range: (120.063em, 99999999em) !default;
299
+
300
+
301
+ $screen: "only screen" !default;
302
+
303
+ $landscape: "#{$screen} and (orientation: landscape)" !default;
304
+ $portrait: "#{$screen} and (orientation: portrait)" !default;
305
+
306
+ $small-up: $screen !default;
307
+ $small-only: "#{$screen} and (max-width: #{upper-bound($small-range)})" !default;
308
+
309
+ $medium-up: "#{$screen} and (min-width:#{lower-bound($medium-range)})" !default;
310
+ $medium-only: "#{$screen} and (min-width:#{lower-bound($medium-range)}) and (max-width:#{upper-bound($medium-range)})" !default;
311
+
312
+ $large-up: "#{$screen} and (min-width:#{lower-bound($large-range)})" !default;
313
+ $large-only: "#{$screen} and (min-width:#{lower-bound($large-range)}) and (max-width:#{upper-bound($large-range)})" !default;
314
+
315
+ $xlarge-up: "#{$screen} and (min-width:#{lower-bound($xlarge-range)})" !default;
316
+ $xlarge-only: "#{$screen} and (min-width:#{lower-bound($xlarge-range)}) and (max-width:#{upper-bound($xlarge-range)})" !default;
317
+
318
+ $xxlarge-up: "#{$screen} and (min-width:#{lower-bound($xxlarge-range)})" !default;
319
+ $xxlarge-only: "#{$screen} and (min-width:#{lower-bound($xxlarge-range)}) and (max-width:#{upper-bound($xxlarge-range)})" !default;
320
+
321
+ // Legacy
322
+ $small: $medium-up;
323
+ $medium: $medium-up;
324
+ $large: $large-up;
325
+
326
+
327
+ //We use this as cursors values for enabling the option of having custom cursors in the whole site's stylesheet
328
+ $cursor-auto-value: auto !default;
329
+ $cursor-crosshair-value: crosshair !default;
330
+ $cursor-default-value: default !default;
331
+ $cursor-pointer-value: pointer !default;
332
+ $cursor-help-value: help !default;
333
+ $cursor-text-value: text !default;
334
+
335
+
336
+ @include exports("global") {
337
+
338
+ // Meta styles are included in all builds, as they are a dependancy of the Javascript.
339
+ // Used to provide media query values for javascript components.
340
+ // Forward slash placed around everything to convince PhantomJS to read the value.
341
+
342
+ meta.foundation-version {
343
+ font-family: "/{{VERSION}}/";
344
+ }
345
+
346
+ meta.foundation-mq-small {
347
+ font-family: "/" + unquote($small-up) + "/";
348
+ width: lower-bound($small-range);
349
+ }
350
+
351
+ meta.foundation-mq-medium {
352
+ font-family: "/" + unquote($medium-up) + "/";
353
+ width: lower-bound($medium-range);
354
+ }
355
+
356
+ meta.foundation-mq-large {
357
+ font-family: "/" + unquote($large-up) + "/";
358
+ width: lower-bound($large-range);
359
+ }
360
+
361
+ meta.foundation-mq-xlarge {
362
+ font-family: "/" + unquote($xlarge-up) + "/";
363
+ width: lower-bound($xlarge-range);
364
+ }
365
+
366
+ meta.foundation-mq-xxlarge {
367
+ font-family: "/" + unquote($xxlarge-up) + "/";
368
+ width: lower-bound($xxlarge-range);
369
+ }
370
+
371
+ meta.foundation-data-attribute-namespace {
372
+ font-family: #{$namespace};
373
+ }
374
+
375
+ @if $include-html-global-classes {
376
+
377
+ // Must be 100% for off canvas to work
378
+ html, body { height: 100%; }
379
+
380
+ // Set box-sizing globally to handle padding and border widths
381
+ *,
382
+ *:before,
383
+ *:after {
384
+ @include box-sizing(border-box);
385
+ }
386
+
387
+ html,
388
+ body { font-size: $base-font-size; }
389
+
390
+ // Default body styles
391
+ body {
392
+ background: $body-bg;
393
+ color: $body-font-color;
394
+ padding: 0;
395
+ margin: 0;
396
+ font-family: $body-font-family;
397
+ font-weight: $body-font-weight;
398
+ font-style: $body-font-style;
399
+ line-height: $base-line-height; // Set to $base-line-height to take on browser default of 150%
400
+ position: relative;
401
+ cursor: $cursor-auto-value;
402
+ }
403
+
404
+ a:hover { cursor: $cursor-pointer-value; }
405
+
406
+ // Grid Defaults to get images and embeds to work properly
407
+ img { max-width: 100%; height: auto; }
408
+
409
+ img { -ms-interpolation-mode: bicubic; }
410
+
411
+ #map_canvas,
412
+ .map_canvas {
413
+ img,
414
+ embed,
415
+ object { max-width: none !important;
416
+ }
417
+ }
418
+
419
+ // Miscellaneous useful HTML classes
420
+ .left { float: left !important; }
421
+ .right { float: right !important; }
422
+ .clearfix { @include clearfix; }
423
+ .hide { display: none; }
424
+
425
+ // Font smoothing
426
+ // Antialiased font smoothing works best for light text on a dark background.
427
+ // Apply to single elements instead of globally to body.
428
+ // Note this only applies to webkit-based desktop browsers and Firefox 25 (and later) on the Mac.
429
+ .antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
430
+
431
+ // Get rid of gap under images by making them display: inline-block; by default
432
+ img {
433
+ display: inline-block;
434
+ vertical-align: middle;
435
+ }
436
+
437
+ //
438
+ // Global resets for forms
439
+ //
440
+
441
+ // Make sure textarea takes on height automatically
442
+ textarea { height: auto; min-height: 50px; }
443
+
444
+ // Make select elements 100% width by default
445
+ select { width: 100%; }
446
+ }
447
+ }
@@ -0,0 +1,275 @@
1
+ // Foundation by ZURB
2
+ // foundation.zurb.com
3
+ // Licensed under MIT Open Source
4
+
5
+ @import "global";
6
+
7
+ //
8
+ // @variables
9
+ //
10
+ $include-html-grid-classes: $include-html-classes !default;
11
+ $include-xl-html-grid-classes: false !default;
12
+
13
+ $row-width: rem-calc(1000) !default;
14
+ $total-columns: 12 !default;
15
+
16
+ $last-child-float: $opposite-direction !default;
17
+
18
+ //
19
+ // Grid Functions
20
+ //
21
+
22
+ // Deprecated: We'll drop support for this in 5.1, use grid-calc()
23
+ @function gridCalc($colNumber, $totalColumns) {
24
+ @warn "gridCalc() is deprecated, use grid-calc()";
25
+ @return grid-calc($colNumber, $totalColumns);
26
+ }
27
+
28
+ // @FUNCTION
29
+ // $colNumber - Found in settings file
30
+ // $totalColumns - Found in settings file
31
+ @function grid-calc($colNumber, $totalColumns) {
32
+ @return percentage(($colNumber / $totalColumns));
33
+ }
34
+
35
+ //
36
+ // @mixins
37
+ //
38
+
39
+ // For creating container, nested, and collapsed rows.
40
+ //
41
+ //
42
+ // $behavior - Any special behavior for this row? Default: false. Options: nest, collapse, nest-collapse, false.
43
+ @mixin grid-row($behavior: false) {
44
+
45
+ // use @include grid-row(nest); to include a nested row
46
+ @if $behavior == nest {
47
+ width: auto;
48
+ margin-#{$default-float}: -($column-gutter/2);
49
+ margin-#{$opposite-direction}: -($column-gutter/2);
50
+ margin-top: 0;
51
+ margin-bottom: 0;
52
+ max-width: none;
53
+ }
54
+
55
+ // use @include grid-row(collapse); to collapsed a container row margins
56
+ @else if $behavior == collapse {
57
+ width: 100%;
58
+ margin: 0;
59
+ max-width: $row-width;
60
+ }
61
+
62
+ // use @include grid-row(nest-collapse); to collapse outer margins on a nested row
63
+ @else if $behavior == nest-collapse {
64
+ width: auto;
65
+ margin: 0;
66
+ max-width: none;
67
+ }
68
+
69
+ // use @include grid-row; to use a container row
70
+ @else {
71
+ width: 100%;
72
+ margin-#{$default-float}: auto;
73
+ margin-#{$opposite-direction}: auto;
74
+ margin-top: 0;
75
+ margin-bottom: 0;
76
+ max-width: $row-width;
77
+ }
78
+
79
+ // Clearfix for all rows
80
+ @include clearfix();
81
+ }
82
+
83
+ // Creates a column, should be used inside of a media query to control layouts
84
+ //
85
+ // $columns - The number of columns this should be
86
+ // $last-column - Is this the last column? Default: false.
87
+ // $center - Center these columns? Default: false.
88
+ // $offset - # of columns to offset. Default: false.
89
+ // $push - # of columns to push. Default: false.
90
+ // $pull - # of columns to pull. Default: false.
91
+ // $collapse - Get rid of gutter padding on column? Default: false.
92
+ // $float - Should this float? Default: true. Options: true, false, left, right.
93
+ @mixin grid-column(
94
+ $columns:false,
95
+ $last-column:false,
96
+ $center:false,
97
+ $offset:false,
98
+ $push:false,
99
+ $pull:false,
100
+ $collapse:false,
101
+ $float:true,
102
+ $position:false) {
103
+
104
+ // If positioned for default .column, include relative position
105
+ // push and pull require position set
106
+ @if $position or $push or $pull {
107
+ position: relative;
108
+ }
109
+
110
+ // If collapsed, get rid of gutter padding
111
+ @if $collapse {
112
+ padding-left: 0;
113
+ padding-right: 0;
114
+ }
115
+
116
+ // Gutter padding whenever a column isn't set to collapse
117
+ // (use $collapse:null to do nothing)
118
+ @else if $collapse == false {
119
+ padding-left: $column-gutter / 2;
120
+ padding-right: $column-gutter / 2;
121
+ }
122
+
123
+ // If a column number is given, calculate width
124
+ @if $columns {
125
+ width: grid-calc($columns, $total-columns);
126
+
127
+ // If last column, float naturally instead of to the right
128
+ @if $last-column { float: $opposite-direction; }
129
+ }
130
+
131
+ // Source Ordering, adds left/right depending on which you use.
132
+ @if $push { #{$default-float}: grid-calc($push, $total-columns); #{$opposite-direction}: auto; }
133
+ @if $pull { #{$opposite-direction}: grid-calc($pull, $total-columns); #{$default-float}: auto; }
134
+
135
+ @if $float {
136
+ @if $float == left or $float == true { float: $default-float; }
137
+ @else if $float == right { float: $opposite-direction; }
138
+ @else { float: none; }
139
+ }
140
+
141
+ // If centered, get rid of float and add appropriate margins
142
+ @if $center {
143
+ margin-#{$default-float}: auto;
144
+ margin-#{$opposite-direction}: auto;
145
+ float: none;
146
+ }
147
+
148
+ // If offset, calculate appropriate margins
149
+ @if $offset { margin-#{$default-float}: grid-calc($offset, $total-columns) !important; }
150
+
151
+ }
152
+
153
+ // Create presentational classes for grid
154
+ //
155
+ // $size - Name of class to use, i.e. "large" will generate .large-1, .large-2, etc.
156
+ @mixin grid-html-classes($size) {
157
+
158
+ @for $i from 0 through $total-columns - 1 {
159
+ .#{$size}-push-#{$i} {
160
+ @include grid-column($push:$i, $collapse:null, $float:false);
161
+ }
162
+ .#{$size}-pull-#{$i} {
163
+ @include grid-column($pull:$i, $collapse:null, $float:false);
164
+ }
165
+ }
166
+
167
+ .column,
168
+ .columns { @include grid-column($columns:false, $position:true); }
169
+
170
+
171
+ @for $i from 1 through $total-columns {
172
+ .#{$size}-#{$i} { @include grid-column($columns:$i,$collapse:null,$float:false); }
173
+ }
174
+
175
+
176
+
177
+ @for $i from 0 through $total-columns - 1 {
178
+ .#{$size}-offset-#{$i} { @include grid-column($offset:$i, $collapse:null,$float:false); }
179
+ }
180
+ .#{$size}-reset-order {
181
+ margin-#{$default-float}: 0;
182
+ margin-#{$opposite-direction}: 0;
183
+ left: auto;
184
+ right: auto;
185
+ float: $default-float;
186
+ }
187
+
188
+ .column.#{$size}-centered,
189
+ .columns.#{$size}-centered { @include grid-column($center:true, $collapse:null, $float:false); }
190
+
191
+ .column.#{$size}-uncentered,
192
+ .columns.#{$size}-uncentered {
193
+ margin-#{$default-float}: 0;
194
+ margin-#{$opposite-direction}: 0;
195
+ float: $default-float;
196
+ }
197
+
198
+ // Fighting [class*="column"] + [class*="column"]:last-child
199
+ .column.#{$size}-centered:last-child,
200
+ .columns.#{$size}-centered:last-child{
201
+ float: none;
202
+ }
203
+
204
+ // Fighting .column.<previous-size>-centered:last-child
205
+ .column.#{$size}-uncentered:last-child,
206
+ .columns.#{$size}-uncentered:last-child {
207
+ float: $default-float;
208
+ }
209
+
210
+ .column.#{$size}-uncentered.opposite,
211
+ .columns.#{$size}-uncentered.opposite {
212
+ float: $opposite-direction;
213
+ }
214
+ }
215
+
216
+ @include exports("grid") {
217
+ @if $include-html-grid-classes {
218
+ .row {
219
+ @include grid-row;
220
+
221
+ &.collapse {
222
+ > .column,
223
+ > .columns { @include grid-column($collapse:true, $float:false); }
224
+
225
+ .row {margin-left:0; margin-right:0;}
226
+ }
227
+
228
+ .row { @include grid-row($behavior:nest);
229
+ &.collapse { @include grid-row($behavior:nest-collapse); }
230
+ }
231
+ }
232
+
233
+ .column,
234
+ .columns { @include grid-column($columns:$total-columns); }
235
+
236
+ [class*="column"] + [class*="column"]:last-child { float: $last-child-float; }
237
+ [class*="column"] + [class*="column"].end { float: $default-float; }
238
+
239
+ @media #{$small-up} {
240
+ @include grid-html-classes($size:small);
241
+ }
242
+
243
+ @media #{$medium-up} {
244
+ @include grid-html-classes($size:medium);
245
+ // Old push and pull classes
246
+ @for $i from 0 through $total-columns - 1 {
247
+ .push-#{$i} {
248
+ @include grid-column($push:$i, $collapse:null, $float:false);
249
+ }
250
+ .pull-#{$i} {
251
+ @include grid-column($pull:$i, $collapse:null, $float:false);
252
+ }
253
+ }
254
+ }
255
+ @media #{$large-up} {
256
+ @include grid-html-classes($size:large);
257
+ @for $i from 0 through $total-columns - 1 {
258
+ .push-#{$i} {
259
+ @include grid-column($push:$i, $collapse:null, $float:false);
260
+ }
261
+ .pull-#{$i} {
262
+ @include grid-column($pull:$i, $collapse:null, $float:false);
263
+ }
264
+ }
265
+ }
266
+ }
267
+ @if $include-xl-html-grid-classes {
268
+ @media #{$xlarge-up} {
269
+ @include grid-html-classes($size:xlarge);
270
+ }
271
+ @media #{$xxlarge-up} {
272
+ @include grid-html-classes($size:xxlarge);
273
+ }
274
+ }
275
+ }