zurb-foundation 4.1.5 → 4.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. data/Gemfile.lock +1 -1
  2. data/README.md +4 -0
  3. data/docs/CHANGELOG.md +10 -0
  4. data/docs/components/block-grid.html.erb +1 -1
  5. data/docs/components/grid.html.erb +4 -4
  6. data/docs/components/inline-lists.html.erb +2 -2
  7. data/docs/components/panels.html.erb +2 -2
  8. data/docs/components/pricing-tables.html.erb +1 -1
  9. data/docs/components/progress-bars.html.erb +1 -1
  10. data/docs/components/reveal.html.erb +1 -1
  11. data/docs/components/section.html.erb +546 -19
  12. data/docs/components/split-buttons.html.erb +2 -2
  13. data/docs/components/thumbnails.html.erb +2 -2
  14. data/docs/components/top-bar.html.erb +2 -3
  15. data/docs/components/type.html.erb +5 -5
  16. data/docs/components/visibility.html.erb +1 -1
  17. data/docs/css/docs.scss +54 -0
  18. data/docs/sass.html.erb +3 -1
  19. data/js/foundation/foundation.forms.js +311 -227
  20. data/js/foundation/foundation.joyride.js +10 -8
  21. data/js/foundation/foundation.js +1 -1
  22. data/js/foundation/foundation.section.js +4 -4
  23. data/lib/foundation/version.rb +1 -1
  24. data/scss/foundation/_variables.scss +185 -171
  25. data/scss/foundation/components/_alert-boxes.scss +1 -0
  26. data/scss/foundation/components/_block-grid.scss +2 -4
  27. data/scss/foundation/components/_breadcrumbs.scss +1 -0
  28. data/scss/foundation/components/_button-groups.scss +1 -0
  29. data/scss/foundation/components/_buttons.scss +1 -0
  30. data/scss/foundation/components/_clearing.scss +154 -151
  31. data/scss/foundation/components/_custom-forms.scss +35 -21
  32. data/scss/foundation/components/_dropdown-buttons.scss +2 -1
  33. data/scss/foundation/components/_dropdown.scss +2 -1
  34. data/scss/foundation/components/_flex-video.scss +1 -0
  35. data/scss/foundation/components/_forms.scss +1 -0
  36. data/scss/foundation/components/_global.scss +75 -84
  37. data/scss/foundation/components/_grid.scss +9 -8
  38. data/scss/foundation/components/_inline-lists.scss +2 -1
  39. data/scss/foundation/components/_joyride.scss +165 -160
  40. data/scss/foundation/components/_keystrokes.scss +2 -1
  41. data/scss/foundation/components/_labels.scss +1 -0
  42. data/scss/foundation/components/_magellan.scss +2 -0
  43. data/scss/foundation/components/_orbit.scss +158 -154
  44. data/scss/foundation/components/_pagination.scss +1 -0
  45. data/scss/foundation/components/_panels.scss +1 -0
  46. data/scss/foundation/components/_pricing-tables.scss +1 -0
  47. data/scss/foundation/components/_progress-bars.scss +1 -0
  48. data/scss/foundation/components/_reveal.scss +2 -1
  49. data/scss/foundation/components/_section.scss +108 -93
  50. data/scss/foundation/components/_side-nav.scss +2 -1
  51. data/scss/foundation/components/_split-buttons.scss +1 -0
  52. data/scss/foundation/components/_sub-nav.scss +1 -0
  53. data/scss/foundation/components/_switch.scss +4 -2
  54. data/scss/foundation/components/_tables.scss +7 -3
  55. data/scss/foundation/components/_thumbs.scss +1 -0
  56. data/scss/foundation/components/_tooltips.scss +85 -81
  57. data/scss/foundation/components/_top-bar.scss +323 -318
  58. data/scss/foundation/components/_type.scss +290 -286
  59. data/scss/foundation/components/_visibility.scss +2 -0
  60. data/templates/project/index.html +0 -1
  61. data/templates/project/manifest.rb +0 -1
  62. data/templates/project/scss/app.scss +3 -0
  63. metadata +4 -4
@@ -1,6 +1,7 @@
1
1
  //
2
2
  // Dropdown Button Variables
3
3
  //
4
+ $include-html-button-classes: $include-html-classes !default;
4
5
 
5
6
  // We use these to set the color of the pip in dropdown buttons
6
7
  $dropdown-button-pip-color: #fff !default;
