decidim-core 0.0.1.alpha7 → 0.0.1.alpha8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +619 -0
- data/README.md +1 -1
- data/app/assets/javascripts/decidim.js.es6 +13 -0
- data/app/assets/stylesheets/decidim/_variables.scss +23 -0
- data/app/assets/stylesheets/decidim/application.sass +2 -0
- data/app/assets/stylesheets/decidim/extras/_turbolinks.scss +3 -0
- data/app/assets/stylesheets/decidim/modules/_cards.scss +0 -5
- data/app/assets/stylesheets/decidim/utils/_settings.scss +5 -11
- data/app/commands/decidim/authorize_user.rb +37 -0
- data/app/controllers/concerns/decidim/needs_authorization.rb +36 -0
- data/app/controllers/decidim/account_controller.rb +26 -0
- data/app/controllers/decidim/application_controller.rb +5 -0
- data/app/controllers/decidim/authorizations_controller.rb +76 -0
- data/app/controllers/decidim/devise/registrations_controller.rb +1 -1
- data/app/controllers/decidim/devise/sessions_controller.rb +8 -0
- data/app/controllers/decidim/locales_controller.rb +2 -0
- data/app/controllers/decidim/pages_controller.rb +10 -0
- data/app/controllers/decidim/participatory_processes_controller.rb +32 -0
- data/app/helpers/decidim/authorization_form_helper.rb +25 -0
- data/app/helpers/decidim/humanize_booleans_helper.rb +14 -0
- data/app/mailers/decidim/application_mailer.rb +1 -1
- data/app/models/decidim/abilities/everyone.rb +16 -0
- data/app/models/decidim/ability.rb +32 -0
- data/app/models/decidim/authorization.rb +25 -0
- data/app/models/decidim/participatory_process.rb +25 -0
- data/app/models/decidim/participatory_process_step.rb +38 -0
- data/app/models/decidim/user.rb +19 -0
- data/app/services/decidim/authorization_handler.rb +94 -0
- data/app/uploaders/decidim/application_uploader.rb +0 -2
- data/app/views/decidim/account/_authorizations.html.erb +52 -0
- data/app/views/decidim/account/show.html.erb +32 -0
- data/app/views/decidim/authorizations/index.html.erb +22 -0
- data/app/views/decidim/authorizations/new.html.erb +29 -0
- data/app/views/decidim/devise/confirmations/new.html.erb +27 -11
- data/app/views/decidim/devise/invitations/edit.html.erb +25 -10
- data/app/views/decidim/devise/passwords/edit.html.erb +30 -15
- data/app/views/decidim/devise/passwords/new.html.erb +25 -11
- data/app/views/decidim/devise/registrations/new.html.erb +48 -20
- data/app/views/decidim/devise/sessions/new.html.erb +40 -21
- data/app/views/decidim/devise/shared/_links.html.erb +18 -6
- data/app/views/decidim/participatory_processes/_no_processes_yet.html.erb +3 -0
- data/app/views/decidim/participatory_processes/_order_by_processes.html.erb +3 -0
- data/app/views/decidim/participatory_processes/_participatory_process.html.erb +26 -0
- data/app/views/decidim/participatory_processes/_process_header_home.html.erb +18 -0
- data/app/views/decidim/participatory_processes/_promoted_process.html.erb +32 -0
- data/app/views/decidim/participatory_processes/index.html.erb +15 -0
- data/app/views/decidim/participatory_processes/show.html.erb +15 -0
- data/app/views/devise/mailer/organization_admin_invitation_instructions.html.erb +1 -1
- data/app/views/devise/mailer/organization_admin_invitation_instructions.text.erb +1 -1
- data/app/views/layouts/decidim/_footer.html.erb +3 -3
- data/app/views/layouts/decidim/_header.html.erb +5 -2
- data/app/views/pages/404.html.erb +13 -0
- data/app/views/pages/500.html.erb +10 -0
- data/app/views/{decidim/home/show.html.erb → pages/home.html.erb} +0 -0
- data/app/views/pages/terms.ca.html.erb +4 -0
- data/app/views/pages/terms.en.html.erb +4 -0
- data/app/views/pages/terms.es.html.erb +4 -0
- data/config/i18n-tasks.yml +3 -0
- data/config/initializers/devise.rb +1 -1
- data/config/locales/ca.yml +84 -10
- data/config/locales/en.yml +84 -10
- data/config/locales/es.yml +84 -10
- data/config/routes.rb +14 -1
- data/db/migrate/20161013134732_add_promoted_flag_to_processes.rb +5 -0
- data/db/migrate/20161017085822_add_participatory_process_steps.rb +16 -0
- data/db/migrate/20161018091013_create_decidim_authorizations.rb +13 -0
- data/db/migrate/20161019072016_add_active_flag_to_step.rb +7 -0
- data/db/migrate/20161020080756_add_position_to_steps.rb +7 -0
- data/db/migrate/20161025125300_add_published_at_to_processes.rb +5 -0
- data/db/seeds.rb +81 -27
- data/lib/decidim/authorization_form_builder.rb +70 -0
- data/lib/decidim/core.rb +23 -5
- data/lib/decidim/core/engine.rb +21 -0
- data/lib/decidim/core/version.rb +1 -1
- data/lib/decidim/faker/localized.rb +162 -0
- data/lib/decidim/form_builder.rb +1 -1
- data/lib/tasks/decidim_tasks.rake +1 -1
- metadata +121 -15
- data/MIT-LICENSE +0 -20
- data/app/assets/javascripts/decidim.js +0 -23
- data/app/assets/stylesheets/decidim.scss +0 -16
- data/app/assets/stylesheets/decidim/utils/_variables.scss +0 -25
- data/app/controllers/decidim/home_controller.rb +0 -7
data/lib/decidim/form_builder.rb
CHANGED
@@ -17,7 +17,7 @@ module Decidim
|
|
17
17
|
label = options[:label] || label_for(name)
|
18
18
|
language = locale
|
19
19
|
|
20
|
-
send(type, "#{name}_#{locale}", options.merge(label: "#{label} (#{language})"))
|
20
|
+
send(type, "#{name}_#{locale.to_s.gsub("-", "__")}", options.merge(label: "#{label} (#{language})"))
|
21
21
|
end.join.html_safe
|
22
22
|
end
|
23
23
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.
|
4
|
+
version: 0.0.1.alpha8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-11-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -60,28 +60,28 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - "~>"
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version:
|
63
|
+
version: 0.7.1
|
64
64
|
type: :runtime
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version:
|
70
|
+
version: 0.7.1
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: foundation-rails
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
75
|
- - "~>"
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 6.2.
|
77
|
+
version: 6.2.4.0
|
78
78
|
type: :runtime
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - "~>"
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: 6.2.
|
84
|
+
version: 6.2.4.0
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
name: sass-rails
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
@@ -124,6 +124,20 @@ dependencies:
|
|
124
124
|
- - "~>"
|
125
125
|
- !ruby/object:Gem::Version
|
126
126
|
version: 5.0.0
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: carrierwave
|
129
|
+
requirement: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - "~>"
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 1.0.0.rc
|
134
|
+
type: :runtime
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - "~>"
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: 1.0.0.rc
|
127
141
|
- !ruby/object:Gem::Dependency
|
128
142
|
name: jbuilder
|
129
143
|
requirement: !ruby/object:Gem::Requirement
|
@@ -208,20 +222,76 @@ dependencies:
|
|
208
222
|
- - "~>"
|
209
223
|
- !ruby/object:Gem::Version
|
210
224
|
version: '1.0'
|
225
|
+
- !ruby/object:Gem::Dependency
|
226
|
+
name: high_voltage
|
227
|
+
requirement: !ruby/object:Gem::Requirement
|
228
|
+
requirements:
|
229
|
+
- - "~>"
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: 3.0.0
|
232
|
+
type: :runtime
|
233
|
+
prerelease: false
|
234
|
+
version_requirements: !ruby/object:Gem::Requirement
|
235
|
+
requirements:
|
236
|
+
- - "~>"
|
237
|
+
- !ruby/object:Gem::Version
|
238
|
+
version: 3.0.0
|
239
|
+
- !ruby/object:Gem::Dependency
|
240
|
+
name: date_validator
|
241
|
+
requirement: !ruby/object:Gem::Requirement
|
242
|
+
requirements:
|
243
|
+
- - "~>"
|
244
|
+
- !ruby/object:Gem::Version
|
245
|
+
version: 0.9.0
|
246
|
+
type: :runtime
|
247
|
+
prerelease: false
|
248
|
+
version_requirements: !ruby/object:Gem::Requirement
|
249
|
+
requirements:
|
250
|
+
- - "~>"
|
251
|
+
- !ruby/object:Gem::Version
|
252
|
+
version: 0.9.0
|
253
|
+
- !ruby/object:Gem::Dependency
|
254
|
+
name: sprockets-es6
|
255
|
+
requirement: !ruby/object:Gem::Requirement
|
256
|
+
requirements:
|
257
|
+
- - "~>"
|
258
|
+
- !ruby/object:Gem::Version
|
259
|
+
version: 0.9.2
|
260
|
+
type: :runtime
|
261
|
+
prerelease: false
|
262
|
+
version_requirements: !ruby/object:Gem::Requirement
|
263
|
+
requirements:
|
264
|
+
- - "~>"
|
265
|
+
- !ruby/object:Gem::Version
|
266
|
+
version: 0.9.2
|
267
|
+
- !ruby/object:Gem::Dependency
|
268
|
+
name: cancancan
|
269
|
+
requirement: !ruby/object:Gem::Requirement
|
270
|
+
requirements:
|
271
|
+
- - "~>"
|
272
|
+
- !ruby/object:Gem::Version
|
273
|
+
version: 1.15.0
|
274
|
+
type: :runtime
|
275
|
+
prerelease: false
|
276
|
+
version_requirements: !ruby/object:Gem::Requirement
|
277
|
+
requirements:
|
278
|
+
- - "~>"
|
279
|
+
- !ruby/object:Gem::Version
|
280
|
+
version: 1.15.0
|
211
281
|
- !ruby/object:Gem::Dependency
|
212
282
|
name: decidim-dev
|
213
283
|
requirement: !ruby/object:Gem::Requirement
|
214
284
|
requirements:
|
215
285
|
- - '='
|
216
286
|
- !ruby/object:Gem::Version
|
217
|
-
version: 0.0.1.
|
287
|
+
version: 0.0.1.alpha8
|
218
288
|
type: :development
|
219
289
|
prerelease: false
|
220
290
|
version_requirements: !ruby/object:Gem::Requirement
|
221
291
|
requirements:
|
222
292
|
- - '='
|
223
293
|
- !ruby/object:Gem::Version
|
224
|
-
version: 0.0.1.
|
294
|
+
version: 0.0.1.alpha8
|
225
295
|
description: Adds core features so other engines can hook into the framework.
|
226
296
|
email:
|
227
297
|
- josepjaume@gmail.com
|
@@ -231,17 +301,18 @@ executables: []
|
|
231
301
|
extensions: []
|
232
302
|
extra_rdoc_files: []
|
233
303
|
files:
|
234
|
-
-
|
304
|
+
- LICENSE.txt
|
235
305
|
- README.md
|
236
306
|
- Rakefile
|
237
307
|
- app/assets/config/decidim_core_manifest.js
|
238
308
|
- app/assets/images/decidim/cc-badge.png
|
239
309
|
- app/assets/images/decidim/hero-home.jpg
|
240
310
|
- app/assets/images/decidim/icons.svg
|
241
|
-
- app/assets/javascripts/decidim.js
|
242
|
-
- app/assets/stylesheets/decidim.scss
|
311
|
+
- app/assets/javascripts/decidim.js.es6
|
312
|
+
- app/assets/stylesheets/decidim/_variables.scss
|
243
313
|
- app/assets/stylesheets/decidim/application.sass
|
244
314
|
- app/assets/stylesheets/decidim/email.css
|
315
|
+
- app/assets/stylesheets/decidim/extras/_turbolinks.scss
|
245
316
|
- app/assets/stylesheets/decidim/layouts/_home.scss
|
246
317
|
- app/assets/stylesheets/decidim/layouts/_user.scss
|
247
318
|
- app/assets/stylesheets/decidim/layouts/_view.scss
|
@@ -291,18 +362,24 @@ files:
|
|
291
362
|
- app/assets/stylesheets/decidim/utils/_mixins.sass
|
292
363
|
- app/assets/stylesheets/decidim/utils/_settings.scss
|
293
364
|
- app/assets/stylesheets/decidim/utils/_toggle-expand.scss
|
294
|
-
- app/
|
365
|
+
- app/commands/decidim/authorize_user.rb
|
295
366
|
- app/controllers/concerns/decidim/locale_switcher.rb
|
367
|
+
- app/controllers/concerns/decidim/needs_authorization.rb
|
296
368
|
- app/controllers/concerns/decidim/needs_organization.rb
|
369
|
+
- app/controllers/decidim/account_controller.rb
|
297
370
|
- app/controllers/decidim/application_controller.rb
|
371
|
+
- app/controllers/decidim/authorizations_controller.rb
|
298
372
|
- app/controllers/decidim/devise/confirmations_controller.rb
|
299
373
|
- app/controllers/decidim/devise/invitations_controller.rb
|
300
374
|
- app/controllers/decidim/devise/passwords_controller.rb
|
301
375
|
- app/controllers/decidim/devise/registrations_controller.rb
|
302
376
|
- app/controllers/decidim/devise/sessions_controller.rb
|
303
|
-
- app/controllers/decidim/home_controller.rb
|
304
377
|
- app/controllers/decidim/locales_controller.rb
|
378
|
+
- app/controllers/decidim/pages_controller.rb
|
379
|
+
- app/controllers/decidim/participatory_processes_controller.rb
|
305
380
|
- app/helpers/decidim/application_helper.rb
|
381
|
+
- app/helpers/decidim/authorization_form_helper.rb
|
382
|
+
- app/helpers/decidim/humanize_booleans_helper.rb
|
306
383
|
- app/helpers/decidim/layout_helper.rb
|
307
384
|
- app/helpers/decidim/translations_helper.rb
|
308
385
|
- app/jobs/decidim/application_job.rb
|
@@ -310,13 +387,22 @@ files:
|
|
310
387
|
- app/mailers/decidim/application_mailer.rb
|
311
388
|
- app/mailers/decidim/decidim_devise_mailer.rb
|
312
389
|
- app/middleware/decidim/current_organization.rb
|
390
|
+
- app/models/decidim/abilities/everyone.rb
|
391
|
+
- app/models/decidim/ability.rb
|
313
392
|
- app/models/decidim/application_record.rb
|
393
|
+
- app/models/decidim/authorization.rb
|
314
394
|
- app/models/decidim/organization.rb
|
315
395
|
- app/models/decidim/participatory_process.rb
|
396
|
+
- app/models/decidim/participatory_process_step.rb
|
316
397
|
- app/models/decidim/user.rb
|
398
|
+
- app/services/decidim/authorization_handler.rb
|
317
399
|
- app/uploaders/decidim/application_uploader.rb
|
318
400
|
- app/uploaders/decidim/banner_image_uploader.rb
|
319
401
|
- app/uploaders/decidim/hero_image_uploader.rb
|
402
|
+
- app/views/decidim/account/_authorizations.html.erb
|
403
|
+
- app/views/decidim/account/show.html.erb
|
404
|
+
- app/views/decidim/authorizations/index.html.erb
|
405
|
+
- app/views/decidim/authorizations/new.html.erb
|
320
406
|
- app/views/decidim/devise/confirmations/new.html.erb
|
321
407
|
- app/views/decidim/devise/invitations/edit.html.erb
|
322
408
|
- app/views/decidim/devise/passwords/edit.html.erb
|
@@ -325,7 +411,13 @@ files:
|
|
325
411
|
- app/views/decidim/devise/registrations/new.html.erb
|
326
412
|
- app/views/decidim/devise/sessions/new.html.erb
|
327
413
|
- app/views/decidim/devise/shared/_links.html.erb
|
328
|
-
- app/views/decidim/
|
414
|
+
- app/views/decidim/participatory_processes/_no_processes_yet.html.erb
|
415
|
+
- app/views/decidim/participatory_processes/_order_by_processes.html.erb
|
416
|
+
- app/views/decidim/participatory_processes/_participatory_process.html.erb
|
417
|
+
- app/views/decidim/participatory_processes/_process_header_home.html.erb
|
418
|
+
- app/views/decidim/participatory_processes/_promoted_process.html.erb
|
419
|
+
- app/views/decidim/participatory_processes/index.html.erb
|
420
|
+
- app/views/decidim/participatory_processes/show.html.erb
|
329
421
|
- app/views/devise/mailer/confirmation_instructions.html.erb
|
330
422
|
- app/views/devise/mailer/organization_admin_invitation_instructions.html.erb
|
331
423
|
- app/views/devise/mailer/organization_admin_invitation_instructions.text.erb
|
@@ -336,6 +428,12 @@ files:
|
|
336
428
|
- app/views/layouts/decidim/_logo.html.erb
|
337
429
|
- app/views/layouts/decidim/_meta.html.erb
|
338
430
|
- app/views/layouts/decidim/mailer.html.erb
|
431
|
+
- app/views/pages/404.html.erb
|
432
|
+
- app/views/pages/500.html.erb
|
433
|
+
- app/views/pages/home.html.erb
|
434
|
+
- app/views/pages/terms.ca.html.erb
|
435
|
+
- app/views/pages/terms.en.html.erb
|
436
|
+
- app/views/pages/terms.es.html.erb
|
339
437
|
- config/i18n-tasks.yml
|
340
438
|
- config/initializers/devise.rb
|
341
439
|
- config/locales/ca.yml
|
@@ -355,14 +453,22 @@ files:
|
|
355
453
|
- db/migrate/20161010131544_add_locale_to_users.rb
|
356
454
|
- db/migrate/20161011125616_add_hero_image_to_processes.rb
|
357
455
|
- db/migrate/20161011141033_add_banner_image_to_processes.rb
|
456
|
+
- db/migrate/20161013134732_add_promoted_flag_to_processes.rb
|
457
|
+
- db/migrate/20161017085822_add_participatory_process_steps.rb
|
458
|
+
- db/migrate/20161018091013_create_decidim_authorizations.rb
|
459
|
+
- db/migrate/20161019072016_add_active_flag_to_step.rb
|
460
|
+
- db/migrate/20161020080756_add_position_to_steps.rb
|
461
|
+
- db/migrate/20161025125300_add_published_at_to_processes.rb
|
358
462
|
- db/seeds.rb
|
359
463
|
- db/seeds/city.jpeg
|
360
464
|
- db/seeds/city2.jpeg
|
361
465
|
- db/seeds/city3.jpeg
|
466
|
+
- lib/decidim/authorization_form_builder.rb
|
362
467
|
- lib/decidim/core.rb
|
363
468
|
- lib/decidim/core/engine.rb
|
364
469
|
- lib/decidim/core/version.rb
|
365
470
|
- lib/decidim/devise_failure_app.rb
|
471
|
+
- lib/decidim/faker/localized.rb
|
366
472
|
- lib/decidim/form_builder.rb
|
367
473
|
- lib/decidim/translatable_attributes.rb
|
368
474
|
- lib/devise/models/decidim_validatable.rb
|
@@ -374,7 +480,7 @@ files:
|
|
374
480
|
- vendor/assets/javascripts/svg4everybody.min.js
|
375
481
|
homepage: ''
|
376
482
|
licenses:
|
377
|
-
-
|
483
|
+
- AGPLv3
|
378
484
|
metadata: {}
|
379
485
|
post_install_message:
|
380
486
|
rdoc_options: []
|
data/MIT-LICENSE
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright 2016 Josep Jaume Rey Peroy
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -1,23 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
-
// listed below.
|
3
|
-
//
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
-
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
6
|
-
//
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
-
// compiled file. JavaScript code in this file should be added after the last require_* statement.
|
9
|
-
//
|
10
|
-
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
|
-
// about supported directives.
|
12
|
-
//
|
13
|
-
//= require foundation
|
14
|
-
//= require modernizr
|
15
|
-
//= require owl.carousel.min
|
16
|
-
//= require svg4everybody.min
|
17
|
-
//= require appendAround
|
18
|
-
|
19
|
-
$(document).on("turbolinks:load", function() {
|
20
|
-
$(document).foundation();
|
21
|
-
$(".js-append").appendAround();
|
22
|
-
svg4everybody();
|
23
|
-
});
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
-
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
10
|
-
* files in this directory. Styles in this file should be added after the last require_* statement.
|
11
|
-
* It is generally better to create a new file per style scope.
|
12
|
-
*
|
13
|
-
*= require_self
|
14
|
-
*/
|
15
|
-
|
16
|
-
@import "decidim/application";
|
@@ -1,25 +0,0 @@
|
|
1
|
-
// Variables
|
2
|
-
|
3
|
-
$primary: map-get($foundation-palette, primary);
|
4
|
-
$secondary: map-get($foundation-palette, secondary);
|
5
|
-
$success: map-get($foundation-palette, success);
|
6
|
-
$warning: map-get($foundation-palette, warning);
|
7
|
-
$alert: map-get($foundation-palette, alert);
|
8
|
-
|
9
|
-
$light-gray-dark: darken($light-gray, 2.5);
|
10
|
-
|
11
|
-
$proposals: #238FF7;
|
12
|
-
$actions: #57D685;
|
13
|
-
$debates: #FA6C96;
|
14
|
-
$meetings: #FABC6C;
|
15
|
-
|
16
|
-
$twitter: #55acee;
|
17
|
-
$facebook: #3b5998;
|
18
|
-
$google: #dd4b39;
|
19
|
-
|
20
|
-
$muted: lighten($body-font-color, 30);
|
21
|
-
|
22
|
-
$border: 1px solid $medium-gray;
|
23
|
-
|
24
|
-
|
25
|
-
|