foundation-rails 5.0.1.0 → 5.0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f61cbaaf5faef5627292f099a91c59379f0cbb33
4
- data.tar.gz: edea0fdaf715c32dc3fd2a83c0bcbf6d746838ed
3
+ metadata.gz: 13593db6508c80cb6a91ebb2d5086059ce76856a
4
+ data.tar.gz: 8b05290cbacd133cad713261a15dde9a5dce4061
5
5
  SHA512:
6
- metadata.gz: abe4aa96dae2ee82ea0c6692e841f640563656ae44e6f4ac0d325c07709a7beadcecdbc7fe6f31149600c6fda501d81453f535f8b33ae00a2120e5edcd6b3465
7
- data.tar.gz: 7174c1279ce240b3097aca87b16a01f5e9b025ab06c300fcfdd37fa7d6af64b192357c025114439647ab00270e9327795a15dfc723458177be9b795656df66f6
6
+ metadata.gz: 9655cbcb9a922a865820d35780f51333d0c32b1965f6b416caa2a17774756b79326d42d4ed25fa18c86d2891fe558f914e390d402ad8cf27989e0ed6853d4059
7
+ data.tar.gz: 90dfdcb3414d97045ebe05fde545790a4d8258d46454b7841bf57c628d0c3566d52e621a7fcc65d2e09e9d2e3308837fa1fc630e4c9e53deeafda3c7aae0e4b1
@@ -1,5 +1,5 @@
1
1
  module Foundation
2
2
  module Rails
3
- VERSION = "5.0.1.0"
3
+ VERSION = "5.0.2.0"
4
4
  end
5
5
  end
@@ -54,6 +54,8 @@
54
54
  // $secondary-color: #e7e7e7;
55
55
  // $alert-color: #f04124;
56
56
  // $success-color: #43AC6A;
57
+ // $warning-color: #f08a24;
58
+ // $info-color: #a0d3e8;
57
59
 
58
60
  // We use these to make sure border radius matches unless we want it different.
59
61
  // $global-radius: 3px;
@@ -145,6 +147,7 @@
145
147
 
146
148
  // We use these to style the close buttons
147
149
  // $alert-close-color: #333;
150
+ // $alert-close-top: 50%;
148
151
  // $alert-close-position: rem-calc(5);
149
152
  // $alert-close-font-size: rem-calc(22);
150
153
  // $alert-close-opacity: 0.3;
@@ -28,7 +28,8 @@ $alert-bottom-margin: rem-calc(20) !default;
28
28
 
29
29
  // We use these to style the close buttons
30
30
  $alert-close-color: #333 !default;
31
- $alert-close-position: rem-calc(5) !default;
31
+ $alert-close-top: 50% !default;
32
+ $alert-close-position: rem-calc(4) !default;
32
33
  $alert-close-font-size: rem-calc(22) !default;
33
34
  $alert-close-opacity: 0.3 !default;
34
35
  $alert-close-opacity-hover: 0.5 !default;
@@ -77,7 +78,8 @@ $alert-radius: $global-radius !default;
77
78
  padding: $alert-close-padding;
78
79
  line-height: 0;
79
80
  position: absolute;
80
- top: $alert-close-position + rem-calc(2);
81
+ top: $alert-close-top;
82
+ margin-top: -($alert-close-font-size / 2);
81
83
  #{$opposite-direction}: $alert-close-position;
82
84
  color: $alert-close-color;
83
85
  opacity: $alert-close-opacity;
@@ -108,6 +110,8 @@ $alert-radius: $global-radius !default;
108
110
  &.success { @include alert-style($success-color); }
109
111
  &.alert { @include alert-style($alert-color); }
110
112
  &.secondary { @include alert-style($secondary-color); }
113
+ &.warning { @include alert-style($warning-color); }
114
+ &.info { @include alert-style($info-color); }
111
115
  }
112
116
  }
113
117
  }
@@ -218,6 +218,8 @@ $primary-color: #008CBA !default;
218
218
  $secondary-color: #e7e7e7 !default;
219
219
  $alert-color: #f04124 !default;
220
220
  $success-color: #43AC6A !default;
221
+ $warning-color: #f08a24 !default;
222
+ $info-color: #a0d3e8 !default;
221
223
 
222
224
  // We use these to make sure border radius matches unless we want it different.
223
225
  $global-radius: 3px !default;
@@ -65,7 +65,7 @@ $menu-slide: "transform 500ms ease" !default;
65
65
  // EXTEND CLASSES
66
66
  // Remove transition flicker on phones
67
67
  %kill-flicker {
68
- -webkit-transform: translateZ(0);
68
+ // -webkit-transform: translateZ(0);
69
69
  -webkit-backface-visibility: hidden;
70
70
  }
71
71
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foundation-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.1.0
4
+ version: 5.0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ZURB
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-22 00:00:00.000000000 Z
11
+ date: 2013-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler