zurb-foundation 4.1.6 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. data/CONTRIBUTING.md +5 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +7 -0
  4. data/docs/CHANGELOG.md +27 -0
  5. data/docs/Gemfile +2 -0
  6. data/docs/Gemfile.lock +10 -0
  7. data/docs/_sidebar-components.html.erb +1 -0
  8. data/docs/_sidebar.html.erb +1 -0
  9. data/docs/components/alert-boxes.html.erb +8 -3
  10. data/docs/components/block-grid.html.erb +3 -3
  11. data/docs/components/breadcrumbs.html.erb +2 -2
  12. data/docs/components/button-groups.html.erb +2 -2
  13. data/docs/components/buttons.html.erb +3 -3
  14. data/docs/components/clearing.html.erb +7 -6
  15. data/docs/components/custom-forms.html.erb +1 -0
  16. data/docs/components/dropdown-buttons.html.erb +3 -3
  17. data/docs/components/dropdown.html.erb +20 -4
  18. data/docs/components/flex-video.html.erb +3 -3
  19. data/docs/components/forms.html.erb +5 -5
  20. data/docs/components/global.html.erb +235 -3
  21. data/docs/components/grid.html.erb +2 -2
  22. data/docs/components/inline-lists.html.erb +3 -3
  23. data/docs/components/interchange.html.erb +127 -0
  24. data/docs/components/keystrokes.html.erb +3 -3
  25. data/docs/components/kitchen-sink.html.erb +2 -2
  26. data/docs/components/labels.html.erb +3 -3
  27. data/docs/components/orbit.html.erb +120 -8
  28. data/docs/components/pagination.html.erb +5 -5
  29. data/docs/components/panels.html.erb +3 -3
  30. data/docs/components/pricing-tables.html.erb +3 -3
  31. data/docs/components/progress-bars.html.erb +3 -3
  32. data/docs/components/reveal.html.erb +126 -7
  33. data/docs/components/section.html.erb +43 -1
  34. data/docs/components/side-nav.html.erb +3 -3
  35. data/docs/components/split-buttons.html.erb +3 -3
  36. data/docs/components/sub-nav.html.erb +4 -4
  37. data/docs/components/switch.html.erb +3 -3
  38. data/docs/components/tables.html.erb +1 -1
  39. data/docs/components/thumbnails.html.erb +2 -2
  40. data/docs/components/tooltips.html.erb +34 -1
  41. data/docs/components/top-bar.html.erb +109 -30
  42. data/docs/components/type.html.erb +2 -1
  43. data/docs/components/visibility.html.erb +8 -8
  44. data/docs/css/normalize.scss +2 -2
  45. data/docs/css/qunit.css +1 -1
  46. data/docs/img/demos/demo1.jpg +0 -0
  47. data/docs/img/demos/demo2.jpg +0 -0
  48. data/docs/img/demos/demo3.jpg +0 -0
  49. data/docs/img/demos/demo4.jpg +0 -0
  50. data/docs/img/demos/demo5.jpg +0 -0
  51. data/docs/img/demos/interchange/default.jpg +0 -0
  52. data/docs/img/demos/interchange/large.jpg +0 -0
  53. data/docs/img/demos/interchange/med.jpg +0 -0
  54. data/docs/img/demos/interchange/small.jpg +0 -0
  55. data/docs/img/demos/interchange/smallest.jpg +0 -0
  56. data/docs/index.html.erb +14 -5
  57. data/docs/javascript.html.erb +2 -4
  58. data/docs/layout.html.erb +1 -1
  59. data/docs/rails.html.erb +4 -1
  60. data/docs/sass.html.erb +1274 -1023
  61. data/js/foundation/foundation.alerts.js +3 -1
  62. data/js/foundation/foundation.clearing.js +1 -1
  63. data/js/foundation/foundation.dropdown.js +25 -6
  64. data/js/foundation/foundation.forms.js +14 -12
  65. data/js/foundation/foundation.interchange.js +265 -0
  66. data/js/foundation/foundation.joyride.js +16 -3
  67. data/js/foundation/foundation.js +53 -7
  68. data/js/foundation/foundation.magellan.js +5 -3
  69. data/js/foundation/foundation.orbit.js +19 -2
  70. data/js/foundation/foundation.reveal.js +64 -11
  71. data/js/foundation/foundation.section.js +26 -17
  72. data/js/foundation/foundation.tooltips.js +16 -8
  73. data/js/foundation/foundation.topbar.js +98 -46
  74. data/js/foundation/index.js +1 -0
  75. data/lib/foundation/generators/install_generator.rb +2 -2
  76. data/lib/foundation/version.rb +1 -1
  77. data/scss/foundation/_variables.scss +134 -71
  78. data/scss/foundation/components/_alert-boxes.scss +20 -20
  79. data/scss/foundation/components/_block-grid.scss +7 -4
  80. data/scss/foundation/components/_breadcrumbs.scss +3 -3
  81. data/scss/foundation/components/_buttons.scss +5 -3
  82. data/scss/foundation/components/_clearing.scss +12 -6
  83. data/scss/foundation/components/_custom-forms.scss +17 -10
  84. data/scss/foundation/components/_dropdown.scss +6 -6
  85. data/scss/foundation/components/_forms.scss +5 -3
  86. data/scss/foundation/components/_global.scss +63 -30
  87. data/scss/foundation/components/_grid.scss +10 -9
  88. data/scss/foundation/components/_joyride.scss +22 -20
  89. data/scss/foundation/components/_keystrokes.scss +1 -1
  90. data/scss/foundation/components/_orbit.scss +108 -30
  91. data/scss/foundation/components/_reveal.scss +12 -8
  92. data/scss/foundation/components/_section.scss +38 -3
  93. data/scss/foundation/components/_switch.scss +18 -12
  94. data/scss/foundation/components/_thumbs.scss +10 -3
  95. data/scss/foundation/components/_tooltips.scss +11 -11
  96. data/scss/foundation/components/_top-bar.scss +102 -64
  97. data/scss/foundation/components/_type.scss +54 -47
  98. data/templates/project/manifest.rb +1 -0
  99. metadata +11 -4