@@ -101,7 +102,7 @@ $dropdown-button-pip-top-lrg: -$button-lrg / 2 + emCalc(3px) !default;
101
102
  }
102
103
 
103
104
 
104
- @if $include-html-button-classes != false {
105
+ @if $include-html-button-classes {
105
106
 
106
107
  /* Dropdown Button */
107
108
  .dropdown.button { @include dropdown-button;
@@ -1,6 +1,7 @@
1
1
  //
2
2
  // Dropdown Variables
3
3
  //
4
+ $include-html-button-classes: $include-html-classes !default;
4
5
 
5
6
  // We use these to controls height and width styles.
6
7
  $f-dropdown-max-width: 200px !default;
@@ -120,7 +121,7 @@ $f-dropdown-content-padding: emCalc(20px) !default;
120
121
  }
121
122
 
122
123
 
123
- @if $include-html-nav-classes != false {
124
+ @if $include-html-button-classes != false {
124
125
 
125
126
  @media only screen and (max-width: 767px) {
126
127
  .f-dropdown {
@@ -1,6 +1,7 @@
1
1
  //
2
2
  // Flex Video Variables
3
3
  //
4
+ $include-html-media-classes: $include-html-classes !default;
4
5
 
5
6
  // We use these to control video container padding and margins
6
7
  $flex-video-padding-top: emCalc(25px) !default;
@@ -1,6 +1,7 @@
1
1
  //
2
2
  // Form Variables
3
3
  //
4
+ $include-html-form-classes: $include-html-classes !default;
4
5
 
5
6
  // We use this to set the base for lots of form spacing and positioning styles
6
7
  $form-spacing: emCalc(16px) !default;
@@ -105,9 +105,9 @@
105
105
 
106
106
  // We use this to add a glowing effect to block elements
107
107
  @mixin block-glowing-effect($selector:focus, $fade-time:300ms, $glowing-effect-color:fade-out($primary-color, .25)) {
108
- -webkit-transition: box-shadow, $fade-time, -moz-box-shadow, $fade-time, -webkit-box-shadow, $fade-time, border-color, $fade-time, ease-in-out;
109
- -moz-transition: box-shadow, $fade-time, -moz-box-shadow, $fade-time, -webkit-box-shadow, $fade-time, border-color, $fade-time, ease-in-out;
110
- transition: box-shadow, $fade-time, -moz-box-shadow, $fade-time, -webkit-box-shadow, $fade-time, border-color, $fade-time, ease-in-out;
108
+ -webkit-transition: -webkit-box-shadow $fade-time, border-color $fade-time ease-in-out;
109
+ -moz-transition: -moz-box-shadow $fade-time, border-color $fade-time ease-in-out;
110
+ transition: box-shadow $fade-time, border-color $fade-time ease-in-out;
111
111
 
112
112
  &:#{$selector} {
113
113
  -webkit-box-shadow: 0 0 5px $glowing-effect-color;
@@ -153,7 +153,7 @@ $body-font-weight: normal !default;
153
153
  $body-font-style: normal !default;
154
154
 
155
155
  // We use this to control font-smoothing
156
- $font-smoothing: antialiased !default;
156
+ $font-smoothing: subpixel-antialiased !default;
157
157
 
158
158
  // We use these to control text direction settings
159
159
  $text-direction: ltr !default;
@@ -187,20 +187,7 @@ $shiny-edge-active-color: rgba(#000, .2) !default;
187
187
  // We use this to control whether or not CSS classes come through in the gem files.
188
188
  $include-html-classes: true !default;
189
189
  $include-print-styles: true !default;
190
- $include-html-grid-classes: $include-html-classes !default;
191
- $include-html-visibility-classes: $include-html-classes !default;
192
- $include-html-button-classes: $include-html-classes !default;
193
- $include-html-form-classes: $include-html-classes !default;
194
- $include-html-media-classes: $include-html-classes !default;
195
- $include-html-section-classes: $include-html-classes !default;
196
- $include-html-reveal-classes: $include-html-classes !default;
197
- $include-html-alert-classes: $include-html-classes !default;
198
- $include-html-nav-classes: $include-html-classes !default;
199
- $include-html-label-classes: $include-html-classes !default;
200
- $include-html-panel-classes: $include-html-classes !default;
201
- $include-html-pricing-classes: $include-html-classes !default;
202
- $include-html-progress-classes: $include-html-classes !default;
203
- $include-html-magellan-classes: $include-html-classes !default;
190
+ $include-html-global-classes: $include-html-classes !default;
204
191
 
205
192
  // Media Queries
206
193
  $small-screen: emCalc(768px) !default;
@@ -208,82 +195,86 @@ $medium-screen: emCalc(1280px) !default;
208
195
  $large-screen: emCalc(1440px) !default;
209
196
 
210
197
  $screen: "only screen" !default;
211
- $small: "only screen and (min-width:"#{$small-screen}")" !default;
212
- $medium: "only screen and (min-width:"#{$medium-screen}")" !default;
213
- $large: "only screen and (min-width:"#{$large-screen}")" !default;
198
+ $small: "only screen and (min-width: #{$small-screen})" !default;
199
+ $medium: "only screen and (min-width:#{$medium-screen})" !default;
200
+ $large: "only screen and (min-width:#{$large-screen})" !default;
214
201
  $landscape: "only screen and (orientation: landscape)" !default;
215
202
  $portrait: "only screen and (orientation: portrait)" !default;
216
203
 
217
- // Set box-sizing globally to handle padding and border widths
218
- *,
219
- *:before,
220
- *:after {
221
- @include box-sizing(border-box);
222
- }
223
-
224
- html,
225
- body { font-size: $base-font-size; }
226
-
227
- // Default body styles
228
- body {
229
- background: $body-bg;
230
- color: $body-font-color;
231
- padding: 0;
232
- margin: 0;
233
- font-family: $body-font-family;
234
- font-weight: $body-font-weight;
235
- font-style: $body-font-style;
236
- line-height: 1; // Set to $base-line-height to take on browser default of 150%
237
- position: relative;
238
- }
204
+ @if $include-html-global-classes {
239
205
 
240
- // Override outline from normalize, we don't like it
241
- a:focus { outline: none; }
206
+ // Set box-sizing globally to handle padding and border widths
207
+ *,
208
+ *:before,
209
+ *:after {
210
+ @include box-sizing(border-box);
211
+ }
242
212
 
243
- // Grid Defaults to get images and embeds to work properly
244
- img,
245
- object,
246
- embed { max-width: 100%; height: auto; }
213
+ html,
214
+ body { font-size: $base-font-size; }
215
+
216
+ // Default body styles
217
+ body {
218
+ background: $body-bg;
219
+ color: $body-font-color;
220
+ padding: 0;
221
+ margin: 0;
222
+ font-family: $body-font-family;
223
+ font-weight: $body-font-weight;
224
+ font-style: $body-font-style;
225
+ line-height: 1; // Set to $base-line-height to take on browser default of 150%
226
+ position: relative;
227
+ }
247
228
 
248
- object,
249
- embed { height: 100%; }
250
- img { -ms-interpolation-mode: bicubic; }
229
+ // Override outline from normalize, we don't like it
230
+ a:focus { outline: none; }
251
231
 
252
- #map_canvas,
253
- .map_canvas {
232
+ // Grid Defaults to get images and embeds to work properly
254
233
  img,
255
- embed,
256
- object { max-width: none !important;
234
+ object,
235
+ embed { max-width: 100%; height: auto; }
236
+
237
+ object,
238
+ embed { height: 100%; }
239
+ img { -ms-interpolation-mode: bicubic; }
240
+
241
+ #map_canvas,
242
+ .map_canvas {
243
+ img,
244
+ embed,
245
+ object { max-width: none !important;
246
+ }
257
247
  }
258
- }
259
248
 
260
- // Miscellaneous useful HTML classes
261
- .left { float: left !important; }
262
- .right { float: right !important; }
263
- .text-left { text-align: left !important; }
264
- .text-right { text-align: right !important; }
265
- .text-center { text-align: center !important; }
266
- .text-justify { text-align: justify !important; }
267
- .hide { display: none; }
268
-
269
- // Font smoothing
270
- // Antialiased font smoothing works best for light text on a dark background.
271
- // Apply to single elements instead of globally to body.
272
- // Note this only applies to webkit-based desktop browsers on the Mac.
273
- .antialiased { -webkit-font-smoothing: antialiased; }
274
-
275
- // Get rid of gap under images by making them display: inline-block; by default
276
- img {
277
- display: inline-block;
278
- vertical-align: middle;
279
- }
249
+ // Miscellaneous useful HTML classes
250
+ .left { float: left !important; }
251
+ .right { float: right !important; }
252
+ .text-left { text-align: left !important; }
253
+ .text-right { text-align: right !important; }
254
+ .text-center { text-align: center !important; }
255
+ .text-justify { text-align: justify !important; }
256
+ .hide { display: none; }
257
+
258
+ // Font smoothing
259
+ // Antialiased font smoothing works best for light text on a dark background.
260
+ // Apply to single elements instead of globally to body.
261
+ // Note this only applies to webkit-based desktop browsers on the Mac.
262
+ .antialiased { -webkit-font-smoothing: antialiased; }
263
+
264
+ // Get rid of gap under images by making them display: inline-block; by default
265
+ img {
266
+ display: inline-block;
267
+ vertical-align: middle;
268
+ }
280
269
 
281
- //
282
- // Global resets for forms
283
- //
270
+ //
271
+ // Global resets for forms
272
+ //
273
+
274
+ // Make sure textarea takes on height automatically
275
+ textarea { height: auto; min-height: 50px; }
284
276
 
285
- // Make sure textarea takes on height automatically
286
- textarea { height: auto; min-height: 50px; }
277
+ // Make select elements 100% width by default
278
+ select { width: 100%; }
287
279
 
288
- // Make select elements 100% width by default
289
- select { width: 100%; }
280
+ }
@@ -1,6 +1,8 @@
1
1
  //
2
2
  // Grid Variables
3
3
  //
4
+ $include-html-grid-classes: $include-html-classes !default;
5
+
4
6
  $row-width: emCalc(1000px) !default;
5
7
  $column-gutter: emCalc(30px) !default;
6
8
  $total-columns: 12 !default;
@@ -109,9 +111,8 @@ $total-columns: 12 !default;
109
111
  }
110
112
 
111
113
 
112
- /* Grid HTML Classes */
113
114
  @if $include-html-grid-classes != false {
114
-
115
+ /* Grid HTML Classes */
115
116
  .row {
116
117
  @include grid-row;
117
118
 
@@ -169,16 +170,16 @@ $total-columns: 12 !default;
169
170
  .small-pull#{-$i} { #{$opposite-direction}: inherit; }
170
171
  }
171
172
 
172
- .column.small-centered,
173
- .columns.small-centered {
173
+ .column.large-centered,
174
+ .columns.large-centered { @include grid-column($center:true, $collapse:null, $float:false); }
175
+
176
+ .column.large-uncentered,
177
+ .columns.large-uncentered, {
174
178
  margin-#{$default-float}: 0;
175
179
  margin-#{$opposite-direction}: 0;
176
- float: $default-float !important;
180
+ float: none;
177
181
  }
178
182
 
179
- .column.large-centered,
180
- .columns.large-centered { @include grid-column($center:true, $collapse:null, $float:false); }
181
-
182
183
  }
183
184
 
184
185
  }
@@ -1,6 +1,7 @@
1
1
  //
2
2
  // Inline List Variables
3
3
  //
4
+ $include-html-global-classes: $include-html-classes !default;
4
5
 
5
6
  // We use this to control the margins and padding of the inline list.
6
7
  $inline-list-top-margin: 0 !default;
@@ -42,7 +43,7 @@ $inline-list-children-display: block !default;
42
43
  }
43
44
 
44
45
 
45
- @if $include-html-grid-classes != false {
46
+ @if $include-html-global-classes != false {
46
47
 
47
48
  /* Inline Lists */
48
49
  .inline-list {
@@ -1,6 +1,7 @@
1
1
  //
2
2
  // Joyride Variables
3
3
  //
4
+ $include-html-joyride-classes: $include-html-classes !default;
4
5
 
5
6
  // Controlling default Joyride styles
6
7
  $joyride-tip-bg: rgb(0,0,0) !default;
@@ -34,177 +35,181 @@ $joyride-screenfill: rgba(0,0,0,0.5) !default;
34
35
 
35
36
  // We decided not to make a mixin for this because it relies on predefined classes to work properly.
36
37
 
37
- /* Foundation Joyride */
38
- .joyride-list { display: none; }
38
+ @if $include-html-joyride-classes != false {
39
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
- #{$default-float}: 50%;
57
- margin-#{$default-float}:-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;
40
+ /* Foundation Joyride */
41
+ .joyride-list { display: none; }
42
+
43
+ /* Default styles for the container */
44
+ .joyride-tip-guide {
45
+ display: none;
72
46
  position: absolute;
73
- #{$default-float}: $joyride-tip-position-offset;
74
- width: 0;
75
- height: 0;
76
- border: inset $joyride-tip-nub-size;
77
-
78
- &.top {
79
- border-top-style: solid;
80
- border-color: $joyride-tip-bg;
81
- border-top-color: transparent !important;
82
- border-#{$default-float}-color: transparent !important;
83
- border-#{$opposite-direction}-color: transparent !important;
84
- top: -($joyride-tip-nub-size*2);
85
- }
86
- &.bottom {
87
- border-bottom-style: solid;
88
- border-color: $joyride-tip-bg !important;
89
- border-bottom-color: transparent !important;
90
- border-#{$default-float}-color: transparent !important;
91
- border-#{$opposite-direction}-color: transparent !important;
92
- bottom: -($joyride-tip-nub-size*2);
93
- }
94
-
95
- &.right { right: -($joyride-tip-nub-size*2); }
96
- &.left { left: -($joyride-tip-nub-size*2); }
47
+ background: $joyride-tip-bg;
48
+ color: $joyride-tip-font-color;
49
+ z-index: 101;
50
+ top: 0;
51
+ #{$default-float}: 2.5%;
52
+ font-family: inherit;
53
+ font-weight: normal;
54
+ width: 95%;
97
55
  }
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
- #{$opposite-direction}: 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
- #{$opposite-direction}: 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
- .joyride-expose-wrapper {
161
- background-color: #ffffff;
162
- position: absolute;
163
- border-radius: 3px;
164
- z-index: 102;
165
- -moz-box-shadow: 0px 0px 30px #ffffff;
166
- -webkit-box-shadow: 0px 0px 15px #ffffff;
167
- box-shadow: 0px 0px 15px #ffffff;
168
- }
169
-
170
- .joyride-expose-cover {
171
- background: transparent;
172
- border-radius: 3px;
173
- position: absolute;
174
- z-index: 9999;
175
- top: 0px;
176
- left: 0px;
177
- }
178
-
179
-
180
- /* Styles for screens that are atleast 768px; */
181
- @media #{$small} {
182
- .joyride-tip-guide { width: $joyride-tip-default-width; #{$default-float}: inherit;
56
+
57
+ .lt-ie9 .joyride-tip-guide {
58
+ max-width:800px;
59
+ #{$default-float}: 50%;
60
+ margin-#{$default-float}:-400px;
61
+ }
62
+
63
+ .joyride-content-wrapper {
64
+ width: 100%;
65
+
66
+ padding: $joyride-tip-padding;
67
+
68
+ .button { margin-bottom: 0 !important; }
69
+ }
70
+
71
+ /* Add a little css triangle pip, older browser just miss out on the fanciness of it */
72
+ .joyride-tip-guide {
183
73
  .joyride-nub {
74
+ display: block;
75
+ position: absolute;
76
+ #{$default-float}: $joyride-tip-position-offset;
77
+ width: 0;
78
+ height: 0;
79
+ border: inset $joyride-tip-nub-size;
80
+
81
+ &.top {
82
+ border-top-style: solid;
83
+ border-color: $joyride-tip-bg;
84
+ border-top-color: transparent !important;
85
+ border-#{$default-float}-color: transparent !important;
86
+ border-#{$opposite-direction}-color: transparent !important;
87
+ top: -($joyride-tip-nub-size*2);
88
+ }
184
89
  &.bottom {
90
+ border-bottom-style: solid;
185
91
  border-color: $joyride-tip-bg !important;
186
92
  border-bottom-color: transparent !important;
187
93
  border-#{$default-float}-color: transparent !important;
188
94
  border-#{$opposite-direction}-color: transparent !important;
189
95
  bottom: -($joyride-tip-nub-size*2);
190
96
  }
191
- &.right {
192
- border-color: $joyride-tip-bg !important;
193
- border-top-color: transparent !important;
194
- border-right-color: transparent !important; border-bottom-color: transparent !important;
195
- top: $joyride-tip-position-offset;
196
- left: auto;
197
- right: -($joyride-tip-nub-size*2);
198
- }
199
- &.left {
200
- border-color: $joyride-tip-bg !important;
201
- border-top-color: transparent !important;
202
- border-left-color: transparent !important;
203
- border-bottom-color: transparent !important;
204
- top: $joyride-tip-position-offset;
205
- left: -($joyride-tip-nub-size*2);
206
- right: auto;
97
+
98
+ &.right { right: -($joyride-tip-nub-size*2); }
99
+ &.left { left: -($joyride-tip-nub-size*2); }
100
+ }
101
+ }
102
+
103
+ /* Typography */
104
+ .joyride-tip-guide h1,
105
+ .joyride-tip-guide h2,
106
+ .joyride-tip-guide h3,
107
+ .joyride-tip-guide h4,
108
+ .joyride-tip-guide h5,
109
+ .joyride-tip-guide h6 {
110
+ line-height: 1.25;
111
+ margin: 0;
112
+ font-weight: $joyride-tip-header-weight;
113
+ color: $joyride-tip-font-color;
114
+ }
115
+ .joyride-tip-guide p {
116
+ margin: 0 0 emCalc(18px) 0;
117
+ font-size: $joyride-tip-font-size;
118
+ line-height: 1.3;
119
+ }
120
+
121
+ .joyride-timer-indicator-wrap {
122
+ width: $joyride-tip-timer-width;
123
+ height: $joyride-tip-timer-height;
124
+ border: $joyride-tip-border;
125
+ position: absolute;
126
+ #{$opposite-direction}: emCalc(17px);
127
+ bottom: emCalc(16px);
128
+ }
129
+ .joyride-timer-indicator {
130
+ display: block;
131
+ width: 0;
132
+ height: inherit;
133
+ background: $joyride-tip-timer-color;
134
+ }
135
+
136
+ .joyride-close-tip {
137
+ position: absolute;
138
+ #{$opposite-direction}: 12px;
139
+ top: 10px;
140
+ color: $joyride-tip-close-color !important;
141
+ text-decoration: none;
142
+ font-size: $joyride-tip-close-size;
143
+ font-weight: $joyride-tip-close-weight;
144
+ line-height: .5 !important;
145
+
146
+ &:hover,
147
+ &:focus { color: #eee !important; }
148
+ }
149
+
150
+ .joyride-modal-bg {
151
+ position: fixed;
152
+ height: 100%;
153
+ width: 100%;
154
+ background: transparent;
155
+ background: $joyride-screenfill;
156
+ z-index: 100;
157
+ display: none;
158
+ top: 0;
159
+ #{$default-float}: 0;
160
+ cursor: pointer;
161
+ }
162
+
163
+ .joyride-expose-wrapper {
164
+ background-color: #ffffff;
165
+ position: absolute;
166
+ border-radius: 3px;
167
+ z-index: 102;
168
+ -moz-box-shadow: 0px 0px 30px #ffffff;
169
+ -webkit-box-shadow: 0px 0px 15px #ffffff;
170
+ box-shadow: 0px 0px 15px #ffffff;
171
+ }
172
+
173
+ .joyride-expose-cover {
174
+ background: transparent;
175
+ border-radius: 3px;
176
+ position: absolute;
177
+ z-index: 9999;
178
+ top: 0px;
179
+ left: 0px;
180
+ }
181
+
182
+
183
+ /* Styles for screens that are atleast 768px; */
184
+ @media #{$small} {
185
+ .joyride-tip-guide { width: $joyride-tip-default-width; #{$default-float}: inherit;
186
+ .joyride-nub {
187
+ &.bottom {
188
+ border-color: $joyride-tip-bg !important;
189
+ border-bottom-color: transparent !important;
190
+ border-#{$default-float}-color: transparent !important;
191
+ border-#{$opposite-direction}-color: transparent !important;
192
+ bottom: -($joyride-tip-nub-size*2);
193
+ }
194
+ &.right {
195
+ border-color: $joyride-tip-bg !important;
196
+ border-top-color: transparent !important;
197
+ border-right-color: transparent !important; border-bottom-color: transparent !important;
198
+ top: $joyride-tip-position-offset;
199
+ left: auto;
200
+ right: -($joyride-tip-nub-size*2);
201
+ }
202
+ &.left {
203
+ border-color: $joyride-tip-bg !important;
204
+ border-top-color: transparent !important;
205
+ border-left-color: transparent !important;
206
+ border-bottom-color: transparent !important;
207
+ top: $joyride-tip-position-offset;
208
+ left: -($joyride-tip-nub-size*2);
209
+ right: auto;
210
+ }
207
211
  }
208
212
  }
209
213
  }
210
- }
214
+
215
+ }