zurb-foundation 2.0.3.1 → 2.0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  module Foundation
2
- COMMIT = "82881ec476590e01cfdf207851427f55807712db"
3
- VERSION = "2.0.3.1"
2
+ COMMIT = "9eb616dd93ef53409c930bd1e8f5b61890a5d21c"
3
+ VERSION = "2.0.3.2"
4
4
  end
@@ -491,6 +491,7 @@
491
491
  this.$bullets = $(this.bulletHTML);
492
492
  this.$wrapper.append(this.$bullets);
493
493
  this.$slides.each(this.addBullet);
494
+ this.$element.addClass('with-bullets');
494
495
  if (this.options.centerBullets) this.$bullets.css('margin-left', -this.$bullets.width() / 2);
495
496
  },
496
497
 
@@ -853,6 +854,8 @@ jQuery(document).ready(function ($) {
853
854
 
854
855
  input.checked = ((input.checked) ? false : true);
855
856
  $element.toggleClass('checked');
857
+
858
+ $input.trigger('change');
856
859
  }
857
860
 
858
861
  function toggleRadio($element) {
@@ -864,6 +867,8 @@ jQuery(document).ready(function ($) {
864
867
  });
865
868
  input.checked = ((input.checked) ? false : true);
866
869
  $element.toggleClass('checked');
870
+
871
+ $input.trigger('change');
867
872
  }
868
873
 
869
874
  $('form.custom span.custom.checkbox').live('click', function (event) {
@@ -941,6 +946,8 @@ jQuery(document).ready(function ($) {
941
946
 
942
947
  });
943
948
  $select[0].selectedIndex = selectedIndex;
949
+
950
+ $select.trigger('change');
944
951
  });
945
952
  })(jQuery);
946
953
 
