decidim-theme 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE-AGPLv3.txt +661 -0
  3. data/README.md +104 -0
  4. data/Rakefile +9 -0
  5. data/app/cells/decidim/meetings/meeting_cell.rb +65 -0
  6. data/app/cells/decidim/meetings/meeting_s_overrides/show.erb +25 -0
  7. data/app/cells/decidim/meetings/meeting_s_overrides_cell.rb +53 -0
  8. data/app/controllers/decidim/theme/admin/application_controller.rb +15 -0
  9. data/app/controllers/decidim/theme/application_controller.rb +13 -0
  10. data/app/helpers/decidim/theme/application_helper.rb +10 -0
  11. data/app/models/decidim/theme/application_record.rb +10 -0
  12. data/app/overrides/insert_javascript_tag.rb +6 -0
  13. data/app/overrides/language_chooser_icon.rb +4 -0
  14. data/app/overrides/layouts/decidim/_main_footer/replace_content.html.erb.deface +96 -0
  15. data/app/overrides/layouts/decidim/_mini_footer/replace_content.html.erb.deface +25 -0
  16. data/app/overrides/mailer_styles.rb +36 -0
  17. data/app/overrides/prefix_body.rb +10 -0
  18. data/app/overrides/prefix_classes.rb +63 -0
  19. data/app/overrides/prefix_processes_wrapper.rb +10 -0
  20. data/app/packs/entrypoints/decidim_theme_email.js +1 -0
  21. data/app/packs/entrypoints/decidim_theme_email.scss +2 -0
  22. data/app/packs/entrypoints/decidim_theme_polyfill.js +5 -0
  23. data/app/packs/fonts/decidim/Inter-Black.woff +0 -0
  24. data/app/packs/fonts/decidim/Inter-Black.woff2 +0 -0
  25. data/app/packs/fonts/decidim/Inter-BlackItalic.woff +0 -0
  26. data/app/packs/fonts/decidim/Inter-BlackItalic.woff2 +0 -0
  27. data/app/packs/fonts/decidim/Inter-Bold.woff +0 -0
  28. data/app/packs/fonts/decidim/Inter-Bold.woff2 +0 -0
  29. data/app/packs/fonts/decidim/Inter-BoldItalic.woff +0 -0
  30. data/app/packs/fonts/decidim/Inter-BoldItalic.woff2 +0 -0
  31. data/app/packs/fonts/decidim/Inter-ExtraBold.woff +0 -0
  32. data/app/packs/fonts/decidim/Inter-ExtraBold.woff2 +0 -0
  33. data/app/packs/fonts/decidim/Inter-ExtraBoldItalic.woff +0 -0
  34. data/app/packs/fonts/decidim/Inter-ExtraBoldItalic.woff2 +0 -0
  35. data/app/packs/fonts/decidim/Inter-ExtraLight.woff +0 -0
  36. data/app/packs/fonts/decidim/Inter-ExtraLight.woff2 +0 -0
  37. data/app/packs/fonts/decidim/Inter-ExtraLightItalic.woff +0 -0
  38. data/app/packs/fonts/decidim/Inter-ExtraLightItalic.woff2 +0 -0
  39. data/app/packs/fonts/decidim/Inter-Italic.woff +0 -0
  40. data/app/packs/fonts/decidim/Inter-Italic.woff2 +0 -0
  41. data/app/packs/fonts/decidim/Inter-Light.woff +0 -0
  42. data/app/packs/fonts/decidim/Inter-Light.woff2 +0 -0
  43. data/app/packs/fonts/decidim/Inter-LightItalic.woff +0 -0
  44. data/app/packs/fonts/decidim/Inter-LightItalic.woff2 +0 -0
  45. data/app/packs/fonts/decidim/Inter-Medium.woff +0 -0
  46. data/app/packs/fonts/decidim/Inter-Medium.woff2 +0 -0
  47. data/app/packs/fonts/decidim/Inter-MediumItalic.woff +0 -0
  48. data/app/packs/fonts/decidim/Inter-MediumItalic.woff2 +0 -0
  49. data/app/packs/fonts/decidim/Inter-Regular.woff +0 -0
  50. data/app/packs/fonts/decidim/Inter-Regular.woff2 +0 -0
  51. data/app/packs/fonts/decidim/Inter-SemiBold.woff +0 -0
  52. data/app/packs/fonts/decidim/Inter-SemiBold.woff2 +0 -0
  53. data/app/packs/fonts/decidim/Inter-SemiBoldItalic.woff +0 -0
  54. data/app/packs/fonts/decidim/Inter-SemiBoldItalic.woff2 +0 -0
  55. data/app/packs/fonts/decidim/Inter-Thin.woff +0 -0
  56. data/app/packs/fonts/decidim/Inter-Thin.woff2 +0 -0
  57. data/app/packs/fonts/decidim/Inter-ThinItalic.woff +0 -0
  58. data/app/packs/fonts/decidim/Inter-ThinItalic.woff2 +0 -0
  59. data/app/packs/fonts/decidim/Inter-italic.var.woff2 +0 -0
  60. data/app/packs/fonts/decidim/Inter-roman.var.woff2 +0 -0
  61. data/app/packs/fonts/decidim/Inter.var.woff2 +0 -0
  62. data/app/packs/images/decidim/cc-by-sa-4.svg +8 -0
  63. data/app/packs/images/decidim/decidim-initial.svg +9 -0
  64. data/app/packs/images/decidim/theme/icon.svg +1 -0
  65. data/app/packs/javascripts/empty.polyfill.js +7 -0
  66. data/app/packs/javascripts/has.polyfill.js +30 -0
  67. data/app/packs/stylesheets/decidim/theme/_font_face.scss +180 -0
  68. data/app/packs/stylesheets/decidim/theme/_theme.scss +121 -0
  69. data/app/packs/stylesheets/decidim/theme/_theme_settings.scss +923 -0
  70. data/app/packs/stylesheets/decidim/theme/_theme_variables.scss +80 -0
  71. data/app/packs/stylesheets/decidim/theme/atoms/Buttons/_Generic.scss +98 -0
  72. data/app/packs/stylesheets/decidim/theme/atoms/Buttons/_Misc.scss +115 -0
  73. data/app/packs/stylesheets/decidim/theme/atoms/Buttons/_Navigation.scss +83 -0
  74. data/app/packs/stylesheets/decidim/theme/atoms/Typography/_Body.scss +88 -0
  75. data/app/packs/stylesheets/decidim/theme/atoms/Typography/_Headline.scss +98 -0
  76. data/app/packs/stylesheets/decidim/theme/atoms/Typography/_mixins.scss +109 -0
  77. data/app/packs/stylesheets/decidim/theme/email.scss +41 -0
  78. data/app/packs/stylesheets/decidim/theme/molecules/Callouts/_default.scss +41 -0
  79. data/app/packs/stylesheets/decidim/theme/molecules/Cards/_card_process.scss +24 -0
  80. data/app/packs/stylesheets/decidim/theme/molecules/Cards/_data-item.scss +31 -0
  81. data/app/packs/stylesheets/decidim/theme/molecules/Cards/_documents.scss +46 -0
  82. data/app/packs/stylesheets/decidim/theme/molecules/Cards/_extra.scss +32 -0
  83. data/app/packs/stylesheets/decidim/theme/molecules/Cards/_upcoming_meetings.scss +47 -0
  84. data/app/packs/stylesheets/decidim/theme/organisms/_account.scss +129 -0
  85. data/app/packs/stylesheets/decidim/theme/organisms/_accountability.scss +119 -0
  86. data/app/packs/stylesheets/decidim/theme/organisms/_assembly.scss +5 -0
  87. data/app/packs/stylesheets/decidim/theme/organisms/_authorizations.scss +25 -0
  88. data/app/packs/stylesheets/decidim/theme/organisms/_blog.scss +77 -0
  89. data/app/packs/stylesheets/decidim/theme/organisms/_budgets.scss +221 -0
  90. data/app/packs/stylesheets/decidim/theme/organisms/_cookie_warning.scss +6 -0
  91. data/app/packs/stylesheets/decidim/theme/organisms/_debate.scss +65 -0
  92. data/app/packs/stylesheets/decidim/theme/organisms/_footer.scss +145 -0
  93. data/app/packs/stylesheets/decidim/theme/organisms/_groups.scss +49 -0
  94. data/app/packs/stylesheets/decidim/theme/organisms/_logins.scss +45 -0
  95. data/app/packs/stylesheets/decidim/theme/organisms/_meetings.scss +214 -0
  96. data/app/packs/stylesheets/decidim/theme/organisms/_members.scss +6 -0
  97. data/app/packs/stylesheets/decidim/theme/organisms/_messaging.scss +118 -0
  98. data/app/packs/stylesheets/decidim/theme/organisms/_metrics.scss +31 -0
  99. data/app/packs/stylesheets/decidim/theme/organisms/_notifications.scss +20 -0
  100. data/app/packs/stylesheets/decidim/theme/organisms/_processes.scss +12 -0
  101. data/app/packs/stylesheets/decidim/theme/organisms/_proposals.scss +150 -0
  102. data/app/packs/stylesheets/decidim/theme/organisms/_search.scss +12 -0
  103. data/app/packs/stylesheets/decidim/theme/organisms/_sortitions.scss +65 -0
  104. data/app/packs/stylesheets/decidim/theme/organisms/_surveys.scss +65 -0
  105. data/app/packs/stylesheets/decidim/theme/organisms/_text_page.scss +115 -0
  106. data/app/packs/stylesheets/decidim/theme/organisms/_user_conversations.scss +7 -0
  107. data/app/packs/stylesheets/decidim/theme/reset/_author.scss +36 -0
  108. data/app/packs/stylesheets/decidim/theme/reset/_author_avatar.scss +182 -0
  109. data/app/packs/stylesheets/decidim/theme/reset/_badges.scss +159 -0
  110. data/app/packs/stylesheets/decidim/theme/reset/_base.scss +543 -0
  111. data/app/packs/stylesheets/decidim/theme/reset/_budget-list.scss +202 -0
  112. data/app/packs/stylesheets/decidim/theme/reset/_budget-meter.scss +85 -0
  113. data/app/packs/stylesheets/decidim/theme/reset/_buttons.scss +538 -0
  114. data/app/packs/stylesheets/decidim/theme/reset/_callout.scss +37 -0
  115. data/app/packs/stylesheets/decidim/theme/reset/_card.scss +1480 -0
  116. data/app/packs/stylesheets/decidim/theme/reset/_categories.scss +130 -0
  117. data/app/packs/stylesheets/decidim/theme/reset/_collapsible.scss +59 -0
  118. data/app/packs/stylesheets/decidim/theme/reset/_columns.scss +8 -0
  119. data/app/packs/stylesheets/decidim/theme/reset/_comments.scss +320 -0
  120. data/app/packs/stylesheets/decidim/theme/reset/_conversation.scss +158 -0
  121. data/app/packs/stylesheets/decidim/theme/reset/_data-consent.scss +133 -0
  122. data/app/packs/stylesheets/decidim/theme/reset/_data-picker.scss +243 -0
  123. data/app/packs/stylesheets/decidim/theme/reset/_definition_data.scss +93 -0
  124. data/app/packs/stylesheets/decidim/theme/reset/_docs-manager.scss +16 -0
  125. data/app/packs/stylesheets/decidim/theme/reset/_dropdown_menu.scss +312 -0
  126. data/app/packs/stylesheets/decidim/theme/reset/_errors.scss +87 -0
  127. data/app/packs/stylesheets/decidim/theme/reset/_extra.scss +56 -0
  128. data/app/packs/stylesheets/decidim/theme/reset/_filters.scss +224 -0
  129. data/app/packs/stylesheets/decidim/theme/reset/_floating_helper.scss +133 -0
  130. data/app/packs/stylesheets/decidim/theme/reset/_form.scss +176 -0
  131. data/app/packs/stylesheets/decidim/theme/reset/_home.scss +416 -0
  132. data/app/packs/stylesheets/decidim/theme/reset/_home_section.scss +23 -0
  133. data/app/packs/stylesheets/decidim/theme/reset/_horizontal-tabs.scss +130 -0
  134. data/app/packs/stylesheets/decidim/theme/reset/_icons.scss +3 -0
  135. data/app/packs/stylesheets/decidim/theme/reset/_inline-filters.scss +77 -0
  136. data/app/packs/stylesheets/decidim/theme/reset/_label.scss +79 -0
  137. data/app/packs/stylesheets/decidim/theme/reset/_labels.scss +53 -0
  138. data/app/packs/stylesheets/decidim/theme/reset/_layout.scss +82 -0
  139. data/app/packs/stylesheets/decidim/theme/reset/_lines_breadcrumb.scss +38 -0
  140. data/app/packs/stylesheets/decidim/theme/reset/_login.scss +3 -0
  141. data/app/packs/stylesheets/decidim/theme/reset/_logo_wrapper.scss +28 -0
  142. data/app/packs/stylesheets/decidim/theme/reset/_main_container.scss +96 -0
  143. data/app/packs/stylesheets/decidim/theme/reset/_metric-chart.scss +25 -0
  144. data/app/packs/stylesheets/decidim/theme/reset/_navbar.scss +763 -0
  145. data/app/packs/stylesheets/decidim/theme/reset/_opinion_toggle.scss +55 -0
  146. data/app/packs/stylesheets/decidim/theme/reset/_order-by.scss +34 -0
  147. data/app/packs/stylesheets/decidim/theme/reset/_org-chart.scss +6 -0
  148. data/app/packs/stylesheets/decidim/theme/reset/_pagination.scss +195 -0
  149. data/app/packs/stylesheets/decidim/theme/reset/_process.scss +20 -0
  150. data/app/packs/stylesheets/decidim/theme/reset/_process_header.scss +97 -0
  151. data/app/packs/stylesheets/decidim/theme/reset/_process_header_phase.scss +13 -0
  152. data/app/packs/stylesheets/decidim/theme/reset/_process_nav.scss +317 -0
  153. data/app/packs/stylesheets/decidim/theme/reset/_progress_bar.scss +89 -0
  154. data/app/packs/stylesheets/decidim/theme/reset/_quill.scss +47 -0
  155. data/app/packs/stylesheets/decidim/theme/reset/_result_per_page.scss +82 -0
  156. data/app/packs/stylesheets/decidim/theme/reset/_results.scss +158 -0
  157. data/app/packs/stylesheets/decidim/theme/reset/_reveal.scss +210 -0
  158. data/app/packs/stylesheets/decidim/theme/reset/_scope-picker.scss +10 -0
  159. data/app/packs/stylesheets/decidim/theme/reset/_select.scss +92 -0
  160. data/app/packs/stylesheets/decidim/theme/reset/_signup.scss +179 -0
  161. data/app/packs/stylesheets/decidim/theme/reset/_statistics.scss +42 -0
  162. data/app/packs/stylesheets/decidim/theme/reset/_switch.scss +272 -0
  163. data/app/packs/stylesheets/decidim/theme/reset/_tabs.scss +4 -0
  164. data/app/packs/stylesheets/decidim/theme/reset/_tags.scss +47 -0
  165. data/app/packs/stylesheets/decidim/theme/reset/_thumbnail.scss +66 -0
  166. data/app/packs/stylesheets/decidim/theme/reset/_timeline.scss +183 -0
  167. data/app/packs/stylesheets/decidim/theme/reset/_title_bar.scss +89 -0
  168. data/app/packs/stylesheets/decidim/theme/reset/_toggle.scss +14 -0
  169. data/app/packs/stylesheets/decidim/theme/reset/_tooltip.scss +173 -0
  170. data/app/packs/stylesheets/decidim/theme/reset/_typography.scss +283 -0
  171. data/app/packs/stylesheets/decidim/theme/reset/_upload_modal.scss +140 -0
  172. data/app/packs/stylesheets/decidim/theme/reset/_user-form.scss +15 -0
  173. data/app/packs/stylesheets/decidim/theme/reset/_user.scss +184 -0
  174. data/app/packs/stylesheets/decidim/theme/reset/_versions.scss +82 -0
  175. data/app/packs/stylesheets/decidim/theme/reset/_wrapper.scss +3 -0
  176. data/config/assets.rb +17 -0
  177. data/config/i18n-tasks.yml +10 -0
  178. data/config/locales/en.yml +62 -0
  179. data/config/locales/fr.yml +11 -0
  180. data/lib/decidim/theme/admin.rb +10 -0
  181. data/lib/decidim/theme/admin_engine.rb +27 -0
  182. data/lib/decidim/theme/engine.rb +29 -0
  183. data/lib/decidim/theme/test/factories.rb +13 -0
  184. data/lib/decidim/theme/version.rb +13 -0
  185. data/lib/decidim/theme.rb +12 -0
  186. metadata +271 -0