@@ -4,36 +4,36 @@
4
4
  $include-html-alert-classes: $include-html-classes !default;
5
5
 
6
6
  // We use this to control alert padding.
7
- $alert-padding-top: emCalc(11px) !default;
8
- $alert-padding-default-float: $alert-padding-top !default;
9
- $alert-padding-opposite-direction: $alert-padding-top + emCalc(10px) !default;
10
- $alert-padding-bottom: $alert-padding-top + emCalc(1px) !default;
7
+ $alert-padding-top: emCalc(11px) !default;
8
+ $alert-padding-default-float: $alert-padding-top !default;
9
+ $alert-padding-opposite-direction: $alert-padding-top + emCalc(10px) !default;
10
+ $alert-padding-bottom: $alert-padding-top + emCalc(1px) !default;
11
11
 
12
12
  // We use these to control text style.
13
- $alert-font-weight: bold !default;
14
- $alert-font-size: emCalc(14px) !default;
15
- $alert-font-color: #fff !default;
16
- $alert-font-color-alt: darken($secondary-color, 60%) !default;
13
+ $alert-font-weight: bold !default;
14
+ $alert-font-size: emCalc(14px) !default;
15
+ $alert-font-color: #fff !default;
16
+ $alert-font-color-alt: darken($secondary-color, 60%) !default;
17
17
 
18
18
  // We use this for close hover effect.
19
- $alert-function-factor: 10% !default;
19
+ $alert-function-factor: 10% !default;
20
20
 
21
21
  // We use these to control border styles.
22
- $alert-border-style: solid !default;
23
- $alert-border-width: 1px !default;
24
- $alert-border-color: darken($primary-color, $alert-function-factor) !default;
25
- $alert-bottom-margin: emCalc(20px) !default;
22
+ $alert-border-style: solid !default;
23
+ $alert-border-width: 1px !default;
24
+ $alert-border-color: darken($primary-color, $alert-function-factor) !default;
25
+ $alert-bottom-margin: emCalc(20px) !default;
26
26
 
27
27
  // We use these to style the close buttons
