inline_forms 3.0.39 → 3.0.40

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: 0acec1b5328290208d003b73294e9c9844f8b56c
4
- data.tar.gz: ddeea8a441406ea5c8a1a3478cd32ed1c119348b
3
+ metadata.gz: e7484d2a5bdd35fd79c054f43389e208dfdf1470
4
+ data.tar.gz: 7787935b6306de94df68955df792f06a86c7bb4b
5
5
  SHA512:
6
- metadata.gz: 3d6b1a40fab1aff2ea52fe2fc25fa1e47b96a21eb0e60790628057cbf771e0b17b3fddec5e70f267d4d882421ea609af9c5036f7957fa4fe8f65a7c11aa4c897
7
- data.tar.gz: 8056be056bb88b2c04b1532bb399f8f0bf35e736ea312d8ef0baf8ae382b478ddf4e3b0b87c2eb6e4a945ee6a4191293fb4c45ce287af5adbabcd00632b27106
6
+ metadata.gz: 3cb19ca97a499a0dc5b25d656bf650a499a58f5a91c55a3b8d6526a31a69673490c08d6e84d26bf7058bec927934dbfa1ef2e5d1eea9aaedd990cf046a16bf85
7
+ data.tar.gz: 9f6f877bb399b604f32bd27b3e36166d7dcb0deb2d742b4f07a258141433329d7568617fa35ee8aa6010ce324f13b557441aa7e604f90e10d2085405497c143c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- inline_forms (3.0.39)
4
+ inline_forms (3.0.40)
5
5
  rails (= 3.2.21)
6
6
  rails-i18n
7
7
  rvm
@@ -1,6 +1,6 @@
1
1
  GENERATOR_PATH = File.dirname(File.expand_path(__FILE__)) + '/../'
2
2
 
3
- create_file 'Gemfile', '# created by inline_forms #{ENV['inline_forms_version']}\n"
3
+ create_file 'Gemfile', "# created by inline_forms #{ENV['inline_forms_version']}\n"
4
4
 
5
5
  add_source 'https://rubygems.org'
6
6
 
@@ -273,6 +273,9 @@ ROLES_MIGRATION
273
273
 
274
274
  append_to_file "db/seeds.rb", "Role.create({ id: 1, name: 'superadmin', description: 'Super Admin can access all.' }, without_protection: true)\n"
275
275
 
276
+ say "- Copy stylesheets..."
277
+ copy_file File.join(GENERATOR_PATH, 'lib/generators/assets/stylesheets/*.scss'), "app/assets/stylesheets/"
278
+
276
279
  say "- Create inline_forms.js..."
277
280
  copy_file File.join(GENERATOR_PATH, 'lib/generators/assets/javascripts/inline_forms.js'), "app/assets/javascripts/inline_forms.js"
278
281
 
@@ -505,13 +508,6 @@ END_FACTORY_GIRL
505
508
  remove_file 'spec/factories/users.rb'
506
509
  remove_file 'spec/models/user_spec.rb'
507
510
 
508
- # environments/production.rb
509
- say "- Injecting precompile assets stuff in environments/production.rb..."
510
- insert_into_file "config/environments/production.rb",
511
- " config.assets.precompile += %w(inline_forms_application.css devise.css)\n",
512
- :after => " # config.assets.precompile += %w( search.js )\n"
513
-
514
-
515
511
  # add stuff to application.css
516
512
  say "- Injecting stylesheets into app/assets/stylesheets/application.css..."
517
513
  insert_into_file "app/assets/stylesheets/application.css",
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module InlineForms
3
- VERSION = "3.0.39"
3
+ VERSION = "3.0.40"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline_forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.39
4
+ version: 3.0.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ace Suares
@@ -159,8 +159,6 @@ files:
159
159
  - bin/inline_forms_installer_core.rb
160
160
  - inline_forms.gemspec
161
161
  - lib/app/assets/images/glass_plate.gif
162
- - lib/app/assets/stylesheets/devise.scss
163
- - lib/app/assets/stylesheets/inline_forms.scss
164
162
  - lib/app/controllers/geo_code_curacao_controller.rb
165
163
  - lib/app/controllers/inline_forms_application_controller.rb
166
164
  - lib/app/controllers/inline_forms_controller.rb
