zurb-foundation 4.3.0 → 4.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Gemfile.lock +1 -1
- data/README.md +8 -8
- data/docs/CHANGELOG.md +9 -1
- data/docs/Gemfile +5 -2
- data/docs/Gemfile.lock +19 -6
- data/docs/changelog.html.erb +1 -1
- data/docs/components/abide.html.erb +3 -3
- data/docs/components/alert-boxes.html.erb +3 -1
- data/docs/components/block-grid.html.erb +7 -5
- data/docs/components/breadcrumbs.html.erb +3 -1
- data/docs/components/button-groups.html.erb +4 -1
- data/docs/components/buttons.html.erb +3 -2
- data/docs/components/dropdown-buttons.html.erb +4 -1
- data/docs/components/dropdown.html.erb +6 -4
- data/docs/components/flex-video.html.erb +3 -1
- data/docs/components/grid.html.erb +4 -4
- data/docs/components/inline-lists.html.erb +3 -1
- data/docs/components/keystrokes.html.erb +3 -1
- data/docs/components/kitchen-sink.html.erb +13 -8
- data/docs/components/labels.html.erb +3 -1
- data/docs/components/pagination.html.erb +3 -1
- data/docs/components/panels.html.erb +3 -1
- data/docs/components/pricing-tables.html.erb +3 -1
- data/docs/components/progress-bars.html.erb +3 -1
- data/docs/components/reveal.html.erb +9 -1
- data/docs/components/section.html.erb +7 -7
- data/docs/components/side-nav.html.erb +3 -1
- data/docs/components/split-buttons.html.erb +4 -1
- data/docs/components/sub-nav.html.erb +3 -1
- data/docs/components/thumbnails.html.erb +3 -1
- data/docs/controller.rb +17 -2
- data/docs/css/docs.scss +103 -8
- data/docs/index.html.erb +9 -0
- data/docs/layout.html.erb +2 -1
- data/js/foundation/foundation.clearing.js +1 -1
- data/js/foundation/foundation.forms.js +1 -1
- data/js/foundation/foundation.js +3 -9
- data/js/foundation/foundation.orbit.js +15 -8
- data/js/foundation/foundation.section.js +3 -4
- data/js/foundation/foundation.topbar.js +3 -3
- data/lib/foundation/generators/templates/application.html.slim +3 -3
- data/lib/foundation/version.rb +1 -1
- data/scss/foundation/_variables.scss +0 -1
- data/scss/foundation/components/_buttons.scss +0 -1
- data/scss/foundation/components/_forms.scss +12 -7
- data/scss/foundation/components/_orbit.scss +12 -2
- metadata +4 -4
@@ -7,7 +7,7 @@
|
|
7
7
|
Foundation.libs.section = {
|
8
8
|
name : 'section',
|
9
9
|
|
10
|
-
version : '4.3.
|
10
|
+
version : '4.3.1',
|
11
11
|
|
12
12
|
settings: {
|
13
13
|
deep_linking: false,
|
@@ -23,8 +23,7 @@
|
|
23
23
|
content_selector: '.content, [data-section-content]',
|
24
24
|
nav_selector: '[data-section="vertical-nav"], [data-section="horizontal-nav"]',
|
25
25
|
active_class: 'active',
|
26
|
-
callback: function() {
|
27
|
-
}
|
26
|
+
callback: function() {}
|
28
27
|
},
|
29
28
|
|
30
29
|
init: function(scope, method, options) {
|
@@ -130,7 +129,7 @@
|
|
130
129
|
} else if (!settings.one_up && (self.small(section) || self.is_vertical_nav(section) || self.is_horizontal_nav(section) || self.is_accordion(section))) {
|
131
130
|
region.removeClass(self.settings.active_class);
|
132
131
|
}
|
133
|
-
settings.callback();
|
132
|
+
settings.callback(section);
|
134
133
|
},
|
135
134
|
|
136
135
|
check_resize_timer: null,
|
@@ -6,7 +6,7 @@
|
|
6
6
|
Foundation.libs.topbar = {
|
7
7
|
name : 'topbar',
|
8
8
|
|
9
|
-
version
|
9
|
+
version: '4.3.1',
|
10
10
|
|
11
11
|
settings : {
|
12
12
|
index : 0,
|
@@ -161,7 +161,7 @@
|
|
161
161
|
section.find('>.name').css({right: 100 * topbar.data('index') + '%'});
|
162
162
|
}
|
163
163
|
|
164
|
-
topbar.css('height', self.outerHeight($this.siblings('ul'), true) + self.
|
164
|
+
topbar.css('height', self.outerHeight($this.siblings('ul'), true) + self.height(titlebar));
|
165
165
|
}
|
166
166
|
});
|
167
167
|
|
@@ -209,7 +209,7 @@
|
|
209
209
|
if (topbar.data('index') === 0) {
|
210
210
|
topbar.css('height', '');
|
211
211
|
} else {
|
212
|
-
topbar.css('height', self.outerHeight($previousLevelUl, true) + self.
|
212
|
+
topbar.css('height', self.outerHeight($previousLevelUl, true) + self.height(titlebar));
|
213
213
|
}
|
214
214
|
|
215
215
|
setTimeout(function () {
|
@@ -22,9 +22,9 @@ head
|
|
22
22
|
|
23
23
|
title == content_for?(:title) ? yield(:title) : "Untitled"
|
24
24
|
|
25
|
-
|
26
|
-
|
27
|
-
|
25
|
+
== stylesheet_link_tag "application"
|
26
|
+
== javascript_include_tag "vendor/custom.modernizr"
|
27
|
+
== csrf_meta_tag
|
28
28
|
|
29
29
|
body
|
30
30
|
|
data/lib/foundation/version.rb
CHANGED
@@ -30,7 +30,6 @@ $button-function-factor: 10% !default;
|
|
30
30
|
// We use these to control button border styles.
|
31
31
|
$button-border-width: 1px !default;
|
32
32
|
$button-border-style: solid !default;
|
33
|
-
$button-border-color: darken($primary-color, $button-function-factor) !default;
|
34
33
|
|
35
34
|
// We use this to set the default radius used throughout the core.
|
36
35
|
$button-radius: $global-radius !default;
|
@@ -48,7 +48,7 @@ $input-prefix-font-color-alt: #fff !default;
|
|
48
48
|
|
49
49
|
// We use these to style the error states for inputs and labels
|
50
50
|
$input-error-message-padding: emCalc(6, 4) !default;
|
51
|
-
$input-error-message-top:
|
51
|
+
$input-error-message-top: -($form-spacing) - emCalc(5) !default;
|
52
52
|
$input-error-message-font-size: emCalc(12) !default;
|
53
53
|
$input-error-message-font-weight: bold !default;
|
54
54
|
$input-error-message-font-color: #fff !default;
|
@@ -97,7 +97,7 @@ $glowing-effect-color: $input-focus-border-color !default;
|
|
97
97
|
font-size: $input-font-size;
|
98
98
|
margin: 0 0 $form-spacing 0;
|
99
99
|
padding: $form-spacing / 2;
|
100
|
-
height:
|
100
|
+
height: ($input-font-size + ($form-spacing * 1.5) - emCalc(1));
|
101
101
|
width: 100%;
|
102
102
|
@include box-sizing(border-box);
|
103
103
|
@if $input-include-glowing-effect {
|
@@ -284,11 +284,11 @@ $glowing-effect-color: $input-focus-border-color !default;
|
|
284
284
|
.prefix.button.round { @include radius(0); @include side-radius(left, $button-round); }
|
285
285
|
.postfix.button.round { @include radius(0); @include side-radius(right, $button-round); }
|
286
286
|
|
287
|
-
/* Separate prefix and postfix styles when on span so buttons keep their own */
|
288
|
-
span.prefix { @include prefix();
|
287
|
+
/* Separate prefix and postfix styles when on span or label so buttons keep their own */
|
288
|
+
span.prefix,label.prefix { @include prefix();
|
289
289
|
&.radius { @include radius(0); @include side-radius(left, $global-radius); }
|
290
290
|
}
|
291
|
-
span.postfix { @include postfix();
|
291
|
+
span.postfix,label.postfix { @include postfix();
|
292
292
|
&.radius { @include radius(0); @include side-radius(right, $global-radius); }
|
293
293
|
}
|
294
294
|
|
@@ -353,11 +353,16 @@ $glowing-effect-color: $input-focus-border-color !default;
|
|
353
353
|
|
354
354
|
/* Error Handling */
|
355
355
|
|
356
|
+
[data-abide] {
|
357
|
+
.error small.error, span.error, small.error {
|
358
|
+
@include form-error-message;
|
359
|
+
margin-top: 0;
|
360
|
+
}
|
361
|
+
span.error, small.error { display: none; }
|
362
|
+
}
|
356
363
|
span.error, small.error {
|
357
364
|
@include form-error-message;
|
358
|
-
display: none;
|
359
365
|
}
|
360
|
-
|
361
366
|
.error {
|
362
367
|
input,
|
363
368
|
textarea,
|
@@ -130,10 +130,20 @@ $preloader-class: "preloader" !default;
|
|
130
130
|
position: absolute;
|
131
131
|
top: 0;
|
132
132
|
width: 100%;
|
133
|
-
|
134
|
-
|
133
|
+
@if $text-direction == rtl {
|
134
|
+
margin-right: 100%;
|
135
|
+
}
|
136
|
+
@else {
|
137
|
+
margin-left: 100%;
|
138
|
+
}
|
139
|
+
|
135
140
|
&:first-child {
|
141
|
+
@if $text-direction == rtl {
|
142
|
+
margin-right: 0%;
|
143
|
+
}
|
144
|
+
@else {
|
136
145
|
margin-left: 0%;
|
146
|
+
}
|
137
147
|
}
|
138
148
|
|
139
149
|
.orbit-caption {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zurb-foundation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass
|
@@ -268,7 +268,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
268
268
|
version: '0'
|
269
269
|
segments:
|
270
270
|
- 0
|
271
|
-
hash:
|
271
|
+
hash: -3316749234965597877
|
272
272
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
273
273
|
none: false
|
274
274
|
requirements:
|
@@ -277,7 +277,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
277
277
|
version: '0'
|
278
278
|
segments:
|
279
279
|
- 0
|
280
|
-
hash:
|
280
|
+
hash: -3316749234965597877
|
281
281
|
requirements: []
|
282
282
|
rubyforge_project:
|
283
283
|
rubygems_version: 1.8.23
|