bootstrap_modal_rails 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -128,3 +128,9 @@ Contributing
128
128
  3. Commit your changes (`git commit -am 'Add some feature'`)
129
129
  4. Push to the branch (`git push origin my-new-feature`)
130
130
  5. Create new Pull Request
131
+
132
+ Thanks
133
+ -----------
134
+
135
+ Thanks to [Jordan Schroter](https://github.com/jschr) for creating this excellent bootstrap extension
136
+
@@ -1,3 +1,3 @@
1
1
  module BootstrapModalRails
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
@@ -1,2 +1,2 @@
1
- //= require ./bootstrap-modal.js
2
- //= require ./bootstrap-modalmanager.js
1
+ //= require ./bootstrap-modalmanager.js
2
+ //= require ./bootstrap-modal.js
@@ -8,8 +8,8 @@
8
8
  */
9
9
 
10
10
  .modal-open {
11
- position: relative; /* safari */
12
- overflow: hidden;
11
+ position: relative; /* safari */
12
+ overflow: hidden;
13
13
  }
14
14
 
15
15
 
@@ -18,76 +18,76 @@
18
18
  .modal-open.page-overflow .page-container .navbar-fixed-top,
19
19
  .modal-open.page-overflow .page-container .navbar-fixed-bottom,
20
20
  .modal-open.page-overflow .modal-scrollable {
21
- overflow-y: scroll;
21
+ overflow-y: scroll;
22
22
  }
23
23
 
24
24
  @media (max-width: 979px) {
25
- .modal-open.page-overflow .page-container .navbar-fixed-top,
26
- .modal-open.page-overflow .page-container .navbar-fixed-bottom {
27
- overflow-y: visible;
28
- }
25
+ .modal-open.page-overflow .page-container .navbar-fixed-top,
26
+ .modal-open.page-overflow .page-container .navbar-fixed-bottom {
27
+ overflow-y: visible;
28
+ }
29
29
  }
30
30
 
31
31
 
32
32
  .modal-scrollable {
33
- position: fixed;
34
- top: 0;
35
- bottom: 0;
36
- left: 0;
37
- right: 0;
38
- overflow: auto;
33
+ position: fixed;
34
+ top: 0;
35
+ bottom: 0;
36
+ left: 0;
37
+ right: 0;
38
+ overflow: auto;
39
39
  }
40
40
 
41
41
  .modal {
42
- outline: none;
43
- position: absolute;
44
- margin-top: 0;
45
- top: 50%;
46
- overflow: visible; /* allow content to popup out (i.e tooltips) */
42
+ outline: none;
43
+ position: absolute;
44
+ margin-top: 0;
45
+ top: 50%;
46
+ overflow: visible; /* allow content to popup out (i.e tooltips) */
47
47
  }
48
48
 
49
49
  .modal.fade {
50
- top: -100%;
51
- -webkit-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out;
52
- -moz-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out;
53
- -o-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out;
54
- transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out;
50
+ top: -100%;
51
+ -webkit-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out;
52
+ -moz-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out;
53
+ -o-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out;
54
+ transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out;
55
55
  }
56
56
 
57
57
  .modal.fade.in {
58
- top: 50%;
58
+ top: 50%;
59
59
  }
60
60
 
61
61
  .modal-body {
62
- max-height: none;
63
- overflow: visible;
62
+ max-height: none;
63
+ overflow: visible;
64
64
  }
65
65
 
66
66
  .modal.modal-absolute {
67
- position: absolute;
68
- z-index: 950;
67
+ position: absolute;
68
+ z-index: 950;
69
69
  }
70
70
 
71
71
  .modal .loading-mask {
72
- position: absolute;
73
- top: 0;
74
- bottom: 0;
75
- left: 0;
76
- right: 0;
77
- background: #fff;
78
- border-radius: 6px;
72
+ position: absolute;
73
+ top: 0;
74
+ bottom: 0;
75
+ left: 0;
76
+ right: 0;
77
+ background: #fff;
78
+ border-radius: 6px;
79
79
  }
80
80
 
81
81
  .modal-backdrop.modal-absolute{
82
- position: absolute;
83
- z-index: 940;
82
+ position: absolute;
83
+ z-index: 940;
84
84
  }
85
85
 
86
86
  .modal-backdrop,
87
87
  .modal-backdrop.fade.in{
88
- opacity: 0.7;
89
- filter: alpha(opacity=70);
90
- background: #fff;
88
+ opacity: 0.7;
89
+ filter: alpha(opacity=70);
90
+ background: #fff;
91
91
  }
92
92
 
93
93
  .modal.container {
@@ -98,72 +98,72 @@
98
98
  /* Modal Overflow */
99
99
 
100
100
  .modal-overflow.modal {
101
- top: 1%;
101
+ top: 1%;
102
102
  }
103
103
 
104
104
  .modal-overflow.modal.fade {
105
- top: -100%;
105
+ top: -100%;
106
106
  }
107
107
 
108
108
  .modal-overflow.modal.fade.in {
109
- top: 1%;
109
+ top: 1%;
110
110
  }
111
111
 
112
112
  .modal-overflow .modal-body {
113
- overflow: auto;
114
- -webkit-overflow-scrolling: touch;
113
+ overflow: auto;
114
+ -webkit-overflow-scrolling: touch;
115
115
  }
116
116
 
117
117
  /* Responsive */
118
118
 
119
119
  @media (min-width: 1200px) {
120
- .modal.container {
121
- width: 1170px;
122
- margin-left: -585px;
123
- }
120
+ .modal.container {
121
+ width: 1170px;
122
+ margin-left: -585px;
123
+ }
124
124
  }
125
125
 
126
126
  @media (max-width: 979px) {
127
- .modal,
128
- .modal.container,
129
- .modal.modal-overflow {
130
- top: 1%;
131
- right: 1%;
132
- left: 1%;
133
- bottom: auto;
134
- width: auto !important;
135
- height: auto !important;
136
- margin: 0 !important;
137
- padding: 0 !important;
138
- }
139
-
140
- .modal.fade.in,
141
- .modal.container.fade.in,
142
- .modal.modal-overflow.fade.in {
143
- top: 1%;
144
- bottom: auto;
145
- }
146
-
147
- .modal-body,
148
- .modal-overflow .modal-body {
149
- position: static;
150
- margin: 0;
151
- height: auto !important;
152
- max-height: none !important;
153
- overflow: visible !important;
154
- }
155
-
156
- .modal-footer,
157
- .modal-overflow .modal-footer {
158
- position: static;
159
- }
127
+ .modal,
128
+ .modal.container,
129
+ .modal.modal-overflow {
130
+ top: 1%;
131
+ right: 1%;
132
+ left: 1%;
133
+ bottom: auto;
134
+ width: auto !important;
135
+ height: auto !important;
136
+ margin: 0 !important;
137
+ padding: 0 !important;
138
+ }
139
+
140
+ .modal.fade.in,
141
+ .modal.container.fade.in,
142
+ .modal.modal-overflow.fade.in {
143
+ top: 1%;
144
+ bottom: auto;
145
+ }
146
+
147
+ .modal-body,
148
+ .modal-overflow .modal-body {
149
+ position: static;
150
+ margin: 0;
151
+ height: auto !important;
152
+ max-height: none !important;
153
+ overflow: visible !important;
154
+ }
155
+
156
+ .modal-footer,
157
+ .modal-overflow .modal-footer {
158
+ position: static;
159
+ }
160
160
  }
161
161
 
162
162
  .loading-spinner {
163
- position: absolute;
164
- top: 50%;
165
- left: 50%;
166
- margin: -12px 0 0 -12px;
163
+ position: absolute;
164
+ top: 50%;
165
+ left: 50%;
166
+ margin: -12px 0 0 -12px;
167
167
  }
168
168
 
169
169
  /*
@@ -173,43 +173,43 @@ Licensed under the ☺ license (http://licence.visualidiot.com/)
173
173
  Copyright (c) 2012 Dan Eden*/
174
174
 
175
175
  .animated {
176
- -webkit-animation-duration: 1s;
177
- -moz-animation-duration: 1s;
178
- -o-animation-duration: 1s;
179
- animation-duration: 1s;
180
- -webkit-animation-fill-mode: both;
181
- -moz-animation-fill-mode: both;
182
- -o-animation-fill-mode: both;
183
- animation-fill-mode: both;
176
+ -webkit-animation-duration: 1s;
177
+ -moz-animation-duration: 1s;
178
+ -o-animation-duration: 1s;
179
+ animation-duration: 1s;
180
+ -webkit-animation-fill-mode: both;
181
+ -moz-animation-fill-mode: both;
182
+ -o-animation-fill-mode: both;
183
+ animation-fill-mode: both;
184
184
  }
185
185
 
186
186
  @-webkit-keyframes shake {
187
- 0%, 100% {-webkit-transform: translateX(0);}
188
- 10%, 30%, 50%, 70%, 90% {-webkit-transform: translateX(-10px);}
189
- 20%, 40%, 60%, 80% {-webkit-transform: translateX(10px);}
187
+ 0%, 100% {-webkit-transform: translateX(0);}
188
+ 10%, 30%, 50%, 70%, 90% {-webkit-transform: translateX(-10px);}
189
+ 20%, 40%, 60%, 80% {-webkit-transform: translateX(10px);}
190
190
  }
191
191
 
192
192
  @-moz-keyframes shake {
193
- 0%, 100% {-moz-transform: translateX(0);}
194
- 10%, 30%, 50%, 70%, 90% {-moz-transform: translateX(-10px);}
195
- 20%, 40%, 60%, 80% {-moz-transform: translateX(10px);}
193
+ 0%, 100% {-moz-transform: translateX(0);}
194
+ 10%, 30%, 50%, 70%, 90% {-moz-transform: translateX(-10px);}
195
+ 20%, 40%, 60%, 80% {-moz-transform: translateX(10px);}
196
196
  }
197
197
 
198
198
  @-o-keyframes shake {
199
- 0%, 100% {-o-transform: translateX(0);}
200
- 10%, 30%, 50%, 70%, 90% {-o-transform: translateX(-10px);}
201
- 20%, 40%, 60%, 80% {-o-transform: translateX(10px);}
199
+ 0%, 100% {-o-transform: translateX(0);}
200
+ 10%, 30%, 50%, 70%, 90% {-o-transform: translateX(-10px);}
201
+ 20%, 40%, 60%, 80% {-o-transform: translateX(10px);}
202
202
  }
203
203
 
204
204
  @keyframes shake {
205
- 0%, 100% {transform: translateX(0);}
206
- 10%, 30%, 50%, 70%, 90% {transform: translateX(-10px);}
207
- 20%, 40%, 60%, 80% {transform: translateX(10px);}
205
+ 0%, 100% {transform: translateX(0);}
206
+ 10%, 30%, 50%, 70%, 90% {transform: translateX(-10px);}
207
+ 20%, 40%, 60%, 80% {transform: translateX(10px);}
208
208
  }
209
209
 
210
210
  .shake {
211
- -webkit-animation-name: shake;
212
- -moz-animation-name: shake;
213
- -o-animation-name: shake;
214
- animation-name: shake;
211
+ -webkit-animation-name: shake;
212
+ -moz-animation-name: shake;
213
+ -o-animation-name: shake;
214
+ animation-name: shake;
215
215
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_modal_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-12-12 00:00:00.000000000 Z
13
+ date: 2012-12-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties
@@ -60,7 +60,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
60
60
  version: '0'
61
61
  segments:
62
62
  - 0
63
- hash: -1316270724695717750
63
+ hash: -3156371617477184767
64
64
  required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  none: false
66
66
  requirements:
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  version: '0'
70
70
  segments:
71
71
  - 0
72
- hash: -1316270724695717750
72
+ hash: -3156371617477184767
73
73
  requirements: []
74
74
  rubyforge_project:
75
75
  rubygems_version: 1.8.23