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.
Files changed (117) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +4 -0
  3. data/Gemfile.lock +31 -2
  4. data/Gruntfile.js +54 -10
  5. data/LICENSE +2 -2
  6. data/README.md +11 -2
  7. data/Rakefile +9 -0
  8. data/docs/CHANGELOG.md +9 -0
  9. data/docs/Procfile +2 -2
  10. data/docs/components/abide.html.erb +30 -6
  11. data/docs/components/alert-boxes.html.erb +35 -10
  12. data/docs/components/block-grid.html.erb +1 -1
  13. data/docs/components/breadcrumbs.html.erb +4 -4
  14. data/docs/components/button-groups.html.erb +2 -2
  15. data/docs/components/buttons.html.erb +10 -10
  16. data/docs/components/clearing.html.erb +28 -2
  17. data/docs/components/custom-forms.html.erb +9 -1
  18. data/docs/components/dropdown-buttons.html.erb +36 -11
  19. data/docs/components/dropdown.html.erb +44 -13
  20. data/docs/components/flex-video.html.erb +3 -3
  21. data/docs/components/forms.html.erb +10 -10
  22. data/docs/components/global.html.erb +15 -20
  23. data/docs/components/grid.html.erb +24 -23
  24. data/docs/components/inline-lists.html.erb +3 -3
  25. data/docs/components/interchange.html.erb +28 -2
  26. data/docs/components/joyride.html.erb +34 -10
  27. data/docs/components/keystrokes.html.erb +3 -3
  28. data/docs/components/kitchen-sink.html.erb +1 -1
  29. data/docs/components/labels.html.erb +3 -3
  30. data/docs/components/magellan.html.erb +25 -2
  31. data/docs/components/orbit.html.erb +39 -9
  32. data/docs/components/pagination.html.erb +7 -7
  33. data/docs/components/panels.html.erb +3 -3
  34. data/docs/components/pricing-tables.html.erb +11 -11
  35. data/docs/components/progress-bars.html.erb +5 -5
  36. data/docs/components/reveal.html.erb +31 -8
  37. data/docs/components/section.html.erb +61 -37
  38. data/docs/components/side-nav.html.erb +4 -4
  39. data/docs/components/split-buttons.html.erb +37 -15
  40. data/docs/components/sub-nav.html.erb +10 -6
  41. data/docs/components/switch.html.erb +2 -2
  42. data/docs/components/tables.html.erb +7 -7
  43. data/docs/components/tooltips.html.erb +30 -6
  44. data/docs/components/top-bar.html.erb +101 -13
  45. data/docs/components/type.html.erb +16 -16
  46. data/docs/config.ru +18 -1
  47. data/docs/controller.rb +1 -1
  48. data/docs/css/_coderay.scss +2 -2
  49. data/docs/css/_footer.scss +7 -7
  50. data/docs/css/_offcanvas.scss +16 -16
  51. data/docs/css/docs.scss +1 -3
  52. data/docs/index.html.erb +29 -29
  53. data/docs/layout.html.erb +5 -5
  54. data/docs/media-queries.html.erb +3 -3
  55. data/docs/rails.html.erb +2 -1
  56. data/docs/sass.html.erb +188 -146
  57. data/docs/support.html.erb +2 -2
  58. data/foundation.gemspec +1 -0
  59. data/js/foundation/foundation.abide.js +5 -5
  60. data/js/foundation/foundation.alerts.js +9 -4
  61. data/js/foundation/foundation.clearing.js +2 -2
  62. data/js/foundation/foundation.dropdown.js +11 -5
  63. data/js/foundation/foundation.forms.js +51 -28
  64. data/js/foundation/foundation.joyride.js +7 -5
  65. data/js/foundation/foundation.js +25 -1
  66. data/js/foundation/foundation.magellan.js +3 -2
  67. data/js/foundation/foundation.orbit.js +78 -58
  68. data/js/foundation/foundation.placeholder.js +424 -177
  69. data/js/foundation/foundation.reveal.js +39 -16
  70. data/js/foundation/foundation.section.js +62 -32
  71. data/js/foundation/foundation.tooltips.js +3 -2
  72. data/js/foundation/foundation.topbar.js +139 -69
  73. data/lib/foundation/generators/templates/application.html.erb +2 -1
  74. data/lib/foundation/version.rb +1 -1
  75. data/lib/zurb-foundation.rb +12 -0
  76. data/package.json +4 -3
  77. data/scss/foundation/_variables.scss +183 -159
  78. data/scss/foundation/components/_alert-boxes.scss +8 -8
  79. data/scss/foundation/components/_block-grid.scss +1 -1
  80. data/scss/foundation/components/_breadcrumbs.scss +3 -3
  81. data/scss/foundation/components/_button-groups.scss +2 -2
  82. data/scss/foundation/components/_buttons.scss +20 -20
  83. data/scss/foundation/components/_custom-forms.scss +19 -14
  84. data/scss/foundation/components/_dropdown-buttons.scss +8 -8
  85. data/scss/foundation/components/_dropdown.scss +4 -4
  86. data/scss/foundation/components/_flex-video.scss +2 -2
  87. data/scss/foundation/components/_forms.scss +28 -18
  88. data/scss/foundation/components/_global.scss +43 -18
  89. data/scss/foundation/components/_grid-5.scss +4 -4
  90. data/scss/foundation/components/_grid.scss +6 -4
  91. data/scss/foundation/components/_inline-lists.scss +3 -3
  92. data/scss/foundation/components/_joyride.scss +10 -10
  93. data/scss/foundation/components/_keystrokes.scss +2 -2
  94. data/scss/foundation/components/_labels.scss +2 -2
  95. data/scss/foundation/components/_orbit.scss +58 -44
  96. data/scss/foundation/components/_pagination.scss +6 -6
  97. data/scss/foundation/components/_panels.scss +7 -4
  98. data/scss/foundation/components/_pricing-tables.scss +10 -10
  99. data/scss/foundation/components/_progress-bars.scss +3 -3
  100. data/scss/foundation/components/_reveal.scss +5 -5
  101. data/scss/foundation/components/_section.scss +21 -21
  102. data/scss/foundation/components/_side-nav.scss +3 -3
  103. data/scss/foundation/components/_split-buttons.scss +7 -7
  104. data/scss/foundation/components/_sub-nav.scss +26 -10
  105. data/scss/foundation/components/_switch.scss +15 -11
  106. data/scss/foundation/components/_tables.scss +6 -6
  107. data/scss/foundation/components/_thumbs.scss +2 -4
  108. data/scss/foundation/components/_tooltips.scss +4 -4
  109. data/scss/foundation/components/_top-bar.scss +77 -39
  110. data/scss/foundation/components/_type.scss +25 -23
  111. data/scss/foundation/components/_visibility.scss +28 -28
  112. data/scss/normalize.scss +22 -14
  113. data/spec/js/SectionSpec.js +39 -0
  114. data/spec/js/helpers/SectionSpecHelper.js +22 -0
  115. data/spec/js/helpers/SpecHelper.js +19 -0
  116. metadata +32 -25
  117. 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: 16 !default;
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
- // Converts "px" to "em" using the ($)em-base
168
- @function convert-to-em($value) {
169
- $value: strip-unit($value) / strip-unit($em-base) * 1em;
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
- // Working in ems is annoying. Think in pixels by using this handy function, emCalc(#)
175
- // Just enter the number, no need to mention "px"
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
- // If there is only 1 parameter, then return it as an integer.
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: (); // This will eventually store the converted $values in a list
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
- // Maybe you want to create rems and pixels
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 / $em-base * 1rem;
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: emCalc(1000) !default;
17
- $column-gutter: emCalc(30) !default;
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: 640px) {
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: 1024px) {
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: emCalc(1000) !default;
7
- $column-gutter: emCalc(30) !default;
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
- .column,
121
- .columns { @include grid-column($collapse:true); }
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: emCalc(17) !default;
10
- $inline-list-default-float-margin: emCalc(-22) !default;
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}: emCalc(22);
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: emCalc(18, 20, 24) !default;
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: emCalc(14) !default;
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: emCalc(0, 0, 18, 0);
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}: emCalc(17);
127
- bottom: emCalc(16);
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: 0px 0px 30px #ffffff;
170
- -webkit-box-shadow: 0px 0px 15px #ffffff;
169
+ -moz-box-shadow: 0 0 30px #ffffff;
170
+ -webkit-box-shadow: 0 0 15px #ffffff;
171
171
  }
