decidim-theme 0.1.4
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 +7 -0
- data/LICENSE-AGPLv3.txt +661 -0
- data/README.md +104 -0
- data/Rakefile +9 -0
- data/app/cells/decidim/meetings/meeting_cell.rb +65 -0
- data/app/cells/decidim/meetings/meeting_s_overrides/show.erb +25 -0
- data/app/cells/decidim/meetings/meeting_s_overrides_cell.rb +53 -0
- data/app/controllers/decidim/theme/admin/application_controller.rb +15 -0
- data/app/controllers/decidim/theme/application_controller.rb +13 -0
- data/app/helpers/decidim/theme/application_helper.rb +10 -0
- data/app/models/decidim/theme/application_record.rb +10 -0
- data/app/overrides/insert_javascript_tag.rb +6 -0
- data/app/overrides/language_chooser_icon.rb +4 -0
- data/app/overrides/layouts/decidim/_main_footer/replace_content.html.erb.deface +96 -0
- data/app/overrides/layouts/decidim/_mini_footer/replace_content.html.erb.deface +25 -0
- data/app/overrides/mailer_styles.rb +36 -0
- data/app/overrides/prefix_body.rb +10 -0
- data/app/overrides/prefix_classes.rb +63 -0
- data/app/overrides/prefix_processes_wrapper.rb +10 -0
- data/app/packs/entrypoints/decidim_theme_email.js +1 -0
- data/app/packs/entrypoints/decidim_theme_email.scss +2 -0
- data/app/packs/entrypoints/decidim_theme_polyfill.js +5 -0
- data/app/packs/fonts/decidim/Inter-Black.woff +0 -0
- data/app/packs/fonts/decidim/Inter-Black.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-BlackItalic.woff +0 -0
- data/app/packs/fonts/decidim/Inter-BlackItalic.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-Bold.woff +0 -0
- data/app/packs/fonts/decidim/Inter-Bold.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-BoldItalic.woff +0 -0
- data/app/packs/fonts/decidim/Inter-BoldItalic.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-ExtraBold.woff +0 -0
- data/app/packs/fonts/decidim/Inter-ExtraBold.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-ExtraBoldItalic.woff +0 -0
- data/app/packs/fonts/decidim/Inter-ExtraBoldItalic.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-ExtraLight.woff +0 -0
- data/app/packs/fonts/decidim/Inter-ExtraLight.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-ExtraLightItalic.woff +0 -0
- data/app/packs/fonts/decidim/Inter-ExtraLightItalic.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-Italic.woff +0 -0
- data/app/packs/fonts/decidim/Inter-Italic.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-Light.woff +0 -0
- data/app/packs/fonts/decidim/Inter-Light.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-LightItalic.woff +0 -0
- data/app/packs/fonts/decidim/Inter-LightItalic.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-Medium.woff +0 -0
- data/app/packs/fonts/decidim/Inter-Medium.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-MediumItalic.woff +0 -0
- data/app/packs/fonts/decidim/Inter-MediumItalic.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-Regular.woff +0 -0
- data/app/packs/fonts/decidim/Inter-Regular.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-SemiBold.woff +0 -0
- data/app/packs/fonts/decidim/Inter-SemiBold.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-SemiBoldItalic.woff +0 -0
- data/app/packs/fonts/decidim/Inter-SemiBoldItalic.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-Thin.woff +0 -0
- data/app/packs/fonts/decidim/Inter-Thin.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-ThinItalic.woff +0 -0
- data/app/packs/fonts/decidim/Inter-ThinItalic.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-italic.var.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-roman.var.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter.var.woff2 +0 -0
- data/app/packs/images/decidim/cc-by-sa-4.svg +8 -0
- data/app/packs/images/decidim/decidim-initial.svg +9 -0
- data/app/packs/images/decidim/theme/icon.svg +1 -0
- data/app/packs/javascripts/empty.polyfill.js +7 -0
- data/app/packs/javascripts/has.polyfill.js +30 -0
- data/app/packs/stylesheets/decidim/theme/_font_face.scss +180 -0
- data/app/packs/stylesheets/decidim/theme/_theme.scss +121 -0
- data/app/packs/stylesheets/decidim/theme/_theme_settings.scss +923 -0
- data/app/packs/stylesheets/decidim/theme/_theme_variables.scss +80 -0
- data/app/packs/stylesheets/decidim/theme/atoms/Buttons/_Generic.scss +98 -0
- data/app/packs/stylesheets/decidim/theme/atoms/Buttons/_Misc.scss +115 -0
- data/app/packs/stylesheets/decidim/theme/atoms/Buttons/_Navigation.scss +83 -0
- data/app/packs/stylesheets/decidim/theme/atoms/Typography/_Body.scss +88 -0
- data/app/packs/stylesheets/decidim/theme/atoms/Typography/_Headline.scss +98 -0
- data/app/packs/stylesheets/decidim/theme/atoms/Typography/_mixins.scss +109 -0
- data/app/packs/stylesheets/decidim/theme/email.scss +41 -0
- data/app/packs/stylesheets/decidim/theme/molecules/Callouts/_default.scss +41 -0
- data/app/packs/stylesheets/decidim/theme/molecules/Cards/_card_process.scss +24 -0
- data/app/packs/stylesheets/decidim/theme/molecules/Cards/_data-item.scss +31 -0
- data/app/packs/stylesheets/decidim/theme/molecules/Cards/_documents.scss +46 -0
- data/app/packs/stylesheets/decidim/theme/molecules/Cards/_extra.scss +32 -0
- data/app/packs/stylesheets/decidim/theme/molecules/Cards/_upcoming_meetings.scss +47 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_account.scss +129 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_accountability.scss +119 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_assembly.scss +5 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_authorizations.scss +25 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_blog.scss +77 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_budgets.scss +221 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_cookie_warning.scss +6 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_debate.scss +65 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_footer.scss +145 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_groups.scss +49 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_logins.scss +45 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_meetings.scss +214 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_members.scss +6 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_messaging.scss +118 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_metrics.scss +31 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_notifications.scss +20 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_processes.scss +12 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_proposals.scss +150 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_search.scss +12 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_sortitions.scss +65 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_surveys.scss +65 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_text_page.scss +115 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_user_conversations.scss +7 -0
- data/app/packs/stylesheets/decidim/theme/reset/_author.scss +36 -0
- data/app/packs/stylesheets/decidim/theme/reset/_author_avatar.scss +182 -0
- data/app/packs/stylesheets/decidim/theme/reset/_badges.scss +159 -0
- data/app/packs/stylesheets/decidim/theme/reset/_base.scss +543 -0
- data/app/packs/stylesheets/decidim/theme/reset/_budget-list.scss +202 -0
- data/app/packs/stylesheets/decidim/theme/reset/_budget-meter.scss +85 -0
- data/app/packs/stylesheets/decidim/theme/reset/_buttons.scss +538 -0
- data/app/packs/stylesheets/decidim/theme/reset/_callout.scss +37 -0
- data/app/packs/stylesheets/decidim/theme/reset/_card.scss +1480 -0
- data/app/packs/stylesheets/decidim/theme/reset/_categories.scss +130 -0
- data/app/packs/stylesheets/decidim/theme/reset/_collapsible.scss +59 -0
- data/app/packs/stylesheets/decidim/theme/reset/_columns.scss +8 -0
- data/app/packs/stylesheets/decidim/theme/reset/_comments.scss +320 -0
- data/app/packs/stylesheets/decidim/theme/reset/_conversation.scss +158 -0
- data/app/packs/stylesheets/decidim/theme/reset/_data-consent.scss +133 -0
- data/app/packs/stylesheets/decidim/theme/reset/_data-picker.scss +243 -0
- data/app/packs/stylesheets/decidim/theme/reset/_definition_data.scss +93 -0
- data/app/packs/stylesheets/decidim/theme/reset/_docs-manager.scss +16 -0
- data/app/packs/stylesheets/decidim/theme/reset/_dropdown_menu.scss +312 -0
- data/app/packs/stylesheets/decidim/theme/reset/_errors.scss +87 -0
- data/app/packs/stylesheets/decidim/theme/reset/_extra.scss +56 -0
- data/app/packs/stylesheets/decidim/theme/reset/_filters.scss +224 -0
- data/app/packs/stylesheets/decidim/theme/reset/_floating_helper.scss +133 -0
- data/app/packs/stylesheets/decidim/theme/reset/_form.scss +176 -0
- data/app/packs/stylesheets/decidim/theme/reset/_home.scss +416 -0
- data/app/packs/stylesheets/decidim/theme/reset/_home_section.scss +23 -0
- data/app/packs/stylesheets/decidim/theme/reset/_horizontal-tabs.scss +130 -0
- data/app/packs/stylesheets/decidim/theme/reset/_icons.scss +3 -0
- data/app/packs/stylesheets/decidim/theme/reset/_inline-filters.scss +77 -0
- data/app/packs/stylesheets/decidim/theme/reset/_label.scss +79 -0
- data/app/packs/stylesheets/decidim/theme/reset/_labels.scss +53 -0
- data/app/packs/stylesheets/decidim/theme/reset/_layout.scss +82 -0
- data/app/packs/stylesheets/decidim/theme/reset/_lines_breadcrumb.scss +38 -0
- data/app/packs/stylesheets/decidim/theme/reset/_login.scss +3 -0
- data/app/packs/stylesheets/decidim/theme/reset/_logo_wrapper.scss +28 -0
- data/app/packs/stylesheets/decidim/theme/reset/_main_container.scss +96 -0
- data/app/packs/stylesheets/decidim/theme/reset/_metric-chart.scss +25 -0
- data/app/packs/stylesheets/decidim/theme/reset/_navbar.scss +763 -0
- data/app/packs/stylesheets/decidim/theme/reset/_opinion_toggle.scss +55 -0
- data/app/packs/stylesheets/decidim/theme/reset/_order-by.scss +34 -0
- data/app/packs/stylesheets/decidim/theme/reset/_org-chart.scss +6 -0
- data/app/packs/stylesheets/decidim/theme/reset/_pagination.scss +195 -0
- data/app/packs/stylesheets/decidim/theme/reset/_process.scss +20 -0
- data/app/packs/stylesheets/decidim/theme/reset/_process_header.scss +97 -0
- data/app/packs/stylesheets/decidim/theme/reset/_process_header_phase.scss +13 -0
- data/app/packs/stylesheets/decidim/theme/reset/_process_nav.scss +317 -0
- data/app/packs/stylesheets/decidim/theme/reset/_progress_bar.scss +89 -0
- data/app/packs/stylesheets/decidim/theme/reset/_quill.scss +47 -0
- data/app/packs/stylesheets/decidim/theme/reset/_result_per_page.scss +82 -0
- data/app/packs/stylesheets/decidim/theme/reset/_results.scss +158 -0
- data/app/packs/stylesheets/decidim/theme/reset/_reveal.scss +210 -0
- data/app/packs/stylesheets/decidim/theme/reset/_scope-picker.scss +10 -0
- data/app/packs/stylesheets/decidim/theme/reset/_select.scss +92 -0
- data/app/packs/stylesheets/decidim/theme/reset/_signup.scss +179 -0
- data/app/packs/stylesheets/decidim/theme/reset/_statistics.scss +42 -0
- data/app/packs/stylesheets/decidim/theme/reset/_switch.scss +272 -0
- data/app/packs/stylesheets/decidim/theme/reset/_tabs.scss +4 -0
- data/app/packs/stylesheets/decidim/theme/reset/_tags.scss +47 -0
- data/app/packs/stylesheets/decidim/theme/reset/_thumbnail.scss +66 -0
- data/app/packs/stylesheets/decidim/theme/reset/_timeline.scss +183 -0
- data/app/packs/stylesheets/decidim/theme/reset/_title_bar.scss +89 -0
- data/app/packs/stylesheets/decidim/theme/reset/_toggle.scss +14 -0
- data/app/packs/stylesheets/decidim/theme/reset/_tooltip.scss +173 -0
- data/app/packs/stylesheets/decidim/theme/reset/_typography.scss +283 -0
- data/app/packs/stylesheets/decidim/theme/reset/_upload_modal.scss +140 -0
- data/app/packs/stylesheets/decidim/theme/reset/_user-form.scss +15 -0
- data/app/packs/stylesheets/decidim/theme/reset/_user.scss +184 -0
- data/app/packs/stylesheets/decidim/theme/reset/_versions.scss +82 -0
- data/app/packs/stylesheets/decidim/theme/reset/_wrapper.scss +3 -0
- data/config/assets.rb +17 -0
- data/config/i18n-tasks.yml +10 -0
- data/config/locales/en.yml +62 -0
- data/config/locales/fr.yml +11 -0
- data/lib/decidim/theme/admin.rb +10 -0
- data/lib/decidim/theme/admin_engine.rb +27 -0
- data/lib/decidim/theme/engine.rb +29 -0
- data/lib/decidim/theme/test/factories.rb +13 -0
- data/lib/decidim/theme/version.rb +13 -0
- data/lib/decidim/theme.rb +12 -0
- metadata +271 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
#dc-dialog-wrapper {
|
|
2
|
+
z-index: 1000000;
|
|
3
|
+
button#dc-dialog-reject,
|
|
4
|
+
#dc-dialog-accept {
|
|
5
|
+
min-width: 110px;
|
|
6
|
+
max-width: 50%;
|
|
7
|
+
}
|
|
8
|
+
.dc-dialog {
|
|
9
|
+
position: fixed;
|
|
10
|
+
background-color: $white;
|
|
11
|
+
bottom: 0;
|
|
12
|
+
width: 100%;
|
|
13
|
+
|
|
14
|
+
@include breakpoint(large) {
|
|
15
|
+
width: unset;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.dc-button-wrapper {
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
margin: 1rem 0;
|
|
21
|
+
flex-wrap: wrap;
|
|
22
|
+
gap: 0.5rem;
|
|
23
|
+
> * {
|
|
24
|
+
width: 100%;
|
|
25
|
+
margin: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@include breakpoint(medium) {
|
|
29
|
+
flex-direction: row;
|
|
30
|
+
|
|
31
|
+
> * {
|
|
32
|
+
width: unset;
|
|
33
|
+
margin: 0 1rem;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@include breakpoint(large) {
|
|
38
|
+
justify-content: flex-end;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
#dc-modal {
|
|
45
|
+
background-color: $white;
|
|
46
|
+
|
|
47
|
+
.category-wrapper {
|
|
48
|
+
background-color: $light-gray;
|
|
49
|
+
padding: 0.2rem;
|
|
50
|
+
|
|
51
|
+
.category-row {
|
|
52
|
+
position: relative;
|
|
53
|
+
justify-content: space-between;
|
|
54
|
+
|
|
55
|
+
.dc-title {
|
|
56
|
+
&::before {
|
|
57
|
+
border: solid #2d4156;
|
|
58
|
+
border-width: 0 2px 2px 0;
|
|
59
|
+
padding: 0.2em;
|
|
60
|
+
display: inline-block;
|
|
61
|
+
content: "";
|
|
62
|
+
margin-right: 15px;
|
|
63
|
+
position: absolute;
|
|
64
|
+
left: 1.2em;
|
|
65
|
+
top: 50%;
|
|
66
|
+
transform: translateY(-50%) rotate(45deg);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&.open {
|
|
70
|
+
&::before {
|
|
71
|
+
transform: translateY(-50%) rotate(225deg);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.dc-switch {
|
|
77
|
+
padding: 0.5rem 0 0;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.dataconsent-details-wrapper {
|
|
82
|
+
.detail-titles {
|
|
83
|
+
border-bottom: 1px solid $medium-gray;
|
|
84
|
+
|
|
85
|
+
> * {
|
|
86
|
+
font-weight: 600;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.dataconsent-detail-row {
|
|
91
|
+
font-size: 0.6rem;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.dc-buttons-wrapper {
|
|
97
|
+
justify-content: space-between;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.disabled-iframe {
|
|
102
|
+
background-color: $light-gray;
|
|
103
|
+
border: 1px solid $medium-gray;
|
|
104
|
+
cursor: auto;
|
|
105
|
+
display: flex;
|
|
106
|
+
align-items: center;
|
|
107
|
+
justify-content: center;
|
|
108
|
+
text-align: center;
|
|
109
|
+
max-height: 20rem;
|
|
110
|
+
|
|
111
|
+
&.ql-video {
|
|
112
|
+
display: flex;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.dataconsent-warning {
|
|
117
|
+
flex-direction: column;
|
|
118
|
+
font-size: 2rem;
|
|
119
|
+
font-weight: $global-weight-bold;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.dc-categories button.dc-title.padding-left-3 {
|
|
123
|
+
padding-left: 3rem !important;
|
|
124
|
+
}
|
|
125
|
+
.dc-categories .dc-buttons-left {
|
|
126
|
+
width: 100%;
|
|
127
|
+
display: flex;
|
|
128
|
+
gap: 2rem;
|
|
129
|
+
flex-direction: row-reverse;
|
|
130
|
+
}
|
|
131
|
+
.dc-categories button#dc-modal-save {
|
|
132
|
+
min-width: 156px;
|
|
133
|
+
}
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
#data_picker-title.h2 {
|
|
2
|
+
@extend .body-2;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.data-picker {
|
|
6
|
+
margin: 0 0 $global-margin;
|
|
7
|
+
|
|
8
|
+
&.picker-single .picker-values div a,
|
|
9
|
+
.picker-prompt a {
|
|
10
|
+
background: white;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
display: block;
|
|
13
|
+
width: 100%;
|
|
14
|
+
padding: 0.4rem 0.7rem;
|
|
15
|
+
outline: $input-outline;
|
|
16
|
+
border: 1px solid #e8e8e8;
|
|
17
|
+
border-radius: 8px;
|
|
18
|
+
|
|
19
|
+
box-shadow: unset;
|
|
20
|
+
-webkit-box-shadow: unset;
|
|
21
|
+
color: var(--emphasis-med) !important;
|
|
22
|
+
&:hover {
|
|
23
|
+
text-decoration: none !important;
|
|
24
|
+
}
|
|
25
|
+
&:active,
|
|
26
|
+
&:focus {
|
|
27
|
+
outline: $input-outline-focus;
|
|
28
|
+
outline-color: var(--primary);
|
|
29
|
+
outline-offset: $input-outline-offset;
|
|
30
|
+
border: 1px solid var(--black-6);
|
|
31
|
+
background-color: #fff;
|
|
32
|
+
box-shadow: 0 0 5px #adadad;
|
|
33
|
+
-webkit-box-shadow: 0 0 5px #adadad;
|
|
34
|
+
transition: border-color 0.25s ease-in-out, -webkit-box-shadow 0.5s;
|
|
35
|
+
-webkit-transition: border-color 0.25s ease-in-out,
|
|
36
|
+
-webkit-box-shadow 0.5s;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&::after {
|
|
40
|
+
display: block;
|
|
41
|
+
width: 0;
|
|
42
|
+
height: 0;
|
|
43
|
+
border: inset 5px;
|
|
44
|
+
content: "";
|
|
45
|
+
border-right-width: 0;
|
|
46
|
+
border-color: transparent transparent transparent #1a181d;
|
|
47
|
+
float: right;
|
|
48
|
+
margin-top: 7px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&.is-invalid-input.picker-single .picker-values div a,
|
|
53
|
+
&.is-invalid-input .picker-prompt a {
|
|
54
|
+
border-color: $alert-color;
|
|
55
|
+
background-color: #fdeeec;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&.picker-single .picker-values:not(:empty) + .picker-prompt {
|
|
59
|
+
display: none;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&.disabled.picker-single .picker-values div a,
|
|
63
|
+
&.disabled .picker-prompt a {
|
|
64
|
+
cursor: not-allowed;
|
|
65
|
+
background: #eee;
|
|
66
|
+
|
|
67
|
+
&:active {
|
|
68
|
+
border: inherit !important;
|
|
69
|
+
box-shadow: inherit !important;
|
|
70
|
+
-webkit-box-shadow: inherit !important;
|
|
71
|
+
transition: none !important;
|
|
72
|
+
-webkit-transition: none !important;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&.picker-multiple .picker-values {
|
|
77
|
+
div {
|
|
78
|
+
display: block;
|
|
79
|
+
margin: 0 0 2px;
|
|
80
|
+
font-size: 0.9rem;
|
|
81
|
+
|
|
82
|
+
input {
|
|
83
|
+
margin: 2px 8px 8px 2px;
|
|
84
|
+
vertical-align: top;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.picker-values {
|
|
90
|
+
@extend .tags;
|
|
91
|
+
margin-top: 0.62rem !important;
|
|
92
|
+
margin-bottom: 1rem;
|
|
93
|
+
&:empty {
|
|
94
|
+
margin-bottom: 0;
|
|
95
|
+
}
|
|
96
|
+
.label.primary {
|
|
97
|
+
background-color: var(--grey2);
|
|
98
|
+
color: var(--primary);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
#data_picker-modal {
|
|
104
|
+
height: 90%;
|
|
105
|
+
|
|
106
|
+
.data_picker-modal-content {
|
|
107
|
+
display: flex;
|
|
108
|
+
flex-direction: column;
|
|
109
|
+
max-height: 100%;
|
|
110
|
+
min-height: 100%;
|
|
111
|
+
|
|
112
|
+
.picker-content {
|
|
113
|
+
flex-grow: 10;
|
|
114
|
+
min-height: 100%;
|
|
115
|
+
max-height: 100%;
|
|
116
|
+
overflow: auto;
|
|
117
|
+
|
|
118
|
+
.picker-scrollable-content {
|
|
119
|
+
max-height: 100%;
|
|
120
|
+
overflow: auto;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.picker-list {
|
|
127
|
+
ul {
|
|
128
|
+
margin-left: 0;
|
|
129
|
+
|
|
130
|
+
li {
|
|
131
|
+
list-style: none;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.scope-picker {
|
|
137
|
+
&.picker-header {
|
|
138
|
+
padding: rem-calc(16);
|
|
139
|
+
padding-left: 1rem;
|
|
140
|
+
ul {
|
|
141
|
+
display: flex;
|
|
142
|
+
}
|
|
143
|
+
li:hover {
|
|
144
|
+
background: transparent;
|
|
145
|
+
}
|
|
146
|
+
li a::before,
|
|
147
|
+
li ~ li a::before {
|
|
148
|
+
display: none;
|
|
149
|
+
}
|
|
150
|
+
li a::after,
|
|
151
|
+
li ~ li a::after {
|
|
152
|
+
content: $breadcrumbs-item-separator-item;
|
|
153
|
+
width: 10px;
|
|
154
|
+
height: 2em;
|
|
155
|
+
color: var(--emphasis-lowest);
|
|
156
|
+
text-align: center;
|
|
157
|
+
font-weight: 300;
|
|
158
|
+
padding-left: 6px;
|
|
159
|
+
text-decoration: none !important;
|
|
160
|
+
padding-right: 6px;
|
|
161
|
+
float: none;
|
|
162
|
+
}
|
|
163
|
+
li:only-child {
|
|
164
|
+
display: none;
|
|
165
|
+
}
|
|
166
|
+
li:last-child a {
|
|
167
|
+
cursor: default;
|
|
168
|
+
text-decoration: none; /* last active selection */
|
|
169
|
+
color: var(--emphasis-med);
|
|
170
|
+
padding-left: 0;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
a {
|
|
174
|
+
display: block;
|
|
175
|
+
@extend .body-4-link;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
.buttons {
|
|
179
|
+
display: flex;
|
|
180
|
+
flex-direction: row-reverse;
|
|
181
|
+
gap: 16;
|
|
182
|
+
.button.muted {
|
|
183
|
+
@extend .btn--disabled;
|
|
184
|
+
}
|
|
185
|
+
.button:first-child:not(.muted) {
|
|
186
|
+
@extend .btn--primary;
|
|
187
|
+
}
|
|
188
|
+
.button {
|
|
189
|
+
@extend .btn--large;
|
|
190
|
+
margin-bottom: 0;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
&.picker-content {
|
|
195
|
+
.picker-scrollable-content {
|
|
196
|
+
scroll-snap-type: mandatory;
|
|
197
|
+
|
|
198
|
+
a {
|
|
199
|
+
@extend .body-4;
|
|
200
|
+
@extend .body-4-link;
|
|
201
|
+
scroll-snap-coordinate: 0 0;
|
|
202
|
+
display: block;
|
|
203
|
+
border-radius: $global-radius;
|
|
204
|
+
border-top: none;
|
|
205
|
+
padding: rem-calc(16);
|
|
206
|
+
|
|
207
|
+
&:hover,
|
|
208
|
+
&:focus {
|
|
209
|
+
background: var(--white);
|
|
210
|
+
text-decoration: none !important;
|
|
211
|
+
outline: none;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
#participatory-space-filters {
|
|
219
|
+
margin-bottom: 1rem;
|
|
220
|
+
legend {
|
|
221
|
+
float: left;
|
|
222
|
+
padding-top: 10px;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.picker-prompt,
|
|
226
|
+
select {
|
|
227
|
+
width: 75%;
|
|
228
|
+
float: right;
|
|
229
|
+
min-height: 35.58px;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.filters__section {
|
|
233
|
+
padding: 0;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.picker-values {
|
|
237
|
+
clear: both;
|
|
238
|
+
|
|
239
|
+
div {
|
|
240
|
+
display: inline-block;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
$border: 1px solid var(--grey2);
|
|
2
|
+
.definition-data {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-wrap: wrap;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.definition-data__item {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
gap: 0.25rem;
|
|
11
|
+
padding: 0.75rem 0.5rem;
|
|
12
|
+
border-bottom: $border;
|
|
13
|
+
flex-basis: 100%;
|
|
14
|
+
width: 100%;
|
|
15
|
+
|
|
16
|
+
&:last-child {
|
|
17
|
+
border-bottom: 0;
|
|
18
|
+
}
|
|
19
|
+
.ql-editor-display,
|
|
20
|
+
.ql-editor.ql-reset-decidim {
|
|
21
|
+
text-align: center;
|
|
22
|
+
}
|
|
23
|
+
&.social_networks {
|
|
24
|
+
a {
|
|
25
|
+
text-align: center;
|
|
26
|
+
display: block;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
a:hover {
|
|
30
|
+
text-decoration: underline;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.expanded {
|
|
35
|
+
display: flex;
|
|
36
|
+
justify-content: space-between;
|
|
37
|
+
|
|
38
|
+
> :first-child {
|
|
39
|
+
flex: 1 1 80%;
|
|
40
|
+
min-width: 0;
|
|
41
|
+
|
|
42
|
+
div {
|
|
43
|
+
display: inline;
|
|
44
|
+
|
|
45
|
+
@include ellipsis();
|
|
46
|
+
|
|
47
|
+
.author__name {
|
|
48
|
+
// Allow the ellipsis, otherwise it's not shown
|
|
49
|
+
display: inherit;
|
|
50
|
+
@extend .body-4;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
> :last-child {
|
|
56
|
+
flex: 1 0 40%;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@include flexgap(0.5rem);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.definition-data__item--double {
|
|
64
|
+
display: inline-block;
|
|
65
|
+
flex-basis: 100%;
|
|
66
|
+
width: 100%;
|
|
67
|
+
border-right: 0;
|
|
68
|
+
|
|
69
|
+
&:nth-of-type(even) {
|
|
70
|
+
border-right: 0;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.definition-data__title {
|
|
75
|
+
display: block;
|
|
76
|
+
letter-spacing: inherit;
|
|
77
|
+
margin-bottom: 0;
|
|
78
|
+
@extend .mini-title;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.definition-data__number {
|
|
82
|
+
font-weight: normal;
|
|
83
|
+
@extend .body-4;
|
|
84
|
+
margin-bottom: 0;
|
|
85
|
+
color: var(--emphasis-med);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.definition-data__text {
|
|
89
|
+
font-weight: normal;
|
|
90
|
+
@extend .body-4;
|
|
91
|
+
margin-bottom: 0;
|
|
92
|
+
color: var(--emphasis-med);
|
|
93
|
+
}
|