@@ -0,0 +1,214 @@
1
+ .m_meetings-meetings {
2
+ &.m_meetings-meetings--new,
3
+ &.m_meetings-meetings--edit {
4
+ .meetings_form {
5
+ padding: 1rem;
6
+ }
7
+
8
+ .form-error {
9
+ transform: translateY(-7px);
10
+ }
11
+ .data-picker .picker-values:empty {
12
+ display: none;
13
+ }
14
+
15
+ label,
16
+ .field > label {
17
+ margin-bottom: 0;
18
+ }
19
+ & > .field,
20
+ & > .row.column {
21
+ margin-bottom: 0.5rem;
22
+ }
23
+ .actions {
24
+ margin-top: 1rem;
25
+ }
26
+ .picker-values {
27
+ padding: 0;
28
+ margin-top: 0 !important;
29
+ }
30
+ }
31
+
32
+ &.m_meetings-meetings--show {
33
+ @include breakpoint(medium) {
34
+ .extra__date-container {
35
+ display: flex;
36
+ align-items: center;
37
+ justify-content: center;
38
+ flex-wrap: wrap;
39
+ & > .extra__date {
40
+ min-width: 100%;
41
+ }
42
+ & > svg {
43
+ margin-left: 1rem;
44
+ margin-right: 1rem;
45
+ }
46
+ }
47
+ }
48
+ .author-data__extra a {
49
+ text-wrap: no-wrap;
50
+ }
51
+ .author-data__extra a:first-of-type {
52
+ display: none;
53
+ }
54
+ .section .card--list__text .author-data {
55
+ width: 100%;
56
+ .author-data__main {
57
+ width: 100%;
58
+ display: block;
59
+ }
60
+ .author.author--inline,
61
+ .author.author--inline a {
62
+ width: 100%;
63
+ }
64
+ }
65
+ .section .card--list__text .icon--actions.icon {
66
+ color: var(--green);
67
+ }
68
+
69
+ @include breakpoint(small only) {
70
+ .follow-button {
71
+ margin-bottom: 1rem;
72
+ text-wrap: nowrap;
73
+ }
74
+ }
75
+
76
+ .share-link {
77
+ margin-bottom: 0.5rem;
78
+ }
79
+ .address__info {
80
+ margin-top: 1rem;
81
+ margin-bottom: 1rem;
82
+ }
83
+ .address__info .address__icon {
84
+ margin-right: 0.5rem;
85
+ .icon--meetings.icon {
86
+ width: 26px;
87
+ height: 26px;
88
+ }
89
+ }
90
+ .author-data__extra > span {
91
+ display: none;
92
+ }
93
+ .author-data__extra > button {
94
+ @extend .body-4;
95
+ @extend .body-4-link;
96
+ padding-left: 1rem;
97
+ .icon--small {
98
+ width: 16px;
99
+ height: 16px;
100
+ }
101
+ }
102
+
103
+ .card.extra .card__content {
104
+ text-align: center;
105
+ align-items: center;
106
+ justify-content: center;
107
+ .registration_code {
108
+ strong {
109
+ display: inline-block;
110
+ @extend .body-2;
111
+ margin-top: 0.5rem;
112
+ margin-bottom: 1rem;
113
+ color: var(--emphasis-high);
114
+ }
115
+
116
+ .text-small {
117
+ @extend .card__data-item__label;
118
+ }
119
+ }
120
+ }
121
+ }
122
+ }
123
+ .m_meetings-meetings.m_meetings-meetings--index,
124
+ .o-meetings--index {
125
+ .dropdown.menu {
126
+ transform: translateY(2px);
127
+ }
128
+ .card {
129
+ background: white;
130
+ border-color: var(--grey2);
131
+ border-width: 1px;
132
+ border-style: solid;
133
+ padding-top: 0rem;
134
+ padding-bottom: 0.5rem;
135
+ }
136
+ .button.calendar {
137
+ @extend .btn;
138
+ @extend .btn--primary;
139
+ @extend .btn--small;
140
+ margin-bottom: 1rem;
141
+ margin-top: 1rem;
142
+ align-items: center;
143
+ }
144
+ @include breakpoint(small only) {
145
+ .button.calendar {
146
+ float: none !important;
147
+ }
148
+ .title-action {
149
+ flex-direction: column;
150
+ align-items: flex-start;
151
+ gap: 0.5rem;
152
+ margin-bottom: 0;
153
+ }
154
+ .results-per-page {
155
+ margin-bottom: 0;
156
+ }
157
+ .filters-controls {
158
+ margin-bottom: 0.5rem;
159
+ }
160
+ }
161
+ @include filters-area;
162
+ .columns .row:last-child {
163
+ .text-right {
164
+ text-align: left !important;
165
+ padding-left: 1rem;
166
+ }
167
+ }
168
+ }
169
+ .card--meeting {
170
+ .m_proposals-proposals--show & {
171
+ padding: 1.5rem 1rem 1rem;
172
+ .card__datetime{
173
+ border-left: 0 !important;
174
+ padding-left: 0;
175
+ background-color: transparent;
176
+ margin-top: -0.8em;
177
+ margin-bottom: 0.5rem;
178
+ &, .card__datetime__date, .card__datetime__month, .card__datetime__time {
179
+ @extend .body-5;
180
+ }
181
+ }
182
+ }
183
+ .card__header {
184
+ margin-top: 1.5rem;
185
+ width: 100%;
186
+ }
187
+ .card__text:not(:last-child) {
188
+ margin-bottom: 0;
189
+ }
190
+ .follow_status {
191
+ flex: 0.66;
192
+ }
193
+ .card__button {
194
+ flex: 0;
195
+ }
196
+ .card-data__item--multiple > div {
197
+ @extend .mini-title;
198
+ margin-bottom: 0 !important;
199
+ &,
200
+ & strong {
201
+ @extend .card__data-item__label;
202
+ @extend .body-6;
203
+ }
204
+ }
205
+ }
206
+
207
+ .o-registrations {
208
+ .o_participatory_process > .row:first-child > .section-heading {
209
+ width: 50%;
210
+ margin-left: auto;
211
+ margin-top: auto;
212
+ padding-left: 0.5rem;
213
+ }
214
+ }
@@ -0,0 +1,6 @@
1
+ .card--member {
2
+ padding-top: 1rem;
3
+ .text-small.mt-s {
4
+ color: var(--emphasis-low);
5
+ }
6
+ }
@@ -0,0 +1,118 @@
1
+ .m_messaging-conversations {
2
+ min-height: 60vh;
3
+ .unread_message__counter {
4
+ position: absolute;
5
+ top: 1.3rem;
6
+ right: 0rem;
7
+ margin-right: 0.9rem;
8
+ }
9
+ }
10
+ .m_messaging-conversations.m_messaging-conversations--show {
11
+ min-height: 20vh;
12
+ }
13
+ .m_messaging-conversations,
14
+ .tabs-panel.conversations {
15
+ .card--list__author {
16
+ display: block;
17
+ .author-data__main,
18
+ .author.author--flex,
19
+ .author__name--container {
20
+ width: 100%;
21
+ min-width: 100%;
22
+ }
23
+ .author.author--flex {
24
+ .author__avatar {
25
+ flex: 1;
26
+ }
27
+ > div:last-child {
28
+ flex: 6;
29
+ }
30
+ }
31
+ }
32
+ .title-action {
33
+ &:not(.columns) {
34
+ margin-bottom: 2rem;
35
+ }
36
+ h1.heading1.title-action__title {
37
+ @extend .heading-3;
38
+ font-weight: normal;
39
+ }
40
+ h4.heading4 {
41
+ @extend .body-2;
42
+ font-weight: normal;
43
+ margin-left: 1rem;
44
+ margin-bottom: 0;
45
+ }
46
+ }
47
+ button.button {
48
+ @extend .btn;
49
+ @extend .btn--primary;
50
+ cursor: pointer;
51
+ }
52
+
53
+ .card--widget {
54
+ margin-bottom: 0;
55
+ border-radius: 0;
56
+ border-bottom: 1px solid var(--grey2);
57
+ &:last-child {
58
+ border-bottom: 0;
59
+ }
60
+ &:first-child,
61
+ &:last-child {
62
+ border-radius: $global-radius;
63
+ }
64
+ &:first-child:not(:last-child) {
65
+ border-bottom-left-radius: 0;
66
+ border-bottom-right-radius: 0;
67
+ }
68
+ &:last-child:not(:first-child) {
69
+ border-top-left-radius: 0;
70
+ border-top-right-radius: 0;
71
+ }
72
+ .card__link {
73
+ @extend .body-6;
74
+ }
75
+ div.card__link {
76
+ cursor: normal;
77
+ color: var(--emphasis-med);
78
+ }
79
+ .card-data .card-data__item:first-child {
80
+ background-color: var(--white);
81
+ margin-right: 1.5rem;
82
+ margin-left: 1.5rem;
83
+ }
84
+ .card-data .card-data__item:hover {
85
+ text-decoration: none !important;
86
+ cursor: normal;
87
+ }
88
+ .card-data__item.card--list__item.card-data__item--expand {
89
+ margin-left: 1.5rem;
90
+ > div {
91
+ @extend .body-5;
92
+ strong {
93
+ width: auto;
94
+ @extend .body-5;
95
+ @extend .body-5-medium;
96
+ text-transform: none;
97
+ letter-spacing: normal;
98
+ color: var(--emphasis-low);
99
+ }
100
+ & > strong {
101
+ color: var(--emphasis-high);
102
+ }
103
+ & > .muted,
104
+ & > .text-small {
105
+ margin-top: 0.5rem;
106
+ display: inline-block;
107
+ }
108
+ & > .text-small {
109
+ @extend .body-5;
110
+ color: var(--emphasis-med);
111
+ strong {
112
+ color: var(--emphasis-high);
113
+ }
114
+ }
115
+ }
116
+ }
117
+ }
118
+ }
@@ -0,0 +1,31 @@
1
+ #metrics {
2
+ #metrics .column:last-child:not(:first-child),
3
+ #metrics .columns:last-child:not(:first-child),
4
+ #metrics .pull-right {
5
+ float: left;
6
+ }
7
+ & > .row.mb-sm {
8
+ max-width: 72% !important;
9
+ margin-bottom: 48px !important;
10
+ }
11
+ .metric-title {
12
+ margin-top: rem-calc(32);
13
+ @extend .heading-4;
14
+ color: var(--emphasis-med);
15
+ }
16
+ .metric-description {
17
+ color: var(--emphasis-med);
18
+ @extend .body-4;
19
+ }
20
+ .metric-description + .pull-right .text-small {
21
+ @extend .body-4;
22
+ }
23
+ .pull-right,
24
+ .column:last-child:not(:first-child),
25
+ .columns:last-child:not(:first-child) {
26
+ float: none;
27
+ }
28
+ .row.column.text-center {
29
+ text-align: left !important;
30
+ }
31
+ }
@@ -0,0 +1,20 @@
1
+ .m_notifications {
2
+ min-height: 60vh;
3
+ .card.card--widget .card_data {
4
+ padding-left: 0;
5
+ .card-data__item {
6
+ &:first-child {
7
+ border-top-left-radius: $global-radius;
8
+ border-bottom-left-radius: $global-radius;
9
+ }
10
+ &.card-data__item--expand.absolutes > div:last-child {
11
+ position: absolute;
12
+ top: 2.3rem;
13
+ right: 0;
14
+ }
15
+ }
16
+ .card-data__item:hover {
17
+ text-decoration: none;
18
+ }
19
+ }
20
+ }
@@ -0,0 +1,12 @@
1
+ .o-participatory_process_groups.o-participatory_process_groups--show {
2
+ .section .row .column.text-muted:has(.icon--grid-three-up) {
3
+ display: none;
4
+ }
5
+ .wrapper .section:first-child .ql-editor.ql-reset-decidim {
6
+ padding-bottom: 0.5rem;
7
+ display: inline-block;
8
+ }
9
+ .section .row .mb-s.text-muted {
10
+ margin-bottom: 0.5rem !important;
11
+ }
12
+ }
@@ -0,0 +1,150 @@
1
+ .m_proposals-proposals.m_proposals-proposals--preview {
2
+ .columns.large-9 > .card.card__content {
3
+ padding: 1rem;
4
+ .heading3 {
5
+ margin-bottom: 0;
6
+ }
7
+ .author--inline {
8
+ margin-bottom: 1rem;
9
+ }
10
+ }
11
+ [type="submit"].button.small {
12
+ @extend .btn;
13
+ @extend .btn--primary;
14
+ padding: 20px 80px !important;
15
+ height: 53px !important;
16
+ }
17
+ }
18
+ .m_proposals-proposals.m_proposals-proposals--new,
19
+ .m_proposals-proposals.m_proposals-proposals--complete,
20
+ .m_proposals-proposals.m_proposals-proposals--preview,
21
+ .o-proposals--edit_draft {
22
+ .columns.large-3 {
23
+ & > .section {
24
+ display: none;
25
+ }
26
+ & > .show-for-large {
27
+ & > div:first-child {
28
+ display: none;
29
+ }
30
+ & .text-small {
31
+ margin-top: 2.1rem;
32
+ margin-bottom: 0.5rem;
33
+ display: block;
34
+ @extend .mini-title;
35
+ }
36
+ }
37
+ .wizard__steps {
38
+ & > li {
39
+ @extend .body-4;
40
+ }
41
+ & > li::before {
42
+ margin: 5px 4px 0 -6px;
43
+ }
44
+ & > li.step--past,
45
+ & > li:not(.step--active) {
46
+ color: var(--grey5);
47
+ border-left-color: var(--grey5);
48
+ &::before {
49
+ background-color: var(--grey5);
50
+ }
51
+ }
52
+ }
53
+ }
54
+ .columns.large-6 {
55
+ form {
56
+ padding: 1rem;
57
+ label {
58
+ margin-bottom: 0 !important;
59
+ }
60
+ .field > .data-picker .picker-values {
61
+ padding: 0 !important;
62
+ margin: 0 !important;
63
+ }
64
+
65
+ [type="submit"].button.small {
66
+ @extend .btn;
67
+ @extend .btn--primary;
68
+ padding: 20px 80px !important;
69
+ height: 53px !important;
70
+ }
71
+
72
+ .row.column {
73
+ margin-top: 1rem;
74
+ }
75
+ }
76
+ }
77
+ }
78
+ .m_proposals-proposals.m_proposals-proposals--index {
79
+ @include filters-area;
80
+ #list-of-endorsements {
81
+ .author-data.author-data--small {
82
+ margin-bottom: 0.5rem;
83
+ }
84
+ }
85
+
86
+ .dropdown.menu {
87
+ transform: translateY(2px);
88
+ }
89
+ @include breakpoint(small only) {
90
+ .title-action {
91
+ display: flex;
92
+ flex-direction: column;
93
+ gap: 0.5rem;
94
+ align-items: flex-start;
95
+ a {
96
+ margin-left: 0 !important;
97
+ }
98
+ }
99
+ }
100
+ }
101
+ .m_proposals-proposals.m_proposals-proposals--show {
102
+ .view-side > a:first-of-type {
103
+ margin-bottom: 1.5rem;
104
+ @extend .btn--primary;
105
+ width: 100%;
106
+ &:hover,
107
+ &:focus {
108
+ background-color: var(--primary-dark) !important;
109
+ color: var(--on-primary) !important;
110
+ }
111
+ }
112
+ .author-data__extra .link-alt {
113
+ @extend .body-4;
114
+ @extend .body-4-link;
115
+ .icon {
116
+ width: 12px;
117
+ height: 12px;
118
+ }
119
+ }
120
+ .tags--list {
121
+ margin-top: 1rem;
122
+ }
123
+ .view-side {
124
+ br {
125
+ display: none;
126
+ }
127
+ .buttons__row {
128
+ flex-direction: column;
129
+ justify-content: stretch;
130
+ gap: 16px;
131
+ &::after {
132
+ display: none;
133
+ }
134
+ }
135
+ .button_to {
136
+ padding-right: 0;
137
+ }
138
+ .card__content > div,
139
+ .column.small-9.collapse,
140
+ .column.collapse.small-3 {
141
+ &,
142
+ & > .button-group,
143
+ & > .button,
144
+ & > .button_to,
145
+ & .button_to > .button {
146
+ width: 100% !important;
147
+ }
148
+ }
149
+ }
150
+ }
@@ -0,0 +1,12 @@
1
+ .o-searches {
2
+ @include filters-area;
3
+ .input-group label {
4
+ margin-bottom: 0;
5
+ }
6
+ .section-heading:not(.first-child) {
7
+ margin-top: 2rem;
8
+ @include breakpoint(large) {
9
+ margin-top: 0;
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,65 @@
1
+ .o-sortitions.o-sortitions--index {
2
+ @include filters-area;
3
+ }
4
+ .m_sortitions-sortitions {
5
+ .columns:last-child .section {
6
+ margin-bottom: 0;
7
+ p {
8
+ padding: 0.5rem !important;
9
+ margin-bottom: 0 !important;
10
+ }
11
+ }
12
+ .sortition-details {
13
+ display: flex;
14
+ flex-direction: column;
15
+ gap: 0.5rem;
16
+ }
17
+ .sortition-details-item {
18
+ .sortition-details-text.sortition-details-title {
19
+ @extend .mini-title;
20
+ }
21
+ br {
22
+ display: none;
23
+ }
24
+ .sortition-details-text:last-child {
25
+ color: var(--emphasis-high);
26
+ display: block;
27
+ padding-top: 0.2rem;
28
+ }
29
+ }
30
+ }
31
+ .card--sortition {
32
+ .card-data__item > .text-left {
33
+ display: flex;
34
+ align-items: flex-start;
35
+ flex-direction: column-reverse;
36
+ line-height: 0;
37
+ gap: 0.1rem;
38
+ strong.heading4 {
39
+ @extend .body-5;
40
+ @extend .card__data-item__value;
41
+ }
42
+ small {
43
+ @extend .card__data-item__label;
44
+ color: var(--emphasis-low);
45
+ }
46
+ small,
47
+ strong {
48
+ line-height: 1.2;
49
+ }
50
+ }
51
+
52
+ .card__header {
53
+ margin-top: 1rem;
54
+ width: 100%;
55
+ }
56
+ .author-data {
57
+ margin-left: 0.3rem;
58
+ }
59
+ .author-data__extra {
60
+ display: none;
61
+ }
62
+ .creation_date_status {
63
+ flex: 0.66;
64
+ }
65
+ }
@@ -0,0 +1,65 @@
1
+ .o-surveys--show {
2
+ min-height: 90vh;
3
+ .card {
4
+ margin-top: 1rem;
5
+ }
6
+ .card .section {
7
+ width: 100%;
8
+ max-width: 100%;
9
+ .callout {
10
+ width: 100%;
11
+ max-width: 100%;
12
+ margin: 0;
13
+ }
14
+ @include breakpoint(medium large) {
15
+ margin-bottom: 0;
16
+ padding: 0;
17
+ }
18
+ margin-bottom: 0;
19
+ padding: 0;
20
+ }
21
+ h2.section-heading {
22
+ @extend .heading-3;
23
+ text-align: center;
24
+ width: 100%;
25
+ max-width: 55rem;
26
+ color: var(--emphasis-med);
27
+ margin: 0 auto 1rem auto;
28
+ }
29
+ .lead {
30
+ @extend .body-4;
31
+ color: var(--emphasis-high);
32
+ }
33
+ .lead.medium-centered {
34
+ text-align: center;
35
+ }
36
+ }
37
+ .form.answer-questionnaire {
38
+ padding: 1rem 1.5rem;
39
+ margin-top: 1.5rem;
40
+
41
+ input[type="text"],
42
+ input[type="email"],
43
+ input[type="password"] {
44
+ height: 3rem;
45
+ }
46
+ .questionnaire-question {
47
+ font-weight: normal;
48
+ line-height: 1.2;
49
+ }
50
+ .answer.question {
51
+ margin-bottom: 1.5rem;
52
+ }
53
+ .answer-questionnaire__submit {
54
+ justify-content: flex-start;
55
+ }
56
+
57
+ thead td {
58
+ font-weight: normal;
59
+ padding: 0.3rem;
60
+ }
61
+
62
+ .button {
63
+ margin: 1.5rem 0;
64
+ }
65
+ }