28
- $alert-close-color: #333 !default;
29
- $alert-close-position: emCalc(5px) !default;
30
- $alert-close-font-size: emCalc(22px) !default;
31
- $alert-close-opacity: 0.3 !default;
32
- $alert-close-opacity-hover: 0.5 !default;
33
- $alert-close-padding: 5px 4px 4px !default;
28
+ $alert-close-color: #333 !default;
29
+ $alert-close-position: emCalc(5px) !default;
30
+ $alert-close-font-size: emCalc(22px) !default;
31
+ $alert-close-opacity: 0.3 !default;
32
+ $alert-close-opacity-hover: 0.5 !default;
33
+ $alert-close-padding: 5px 4px 4px !default;
34
34
 
35
35
  // We use this to control border radius
36
- $alert-radius: $global-radius !default;
36
+ $alert-radius: $global-radius !default;
37
37
 
38
38
  //
39
39
  // Alert Mixins
@@ -5,7 +5,10 @@ $include-html-grid-classes: $include-html-classes !default;
5
5
 
6
6
  // We use this to control the maximum number of block grid elements per row
7
7
  $block-grid-elements: 12 !default;
8
- $block-grid-default-spacing: 10px !default;
8
+ $block-grid-default-spacing: emCalc(20px) !default;
9
+
10
+ // Enables media queries for block-grid classes. Set to false if writing semantic HTML.
11
+ $block-grid-media-queries: true !default;
9
12
 
10
13
  //
11
14
  // Block Grid Mixins
@@ -18,21 +21,21 @@ $block-grid-default-spacing: 10px !default;
18
21
  @if $base-style {
19
22
  display: block;
20
23
  padding: 0;
21
- margin: 0 (-$spacing);
24
+ margin: 0 -($spacing/2);
22
25
  @include clearfix;
23
26
 
24
27
  &>li {
25
28
  display: inline;
26
29
  height: auto;
27
30
  float: $default-float;
28
- padding: 0 $spacing $spacing;
31
+ padding: 0 ($spacing/2) $spacing;
29
32
  }
30
33
  }
31
34
 