172
- box-shadow: 0px 0px 15px #ffffff;
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: 0px;
181
- left: 0px;
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: emCalc(14) !default;
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: emCalc(2, 4, 0) !default;
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: emCalc(3, 10, 4) !default;
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: emCalc(14) !default;
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 thes to controls the style of slide numbers
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: emCalc(5px) !default;
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 { -webkit-transform: rotate(0deg); }
43
- to { -webkit-transform: rotate(360deg); }
47
+ from { -moz-transform: rotate(0deg); }
48
+ to { -moz-transform: rotate(360deg); }
44
49
  }
45
50
  @-o-keyframes rotate {
46
- from { -webkit-transform: rotate(0deg); }
47
- to { -webkit-transform: rotate(360deg); }
51
+ from { -o-transform: rotate(0deg); }
52
+ to { -o-transform: rotate(360deg); }
48
53
  }
49
54
  }
50
55
  @keyframes rotate {
51
- from { -webkit-transform: rotate(0deg); }
52
- to { -webkit-transform: rotate(360deg); }
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: absolute;
151
- bottom: 0;
152
- background-color: $orbit-caption-bg-old;
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: emCalc(14px);
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
- height: 100%;
182
- background-color: $orbit-timer-bg-old;
183
- background-color: $orbit-timer-bg;
184
- display: block;
185
- width: 0%;
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}: 0px;
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: #fff;
259
+ border-#{$opposite-direction}-color: $orbit-nav-arrow-color;
245
260
  }
246
261
  &:hover > span {
247
- border-#{$opposite-direction}-color: #ccc;
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: #fff;
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: #ccc;
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: 10px;
273
- height: 10px;
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
- @media only screen and (max-width: #{$small-screen}) {
315
- .orbit-stack-on-small {
316
- .orbit-slides-container {height: auto !important;}
317
- .orbit-slides-container > * {
318
- position: relative;
319
- margin-left: 0% !important;
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
+ }