zurb-foundation 4.3.1 → 4.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +4 -0
- data/Gemfile.lock +31 -2
- data/Gruntfile.js +54 -10
- data/LICENSE +2 -2
- data/README.md +11 -2
- data/Rakefile +9 -0
- data/docs/CHANGELOG.md +9 -0
- data/docs/Procfile +2 -2
- data/docs/components/abide.html.erb +30 -6
- data/docs/components/alert-boxes.html.erb +35 -10
- data/docs/components/block-grid.html.erb +1 -1
- data/docs/components/breadcrumbs.html.erb +4 -4
- data/docs/components/button-groups.html.erb +2 -2
- data/docs/components/buttons.html.erb +10 -10
- data/docs/components/clearing.html.erb +28 -2
- data/docs/components/custom-forms.html.erb +9 -1
- data/docs/components/dropdown-buttons.html.erb +36 -11
- data/docs/components/dropdown.html.erb +44 -13
- data/docs/components/flex-video.html.erb +3 -3
- data/docs/components/forms.html.erb +10 -10
- data/docs/components/global.html.erb +15 -20
- data/docs/components/grid.html.erb +24 -23
- data/docs/components/inline-lists.html.erb +3 -3
- data/docs/components/interchange.html.erb +28 -2
- data/docs/components/joyride.html.erb +34 -10
- data/docs/components/keystrokes.html.erb +3 -3
- data/docs/components/kitchen-sink.html.erb +1 -1
- data/docs/components/labels.html.erb +3 -3
- data/docs/components/magellan.html.erb +25 -2
- data/docs/components/orbit.html.erb +39 -9
- data/docs/components/pagination.html.erb +7 -7
- data/docs/components/panels.html.erb +3 -3
- data/docs/components/pricing-tables.html.erb +11 -11
- data/docs/components/progress-bars.html.erb +5 -5
- data/docs/components/reveal.html.erb +31 -8
- data/docs/components/section.html.erb +61 -37
- data/docs/components/side-nav.html.erb +4 -4
- data/docs/components/split-buttons.html.erb +37 -15
- data/docs/components/sub-nav.html.erb +10 -6
- data/docs/components/switch.html.erb +2 -2
- data/docs/components/tables.html.erb +7 -7
- data/docs/components/tooltips.html.erb +30 -6
- data/docs/components/top-bar.html.erb +101 -13
- data/docs/components/type.html.erb +16 -16
- data/docs/config.ru +18 -1
- data/docs/controller.rb +1 -1
- data/docs/css/_coderay.scss +2 -2
- data/docs/css/_footer.scss +7 -7
- data/docs/css/_offcanvas.scss +16 -16
- data/docs/css/docs.scss +1 -3
- data/docs/index.html.erb +29 -29
- data/docs/layout.html.erb +5 -5
- data/docs/media-queries.html.erb +3 -3
- data/docs/rails.html.erb +2 -1
- data/docs/sass.html.erb +188 -146
- data/docs/support.html.erb +2 -2
- data/foundation.gemspec +1 -0
- data/js/foundation/foundation.abide.js +5 -5
- data/js/foundation/foundation.alerts.js +9 -4
- data/js/foundation/foundation.clearing.js +2 -2
- data/js/foundation/foundation.dropdown.js +11 -5
- data/js/foundation/foundation.forms.js +51 -28
- data/js/foundation/foundation.joyride.js +7 -5
- data/js/foundation/foundation.js +25 -1
- data/js/foundation/foundation.magellan.js +3 -2
- data/js/foundation/foundation.orbit.js +78 -58
- data/js/foundation/foundation.placeholder.js +424 -177
- data/js/foundation/foundation.reveal.js +39 -16
- data/js/foundation/foundation.section.js +62 -32
- data/js/foundation/foundation.tooltips.js +3 -2
- data/js/foundation/foundation.topbar.js +139 -69
- data/lib/foundation/generators/templates/application.html.erb +2 -1
- data/lib/foundation/version.rb +1 -1
- data/lib/zurb-foundation.rb +12 -0
- data/package.json +4 -3
- data/scss/foundation/_variables.scss +183 -159
- data/scss/foundation/components/_alert-boxes.scss +8 -8
- data/scss/foundation/components/_block-grid.scss +1 -1
- data/scss/foundation/components/_breadcrumbs.scss +3 -3
- data/scss/foundation/components/_button-groups.scss +2 -2
- data/scss/foundation/components/_buttons.scss +20 -20
- data/scss/foundation/components/_custom-forms.scss +19 -14
- data/scss/foundation/components/_dropdown-buttons.scss +8 -8
- data/scss/foundation/components/_dropdown.scss +4 -4
- data/scss/foundation/components/_flex-video.scss +2 -2
- data/scss/foundation/components/_forms.scss +28 -18
- data/scss/foundation/components/_global.scss +43 -18
- data/scss/foundation/components/_grid-5.scss +4 -4
- data/scss/foundation/components/_grid.scss +6 -4
- data/scss/foundation/components/_inline-lists.scss +3 -3
- data/scss/foundation/components/_joyride.scss +10 -10
- data/scss/foundation/components/_keystrokes.scss +2 -2
- data/scss/foundation/components/_labels.scss +2 -2
- data/scss/foundation/components/_orbit.scss +58 -44
- data/scss/foundation/components/_pagination.scss +6 -6
- data/scss/foundation/components/_panels.scss +7 -4
- data/scss/foundation/components/_pricing-tables.scss +10 -10
- data/scss/foundation/components/_progress-bars.scss +3 -3
- data/scss/foundation/components/_reveal.scss +5 -5
- data/scss/foundation/components/_section.scss +21 -21
- data/scss/foundation/components/_side-nav.scss +3 -3
- data/scss/foundation/components/_split-buttons.scss +7 -7
- data/scss/foundation/components/_sub-nav.scss +26 -10
- data/scss/foundation/components/_switch.scss +15 -11
- data/scss/foundation/components/_tables.scss +6 -6
- data/scss/foundation/components/_thumbs.scss +2 -4
- data/scss/foundation/components/_tooltips.scss +4 -4
- data/scss/foundation/components/_top-bar.scss +77 -39
- data/scss/foundation/components/_type.scss +25 -23
- data/scss/foundation/components/_visibility.scss +28 -28
- data/scss/normalize.scss +22 -14
- data/spec/js/SectionSpec.js +39 -0
- data/spec/js/helpers/SectionSpecHelper.js +22 -0
- data/spec/js/helpers/SpecHelper.js +19 -0
- metadata +32 -25
- data/.rbenv-version +0 -1
@@ -157,39 +157,51 @@ $base-font-size: 100% !default;
|
|
157
157
|
$base-line-height: 150% !default;
|
158
158
|
|
159
159
|
// This is the default html and body font-size for the base em value.
|
160
|
-
$em-base:
|
160
|
+
$em-base: 16px !default;
|
161
161
|
|
162
162
|
// It strips the unit of measure and returns it
|
163
163
|
@function strip-unit($num) {
|
164
164
|
@return $num / ($num * 0 + 1);
|
165
165
|
}
|
166
166
|
|
167
|
-
//
|
168
|
-
|
169
|
-
|
167
|
+
// New Syntax, allows to optionally calculate on a different base value to counter compounding effect of em's.
|
168
|
+
// Call with 1, 2, 3 or 4 parameters, 'px' is not required but supported
|
169
|
+
// em-calc(10 20 30px 40);
|
170
|
+
// Space delimited, if you want to delimit using comma's, wrap it in another pair of brackets
|
171
|
+
// em-calc((10, 20, 30, 40px));
|
172
|
+
// Optionally call with a different base (eg: 8px) to calculate em.
|
173
|
+
// em-calc(16px 32px 48px, 8px);
|
174
|
+
// If you require to comma separate your list
|
175
|
+
// em-calc((16px, 32px, 48), 8px);
|
176
|
+
|
177
|
+
@function convert-to-em($value, $base-value: $em-base) {
|
178
|
+
$value: strip-unit($value) / strip-unit($base-value) * 1em;
|
170
179
|
@if ($value == 0em) { $value: 0; } // Turn 0em into 0
|
171
180
|
@return $value;
|
172
181
|
}
|
173
182
|
|
174
|
-
|
175
|
-
|
176
|
-
@function emCalc($values...) {
|
177
|
-
$max: length($values); // Get the total number of parameters passed
|
183
|
+
@function em-calc($values, $base-value: $em-base) {
|
184
|
+
$max: length($values);
|
178
185
|
|
179
|
-
|
180
|
-
// This is done because a list can't be multiplied or divided even if it contains a single value
|
181
|
-
@if $max == 1 { @return convert-to-em(nth($values, 1)); }
|
186
|
+
@if $max == 1 { @return convert-to-em(nth($values, 1), $base-value); }
|
182
187
|
|
183
|
-
$emValues: ();
|
188
|
+
$emValues: ();
|
184
189
|
@for $i from 1 through $max {
|
185
|
-
$emValues: append($emValues, convert-to-em(nth($values, $i)));
|
190
|
+
$emValues: append($emValues, convert-to-em(nth($values, $i), $base-value));
|
186
191
|
}
|
187
192
|
@return $emValues;
|
188
193
|
}
|
189
194
|
|
190
|
-
//
|
195
|
+
// Support for the old syntax
|
196
|
+
|
197
|
+
@function emCalc($values){
|
198
|
+
@return em-calc($values);
|
199
|
+
}
|
200
|
+
|
201
|
+
// Maybe you want to create rems with pixels
|
202
|
+
// $rem-base: 0.625 !default; //Set the value corresponding to body font size. In this case, you should set as: body {font-size: 62.5%;}
|
191
203
|
// @function remCalc($pxWidth) {
|
192
|
-
// @return $pxWidth / $
|
204
|
+
// @return $pxWidth / $rem-base * 1rem;
|
193
205
|
// }
|
194
206
|
|
195
207
|
// We use these to control various global styles
|
@@ -248,6 +260,22 @@ $large: "only screen and (min-width:#{$large-screen})" !default;
|
|
248
260
|
$landscape: "only screen and (orientation: landscape)" !default;
|
249
261
|
$portrait: "only screen and (orientation: portrait)" !default;
|
250
262
|
|
263
|
+
// Used to provide media query values for javascript components.
|
264
|
+
meta.foundation-mq-small {
|
265
|
+
font-family: $small;
|
266
|
+
width: $small-screen;
|
267
|
+
}
|
268
|
+
|
269
|
+
meta.foundation-mq-medium {
|
270
|
+
font-family: $medium;
|
271
|
+
width: $medium-screen;
|
272
|
+
}
|
273
|
+
|
274
|
+
meta.foundation-mq-large {
|
275
|
+
font-family: $large;
|
276
|
+
width: $large-screen;
|
277
|
+
}
|
278
|
+
|
251
279
|
//We use this as cursors values for enabling the option of having custom cursors in the whole site's stylesheet
|
252
280
|
$cursor-crosshair-value: crosshair !default;
|
253
281
|
$cursor-default-value: default !default;
|
@@ -284,9 +312,6 @@ $cursor-text-value: text !default;
|
|
284
312
|
|
285
313
|
a:hover { cursor: $cursor-pointer-value; }
|
286
314
|
|
287
|
-
// Override outline from normalize, we don't like it
|
288
|
-
a:focus { outline: none; }
|
289
|
-
|
290
315
|
// Grid Defaults to get images and embeds to work properly
|
291
316
|
img,
|
292
317
|
object,
|
@@ -13,8 +13,8 @@
|
|
13
13
|
// Grid Variables
|
14
14
|
//
|
15
15
|
$include-html-grid-classes: true !default;
|
16
|
-
$row-width:
|
17
|
-
$column-gutter:
|
16
|
+
$row-width: em-calc(1000) !default;
|
17
|
+
$column-gutter: em-calc(30) !default;
|
18
18
|
$total-columns: 12 !default;
|
19
19
|
|
20
20
|
//
|
@@ -157,7 +157,7 @@ $total-columns: 12 !default;
|
|
157
157
|
.columns.small-centered { @include grid-column($center:true, $collapse:null, $float:false); }
|
158
158
|
}
|
159
159
|
|
160
|
-
@media only screen and (min-width:
|
160
|
+
@media only screen and (min-width: $small-screen) {
|
161
161
|
|
162
162
|
@for $i from 1 through $total-columns {
|
163
163
|
.medium#{-$i} { @include grid-column($columns:$i,$collapse:null,$float:false); }
|
@@ -184,7 +184,7 @@ $total-columns: 12 !default;
|
|
184
184
|
|
185
185
|
}
|
186
186
|
|
187
|
-
@media only screen and (min-width:
|
187
|
+
@media only screen and (min-width: $medium-screen) {
|
188
188
|
|
189
189
|
@for $i from 1 through $total-columns {
|
190
190
|
.large#{-$i} { @include grid-column($columns:$i,$collapse:null,$float:false); }
|
@@ -3,8 +3,8 @@
|
|
3
3
|
//
|
4
4
|
$include-html-grid-classes: $include-html-classes !default;
|
5
5
|
|
6
|
-
$row-width:
|
7
|
-
$column-gutter:
|
6
|
+
$row-width: em-calc(1000) !default;
|
7
|
+
$column-gutter: em-calc(30) !default;
|
8
8
|
$total-columns: 12 !default;
|
9
9
|
|
10
10
|
//
|
@@ -117,8 +117,10 @@ $total-columns: 12 !default;
|
|
117
117
|
@include grid-row;
|
118
118
|
|
119
119
|
&.collapse {
|
120
|
-
|
121
|
-
|
120
|
+
> .column,
|
121
|
+
> .columns { @include grid-column($collapse:true); }
|
122
|
+
|
123
|
+
.row {margin-left:0; margin-right:0;}
|
122
124
|
}
|
123
125
|
|
124
126
|
.row { @include grid-row($behavior:nest);
|
@@ -6,8 +6,8 @@ $include-html-inline-list-classes: $include-html-classes !default;
|
|
6
6
|
// We use this to control the margins and padding of the inline list.
|
7
7
|
$inline-list-top-margin: 0 !default;
|
8
8
|
$inline-list-opposite-margin: 0 !default;
|
9
|
-
$inline-list-bottom-margin:
|
10
|
-
$inline-list-default-float-margin:
|
9
|
+
$inline-list-bottom-margin: em-calc(17) !default;
|
10
|
+
$inline-list-default-float-margin: em-calc(-22) !default;
|
11
11
|
|
12
12
|
$inline-list-padding: 0 !default;
|
13
13
|
|
@@ -36,7 +36,7 @@ $inline-list-children-display: block !default;
|
|
36
36
|
& > li {
|
37
37
|
list-style: none;
|
38
38
|
float: $default-float;
|
39
|
-
margin-#{$default-float}:
|
39
|
+
margin-#{$default-float}: em-calc(22);
|
40
40
|
display: $inline-list-display;
|
41
41
|
&>* { display: $inline-list-children-display; }
|
42
42
|
}
|
@@ -6,14 +6,14 @@ $include-html-joyride-classes: $include-html-classes !default;
|
|
6
6
|
// Controlling default Joyride styles
|
7
7
|
$joyride-tip-bg: rgb(0,0,0) !default;
|
8
8
|
$joyride-tip-default-width: 300px !default;
|
9
|
-
$joyride-tip-padding:
|
9
|
+
$joyride-tip-padding: em-calc(18 20 24) !default;
|
10
10
|
$joyride-tip-border: solid 1px #555 !default;
|
11
11
|
$joyride-tip-radius: 4px !default;
|
12
12
|
$joyride-tip-position-offset: 22px !default;
|
13
13
|
|
14
14
|
// Here, we're setting the tip dont styles
|
15
15
|
$joyride-tip-font-color: #fff !default;
|
16
|
-
$joyride-tip-font-size:
|
16
|
+
$joyride-tip-font-size: em-calc(14) !default;
|
17
17
|
$joyride-tip-header-weight: bold !default;
|
18
18
|
|
19
19
|
// This changes the nub size
|
@@ -113,7 +113,7 @@ $joyride-screenfill: rgba(0,0,0,0.5) !default;
|
|
113
113
|
color: $joyride-tip-font-color;
|
114
114
|
}
|
115
115
|
.joyride-tip-guide p {
|
116
|
-
margin:
|
116
|
+
margin: em-calc(0 0 18 0);
|
117
117
|
font-size: $joyride-tip-font-size;
|
118
118
|
line-height: 1.3;
|
119
119
|
}
|
@@ -123,8 +123,8 @@ $joyride-screenfill: rgba(0,0,0,0.5) !default;
|
|
123
123
|
height: $joyride-tip-timer-height;
|
124
124
|
border: $joyride-tip-border;
|
125
125
|
position: absolute;
|
126
|
-
#{$opposite-direction}:
|
127
|
-
bottom:
|
126
|
+
#{$opposite-direction}: em-calc(17);
|
127
|
+
bottom: em-calc(16);
|
128
128
|
}
|
129
129
|
.joyride-timer-indicator {
|
130
130
|
display: block;
|
@@ -166,10 +166,10 @@ $joyride-screenfill: rgba(0,0,0,0.5) !default;
|
|
166
166
|
border-radius: 3px;
|
167
167
|
z-index: 102;
|
168
168
|
@if $experimental {
|
169
|
-
-moz-box-shadow:
|
170
|
-
-webkit-box-shadow:
|
169
|
+
-moz-box-shadow: 0 0 30px #ffffff;
|
170
|
+
-webkit-box-shadow: 0 0 15px #ffffff;
|
171
171
|
}
|
172
|
-
box-shadow:
|
172
|
+
box-shadow: 0 0 15px #ffffff;
|
173
173
|
}
|
174
174
|
|
175
175
|
.joyride-expose-cover {
|
@@ -177,8 +177,8 @@ $joyride-screenfill: rgba(0,0,0,0.5) !default;
|
|
177
177
|
border-radius: 3px;
|
178
178
|
position: absolute;
|
179
179
|
z-index: 9999;
|
180
|
-
top:
|
181
|
-
left:
|
180
|
+
top: 0;
|
181
|
+
left: 0;
|
182
182
|
}
|
183
183
|
|
184
184
|
|
@@ -5,13 +5,13 @@ $include-html-type-classes: $include-html-classes !default;
|
|
5
5
|
|
6
6
|
// We use these to control text styles.
|
7
7
|
$keystroke-font: "Consolas", "Menlo", "Courier", monospace !default;
|
8
|
-
$keystroke-font-size:
|
8
|
+
$keystroke-font-size: em-calc(14) !default;
|
9
9
|
$keystroke-font-color: #222 !default;
|
10
10
|
$keystroke-font-color-alt: #fff !default;
|
11
11
|
$keystroke-function-factor: 7% !default;
|
12
12
|
|
13
13
|
// We use this to control keystroke padding.
|
14
|
-
$keystroke-padding:
|
14
|
+
$keystroke-padding: em-calc(2 4 0) !default;
|
15
15
|
|
16
16
|
// We use these to control background and border styles.
|
17
17
|
$keystroke-bg: darken(#fff, $keystroke-function-factor) !default;
|
@@ -4,11 +4,11 @@
|
|
4
4
|
$include-html-label-classes: $include-html-classes !default;
|
5
5
|
|
6
6
|
// We use these to style the labels
|
7
|
-
$label-padding:
|
7
|
+
$label-padding: em-calc(3 10 4) !default;
|
8
8
|
$label-radius: $global-radius !default;
|
9
9
|
|
10
10
|
// We use these to style the label text
|
11
|
-
$label-font-sizing:
|
11
|
+
$label-font-sizing: em-calc(14) !default;
|
12
12
|
$label-font-weight: bold !default;
|
13
13
|
$label-font-color: #333 !default;
|
14
14
|
$label-font-color-alt: #fff !default;
|
@@ -1,30 +1,35 @@
|
|
1
|
-
//
|
2
1
|
// Orbit Variables
|
3
2
|
//
|
4
3
|
$include-html-orbit-classes: $include-html-classes !default;
|
5
4
|
|
6
5
|
// We use these to control the caption styles
|
7
6
|
$orbit-container-bg: #f5f5f5 !default;
|
8
|
-
$orbit-caption-bg-old: rgb(0,0,0) !default;
|
9
7
|
$orbit-caption-bg: rgba(0,0,0,0.6) !default;
|
10
8
|
$orbit-caption-font-color: #fff !default;
|
9
|
+
$orbit-caption-font-size: em-calc(14) !default;
|
10
|
+
$orbit-caption-position: "bottom" !default; // Supported values: "bottom", "under"
|
11
|
+
$orbit-caption-padding: em-calc(10,14) !default;
|
12
|
+
$orbit-caption-height: auto !default;
|
11
13
|
|
12
14
|
// We use these to control the left/right nav styles
|
13
|
-
$orbit-nav-bg-old: rgb(0,0,0) !default;
|
14
15
|
$orbit-nav-bg: rgba(0,0,0,0.6) !default;
|
16
|
+
$orbit-nav-bg-hover: rgba(0,0,0,0.6) !default;
|
17
|
+
$orbit-nav-arrow-color: #fff !default;
|
18
|
+
$orbit-nav-arrow-color-hover: #ccc !default;
|
15
19
|
|
16
20
|
// We use these to control the timer styles
|
17
|
-
$orbit-timer-bg-old: rgb(0,0,0) !default;
|
18
21
|
$orbit-timer-bg: rgba(0,0,0,0.6) !default;
|
22
|
+
$orbit-timer-show-progress-bar: true !default;
|
19
23
|
|
20
24
|
// We use these to control the bullet nav styles
|
21
25
|
$orbit-bullet-nav-color: #999 !default;
|
22
26
|
$orbit-bullet-nav-color-active: #555 !default;
|
27
|
+
$orbit-bullet-radius: em-calc(12) !default;
|
23
28
|
|
24
|
-
// We use
|
29
|
+
// We use these to controls the style of slide numbers
|
25
30
|
$orbit-slide-number-bg: rgba(0,0,0,0) !default;
|
26
31
|
$orbit-slide-number-font-color: #fff !default;
|
27
|
-
$orbit-slide-number-padding:
|
32
|
+
$orbit-slide-number-padding: em-calc(5) !default;
|
28
33
|
|
29
34
|
// Graceful Loading Wrapper and preloader
|
30
35
|
$wrapper-class: "slideshow-wrapper" !default;
|
@@ -39,17 +44,17 @@ $preloader-class: "preloader" !default;
|
|
39
44
|
to { -webkit-transform: rotate(360deg); }
|
40
45
|
}
|
41
46
|
@-moz-keyframes rotate {
|
42
|
-
from { -
|
43
|
-
to { -
|
47
|
+
from { -moz-transform: rotate(0deg); }
|
48
|
+
to { -moz-transform: rotate(360deg); }
|
44
49
|
}
|
45
50
|
@-o-keyframes rotate {
|
46
|
-
from { -
|
47
|
-
to { -
|
51
|
+
from { -o-transform: rotate(0deg); }
|
52
|
+
to { -o-transform: rotate(360deg); }
|
48
53
|
}
|
49
54
|
}
|
50
55
|
@keyframes rotate {
|
51
|
-
from {
|
52
|
-
to {
|
56
|
+
from { transform: rotate(0deg); }
|
57
|
+
to { transform: rotate(360deg); }
|
53
58
|
}
|
54
59
|
|
55
60
|
/* Orbit Graceful Loading */
|
@@ -136,7 +141,7 @@ $preloader-class: "preloader" !default;
|
|
136
141
|
@else {
|
137
142
|
margin-left: 100%;
|
138
143
|
}
|
139
|
-
|
144
|
+
|
140
145
|
&:first-child {
|
141
146
|
@if $text-direction == rtl {
|
142
147
|
margin-right: 0%;
|
@@ -147,14 +152,18 @@ $preloader-class: "preloader" !default;
|
|
147
152
|
}
|
148
153
|
|
149
154
|
.orbit-caption {
|
150
|
-
position
|
151
|
-
|
152
|
-
|
155
|
+
@if $orbit-caption-position == "bottom" {
|
156
|
+
position: absolute;
|
157
|
+
bottom: 0;
|
158
|
+
} @else if $orbit-caption-position == "under" {
|
159
|
+
position: relative;
|
160
|
+
}
|
161
|
+
|
153
162
|
background-color: $orbit-caption-bg;
|
154
163
|
color: $orbit-caption-font-color;
|
155
164
|
width: 100%;
|
156
165
|
padding: 10px 14px;
|
157
|
-
font-size:
|
166
|
+
font-size: em-calc(14);
|
158
167
|
}
|
159
168
|
}
|
160
169
|
}
|
@@ -178,18 +187,20 @@ $preloader-class: "preloader" !default;
|
|
178
187
|
width: 100px;
|
179
188
|
z-index: 10;
|
180
189
|
.orbit-progress {
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
190
|
+
@if $orbit-timer-show-progress-bar {
|
191
|
+
height: 100%;
|
192
|
+
background-color: $orbit-timer-bg;
|
193
|
+
display: block;
|
194
|
+
width: 0%;
|
195
|
+
}
|
186
196
|
}
|
187
197
|
|
198
|
+
// Play button
|
188
199
|
& > span {
|
189
200
|
display: none;
|
190
201
|
position: absolute;
|
191
202
|
top: 10px;
|
192
|
-
#{$opposite-direction}:
|
203
|
+
#{$opposite-direction}: 0;
|
193
204
|
width: 11px;
|
194
205
|
height: 14px;
|
195
206
|
border: solid 4px #000;
|
@@ -197,6 +208,7 @@ $preloader-class: "preloader" !default;
|
|
197
208
|
border-bottom: none;
|
198
209
|
}
|
199
210
|
|
211
|
+
// Pause button
|
200
212
|
&.paused {
|
201
213
|
& > span {
|
202
214
|
#{$opposite-direction}: -6px;
|
@@ -218,7 +230,6 @@ $preloader-class: "preloader" !default;
|
|
218
230
|
position: absolute;
|
219
231
|
top: 50%;
|
220
232
|
margin-top: -25px;
|
221
|
-
background-color: $orbit-nav-bg-old;
|
222
233
|
background-color: $orbit-nav-bg;
|
223
234
|
width: 50px;
|
224
235
|
height: 60px;
|
@@ -227,6 +238,10 @@ $preloader-class: "preloader" !default;
|
|
227
238
|
text-indent: -9999px !important;
|
228
239
|
z-index: 10;
|
229
240
|
|
241
|
+
&:hover {
|
242
|
+
background-color: $orbit-nav-bg-hover;
|
243
|
+
}
|
244
|
+
|
230
245
|
& > span {
|
231
246
|
position: absolute;
|
232
247
|
top: 50%;
|
@@ -241,22 +256,22 @@ $preloader-class: "preloader" !default;
|
|
241
256
|
& > span {
|
242
257
|
border-#{$opposite-direction}-style: solid;
|
243
258
|
border-color: transparent;
|
244
|
-
border-#{$opposite-direction}-color:
|
259
|
+
border-#{$opposite-direction}-color: $orbit-nav-arrow-color;
|
245
260
|
}
|
246
261
|
&:hover > span {
|
247
|
-
border-#{$opposite-direction}-color:
|
262
|
+
border-#{$opposite-direction}-color: $orbit-nav-arrow-color-hover;
|
248
263
|
}
|
249
264
|
}
|
250
265
|
.orbit-next { #{$opposite-direction}: 0;
|
251
266
|
& > span {
|
252
267
|
border-color: transparent;
|
253
268
|
border-#{$default-float}-style: solid;
|
254
|
-
border-#{$default-float}-color:
|
269
|
+
border-#{$default-float}-color: $orbit-nav-arrow-color;
|
255
270
|
#{$default-float}: 50%;
|
256
271
|
margin-#{$default-float}: -8px;
|
257
272
|
}
|
258
273
|
&:hover > span {
|
259
|
-
border-#{$default-float}-color:
|
274
|
+
border-#{$default-float}-color: $orbit-nav-arrow-color-hover;
|
260
275
|
}
|
261
276
|
}
|
262
277
|
}
|
@@ -269,8 +284,8 @@ $preloader-class: "preloader" !default;
|
|
269
284
|
|
270
285
|
li {
|
271
286
|
display: block;
|
272
|
-
width:
|
273
|
-
height:
|
287
|
+
width: $orbit-bullet-radius;
|
288
|
+
height: $orbit-bullet-radius;
|
274
289
|
background: $orbit-bullet-nav-color;
|
275
290
|
float: $default-float;
|
276
291
|
margin-#{$opposite-direction}: 6px;
|
@@ -308,19 +323,18 @@ $preloader-class: "preloader" !default;
|
|
308
323
|
|
309
324
|
}
|
310
325
|
|
311
|
-
}
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
326
|
+
@media only screen and (max-width: #{$small-screen}) {
|
327
|
+
.orbit-stack-on-small {
|
328
|
+
.orbit-slides-container {height: auto !important;}
|
329
|
+
.orbit-slides-container > * {
|
330
|
+
position: relative;
|
331
|
+
margin-left: 0% !important;
|
332
|
+
}
|
333
|
+
.orbit-timer,
|
334
|
+
.orbit-next,
|
335
|
+
.orbit-prev,
|
336
|
+
.orbit-bullets {display: none;}
|
320
337
|
}
|
321
|
-
.orbit-timer,
|
322
|
-
.orbit-next,
|
323
|
-
.orbit-prev,
|
324
|
-
.orbit-bullets {display: none;}
|
325
338
|
}
|
326
|
-
|
339
|
+
|
340
|
+
}
|