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.
- data/Gemfile.lock +1 -1
- data/README.md +4 -0
- data/docs/CHANGELOG.md +10 -0
- data/docs/components/block-grid.html.erb +1 -1
- data/docs/components/grid.html.erb +4 -4
- data/docs/components/inline-lists.html.erb +2 -2
- data/docs/components/panels.html.erb +2 -2
- data/docs/components/pricing-tables.html.erb +1 -1
- data/docs/components/progress-bars.html.erb +1 -1
- data/docs/components/reveal.html.erb +1 -1
- data/docs/components/section.html.erb +546 -19
- data/docs/components/split-buttons.html.erb +2 -2
- data/docs/components/thumbnails.html.erb +2 -2
- data/docs/components/top-bar.html.erb +2 -3
- data/docs/components/type.html.erb +5 -5
- data/docs/components/visibility.html.erb +1 -1
- data/docs/css/docs.scss +54 -0
- data/docs/sass.html.erb +3 -1
- data/js/foundation/foundation.forms.js +311 -227
- data/js/foundation/foundation.joyride.js +10 -8
- data/js/foundation/foundation.js +1 -1
- data/js/foundation/foundation.section.js +4 -4
- data/lib/foundation/version.rb +1 -1
- data/scss/foundation/_variables.scss +185 -171
- data/scss/foundation/components/_alert-boxes.scss +1 -0
- data/scss/foundation/components/_block-grid.scss +2 -4
- data/scss/foundation/components/_breadcrumbs.scss +1 -0
- data/scss/foundation/components/_button-groups.scss +1 -0
- data/scss/foundation/components/_buttons.scss +1 -0
- data/scss/foundation/components/_clearing.scss +154 -151
- data/scss/foundation/components/_custom-forms.scss +35 -21
- data/scss/foundation/components/_dropdown-buttons.scss +2 -1
- data/scss/foundation/components/_dropdown.scss +2 -1
- data/scss/foundation/components/_flex-video.scss +1 -0
- data/scss/foundation/components/_forms.scss +1 -0
- data/scss/foundation/components/_global.scss +75 -84
- data/scss/foundation/components/_grid.scss +9 -8
- data/scss/foundation/components/_inline-lists.scss +2 -1
- data/scss/foundation/components/_joyride.scss +165 -160
- data/scss/foundation/components/_keystrokes.scss +2 -1
- data/scss/foundation/components/_labels.scss +1 -0
- data/scss/foundation/components/_magellan.scss +2 -0
- data/scss/foundation/components/_orbit.scss +158 -154
- data/scss/foundation/components/_pagination.scss +1 -0
- data/scss/foundation/components/_panels.scss +1 -0
- data/scss/foundation/components/_pricing-tables.scss +1 -0
- data/scss/foundation/components/_progress-bars.scss +1 -0
- data/scss/foundation/components/_reveal.scss +2 -1
- data/scss/foundation/components/_section.scss +108 -93
- data/scss/foundation/components/_side-nav.scss +2 -1
- data/scss/foundation/components/_split-buttons.scss +1 -0
- data/scss/foundation/components/_sub-nav.scss +1 -0
- data/scss/foundation/components/_switch.scss +4 -2
- data/scss/foundation/components/_tables.scss +7 -3
- data/scss/foundation/components/_thumbs.scss +1 -0
- data/scss/foundation/components/_tooltips.scss +85 -81
- data/scss/foundation/components/_top-bar.scss +323 -318
- data/scss/foundation/components/_type.scss +290 -286
- data/scss/foundation/components/_visibility.scss +2 -0
- data/templates/project/index.html +0 -1
- data/templates/project/manifest.rb +0 -1
- data/templates/project/scss/app.scss +3 -0
- 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
|
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-
|
124
|
+
@if $include-html-button-classes != false {
|
124
125
|
|
125
126
|
@media only screen and (max-width: 767px) {
|
126
127
|
.f-dropdown {
|
@@ -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:
|
109
|
-
-moz-transition:
|
110
|
-
transition: box-shadow
|
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-
|
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:
|
212
|
-
$medium: "only screen and (min-width
|
213
|
-
$large: "only screen and (min-width
|
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
|
-
|
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
|
-
//
|
241
|
-
|
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
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
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
|
-
|
249
|
-
|
250
|
-
img { -ms-interpolation-mode: bicubic; }
|
229
|
+
// Override outline from normalize, we don't like it
|
230
|
+
a:focus { outline: none; }
|
251
231
|
|
252
|
-
|
253
|
-
.map_canvas {
|
232
|
+
// Grid Defaults to get images and embeds to work properly
|
254
233
|
img,
|
255
|
-
|
256
|
-
|
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
|
-
|
278
|
-
|
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
|
286
|
-
|
277
|
+
// Make select elements 100% width by default
|
278
|
+
select { width: 100%; }
|
287
279
|
|
288
|
-
|
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.
|
173
|
-
.columns.
|
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:
|
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-
|
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
|
-
|
38
|
-
.joyride-list { display: none; }
|
38
|
+
@if $include-html-joyride-classes != false {
|
39
39
|
|
40
|
-
/*
|
41
|
-
.joyride-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
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
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
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
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
.joyride-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
}
|
112
|
-
|
113
|
-
|
114
|
-
|
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
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
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
|
+
}
|