32
35
  @if $per-row {
33
36
  &>li {
34
37
  width: 100%/$per-row;
35
- padding: 0 $spacing $spacing;
38
+ padding: 0 ($spacing/2) $spacing;
36
39
 
37
40
  &:nth-of-type(n) { clear: none; }
38
41
  &:nth-of-type(#{$per-row}n+1) { clear: both; }
@@ -68,10 +68,10 @@ $crumb-slash: "/" !default;
68
68
 
69
69
  // Current is for the link of the current page
70
70
  &.current {
71
- cursor: default;
71
+ cursor: $cursor-default-value;
72
72
  color: $crumb-font-color-current;
73
73
  a {
74
- cursor: default;
74
+ cursor: $cursor-default-value;
75
75
  color: $crumb-font-color-current;
76
76
  }
77
77
 
@@ -90,7 +90,7 @@ $crumb-slash: "/" !default;
90
90
  a:focus {
91
91
  text-decoration: none;
92
92
  color: $crumb-font-color-unavailable;
93
- cursor: default;
93
+ cursor: $cursor-default-value;
94
94
  }
95
95
  }
96
96
 
@@ -49,7 +49,7 @@ $button-disabled-opacity: 0.6 !default;
49
49
  @if $style {
50
50
  border-style: $button-border-style;
51
51
  border-width: $button-border-width;
52
- cursor: pointer;
52
+ cursor: $cursor-pointer-value;
53
53
  font-family: $button-font-family;
54
54
  font-weight: $button-font-weight;
55
55
  line-height: 1;
@@ -135,9 +135,11 @@ $button-disabled-opacity: 0.6 !default;
135
135
 
136
136
  // We can set $disabled:true to create a disabled transparent button.
137
137
  @if $disabled {
138
- cursor: default;
138
+ cursor: $cursor-default-value;
139
139
  opacity: $button-disabled-opacity;
140
- -webkit-box-shadow: none;
140
+ @if $experimental {
141
+ -webkit-box-shadow: none;
142
+ }
141
143
  box-shadow: none;
142
144
  &:hover,
143
145
  &:focus { background-color: $bg; }
@@ -108,6 +108,13 @@ $clearing-carousel-thumb-active-border: 4px solid rgb(255,255,255) !default;
108
108
  .carousel > ul { display: none; }
109
109
  }
110
110
 
111
+ // If you want to show a lightbox, but only have a single image come through as the thumbnail
112
+ .clearing-feature li {
113
+ display: none;
114
+ &.clearing-featured-img {
115
+ display: block;
116
+ }
117
+ }
111
118
 
112
119
  // Large screen overrides
113
120
  @media #{$small} {
@@ -145,9 +152,6 @@ $clearing-carousel-thumb-active-border: 4px solid rgb(255,255,255) !default;
145
152
  .clearing-main-prev.disabled,
146
153
  .clearing-main-next.disabled { opacity: 0.5; }
147
154
 
148
- // If you want to show a lightbox, but only have a single image come through as the thumbnail
149
- .clearing-feature ~ li { display: none; }
150
-
151
155
  .clearing-assembled .clearing-container {
152
156
 
153
157
  .carousel {
@@ -173,7 +177,7 @@ $clearing-carousel-thumb-active-border: 4px solid rgb(255,255,255) !default;
173
177
  overflow: hidden;
174
178
  margin-#{$opposite-direction}: 1px;
175
179
  position: relative;
176
- cursor: pointer;
180
+ cursor: $cursor-pointer-value;
177
181
  opacity: 0.4;
178
182
 
179
183
  &.fix-height {
@@ -186,13 +190,15 @@ $clearing-carousel-thumb-active-border: 4px solid rgb(255,255,255) !default;
186
190
 
187
191
  a.th {
188
192
  border: none;
189
- -webkit-box-shadow: none;
193
+ @if $experimental {
194
+ -webkit-box-shadow: none;
195
+ }
190
196
  box-shadow: none;
191
197
  display: block;
192
198
  }
193
199
 
194
200
  img {
195
- cursor: pointer !important;
201
+ cursor: $cursor-pointer-value !important;
196
202
  min-width: 100% !important;
197
203
  }
198
204
 
@@ -15,7 +15,7 @@ $custom-form-bg: #fff !default;
15
15
  $custom-form-bg-disabled: #ddd !default;
16
16
  $custom-form-input-size: 16px !default;
17
17
  $custom-form-check-color: #222 !default;
18
- $custom-form-check-size: 20px !default;
18
+ $custom-form-check-size: 16px !default;
19
19
  $custom-form-radio-size: 8px !default;
20
20
  $custom-form-checkbox-radius: 0px !default;
21
21
 
@@ -110,10 +110,13 @@ $custom-dropdown-width-large: 434px !default;
110
110
 
111
111
  &.checkbox.checked {
112
112
  &:before {
113
- content: "\2A2F";
113
+ content: "\00d7";
114
114
  color: $custom-form-check-color;
115
- margin-top: -8px;
116
- margin-left: 2px;
115
+ position: absolute;
116
+ top: -50%;
117
+ left: 50%;
118
+ margin-top: 4px;
119
+ margin-left: -5px;
117
120
  }
118
121
  }
119
122
  }
@@ -131,10 +134,12 @@ $custom-dropdown-width-large: 434px !default;
131
134
  padding: 0px;
132
135
  width: 100%;
133
136
  background: $custom-dropdown-bg;
134
- background: -moz-linear-gradient(top, $custom-dropdown-bg 0%, $custom-select-fade-to-color 100%);
135
- background: -webkit-linear-gradient(top, $custom-dropdown-bg 0%,$custom-select-fade-to-color 100%);
137
+ @if $experimental {
138
+ background: -moz-linear-gradient(top, $custom-dropdown-bg 0%, $custom-select-fade-to-color 100%);
139
+ background: -webkit-linear-gradient(top, $custom-dropdown-bg 0%,$custom-select-fade-to-color 100%);
140
+ -webkit-box-shadow: none;
141
+ }
136
142
  background: linear-gradient(to bottom, $custom-dropdown-bg 0%,$custom-select-fade-to-color 100%);
137
- -webkit-box-shadow: none;
138
143
  box-shadow: none;
139
144
  font-size: $custom-dropdown-font-size;
140
145
  vertical-align: top;
@@ -214,7 +219,9 @@ $custom-dropdown-width-large: 434px !default;
214
219
  margin: 0;
215
220
  #{$default-float}: -$input-border-width;
216
221
  top: $custom-dropdown-offset-top;
217
- -webkit-box-shadow: $custom-dropdown-shadow;
222
+ @if $experimental {
223
+ -webkit-box-shadow: $custom-dropdown-shadow;
224
+ }
218
225
  box-shadow: $custom-dropdown-shadow;
219
226
  margin: 0;
220
227
  padding: 0;
@@ -225,7 +232,7 @@ $custom-dropdown-width-large: 434px !default;
225
232
  li {
226
233
  color: $custom-dropdown-font-color;
227
234
  font-size: $custom-dropdown-font-size;
228
- cursor: default;
235
+ cursor: $cursor-default-value;
229
236
  padding-top: $custom-dropdown-list-padding;
230
237
  padding-bottom: $custom-dropdown-list-padding;
231
238
  padding-#{$default-float}: $custom-dropdown-default-float-padding;
@@ -246,7 +253,7 @@ $custom-dropdown-width-large: 434px !default;
246
253
  }
247
254
  &.selected:hover {
248
255
  background: $custom-dropdown-color-selected;
249
- cursor: default;
256
+ cursor: $cursor-default-value;
250
257
  color: $custom-dropdown-font-color-selected;
251
258
  }
252
259
  }
@@ -29,7 +29,7 @@ $f-dropdown-font-size: emCalc(14px) !default;
29
29
  $f-dropdown-list-padding: emCalc(5px) emCalc(10px) !default;
30
30
  $f-dropdown-line-height: emCalc(18px) !default;
31
31
  $f-dropdown-list-hover-bg: #eeeeee !default;
32
- $dropdown-mobile-default-float: 0 !default;
32
+ $dropdown-mobile-default-float: 0 !default;
33
33
 
34
34
  // We use this to control the styles for when the dropdown has custom content.
35
35
  $f-dropdown-content-padding: emCalc(20px) !default;
@@ -46,8 +46,8 @@ $f-dropdown-content-padding: emCalc(20px) !default;
46
46
  top: -9999px;
47
47
  list-style: $f-dropdown-list-style;
48
48
 
49
- *:first-child { margin-top: 0; }
50
- *:last-child { margin-bottom: 0; }
49
+ > *:first-child { margin-top: 0; }
50
+ > *:last-child { margin-bottom: 0; }
51
51
 
52
52
  @if $content == list {
53
53
  width: 100%;
@@ -105,8 +105,8 @@ $f-dropdown-content-padding: emCalc(20px) !default;
105
105
  // We use this to style the list elements or content inside the dropdown.
106
106
  @mixin dropdown-style {
107
107
  font-size: $f-dropdown-font-size;
108
- cursor: pointer;
109
-
108
+ cursor: $cursor-pointer-value;
109
+
110
110
  line-height: $f-dropdown-line-height;
111
111
  margin: 0;
112
112
 
@@ -132,7 +132,7 @@ $f-dropdown-content-padding: emCalc(20px) !default;
132
132
 
133
133
  /* Foundation Dropdowns */
134
134
  .f-dropdown {
135
- @include dropdown-container(content);
135
+ @include dropdown-container(list);
136
136
  // max-width: none;
137
137
 
138
138
  li { @include dropdown-style; }
@@ -54,7 +54,7 @@ $input-error-message-font-weight: bold !default;
54
54
  $input-error-message-font-color: #fff !default;
55
55
  $input-error-message-font-color-alt: #333 !default;
56
56
 
57
- //We use this to style the glowing effect of inputs when focused
57
+ // We use this to style the glowing effect of inputs when focused
58
58
  $glowing-effect-fade-time: 0.45s !default;
59
59
  $glowing-effect-color: $input-focus-border-color !default;
60
60
 
@@ -88,7 +88,9 @@ $glowing-effect-color: $input-focus-border-color !default;
88
88
  background-color: $input-bg-color;
89
89
  font-family: $input-font-family;
90
90
  border: $input-border-width $input-border-style $input-border-color;
91
- -webkit-box-shadow: $input-box-shadow;
91
+ @if $experimental {
92
+ -webkit-box-shadow: $input-box-shadow;
93
+ }
92
94
  box-shadow: $input-box-shadow;
93
95
  color: $input-font-color;
94
96
  display: block;
@@ -333,7 +335,7 @@ $glowing-effect-color: $input-focus-border-color !default;
333
335
  select {
334
336
  margin: 0 0 $form-spacing 0;
335
337
  }
336
-
338
+
337
339
  /* Normalize file input width */
338
340
  input[type="file"] {
339
341
  width:100%;
@@ -5,7 +5,9 @@
5
5
  // We use this to control border radius.
6
6
  @mixin radius($radius:$global-radius) {
7
7
  @if $radius {
8
- -webkit-border-radius: $radius;
8
+ @if $experimental {
9
+ -webkit-border-radius: $radius;
10
+ }
9
11
  border-radius: $radius;
10
12
  }
11
13
  }
@@ -13,34 +15,42 @@
13
15
  // We use this to create equal side border radius on elements.
14
16
  @mixin side-radius($side, $radius) {
15
17
  @if $side == left {
16
- -moz-border-radius-bottomleft: $radius;
17
- -moz-border-radius-topleft: $radius;
18
- -webkit-border-bottom-left-radius: $radius;
19
- -webkit-border-top-left-radius: $radius;
18
+ @if $experimental {
19
+ -moz-border-radius-bottomleft: $radius;
20
+ -moz-border-radius-topleft: $radius;
21
+ -webkit-border-bottom-left-radius: $radius;
22
+ -webkit-border-top-left-radius: $radius;
23
+ }
20
24
  border-bottom-left-radius: $radius;
21
25
  border-top-left-radius: $radius;
22
26
  }
23
27
  @else if $side == right {
24
- -moz-border-radius-topright: $radius;
25
- -moz-border-radius-bottomright: $radius;
26
- -webkit-border-top-right-radius: $radius;
27
- -webkit-border-bottom-right-radius: $radius;
28
+ @if $experimental {
29
+ -moz-border-radius-topright: $radius;
30
+ -moz-border-radius-bottomright: $radius;
31
+ -webkit-border-top-right-radius: $radius;
32
+ -webkit-border-bottom-right-radius: $radius;
33
+ }
28
34
  border-top-right-radius: $radius;
29
35
  border-bottom-right-radius: $radius;
30
36
  }
31
37
  @else if $side == top {
32
- -moz-border-radius-topright: $radius;
33
- -moz-border-radius-topleft: $radius;
34
- -webkit-border-top-right-radius: $radius;
35
- -webkit-border-top-left-radius: $radius;
38
+ @if $experimental {
39
+ -moz-border-radius-topright: $radius;
40
+ -moz-border-radius-topleft: $radius;
41
+ -webkit-border-top-right-radius: $radius;
42
+ -webkit-border-top-left-radius: $radius;
43
+ }
36
44
  border-top-right-radius: $radius;
37
45
  border-top-left-radius: $radius;
38
46
  }
39
47
  @else if $side == bottom {
40
- -moz-border-radius-bottomright: $radius;
41
- -moz-border-radius-bottomleft: $radius;
42
- -webkit-border-bottom-right-radius: $radius;
43
- -webkit-border-bottom-left-radius: $radius;
48
+ @if $experimental {
49
+ -moz-border-radius-bottomright: $radius;
50
+ -moz-border-radius-bottomleft: $radius;
51
+ -webkit-border-bottom-right-radius: $radius;
52
+ -webkit-border-bottom-left-radius: $radius;
53
+ }
44
54
  border-bottom-right-radius: $radius;
45
55
  border-bottom-left-radius: $radius;
46
56
  }
@@ -48,25 +58,33 @@
48
58
 
49
59
  // We can control whether or not we have inset shadows edges.
50
60
  @mixin inset-shadow($active:true) {
51
- -webkit-box-shadow: $shiny-edge-size $shiny-edge-color inset;
61
+ @if $experimental {
62
+ -webkit-box-shadow: $shiny-edge-size $shiny-edge-color inset;
63
+ }
52
64
  box-shadow: $shiny-edge-size $shiny-edge-color inset;
53
65
 
54
66
  @if $active { &:active {
55
- -webkit-box-shadow: $shiny-edge-size $shiny-edge-active-color inset;
67
+ @if $experimental {
68
+ -webkit-box-shadow: $shiny-edge-size $shiny-edge-active-color inset;
69
+ }
56
70
  box-shadow: $shiny-edge-size $shiny-edge-active-color inset; } }
57
71
  }
58
72
 
59
73
  // We use this to add transitions to elements
60
74
  @mixin single-transition($property:all, $speed:300ms, $ease:ease-out) {
61
- -webkit-transition: $property $speed $ease;
62
- -moz-transition: $property $speed $ease;
75
+ @if $experimental {
76
+ -webkit-transition: $property $speed $ease;
77
+ -moz-transition: $property $speed $ease;
78
+ }
63
79
  transition: $property $speed $ease;
64
80
  }
65
81
 
66
82
  // We use this to add box-sizing across browser prefixes
67
83
  @mixin box-sizing($type:border-box) {
68
- -moz-box-sizing: $type;
69
- -webkit-box-sizing: $type;
84
+ @if $experimental {
85
+ -moz-box-sizing: $type;
86
+ -webkit-box-sizing: $type;
87
+ }
70
88
  box-sizing: $type;
71
89
  }
72
90
 
@@ -105,13 +123,17 @@
105
123
 
106
124
  // We use this to add a glowing effect to block elements
107
125
  @mixin block-glowing-effect($selector:focus, $fade-time:300ms, $glowing-effect-color:fade-out($primary-color, .25)) {
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;
126
+ @if $experimental {
127
+ -webkit-transition: -webkit-box-shadow $fade-time, border-color $fade-time ease-in-out;
128
+ -moz-transition: -moz-box-shadow $fade-time, border-color $fade-time ease-in-out;
129
+ }
110
130
  transition: box-shadow $fade-time, border-color $fade-time ease-in-out;
111
131
 
112
132
  &:#{$selector} {
113
- -webkit-box-shadow: 0 0 5px $glowing-effect-color;
114
- -moz-box-shadow: 0 0 5px $glowing-effect-color;
133
+ @if $experimental {
134
+ -webkit-box-shadow: 0 0 5px $glowing-effect-color;
135
+ -moz-box-shadow: 0 0 5px $glowing-effect-color;
136
+ }
115
137
  box-shadow: 0 0 5px $glowing-effect-color;
116
138
  border-color: $glowing-effect-color;
117
139
  }
@@ -190,9 +212,9 @@ $include-print-styles: true !default;
190
212
  $include-html-global-classes: $include-html-classes !default;
191
213
 
192
214
  // Media Queries
193
- $small-screen: emCalc(768px) !default;
194
- $medium-screen: emCalc(1280px) !default;
195
- $large-screen: emCalc(1440px) !default;
215
+ $small-screen: 768px !default;
216
+ $medium-screen: 1280px !default;
217
+ $large-screen: 1440px !default;
196
218
 
197
219
  $screen: "only screen" !default;
198
220
  $small: "only screen and (min-width: #{$small-screen})" !default;
@@ -201,6 +223,14 @@ $large: "only screen and (min-width:#{$large-screen})" !default;
201
223
  $landscape: "only screen and (orientation: landscape)" !default;
202
224
  $portrait: "only screen and (orientation: portrait)" !default;
203
225
 
226
+ //We use this as cursors values for enabling the option of having custom cursors in the whole site's stylesheet
227
+ $cursor-crosshair-value: crosshair !default;
228
+ $cursor-default-value: default !default;
229
+ $cursor-pointer-value: pointer !default;
230
+ $cursor-help-value: help !default;
231
+ $cursor-text-value: text !default;
232
+
233
+
204
234
  @if $include-html-global-classes {
205
235
 
206
236
  // Set box-sizing globally to handle padding and border widths
@@ -224,8 +254,11 @@ $portrait: "only screen and (orientation: portrait)" !default;
224
254
  font-style: $body-font-style;
225
255
  line-height: 1; // Set to $base-line-height to take on browser default of 150%
226
256
  position: relative;
257
+ cursor: $cursor-default-value;
227
258
  }
228
259
 
260
+ a:hover { cursor: $cursor-pointer-value; }
261
+
229
262
  // Override outline from normalize, we don't like it
230
263
  a:focus { outline: none; }
231
264