@@ -1,21 +0,0 @@
1
- //devise
2
-
3
- #devise_outer_container a {
4
- color: #A3381E;
5
- }
6
-
7
- #devise_top_bar {
8
- background-color: #A3381E;
9
- a {
10
- color: #FFFFFF;
11
- }
12
- }
13
-
14
- #devise_login {
15
- .row {
16
- margin-bottom: 30px;
17
- }
18
- }
19
-
20
-
21
- #devise_flash {}
@@ -1,314 +0,0 @@
1
- @import 'foundation_and_overrides';
2
- @import 'foundation-icons';
3
-
4
- $ffDefault: 'Open Sans', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif !default;
5
-
6
- @import 'themes/jquery.ui.sunny';
7
- @import 'jquery.ui.all';
8
-
9
-
10
- .contain-to-grid {
11
- background-color: $body-bg !important;
12
- }
13
-
14
- input {
15
- margin: 2px 0 !important;
16
- }
17
-
18
- select {
19
- background-color: #fff8e0 !important;
20
- border: 0 !important;
21
- margin: 2px 0 !important;
22
- font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif !important;
23
- padding: 0;
24
-
25
- }
26
- select:hover, select:focus {
27
- background-color: lighten(#fff8e0, 2%) !important;
28
- border: 0 !important;
29
- }
30
-
31
- #inline_forms_application_top_bar {
32
- background-color: #A3381E;
33
- color: #FFFFFF;
34
- .top-bar-section li a {
35
- background-color: #A3381E;
36
- }
37
- }
38
-
39
- #inline_forms_model_top_bar {
40
- background-color: #E1C150;
41
- padding-top: 45px;
42
- height: 90px;
43
- .top-bar-section {
44
- .right, li, .has-form {
45
- background-color: #E1C150;
46
- }
47
- .inline_forms_model_top_bar_buttons {
48
- top: 4px !important;
49
- padding: 7px 0 7px 0 !important;
50
- margin: 0 !important;
51
- }
52
- .new_button {
53
- background-color: #E1C150;
54
- color: #B94C32;
55
- font-size: 1.3rem;
56
- padding: 0 2rem 0 1rem;
57
- }
58
- .new_button:hover, .new_button:focus {
59
- color: white;
60
- -webkit-transition-property: color;
61
- transition-property: color;
62
- }
63
- input[type=text]:hover, input[type=text]:focus {
64
- background-color: lighten(#fff8e0, 5%);
65
- -webkit-transition-property: background-color;
66
- transition-property: background-color;
67
- }
68
- }
69
- }
70
-
71
- #inline_forms_model_top_bar_container {
72
- z-index: 9;
73
- }
74
-
75
- #outer_container {
76
- width: 100%;
77
- position: absolute;
78
- top: 90px;
79
- }
80
-
81
- .top-level a {
82
- font-weight: bold;
83
- font-size: 110%;
84
- }
85
- .list_container {
86
- .row {
87
- font-size: 1.2rem;
88
- font-weight: normal;
89
- line-height: 2.2rem;
90
- margin: 0 auto !important;
91
- }
92
- .odd {
93
- background-color: #FBE38E;
94
- }
95
- .even {
96
- background-color: #FBEEC1;
97
- }
98
- }
99
-
100
- .inline_forms_list, .new_record {
101
- .row.odd, .row.even {
102
- font-size: 1rem !important;
103
- font-weight: normal !important;
104
- }
105
- .row.form_element_header {
106
- border-top: 1px solid #B94C32;
107
- background-color: rgb(239, 202, 75);
108
- font-weight: normal !important;
109
- font-size: 1.3rem !important;
110
- }
111
- }
112
-
113
- .new_record {
114
- .button {
115
- margin: 0;
116
- padding: 0.5rem;
117
- }
118
- }
119
-
120
- .object_presentation {
121
- background-color: #B94C32;
122
- color: white;
123
- .close_button {
124
- background-color: #B94C32;
125
- font-size: 1.3rem;
126
- padding: 0 1rem 0 1rem;
127
- margin: 0;
128
- }
129
- .close_button:hover, .close_button:focus {
130
- background-color: #B94C32;
131
- color: #FBEEC1;
132
- -webkit-transition-property: color;
133
- transition-property: color;
134
- }
135
- }
136
-
137
- .list_container {
138
- .row.odd, .row.even {
139
- font-size: 1rem !important;
140
- font-weight: normal !important;
141
- }
142
- .row.form_element_header {
143
- border-top: 1px solid #B94C32;
144
- background-color: rgb(239, 202, 75);
145
- font-weight: normal !important;
146
- font-size: 1.3rem !important;
147
- }
148
- }
149
-
150
-
151
-
152
- .associated_auto_header {
153
- border-top: 1px solid #B94C32;
154
- .new_button {
155
- background-color: rgb(239, 202, 75);
156
- font-size: 1.5rem;
157
- color: #B94C32;
158
- padding: 0 0.5rem 0 1rem;
159
- margin: 0;
160
- }
161
- .new_button:hover, .new_button:focus {
162
- background-color: rgb(239, 202, 75);
163
- color: white;
164
- -webkit-transition-property: color;
165
- transition-property: color;
166
- }
167
- }
168
-
169
- .pagination {
170
- font-weight: normal;
171
- font-size: 0.9em;
172
- a:hover {
173
- color: #B94C32;
174
- -webkit-transition-property: color;
175
- -webkit-transition-duration: 0.3s;
176
- transition-property: color;
177
- transition-duration: 0.3s;
178
- }
179
- em {
180
- color: #B94C32;
181
- font-weight: bold;
182
- font-style: normal;
183
- }
184
- span.disabled {
185
- color: #AAA;
186
- }
187
- }
188
-
189
- .record_footer {
190
- background-color: rgb(239, 202, 75);
191
- height: 0.2em;
192
- border-bottom: 1px solid #B94C32;
193
- margin-bottom: 1.5em;
194
- }
195
-
196
- .flash {
197
- margin-top: 1em;
198
- padding: 0.5em;
199
- color: #A3381E;
200
- font-size: 130%;
201
- font-weight: bold;
202
- line-height: 120%;
203
- background-color: white;
204
- border-top: 0.5em solid #fade7a;
205
- }
206
-
207
- .custom-combobox {
208
- position: relative;
209
- display: inline-block;
210
- }
211
- .custom-combobox-toggle {
212
- position: absolute;
213
- top: 0;
214
- bottom: 0;
215
- margin-left: -1px;
216
- padding: 0;
217
- /* support: IE7 */
218
- *height: 1.7em;
219
- *top: 0.1em;
220
- }
221
- .custom-combobox-input {
222
- margin: 0;
223
- padding: 0.3em;
224
- }
225
-
226
-
227
- .column {
228
- padding-right: 0 !important;
229
- }
230
-
231
- .top-bar input, .top-bar .button {
232
- top: 4px !important;
233
- }
234
-
235
- .top-bar-section {
236
- padding-left: rem-calc(12) !important;
237
- padding-right: rem-calc(12) !important;
238
- }
239
-
240
- .first-bar {
241
- margin-bottom: 0 !important;
242
- }
243
- .second-bar {
244
- margin-top: 1px !important;
245
- margin-bottom: 0 !important;
246
- }
247
-
248
- #switch_user_identifier {
249
- font-size: smaller;
250
- select {
251
- width: 5em;
252
- }
253
- }
254
-
255
-
256
- .error {
257
- color: #ffffff;
258
- font-weight: bold;
259
- -moz-border-radius: 10px;
260
- -webkit-border-radius: 10px;
261
- -webkit-box-shadow: 0 1px 1px rgba(0,0,0, .1);
262
- -moz-box-shadow: 0 1px 1px rgba(0,0,0, .1);
263
- background-color: #a70f0f;
264
- background-image: -moz-linear-gradient(100% 100% 90deg, #a70f0f, #c01313);
265
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#c01313), to(#a70f0f));
266
- padding: 0.7em;
267
- }
268
- .success {
269
- color: #ffffff;
270
- font-weight: bold;
271
- -moz-border-radius: 5px;
272
- -webkit-border-radius: 5px;
273
- -webkit-box-shadow: 0 1px 3px rgba(0,0,0, .4);
274
- -moz-box-shadow: 0 1px 3px rgba(0,0,0, .4);
275
- border-bottom: 1px solid #cccccc;
276
- background-color: #4f8d0d;
277
- background-image: -moz-linear-gradient(100% 100% 90deg, #4f8d0d, #5ba210);
278
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#5ba210), to(#4f8d0d));
279
- padding: 0.7em;
280
- margin-bottom: 0.5em;
281
- }
282
-
283
- .ckeditor_area {
284
- position: relative;
285
- }
286
-
287
- .ckeditor_area .glass_plate {
288
- position: absolute;
289
- top: -1px;
290
- width: 100%;
291
- height: 232px;
292
- border: 0;
293
- }
294
-
295
- .ckeditor_area .cke_top, .ckeditor_area .cke_bottom, .ckeditor_area .cke_border {
296
- display: none;
297
- }
298
-
299
- /* jQuery ui Slider 8 */
300
- .slider {
301
- width: 300px;
302
- float: left;
303
- }
304
- .slider_value {
305
- float: left;
306
- min-width: 60px;
307
- text-align: right;
308
- font-family: monospace;
309
- }
310
-
311
-
312
- /* LEFT */
313
-
314
-