decidim-admin 0.20.0 → 0.23.1.rc1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of decidim-admin might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +13 -0
- data/app/assets/javascripts/decidim/admin/application.js.es6 +8 -0
- data/app/assets/javascripts/decidim/admin/budget_rule_toggler.component.js.es6 +52 -0
- data/app/assets/javascripts/decidim/admin/bundle.js +26 -32
- data/app/assets/javascripts/decidim/admin/bundle.js.map +1 -1
- data/app/assets/javascripts/decidim/admin/choose_language.js +12 -0
- data/app/assets/javascripts/decidim/admin/dynamic_fields.component.js.es6 +24 -5
- data/app/assets/javascripts/decidim/admin/form.js.es6 +24 -10
- data/app/assets/javascripts/decidim/admin/gallery.js.es6 +5 -0
- data/app/assets/javascripts/decidim/admin/newsletters.js.es6 +12 -0
- data/app/assets/javascripts/decidim/admin/officializations.js.es6 +20 -0
- data/app/assets/javascripts/decidim/admin/scope_picker_enabler.component.js.es6 +14 -0
- data/app/assets/stylesheets/decidim/admin/_decidim.scss +2 -0
- data/app/assets/stylesheets/decidim/admin/_variables.scss +2 -2
- data/app/assets/stylesheets/decidim/admin/extra/_action-icon.scss +6 -0
- data/app/assets/stylesheets/decidim/admin/extra/_cards.scss +11 -0
- data/app/assets/stylesheets/decidim/admin/extra/_newsletter-templates-gallery.scss +3 -0
- data/app/assets/stylesheets/decidim/admin/extra/_organization-appearance.scss +141 -0
- data/app/assets/stylesheets/decidim/admin/extra/_show_email.scss +31 -0
- data/app/assets/stylesheets/decidim/admin/extra/_title_bar.scss +4 -0
- data/app/assets/stylesheets/decidim/admin/modules/_buttons.scss +15 -1
- data/app/assets/stylesheets/decidim/admin/modules/_callouts.scss +11 -0
- data/app/assets/stylesheets/decidim/admin/modules/_cards.scss +13 -2
- data/app/assets/stylesheets/decidim/admin/modules/_filters.scss +78 -1
- data/app/assets/stylesheets/decidim/admin/modules/_forms.scss +16 -2
- data/app/assets/stylesheets/decidim/admin/modules/_import_result.scss +10 -0
- data/app/assets/stylesheets/decidim/admin/modules/_layout.scss +1 -1
- data/app/assets/stylesheets/decidim/admin/modules/_loading-spinner.scss +19 -0
- data/app/assets/stylesheets/decidim/admin/modules/_main-nav.scss +0 -1
- data/app/assets/stylesheets/decidim/admin/modules/_modules.scss +5 -1
- data/app/assets/stylesheets/decidim/admin/modules/_process-header.scss +0 -1
- data/app/assets/stylesheets/decidim/admin/modules/_secondary-nav.scss +5 -2
- data/app/assets/stylesheets/decidim/admin/modules/_table-list.scss +23 -7
- data/app/assets/stylesheets/decidim/admin/modules/_tabs.scss +7 -0
- data/app/assets/stylesheets/decidim/admin/modules/_users_statistics.scss +18 -0
- data/app/assets/stylesheets/decidim/admin/utils/_mixins.scss +42 -0
- data/app/assets/stylesheets/decidim/admin/utils/_settings.scss +4 -1
- data/app/cells/decidim/admin/content_block/show.erb +2 -2
- data/app/cells/decidim/admin/results_per_page/show.erb +16 -0
- data/app/cells/decidim/admin/results_per_page_cell.rb +14 -0
- data/app/commands/decidim/admin/create_attachment.rb +2 -2
- data/app/commands/decidim/admin/create_newsletter.rb +34 -9
- data/app/commands/decidim/admin/deliver_newsletter.rb +1 -1
- data/app/commands/decidim/admin/destroy_share_token.rb +46 -0
- data/app/commands/decidim/admin/reorder_content_blocks.rb +1 -1
- data/app/commands/decidim/admin/update_component.rb +27 -3
- data/app/commands/decidim/admin/update_content_block.rb +25 -1
- data/app/commands/decidim/admin/update_newsletter.rb +31 -9
- data/app/commands/decidim/admin/update_organization.rb +15 -1
- data/app/commands/decidim/admin/update_organization_appearance.rb +3 -1
- data/app/controllers/concerns/decidim/admin/filterable.rb +152 -0
- data/app/controllers/concerns/decidim/admin/officializations/filterable.rb +31 -0
- data/app/controllers/concerns/decidim/admin/paginable.rb +20 -0
- data/app/controllers/concerns/decidim/admin/participatory_space_export.rb +8 -2
- data/app/controllers/decidim/admin/admin_terms_controller.rb +20 -0
- data/app/controllers/decidim/admin/application_controller.rb +3 -0
- data/app/controllers/decidim/admin/authorization_workflows_controller.rb +6 -0
- data/app/controllers/decidim/admin/components/base_controller.rb +5 -1
- data/app/controllers/decidim/admin/components_controller.rb +30 -23
- data/app/controllers/decidim/admin/concerns/has_private_users.rb +4 -0
- data/app/controllers/decidim/admin/dashboard_controller.rb +33 -1
- data/app/controllers/decidim/admin/metrics_controller.rb +22 -0
- data/app/controllers/decidim/admin/newsletter_templates_controller.rb +41 -0
- data/app/controllers/decidim/admin/newsletters_controller.rb +43 -4
- data/app/controllers/decidim/admin/officializations_controller.rb +15 -6
- data/app/controllers/decidim/admin/organization_appearance_controller.rb +1 -0
- data/app/controllers/decidim/admin/organization_controller.rb +4 -3
- data/app/controllers/decidim/admin/organization_homepage_content_blocks_controller.rb +2 -1
- data/app/controllers/decidim/admin/share_tokens_controller.rb +30 -0
- data/app/forms/decidim/admin/attachment_form.rb +3 -0
- data/app/forms/decidim/admin/component_form.rb +5 -22
- data/app/forms/decidim/admin/newsletter_form.rb +15 -3
- data/app/forms/decidim/admin/organization_appearance_form.rb +7 -4
- data/app/forms/decidim/admin/organization_form.rb +27 -0
- data/app/forms/decidim/admin/participatory_space_private_user_csv_import_form.rb +14 -0
- data/app/forms/decidim/admin/participatory_space_private_user_form.rb +8 -2
- data/app/frontend/components/autocomplete.component.test.tsx +2 -1
- data/app/frontend/components/autocomplete.component.tsx +29 -0
- data/app/helpers/decidim/admin/admin_terms_helper.rb +47 -0
- data/app/helpers/decidim/admin/application_helper.rb +2 -0
- data/app/helpers/decidim/admin/dashboard_helper.rb +25 -0
- data/app/helpers/decidim/admin/filterable_helper.rb +129 -0
- data/app/helpers/decidim/admin/icon_link_helper.rb +1 -1
- data/app/helpers/decidim/admin/newsletters_helper.rb +20 -0
- data/app/helpers/decidim/admin/paginable/per_page_helper.rb +22 -0
- data/app/helpers/decidim/admin/resource_scope_helper.rb +43 -0
- data/app/helpers/decidim/admin/scopes_helper.rb +6 -0
- data/app/helpers/decidim/admin/settings_helper.rb +56 -47
- data/app/helpers/decidim/admin/uploader_image_dimensions_helper.rb +30 -0
- data/app/helpers/decidim/admin/user_roles_helper.rb +19 -0
- data/app/models/decidim/admin/fake_newsletter.rb +49 -0
- data/app/permissions/decidim/admin/permissions.rb +30 -7
- data/app/presenters/decidim/admin/dashboard_metric_charts_presenter.rb +57 -0
- data/app/queries/decidim/admin/active_users_counter.rb +35 -0
- data/app/queries/decidim/admin/newsletter_recipients.rb +20 -9
- data/app/views/decidim/admin/admin_terms/show.html.erb +26 -0
- data/app/views/decidim/admin/attachment_collections/index.html.erb +1 -1
- data/app/views/decidim/admin/authorization_workflows/index.html.erb +1 -0
- data/app/views/decidim/admin/categories/index.html.erb +1 -1
- data/app/views/decidim/admin/components/_component.html.erb +40 -33
- data/app/views/decidim/admin/components/_form.html.erb +4 -0
- data/app/views/decidim/admin/components/_settings_fields.html.erb +2 -2
- data/app/views/decidim/admin/components/index.html.erb +11 -8
- data/app/views/decidim/admin/dashboard/show.html.erb +49 -9
- data/app/views/decidim/admin/exports/_dropdown.html.erb +6 -2
- data/app/views/decidim/admin/impersonatable_users/index.html.erb +2 -2
- data/app/views/decidim/admin/metrics/_metrics.html.erb +21 -0
- data/app/views/decidim/admin/metrics/index.html.erb +7 -0
- data/app/views/decidim/admin/newsletter_templates/index.html.erb +28 -0
- data/app/views/decidim/admin/newsletter_templates/show.html.erb +12 -0
- data/app/views/decidim/admin/newsletters/_form.html.erb +1 -7
- data/app/views/decidim/admin/newsletters/edit.html.erb +1 -1
- data/app/views/decidim/admin/newsletters/index.html.erb +9 -3
- data/app/views/decidim/admin/newsletters/new.html.erb +1 -1
- data/app/views/decidim/admin/newsletters/select_recipients_to_deliver.html.erb +4 -4
- data/app/views/decidim/admin/officializations/_show_email_modal.html.erb +31 -0
- data/app/views/decidim/admin/officializations/index.html.erb +9 -41
- data/app/views/decidim/admin/officializations/show_email.html.erb +2 -0
- data/app/views/decidim/admin/organization/_form.html.erb +37 -0
- data/app/views/decidim/admin/organization_appearance/_form.html.erb +2 -72
- data/app/views/decidim/admin/organization_appearance/form/_colors.html.erb +23 -0
- data/app/views/decidim/admin/organization_appearance/form/_images.html.erb +38 -0
- data/app/views/decidim/admin/organization_appearance/form/_minimap.html.erb +46 -0
- data/app/views/decidim/admin/resource_permissions/_options_form.html.erb +1 -1
- data/app/views/decidim/admin/share_tokens/_share_tokens.html.erb +57 -0
- data/app/views/decidim/admin/shared/_filters.html.erb +40 -0
- data/app/views/decidim/admin/shared/_gallery.html.erb +21 -0
- data/app/views/decidim/admin/static_pages/_form.html.erb +1 -1
- data/app/views/decidim/admin/user_groups/index.html.erb +4 -4
- data/app/views/decidim/admin/users_statistics/_users_count.html.erb +39 -0
- data/app/views/layouts/decidim/admin/_application.html.erb +2 -1
- data/app/views/layouts/decidim/admin/_header.html.erb +3 -0
- data/app/views/layouts/decidim/admin/_title_bar.html.erb +20 -10
- data/app/views/layouts/decidim/admin/newsletters.erb +1 -1
- data/config/locales/am-ET.yml +1 -0
- data/config/locales/ar.yml +57 -49
- data/config/locales/bg-BG.yml +16 -0
- data/config/locales/bg.yml +135 -0
- data/config/locales/ca.yml +130 -50
- data/config/locales/cs.yml +184 -104
- data/config/locales/da-DK.yml +1 -0
- data/config/locales/da.yml +1 -0
- data/config/locales/de.yml +145 -47
- data/config/locales/el-GR.yml +1 -0
- data/config/locales/el.yml +819 -0
- data/config/locales/en.yml +127 -48
- data/config/locales/eo-UY.yml +0 -1
- data/config/locales/eo.yml +51 -0
- data/config/locales/es-MX.yml +128 -48
- data/config/locales/es-PY.yml +128 -48
- data/config/locales/es.yml +128 -48
- data/config/locales/et-EE.yml +1 -0
- data/config/locales/et.yml +1 -0
- data/config/locales/eu.yml +21 -47
- data/config/locales/fi-plain.yml +128 -48
- data/config/locales/fi.yml +141 -61
- data/config/locales/fr-CA.yml +849 -0
- data/config/locales/fr.yml +128 -48
- data/config/locales/ga-IE.yml +1 -0
- data/config/locales/gl.yml +21 -47
- data/config/locales/hr-HR.yml +1 -0
- data/config/locales/hr.yml +1 -0
- data/config/locales/hu.yml +112 -59
- data/config/locales/id-ID.yml +21 -47
- data/config/locales/is-IS.yml +534 -0
- data/config/locales/is.yml +568 -0
- data/config/locales/it.yml +133 -83
- data/config/locales/ja-JP.yml +855 -0
- data/config/locales/ja.yml +849 -0
- data/config/locales/ko-KR.yml +1 -0
- data/config/locales/ko.yml +1 -0
- data/config/locales/lt-LT.yml +1 -0
- data/config/locales/lt.yml +1 -0
- data/config/locales/lv.yml +799 -0
- data/config/locales/mt-MT.yml +1 -0
- data/config/locales/mt.yml +1 -0
- data/config/locales/nl.yml +103 -48
- data/config/locales/no.yml +603 -32
- data/config/locales/om-ET.yml +1 -0
- data/config/locales/pl.yml +364 -238
- data/config/locales/pt-BR.yml +22 -48
- data/config/locales/pt.yml +334 -237
- data/config/locales/ro-RO.yml +814 -0
- data/config/locales/ru.yml +20 -46
- data/config/locales/sk-SK.yml +823 -0
- data/config/locales/sk.yml +806 -0
- data/config/locales/sl.yml +166 -0
- data/config/locales/so-SO.yml +1 -0
- data/config/locales/sr-CS.yml +590 -0
- data/config/locales/sv.yml +134 -55
- data/config/locales/ti-ER.yml +1 -0
- data/config/locales/tr-TR.yml +21 -47
- data/config/locales/uk.yml +19 -48
- data/config/locales/vi-VN.yml +1 -0
- data/config/locales/vi.yml +1 -0
- data/config/locales/zh-CN.yml +849 -0
- data/config/locales/zh-TW.yml +1 -0
- data/config/routes.rb +20 -3
- data/db/migrate/20191118112040_add_accepted_admin_terms_at_field_to_users.rb +7 -0
- data/lib/decidim/admin.rb +17 -0
- data/lib/decidim/admin/engine.rb +12 -9
- data/lib/decidim/admin/form_builder.rb +7 -2
- data/lib/decidim/admin/test.rb +2 -0
- data/lib/decidim/admin/test/filterable_examples.rb +129 -0
- data/lib/decidim/admin/test/manage_attachment_collections_examples.rb +1 -1
- data/lib/decidim/admin/test/manage_component_permissions_examples.rb +15 -15
- data/lib/decidim/admin/test/manage_paginated_collection_examples.rb +22 -0
- data/lib/decidim/admin/version.rb +1 -1
- data/vendor/assets/javascripts/jquery.serializejson.js +344 -0
- metadata +101 -31
- data/app/commands/decidim/admin/create_oauth_application.rb +0 -36
- data/app/commands/decidim/admin/destroy_oauth_application.rb +0 -39
- data/app/commands/decidim/admin/update_oauth_application.rb +0 -39
- data/app/controllers/decidim/admin/oauth_applications_controller.rb +0 -90
- data/app/forms/decidim/admin/oauth_application_form.rb +0 -32
- data/app/views/decidim/admin/oauth_applications/_form.html.erb +0 -19
- data/app/views/decidim/admin/oauth_applications/edit.html.erb +0 -13
- data/app/views/decidim/admin/oauth_applications/index.html.erb +0 -40
- data/app/views/decidim/admin/oauth_applications/new.html.erb +0 -13
- data/app/views/decidim/admin/oauth_applications/show.html.erb +0 -27
@@ -0,0 +1,141 @@
|
|
1
|
+
.organization-images{
|
2
|
+
display: grid;
|
3
|
+
grid-template-columns: repeat(2, minmax(200px, 1fr));
|
4
|
+
grid-gap: 3rem;
|
5
|
+
margin-top: 3rem;
|
6
|
+
|
7
|
+
@include breakpoint(medium down){
|
8
|
+
grid-template-columns: 1fr;
|
9
|
+
}
|
10
|
+
|
11
|
+
img{
|
12
|
+
height: 180px;
|
13
|
+
}
|
14
|
+
|
15
|
+
.image-dimensions-help{
|
16
|
+
margin-top: 0;
|
17
|
+
}
|
18
|
+
|
19
|
+
.preview{
|
20
|
+
display: flex;
|
21
|
+
flex-direction: column;
|
22
|
+
justify-content: flex-start;
|
23
|
+
}
|
24
|
+
|
25
|
+
label:not(:first-child){
|
26
|
+
margin-top: auto;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
.organization-colors{
|
31
|
+
display: flex;
|
32
|
+
column-gap: 1rem;
|
33
|
+
flex-wrap: wrap;
|
34
|
+
|
35
|
+
label{
|
36
|
+
flex: 1;
|
37
|
+
}
|
38
|
+
|
39
|
+
@include breakpoint(smallmedium down){
|
40
|
+
flex-direction: column;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
.minimap{
|
45
|
+
max-width: 500px;
|
46
|
+
}
|
47
|
+
|
48
|
+
#minimap-wrapper{
|
49
|
+
width: 100%;
|
50
|
+
padding-bottom: 60%;
|
51
|
+
position: relative;
|
52
|
+
}
|
53
|
+
|
54
|
+
/* stylelint-disable declaration-block-no-redundant-longhand-properties */
|
55
|
+
#minimap{
|
56
|
+
position: absolute;
|
57
|
+
top: 0;
|
58
|
+
bottom: 0;
|
59
|
+
left: 0;
|
60
|
+
right: 0;
|
61
|
+
display: grid;
|
62
|
+
grid-template-areas:
|
63
|
+
"tab blank blank"
|
64
|
+
"header header header"
|
65
|
+
"navbar navbar navbar"
|
66
|
+
"body body body"
|
67
|
+
"footer footer footer";
|
68
|
+
grid-template-columns: 20% 1fr 1fr;
|
69
|
+
grid-template-rows: 20px 48px 24px 1fr 64px;
|
70
|
+
|
71
|
+
img,
|
72
|
+
.placeholder{
|
73
|
+
height: 100%;
|
74
|
+
padding: 5px 0;
|
75
|
+
}
|
76
|
+
|
77
|
+
.placeholder{
|
78
|
+
background: $brand;
|
79
|
+
}
|
80
|
+
|
81
|
+
span{
|
82
|
+
color: white;
|
83
|
+
font-size: 10px;
|
84
|
+
margin: 4px;
|
85
|
+
line-height: 12px;
|
86
|
+
}
|
87
|
+
|
88
|
+
.minimap-tab{
|
89
|
+
grid-area: tab;
|
90
|
+
background-color: darken($lighter-gray, 10%);
|
91
|
+
border-bottom: none;
|
92
|
+
display: flex;
|
93
|
+
|
94
|
+
span{
|
95
|
+
font-size: 10px;
|
96
|
+
margin: 4px;
|
97
|
+
color: $black;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
.minimap-body{
|
102
|
+
grid-area: body;
|
103
|
+
background: darken($lighter-gray, 10%);
|
104
|
+
}
|
105
|
+
|
106
|
+
.minimap-navbar{
|
107
|
+
grid-area: navbar;
|
108
|
+
background: lighten($dark-gray, 10%);
|
109
|
+
}
|
110
|
+
|
111
|
+
.minimap-header,
|
112
|
+
.minimap-footer{
|
113
|
+
background: lighten($black, 10%);
|
114
|
+
display: flex;
|
115
|
+
align-items: center;
|
116
|
+
}
|
117
|
+
|
118
|
+
.minimap-header{
|
119
|
+
grid-area: header;
|
120
|
+
}
|
121
|
+
|
122
|
+
.minimap-footer{
|
123
|
+
grid-area: footer;
|
124
|
+
}
|
125
|
+
|
126
|
+
.minimap-favicon{
|
127
|
+
padding: 0;
|
128
|
+
margin: 2px;
|
129
|
+
background: $white;
|
130
|
+
}
|
131
|
+
|
132
|
+
.minimap-logo{
|
133
|
+
margin-right: auto;
|
134
|
+
margin-left: 20%;
|
135
|
+
}
|
136
|
+
|
137
|
+
.minimap-logo,
|
138
|
+
.minimap-official_img_header{
|
139
|
+
height: 80%;
|
140
|
+
}
|
141
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
.show_email{
|
2
|
+
padding: 0 $global-padding;
|
3
|
+
|
4
|
+
h4{
|
5
|
+
padding-top: $global-padding;
|
6
|
+
|
7
|
+
@include smallcaps;
|
8
|
+
|
9
|
+
color: $muted;
|
10
|
+
}
|
11
|
+
|
12
|
+
> div{
|
13
|
+
padding: $global-padding;
|
14
|
+
background-color: $medium-gray;
|
15
|
+
}
|
16
|
+
|
17
|
+
p{
|
18
|
+
text-align: center;
|
19
|
+
margin: 0;
|
20
|
+
}
|
21
|
+
|
22
|
+
#user_email + p{
|
23
|
+
display: none;
|
24
|
+
color: $muted;
|
25
|
+
font-style: italic;
|
26
|
+
}
|
27
|
+
|
28
|
+
#user_email:empty + p{
|
29
|
+
display: block;
|
30
|
+
}
|
31
|
+
}
|
@@ -24,7 +24,16 @@
|
|
24
24
|
|
25
25
|
&.reverse{
|
26
26
|
@include modifiers(color);
|
27
|
-
@include modifiers(
|
27
|
+
@include modifiers(
|
28
|
+
background-color,
|
29
|
+
(
|
30
|
+
primary: $white,
|
31
|
+
secondary: $white,
|
32
|
+
success: $white,
|
33
|
+
warning: $white,
|
34
|
+
alert: $white,
|
35
|
+
)
|
36
|
+
);
|
28
37
|
}
|
29
38
|
}
|
30
39
|
|
@@ -69,3 +78,8 @@
|
|
69
78
|
.button--nomargin{
|
70
79
|
margin: 0;
|
71
80
|
}
|
81
|
+
|
82
|
+
.button--vote-button{
|
83
|
+
flex: .2 1 auto;
|
84
|
+
text-align: right;
|
85
|
+
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
$card-padding-small: 1rem;
|
2
2
|
|
3
3
|
.card-title{
|
4
|
-
@include
|
4
|
+
@include smallemphasis;
|
5
5
|
|
6
6
|
button:not(.clear){
|
7
|
-
@include
|
7
|
+
@include smallemphasis;
|
8
8
|
}
|
9
9
|
|
10
10
|
// clearfix if there is no flex--* class in the same element
|
@@ -23,6 +23,13 @@ $card-padding-small: 1rem;
|
|
23
23
|
text-transform: uppercase;
|
24
24
|
}
|
25
25
|
}
|
26
|
+
|
27
|
+
.data-picker{
|
28
|
+
font-weight: normal;
|
29
|
+
letter-spacing: 0;
|
30
|
+
margin-bottom: 0;
|
31
|
+
text-transform: none;
|
32
|
+
}
|
26
33
|
}
|
27
34
|
|
28
35
|
.card-footer{
|
@@ -113,3 +120,7 @@ $card-padding-small: 1rem;
|
|
113
120
|
// height adjust
|
114
121
|
padding: (($global-padding / 2) + rem-calc(.7)) $global-padding;
|
115
122
|
}
|
123
|
+
|
124
|
+
.card.with-overflow{
|
125
|
+
overflow: visible;
|
126
|
+
}
|
@@ -1,6 +1,83 @@
|
|
1
1
|
.filters__section{
|
2
2
|
display: flex;
|
3
|
+
flex-wrap: wrap;
|
3
4
|
justify-content: space-between;
|
4
5
|
align-items: baseline;
|
5
|
-
padding:
|
6
|
+
padding: $global-padding $global-padding 0;
|
7
|
+
|
8
|
+
& > .fcell{
|
9
|
+
&.search{
|
10
|
+
flex-grow: 1;
|
11
|
+
margin: 0 .5rem;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
.button,
|
16
|
+
.input-group{
|
17
|
+
margin-bottom: 0;
|
18
|
+
}
|
19
|
+
|
20
|
+
.button.dropdown{
|
21
|
+
font-weight: 600;
|
22
|
+
letter-spacing: .1em;
|
23
|
+
}
|
24
|
+
|
25
|
+
.dropdown.menu{
|
26
|
+
z-index: 5;
|
27
|
+
|
28
|
+
& > li.is-dropdown-submenu-parent > a{
|
29
|
+
padding-right: 1rem;
|
30
|
+
background-color: $button-background;
|
31
|
+
color: $white;
|
32
|
+
|
33
|
+
&::after{
|
34
|
+
border-top-color: $white;
|
35
|
+
}
|
36
|
+
|
37
|
+
&:hover{
|
38
|
+
background-color: $button-background-hover;
|
39
|
+
color: $white;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
li.is-active > a,
|
44
|
+
li.is-active li.is-submenu-item > a:hover{
|
45
|
+
background-color: $primary-color;
|
46
|
+
color: $white;
|
47
|
+
}
|
48
|
+
|
49
|
+
.menu.vertical li.is-active.opens-right > a::after{
|
50
|
+
border-left-color: $white;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
.filter-status{
|
56
|
+
position: relative;
|
57
|
+
width: 100%;
|
58
|
+
margin-top: .5rem;
|
59
|
+
|
60
|
+
.label{
|
61
|
+
font-weight: 600;
|
62
|
+
margin-top: .5rem;
|
63
|
+
|
64
|
+
.type-icon{
|
65
|
+
vertical-align: top;
|
66
|
+
}
|
67
|
+
|
68
|
+
.action-icon{
|
69
|
+
span{
|
70
|
+
margin-left: .25rem;
|
71
|
+
}
|
72
|
+
|
73
|
+
&.action-icon--remove{
|
74
|
+
color: lighten(#e66a5d, 24);
|
75
|
+
margin-left: .3rem;
|
76
|
+
|
77
|
+
&:hover{
|
78
|
+
color: #e66a5d;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
6
83
|
}
|
@@ -58,7 +58,7 @@ textarea{
|
|
58
58
|
}
|
59
59
|
|
60
60
|
.legend{
|
61
|
-
@include
|
61
|
+
@include smallemphasis;
|
62
62
|
|
63
63
|
margin-bottom: 1rem;
|
64
64
|
}
|
@@ -69,6 +69,20 @@ textarea{
|
|
69
69
|
margin-bottom: 1.5rem;
|
70
70
|
}
|
71
71
|
|
72
|
+
label,
|
73
|
+
.field{
|
74
|
+
&.has-tribute{
|
75
|
+
position: relative;
|
76
|
+
|
77
|
+
.tribute-container{
|
78
|
+
top: auto;
|
79
|
+
margin-top: -$input-margin;
|
80
|
+
max-width: none;
|
81
|
+
width: 100%;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
72
86
|
.form-submit .button{
|
73
87
|
margin-bottom: 0;
|
74
88
|
}
|
@@ -130,7 +144,7 @@ textarea{
|
|
130
144
|
}
|
131
145
|
}
|
132
146
|
|
133
|
-
.
|
147
|
+
.readonly_container{
|
134
148
|
cursor: not-allowed;
|
135
149
|
opacity: .5;
|
136
150
|
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
.loading-spinner{
|
2
|
+
height: 25px;
|
3
|
+
text-align: center;
|
4
|
+
|
5
|
+
&::before{
|
6
|
+
@include spinner(25px, $medium-gray, var(--primary), 800ms);
|
7
|
+
|
8
|
+
content: "";
|
9
|
+
vertical-align: middle;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
span.loading-spinner{
|
14
|
+
height: 15px;
|
15
|
+
|
16
|
+
&::before{
|
17
|
+
@include spinner(15px, $medium-gray, var(--primary), 800ms);
|
18
|
+
}
|
19
|
+
}
|
@@ -28,10 +28,14 @@
|
|
28
28
|
@import "dropdown";
|
29
29
|
@import "agenda";
|
30
30
|
@import "draggable-list";
|
31
|
+
@import "loading-spinner";
|
32
|
+
@import "import_result";
|
31
33
|
|
32
34
|
// mentions__container
|
33
35
|
@import "decidim/modules/tags";
|
34
36
|
@import "decidim/modules/input-tags";
|
35
37
|
@import "decidim/modules/input-mentions";
|
36
|
-
@import "decidim/modules/input-hashtags";
|
37
38
|
@import "decidim/modules/input-gallery";
|
39
|
+
|
40
|
+
//Admin dashboard
|
41
|
+
@import "users_statistics";
|