decidim-core 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/decidim.js.es6 +2 -4
- data/app/assets/javascripts/decidim/append_elements.js.es6 +1 -1
- data/app/assets/javascripts/decidim/editor.js.es6 +33 -35
- data/app/assets/javascripts/decidim/filters.js.es6 +9 -15
- data/app/assets/javascripts/decidim/form_filter.component.js.es6 +5 -5
- data/app/assets/javascripts/decidim/form_filter.component.test.js +1 -1
- data/app/assets/javascripts/decidim/foundation.js.es6 +17 -0
- data/app/assets/javascripts/decidim/user_registrations.js.es6 +2 -3
- data/app/assets/stylesheets/decidim/_decidim.scss +9 -0
- data/app/assets/stylesheets/decidim/_variables.scss +5 -11
- data/app/assets/stylesheets/decidim/application.scss.erb +6 -0
- data/app/assets/stylesheets/decidim/extras/_leaflet.scss +13 -0
- data/app/assets/stylesheets/decidim/modules/_buttons.scss +8 -2
- data/app/assets/stylesheets/decidim/modules/_cards.scss +0 -2
- data/app/assets/stylesheets/decidim/modules/_comments.scss +33 -8
- data/app/assets/stylesheets/decidim/modules/{_defintion-data.scss → _definition-data.scss} +0 -0
- data/app/assets/stylesheets/decidim/modules/_filter-tags.scss +24 -0
- data/app/assets/stylesheets/decidim/modules/_layout.scss +1 -9
- data/app/assets/stylesheets/decidim/modules/_list-docs.scss +1 -1
- data/app/assets/stylesheets/decidim/modules/_margins.scss +15 -0
- data/app/assets/stylesheets/decidim/modules/_modules.scss +56 -0
- data/app/assets/stylesheets/decidim/modules/_opinion-toggle.scss +25 -5
- data/app/assets/stylesheets/decidim/modules/_order-by.scss +1 -0
- data/app/assets/stylesheets/decidim/modules/_process-header.scss +2 -1
- data/app/assets/stylesheets/decidim/modules/_process-phase.scss +0 -4
- data/app/assets/stylesheets/decidim/modules/_status-labels.scss +7 -1
- data/app/assets/stylesheets/decidim/modules/_typography.scss +17 -0
- data/app/assets/stylesheets/decidim/utils/_fontface.scss +3 -3
- data/app/assets/stylesheets/decidim/utils/_settings.scss +10 -7
- data/app/commands/decidim/invite_user.rb +2 -2
- data/app/commands/decidim/update_account.rb +48 -0
- data/app/controllers/concerns/decidim/form_factory.rb +1 -1
- data/app/controllers/concerns/decidim/needs_authorization.rb +12 -1
- data/app/controllers/concerns/decidim/user_profile.rb +30 -0
- data/app/controllers/decidim/account_controller.rb +28 -10
- data/app/controllers/decidim/authorizations_controller.rb +21 -8
- data/app/controllers/decidim/devise/invitations_controller.rb +2 -0
- data/app/controllers/decidim/devise/sessions_controller.rb +1 -1
- data/app/controllers/decidim/own_user_groups_controller.rb +14 -0
- data/app/controllers/decidim/participatory_processes_controller.rb +1 -1
- data/app/forms/decidim/account_form.rb +41 -0
- data/app/helpers/decidim/aria_selected_link_to_helper.rb +26 -0
- data/app/helpers/decidim/attachments_helper.rb +15 -0
- data/app/helpers/decidim/filters_helper.rb +2 -3
- data/app/helpers/decidim/layout_helper.rb +29 -6
- data/app/helpers/decidim/resource_helper.rb +64 -0
- data/app/helpers/decidim/user_profile_helper.rb +23 -0
- data/app/mailers/decidim/decidim_devise_mailer.rb +1 -0
- data/app/models/decidim/abilities/everyone.rb +5 -1
- data/app/models/decidim/ability.rb +3 -4
- data/app/models/decidim/{participatory_process_attachment.rb → attachment.rb} +5 -5
- data/app/models/decidim/feature.rb +2 -0
- data/app/models/decidim/organization.rb +1 -0
- data/app/models/decidim/participatory_process.rb +2 -5
- data/app/models/decidim/resource_link.rb +28 -0
- data/app/models/decidim/user.rb +6 -0
- data/app/models/decidim/user_group.rb +10 -1
- data/app/services/decidim/resource_search.rb +1 -4
- data/app/types/decidim/session_type.rb +16 -0
- data/app/types/decidim/user_group_type.rb +20 -0
- data/app/types/decidim/user_type.rb +5 -1
- data/app/uploaders/decidim/attachment_uploader.rb +4 -1
- data/app/uploaders/decidim/avatar_uploader.rb +8 -0
- data/app/uploaders/decidim/banner_image_uploader.rb +1 -0
- data/app/uploaders/decidim/hero_image_uploader.rb +1 -0
- data/app/uploaders/decidim/homepage_image_uploader.rb +5 -1
- data/app/uploaders/decidim/image_uploader.rb +1 -1
- data/app/uploaders/decidim/organization_favicon_uploader.rb +17 -0
- data/app/uploaders/decidim/organization_logo_uploader.rb +2 -2
- data/app/validators/feature_validator.rb +23 -0
- data/app/views/decidim/account/_password_fields.html.erb +2 -0
- data/app/views/decidim/account/_user_groups.html.erb +0 -0
- data/app/views/decidim/account/show.html.erb +24 -29
- data/app/views/decidim/application/_attachments.html.erb +8 -0
- data/app/views/decidim/{participatory_processes → application}/_documents.html.erb +0 -0
- data/app/views/decidim/{participatory_processes → application}/_photos.html.erb +0 -0
- data/app/views/decidim/authorizations/first_login.html.erb +22 -0
- data/app/views/decidim/authorizations/index.html.erb +46 -19
- data/app/views/decidim/devise/omniauth_registrations/new.html.erb +1 -1
- data/app/views/decidim/devise/registrations/new.html.erb +1 -1
- data/app/views/decidim/own_user_groups/index.html.erb +24 -0
- data/app/views/decidim/participatory_process_steps/_participatory_process_step.html.erb +1 -1
- data/app/views/decidim/participatory_process_steps/index.html.erb +3 -1
- data/app/views/decidim/participatory_processes/_participatory_process.html.erb +2 -2
- data/app/views/decidim/participatory_processes/_promoted_process.html.erb +1 -1
- data/app/views/decidim/participatory_processes/index.html.erb +2 -0
- data/app/views/decidim/participatory_processes/show.html.erb +37 -8
- data/app/views/decidim/shared/_comments.html.erb +0 -0
- data/app/views/layouts/decidim/_application.html.erb +5 -3
- data/app/views/layouts/decidim/_header.html.erb +4 -4
- data/app/views/layouts/decidim/_logo.html.erb +29 -17
- data/app/views/layouts/decidim/_process_header.html.erb +15 -3
- data/app/views/layouts/decidim/_process_header_steps.html.erb +1 -1
- data/app/views/layouts/decidim/_user_menu.html.erb +3 -0
- data/app/views/layouts/decidim/mailer.html.erb +1 -1
- data/app/views/layouts/decidim/user_profile.html.erb +35 -0
- data/app/views/pages/home.html.erb +5 -139
- data/app/views/pages/home/_extended.html.erb +48 -0
- data/app/views/pages/home/_hero.html.erb +20 -0
- data/app/views/pages/home/_highlighted_processes.html.erb +37 -0
- data/app/views/pages/home/_statistics.html.erb +22 -0
- data/app/views/pages/home/_sub_hero.html.erb +11 -0
- data/config/i18n-tasks.yml +1 -0
- data/config/initializers/foundation_rails_helper.rb +2 -0
- data/config/locales/ca.yml +69 -33
- data/config/locales/en.yml +86 -29
- data/config/locales/es.yml +68 -32
- data/config/routes.rb +8 -3
- data/db/migrate/20161116115156_create_attachments.rb +0 -2
- data/db/migrate/20170113150627_create_resource_links.rb +10 -0
- data/db/migrate/20170123134023_make_attachments_polymorphic.rb +18 -0
- data/db/migrate/20170123140857_add_avatar_to_user_groups.rb +5 -0
- data/db/migrate/20170125135937_rename_attachable_to_attached_to.rb +11 -0
- data/db/migrate/20170125152026_add_weight_to_features.rb +5 -0
- data/db/migrate/20170126151123_add_extra_info_to_processes.rb +8 -0
- data/db/migrate/20170128140553_add_timestamps_to_identities.rb +5 -0
- data/db/migrate/20170130132833_add_favicon_to_decidim_organizations.rb +5 -0
- data/db/seeds.rb +38 -6
- data/lib/decidim/authorable.rb +32 -0
- data/lib/decidim/core.rb +37 -0
- data/lib/decidim/core/engine.rb +2 -3
- data/lib/decidim/core/test.rb +6 -0
- data/lib/decidim/core/test/factories.rb +24 -3
- data/lib/decidim/core/test/shared_examples/authorable.rb +31 -0
- data/lib/decidim/core/test/shared_examples/has_attachments.rb +29 -0
- data/lib/decidim/core/test/shared_examples/has_category.rb +10 -0
- data/lib/decidim/core/test/shared_examples/has_feature.rb +20 -0
- data/lib/decidim/core/test/shared_examples/has_scope.rb +10 -0
- data/lib/decidim/core/version.rb +1 -1
- data/lib/decidim/feature_manifest.rb +31 -1
- data/lib/decidim/features/base_controller.rb +10 -0
- data/lib/decidim/features/settings_manifest.rb +1 -0
- data/lib/decidim/has_attachment.rb +32 -0
- data/lib/decidim/has_attachments.rb +32 -0
- data/lib/decidim/has_category.rb +21 -0
- data/lib/decidim/has_feature.rb +20 -0
- data/lib/decidim/has_scope.rb +21 -0
- data/lib/decidim/query_extensions.rb +2 -2
- data/lib/decidim/resource_manifest.rb +80 -0
- data/lib/decidim/resourceable.rb +85 -0
- metadata +67 -40
- data/app/assets/javascripts/decidim/inline_svg.js.es6 +0 -12
- data/app/assets/stylesheets/decidim/application.sass +0 -12
- data/app/assets/stylesheets/decidim/extras/_turbolinks.scss +0 -3
- data/app/assets/stylesheets/decidim/modules/_popularity.scss +0 -74
- data/app/assets/stylesheets/decidim/utils/_variables.scss +0 -22
- data/app/views/decidim/account/_authorizations.html.erb +0 -52
- data/vendor/assets/javascripts/owl.carousel.min.js +0 -47
- data/vendor/assets/javascripts/svg-injector.js +0 -464
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a032ffa156def30465db5d8b3d20ca95a7ea2dc0
|
4
|
+
data.tar.gz: 855965c6e8eecfbe557440501e0d717c4a7a4a80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1552bb8342aebc959620e05d4934651d0a54aa61d508a6b2c3db634e27418b3d28211173fdddea6a3964a07decb467da0ea87a439ea63de0b81cfb1ae749bff6
|
7
|
+
data.tar.gz: 246850a6564065e2f2ee93b0c49c1a41f5cfbf902cdd3675f114e9648eecd24011665141115fdd609681b98bea1219f69344583870d6f6440c451ca2a86a6e40
|
@@ -1,14 +1,12 @@
|
|
1
|
-
// = require foundation
|
1
|
+
// = require decidim/foundation
|
2
2
|
// = require modernizr
|
3
|
-
// = require owl.carousel.min
|
4
3
|
// = require svg4everybody.min
|
5
4
|
// = require decidim/append_elements
|
6
|
-
// = require decidim/inline_svg
|
7
5
|
// = require decidim/user_registrations
|
8
6
|
|
9
7
|
/* globals svg4everybody */
|
10
8
|
|
11
|
-
$(
|
9
|
+
$(() => {
|
12
10
|
$(document).foundation();
|
13
11
|
svg4everybody();
|
14
12
|
});
|
@@ -1,46 +1,44 @@
|
|
1
1
|
// = require quill.min
|
2
2
|
// = require_self
|
3
3
|
|
4
|
-
$(
|
5
|
-
$(
|
6
|
-
|
7
|
-
const quillFormats = ['bold', 'italic', 'link', 'underline', 'header', 'list'];
|
4
|
+
$(() => {
|
5
|
+
const $container = $('.editor-container');
|
6
|
+
const quillFormats = ['bold', 'italic', 'link', 'underline', 'header', 'list'];
|
8
7
|
|
9
|
-
|
10
|
-
|
8
|
+
$container.each((idx, container) => {
|
9
|
+
const toolbar = $(container).data('toolbar');
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
if (toolbar === 'full') {
|
19
|
-
quillToolbar = [
|
20
|
-
[{ header: [1, 2, 3, 4, 5, 6, false] }],
|
21
|
-
...quillToolbar
|
22
|
-
];
|
23
|
-
}
|
11
|
+
let quillToolbar = [
|
12
|
+
['bold', 'italic', 'underline'],
|
13
|
+
[{ list: 'ordered' }, { list: 'bullet' }],
|
14
|
+
['link', 'clean']
|
15
|
+
];
|
24
16
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
theme: 'snow'
|
32
|
-
});
|
17
|
+
if (toolbar === 'full') {
|
18
|
+
quillToolbar = [
|
19
|
+
[{ header: [1, 2, 3, 4, 5, 6, false] }],
|
20
|
+
...quillToolbar
|
21
|
+
];
|
22
|
+
}
|
33
23
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
24
|
+
const $input = $(container).siblings('input[type="hidden"]');
|
25
|
+
const quill = new Quill(container, {
|
26
|
+
modules: {
|
27
|
+
toolbar: quillToolbar
|
28
|
+
},
|
29
|
+
formats: quillFormats,
|
30
|
+
theme: 'snow'
|
31
|
+
});
|
42
32
|
|
43
|
-
|
33
|
+
quill.on('text-change', () => {
|
34
|
+
const text = quill.getText();
|
35
|
+
if (text === '\n') {
|
36
|
+
$input.val('');
|
37
|
+
} else {
|
38
|
+
$input.val(quill.root.innerHTML);
|
39
|
+
}
|
44
40
|
});
|
41
|
+
|
42
|
+
quill.root.innerHTML = $input.val();
|
45
43
|
});
|
46
44
|
});
|
@@ -1,22 +1,16 @@
|
|
1
|
+
/* eslint-disable no-invalid-this */
|
1
2
|
// = require ./form_filter.component
|
2
3
|
// = require_self
|
3
4
|
|
4
|
-
// Initializes the form filter.
|
5
|
-
// changing the page so that we stop listening to events and we don't bind
|
6
|
-
// multiple times when re-visiting the page.
|
5
|
+
// Initializes the form filter.
|
7
6
|
((exports) => {
|
8
7
|
const { Decidim: { FormFilterComponent } } = exports;
|
9
|
-
|
8
|
+
|
9
|
+
$(() => {
|
10
|
+
$('form.new_filter').each(function () {
|
11
|
+
const formFilter = new FormFilterComponent($(this));
|
10
12
|
|
11
|
-
|
12
|
-
|
13
|
-
};
|
14
|
-
|
15
|
-
const onTurboLinksBeforeVisit = () => {
|
16
|
-
formFilter.unmountComponent();
|
17
|
-
$(document).off('turbolinks:before-visit', onTurboLinksBeforeVisit);
|
18
|
-
};
|
19
|
-
|
20
|
-
$(document).ready(onDocumentReady);
|
21
|
-
$(document).on('turbolinks:before-visit', onTurboLinksBeforeVisit);
|
13
|
+
formFilter.mountComponent();
|
14
|
+
})
|
15
|
+
});
|
22
16
|
})(window);
|
@@ -10,8 +10,8 @@
|
|
10
10
|
mounted;
|
11
11
|
$form;
|
12
12
|
|
13
|
-
constructor(
|
14
|
-
this.$form = $
|
13
|
+
constructor($form) {
|
14
|
+
this.$form = $form;
|
15
15
|
this.mounted = false;
|
16
16
|
|
17
17
|
this._onFormChange = this._onFormChange.bind(this);
|
@@ -127,7 +127,7 @@
|
|
127
127
|
// Iterate the filter params and set the correct form values
|
128
128
|
fieldIds.forEach((fieldId) => {
|
129
129
|
let field = null;
|
130
|
-
|
130
|
+
|
131
131
|
// Since we are using Ruby on Rails generated forms the field ids for a
|
132
132
|
// checkbox or a radio button has the following form: filter_${key}_${value}
|
133
133
|
field = this.$form.find(`input#filter_${fieldId}_${filterParams[fieldId]}`);
|
@@ -138,7 +138,7 @@
|
|
138
138
|
// If the field is not a checkbox neither a radio it means is a input or a select.
|
139
139
|
// Ruby on Rails ensure the ids are constructed like this: filter_${key}
|
140
140
|
field = this.$form.find(`input#filter_${fieldId},select#filter_${fieldId}`);
|
141
|
-
|
141
|
+
|
142
142
|
if (field.length > 0) {
|
143
143
|
field.val(filterParams[fieldId]);
|
144
144
|
}
|
@@ -155,9 +155,9 @@
|
|
155
155
|
* @returns {Void} - Returns nothing.
|
156
156
|
*/
|
157
157
|
_onFormChange() {
|
158
|
-
let newUrl = '';
|
159
158
|
const formAction = this.$form.attr('action');
|
160
159
|
const params = this.$form.serialize();
|
160
|
+
let newUrl = '';
|
161
161
|
|
162
162
|
this.$form.submit();
|
163
163
|
|
@@ -0,0 +1,17 @@
|
|
1
|
+
// = require foundation.core.js
|
2
|
+
// = require foundation.dropdown.js
|
3
|
+
// = require foundation.dropdownMenu.js
|
4
|
+
// = require foundation.offcanvas.js
|
5
|
+
// = require foundation.responsiveMenu.js
|
6
|
+
// = require foundation.responsiveToggle.js
|
7
|
+
// = require foundation.reveal.js
|
8
|
+
// = require foundation.sticky.js
|
9
|
+
// = require foundation.tabs.js
|
10
|
+
// = require foundation.toggler.js
|
11
|
+
// = require foundation.util.box.js
|
12
|
+
// = require foundation.util.keyboard.js
|
13
|
+
// = require foundation.util.mediaQuery.js
|
14
|
+
// = require foundation.util.motion.js
|
15
|
+
// = require foundation.util.nest.js
|
16
|
+
// = require foundation.util.touch.js
|
17
|
+
// = require foundation.util.triggers.js
|
@@ -1,4 +1,4 @@
|
|
1
|
-
$(
|
1
|
+
$(() => {
|
2
2
|
const $userRegistrationForm = $('.register-form');
|
3
3
|
const $userGroupFields = $userRegistrationForm.find('.user-group-fields');
|
4
4
|
const inputSelector = 'input[name="user[sign_up_as]"]';
|
@@ -12,11 +12,10 @@ $(document).on('turbolinks:load', () => {
|
|
12
12
|
}
|
13
13
|
|
14
14
|
setGroupFieldsVisibility($userRegistrationForm.find(`${inputSelector}:checked`).val());
|
15
|
-
|
15
|
+
|
16
16
|
$userRegistrationForm.on('change', inputSelector, (event) => {
|
17
17
|
const value = event.target.value;
|
18
18
|
|
19
19
|
setGroupFieldsVisibility(value);
|
20
20
|
});
|
21
|
-
|
22
21
|
});
|
@@ -1,12 +1,10 @@
|
|
1
1
|
// Variables
|
2
2
|
|
3
|
-
$primary:
|
4
|
-
$secondary:
|
5
|
-
$success:
|
6
|
-
$warning:
|
7
|
-
$alert:
|
8
|
-
|
9
|
-
$light-gray-dark: darken($light-gray, 2.5) !default;
|
3
|
+
$primary: #ef604d !default;
|
4
|
+
$secondary: #599aa6 !default;
|
5
|
+
$success: #57d685 !default;
|
6
|
+
$warning: #ffae00 !default;
|
7
|
+
$alert: #ec5840 !default;
|
10
8
|
|
11
9
|
$proposals: #238FF7 !default;
|
12
10
|
$actions: #57D685 !default;
|
@@ -16,7 +14,3 @@ $meetings: #FABC6C !default;
|
|
16
14
|
$twitter: #55acee !default;
|
17
15
|
$facebook: #3b5998 !default;
|
18
16
|
$google: #dd4b39 !default;
|
19
|
-
|
20
|
-
$muted: lighten($body-font-color, 30) !default;
|
21
|
-
|
22
|
-
$border: 1px solid $medium-gray !default;
|
@@ -9,6 +9,11 @@
|
|
9
9
|
padding-top: .25rem;
|
10
10
|
padding-bottom: .25rem;
|
11
11
|
}
|
12
|
+
|
13
|
+
&:disabled{
|
14
|
+
@extend .button;
|
15
|
+
@extend .button.disabled;
|
16
|
+
}
|
12
17
|
}
|
13
18
|
|
14
19
|
|
@@ -78,7 +83,8 @@
|
|
78
83
|
}
|
79
84
|
|
80
85
|
.show-more{
|
81
|
-
|
86
|
+
text-align: center;
|
87
|
+
margin-bottom: $margin-s;
|
82
88
|
}
|
83
89
|
|
84
90
|
/*Social buttons*/
|
@@ -117,4 +123,4 @@
|
|
117
123
|
&:hover{
|
118
124
|
background-color: lighten($google,5);
|
119
125
|
}
|
120
|
-
}
|
126
|
+
}
|
@@ -30,11 +30,8 @@ $comment-form-bg: $light-gray;
|
|
30
30
|
}
|
31
31
|
|
32
32
|
.show-more--comment-thread{
|
33
|
-
|
34
|
-
margin-top: -$card-margin-bottom;
|
33
|
+
margin-top: -$card-margin-bottom / 2;
|
35
34
|
margin-bottom: $card-margin-bottom;
|
36
|
-
padding-top: 3px;
|
37
|
-
font-size: 90%;
|
38
35
|
}
|
39
36
|
|
40
37
|
.comment{
|
@@ -85,16 +82,44 @@ $comment-form-bg: $light-gray;
|
|
85
82
|
float: right;
|
86
83
|
}
|
87
84
|
.comment__votes--up{
|
88
|
-
color: $
|
89
|
-
|
85
|
+
color: $muted;
|
86
|
+
.icon{
|
87
|
+
color: $comment-vote-up-color;
|
88
|
+
}
|
89
|
+
&:hover,
|
90
|
+
&.is-vote-selected{
|
90
91
|
color: darken($comment-vote-up-color,10);
|
92
|
+
.icon{
|
93
|
+
color: inherit;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
&.is-vote-notselected{
|
97
|
+
color: $muted;
|
98
|
+
opacity: .3;
|
99
|
+
.icon{
|
100
|
+
color: inherit;
|
101
|
+
}
|
91
102
|
}
|
92
103
|
}
|
93
104
|
.comment__votes--down{
|
94
|
-
color: $
|
105
|
+
color: $muted;
|
95
106
|
padding-left: .3rem;
|
96
|
-
|
107
|
+
.icon{
|
108
|
+
color: $comment-vote-down-color;
|
109
|
+
}
|
110
|
+
&:hover,
|
111
|
+
&.is-vote-selected{
|
97
112
|
color: darken($comment-vote-down-color,10);
|
113
|
+
.icon{
|
114
|
+
color: inherit;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
&.is-vote-notselected{
|
118
|
+
color: $muted;
|
119
|
+
opacity: .3;
|
120
|
+
.icon{
|
121
|
+
color: inherit;
|
122
|
+
}
|
98
123
|
}
|
99
124
|
}
|
100
125
|
|
File without changes
|
@@ -0,0 +1,24 @@
|
|
1
|
+
//Variables
|
2
|
+
|
3
|
+
$filter-tags-color: $light-gray-dark;
|
4
|
+
$filter-tags-padding: .2rem;
|
5
|
+
|
6
|
+
/* Filter tags */
|
7
|
+
.filter-tags__title{
|
8
|
+
margin-right: $filter-tags-padding * 2;
|
9
|
+
}
|
10
|
+
.filter-tags{
|
11
|
+
margin-bottom: 1rem - $filter-tags-padding;
|
12
|
+
}
|
13
|
+
.filter-tag{
|
14
|
+
display: inline-block;
|
15
|
+
background-color: $filter-tags-color;
|
16
|
+
border: $border;
|
17
|
+
padding: $filter-tags-padding $filter-tags-padding * 2;
|
18
|
+
margin-right: $filter-tags-padding * 2;
|
19
|
+
margin-bottom: $filter-tags-padding;
|
20
|
+
}
|
21
|
+
.filter-tag__close{
|
22
|
+
padding-left: .5rem;
|
23
|
+
color: $body-font-color;
|
24
|
+
}
|
@@ -37,7 +37,7 @@ body{
|
|
37
37
|
|
38
38
|
//fixes for off-canvas wrappers
|
39
39
|
.off-canvas-wrapper{
|
40
|
-
background-color: $
|
40
|
+
background-color: $light-gray;
|
41
41
|
}
|
42
42
|
|
43
43
|
.off-canvas-wrapper,
|
@@ -56,11 +56,3 @@ body{
|
|
56
56
|
margin-right: -.5rem;
|
57
57
|
}
|
58
58
|
}
|
59
|
-
|
60
|
-
//Sections
|
61
|
-
.section{
|
62
|
-
margin-bottom: 3rem;
|
63
|
-
@include breakpoint(large){
|
64
|
-
margin-bottom: 5rem;
|
65
|
-
}
|
66
|
-
}
|