@@ -950,9 +957,6 @@ jQuery(document).ready(function ($) {
950
957
  $(document).ready(function() {
951
958
 
952
959
  /* Use this js doc for all application specific JS */
953
- $(window).resize(function() {
954
- console.log($(window).width());
955
- });
956
960
 
957
961
  /* TABS --------------------------------- */
958
962
  /* Remove if you don't need :) */
@@ -992,5 +996,10 @@ $(document).ready(function() {
992
996
 
993
997
  $('input, textarea').placeholder();
994
998
 
999
+
1000
+ /* DISABLED BUTTONS ------------- */
1001
+ /* Gives elements with a class of 'disabled' a return: false; */
1002
+
1003
+
995
1004
  });
996
1005
 
@@ -1,4 +1,4 @@
1
- /* Arfully Masterminded by ZURB */
1
+ /* Artfully Masterminded by ZURB */
2
2
 
3
3
  /* --------------------------------------------------
4
4
  Table of Contents
@@ -152,8 +152,8 @@
152
152
  body, p { font-size: 15px; font-size: 1.5rem; line-height: 1.4; }
153
153
  }
154
154
 
155
- em { font-style: italic; line-height: inherit; }
156
- strong { font-weight: bold; line-height: inherit; }
155
+ em, i { font-style: italic; line-height: inherit; }
156
+ strong, b { font-weight: bold; line-height: inherit; }
157
157
  small { font-size: 60%; line-height: inherit; }
158
158
 
159
159
  h1 small, h2 small, h3 small, h4 small, h5 small { color: #777; }
@@ -236,7 +236,9 @@
236
236
  .row .offset-by-ten { margin-left: 91.4%; }
237
237
  /*.row .offset-by-eleven { margin-left: 95.7%; }*/
238
238
 
239
- .row .one.centered { margin-left: 47.9%; }
239
+ .row .centered { float: none; margin: 0 auto; }
240
+
241
+ /*.row .one.centered { margin-left: 47.9%; }
240
242
  .row .two.centered { margin-left: 43.5%; }
241
243
  .row .three.centered { margin-left: 39.2%; }
242
244
  .row .four.centered { margin-left: 34.8%; }
@@ -246,7 +248,7 @@
246
248
  .row .eight.centered { margin-left: 17.4%; }
247
249
  .row .nine.centered { margin-left: 13.1%; }
248
250
  .row .ten.centered { margin-left: 8.7%; }
249
- .row .eleven.centered { margin-left: 4.3%; }
251
+ .row .eleven.centered { margin-left: 4.3%; }*/
250
252
 
251
253
  .row .offset-by-one:first-child { margin-left: 8.7%; }
252
254
  .row .offset-by-two:first-child { margin-left: 17.4%; }
@@ -401,6 +403,10 @@
401
403
  .white.button:hover { background-color: #dadada; color: #333; }
402
404
  .black.button:hover { background-color: #000; }
403
405
 
406
+
407
+ /* Disabled ---------- */
408
+ .button.disabled, .button[disabled] { opacity: 0.6; cursor: default; }
409
+
404
410
 
405
411
 
406
412
  /* --------------------------------------------------
@@ -461,53 +467,7 @@
461
467
  ul.nice, ol.nice { list-style: none; margin: 0; }
462
468
  ul.nice li, ol.nice li { padding-left: 13px; position: relative }
463
469
  ul.nice li span.bullet, ol.nice li span.number { position: absolute; left: 0px; top: 0px; color: #ccc; }
464
-
465
-
466
- /* --------------------------------------------------
467
- Notices/Alerts
468
- ---------------------------------------------------*/
469
- /* Alerts cannot be closed and notices can */
470
-
471
- .notice, .alert {
472
- position: relative;
473
- background: #222 image-url("foundation/misc/button-overlay.png") repeat-x bottom;
474
- width: 100%;
475
- margin: 10px 0;
476
- -moz-border-radius: 3px;
477
- -webkit-border-radius: 3px;
478
- border-radius: 3px;
479
- color: #fff;
480
- text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
481
- font-weight: bold;
482
- }
483
- .notice>span, .alert>span {
484
- display: block;
485
- padding: 5px 10px 6px;
486
- }
487
- .notice a.close {
488
- font-size: 20px;
489
- line-height: .5;
490
- color: #fff;
491
- text-shadow: 0 -1px 1px rbga(0,0,0,.25);
492
- font-weight: bold;
493
- cursor: pointer;
494
- position: absolute;
495
- right: 10px;
496
- top: 6px;
497
- }
498
-
499
- /* NOTES
500
-
501
- Close button entity is ×
502
- Sample Markup:
503
- <div class="notice"><span>
504
- This is awesome
505
- <a class="close" href="#">&#215;</a>
506
- </span></div>
507
-
508
- */
509
-
510
-
470
+
511
471
 
512
472
  /* --------------------------------------------------
513
473
  Panels
@@ -652,6 +612,10 @@ div.orbit {
652
612
  height: 1px;
653
613
  position: relative;
654
614
  overflow: hidden }
615
+
616
+ div.orbit.with-bullets {
617
+ margin-bottom: 40px;
618
+ }
655
619
 
656
620
  div.orbit>img {
657
621
  position: absolute;
@@ -834,7 +798,7 @@ div.slider-nav span.left {
834
798
  position: absolute;
835
799
  z-index: 1000;
836
800
  list-style: none;
837
- bottom: -40px;
801
+ bottom: -50px;
838
802
  left: 50%;
839
803
  margin-left: -50px;
840
804
  padding: 0; }
@@ -845,7 +809,7 @@ div.slider-nav span.left {
845
809
  cursor: pointer;
846
810
  color: #999;
847
811
  text-indent: -9999px;
848
- background: image-url("foundation/orbit/orbit/bullets.jpg") no-repeat 4px 0;
812
+ background: image-url("foundation/orbit/bullets.jpg") no-repeat 4px 0;
849
813
  width: 13px;
850
814
  height: 12px;
851
815
  overflow: hidden; }
@@ -982,7 +946,8 @@ div.slider-nav span.left {
982
946
  -------------------------------------------------- */
983
947
 
984
948
  @media only screen and (max-width: 767px) {
985
- .block-grid.mobile li { float: none; width: 100%; }
949
+ .block-grid.mobile { margin-left: 0%; }
950
+ .block-grid.mobile li { float: none; width: 100%; margin-left: 0%; }
986
951
  }
987
952
 
988
953
 
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: 2.0.3.1
4
+ version: 2.0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-31 00:00:00.000000000 -07:00
12
+ date: 2011-11-08 00:00:00.000000000 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
- requirement: &2153637200 !ruby/object:Gem::Requirement
17
+ requirement: &2157924640 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 3.1.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2153637200
25
+ version_requirements: *2157924640
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: jquery-rails
28
- requirement: &2153636440 !ruby/object:Gem::Requirement
28
+ requirement: &2157923660 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '1.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2153636440
36
+ version_requirements: *2157923660
37
37
  description: An easy to use, powerful, and flexible framework for building prototypes
38
38
  and production code on any kind of device.
39
39
  email:
@@ -90,7 +90,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  segments:
92
92
  - 0
93
- hash: -1865835205195260819
93
+ hash: 3944719676024893069
94
94
  required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  version: '0'
100
100
  segments:
101
101
  - 0
102
- hash: -1865835205195260819
102
+ hash: 3944719676024893069
103
103
  requirements: []
104
104
  rubyforge_project: foundation
105
105
  rubygems_version: 1.6.2