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.
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,80 @@
1
+ :root {
2
+ //DECIDIM DEFAULT VARIABLES
3
+ /*
4
+ --primary: #ef604d;
5
+ --primary-rgb: 239, 96, 77;
6
+ --secondary: #599aa6;
7
+ --secondary-rgb: 89, 154, 166;
8
+ --success: #57d685;
9
+ --success-rgb: 87, 214, 133;
10
+ --warning: #ffae00;
11
+ --warning-rgb: 255, 174, 0;
12
+ --alert: #ec5840;
13
+ --alert-rgb: 236, 88, 64;
14
+ --proposals: #238ff7;
15
+ --actions: #57d685;
16
+ --debates: #fa6c96;
17
+ --meetings: #fabc6c;
18
+ --twitter: #55acee;
19
+ --facebook: #3b5998;
20
+ --google: #dd4b39;
21
+ */
22
+
23
+ //Colors/neutrals
24
+ --white: rgb(255, 255, 255);
25
+ --white-50: rgba(255, 255, 255, 0.5);
26
+ --black-60: rgba(0, 0, 0, 0.6);
27
+ --black-10: rgba(0, 0, 0, 0.1);
28
+ --black-6: rgba(0, 0, 0, 0.06);
29
+ --grey1: #f5f5f5;
30
+ --grey2: #e0e0e0;
31
+ --grey5: #707070;
32
+
33
+ //Colors/official
34
+ /* Colors/official
35
+ ===
36
+ Our design system supports only ONE color. From this color we compute derivative in
37
+ plain css (@see https://www.smashingmagazine.com/2022/06/simplify-color-palette-css-color-mix/).
38
+
39
+ primary-dark: the primary color mixed with some black.
40
+ primary-10: white with 18% of primary coor
41
+
42
+ NB: We use --on-primary to define the color to be used on the primary color (for contrast purpose).
43
+ NBB: --primary is defined from the template at RENDER time. Choose this color from your decidim admin panel.
44
+ **/
45
+ --primary: #0476d9;
46
+ --primary-dark: color-mix(in srgb, var(--primary), black 10%);
47
+ --primary-10: color-mix(in srgb, var(--primary), white 85%);
48
+ --on-primary: var(--white);
49
+ /** the design system supports only one color. **/
50
+ --secondary: var(--primary);
51
+ --secondary-10: var(--primary-10);
52
+ --on-secondary: var(--on-primary);
53
+
54
+ //Colors/status
55
+ --green: var(--success);
56
+ --yellow: var(--warning);
57
+ --yellow-dark: color-mix(in srgb, var(--yellow), black 10%);
58
+ --red: var(--alert);
59
+ --red-dark: color-mix(in srgb, var(--red), black 10%);
60
+
61
+ //Colors/text colors
62
+ --emphasis-high: #000000f0;
63
+ --emphasis-med: #000000db;
64
+ --emphasis-low: #000000ad;
65
+ --emphasis-lowest: #0000008f;
66
+
67
+ //Miscellaneous
68
+ --font-fallback: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
69
+ Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
70
+ --card-shadow: 0px 6px 16px rgba(0, 0, 0, 0.05);
71
+ --card-corner-radius: 8px;
72
+ --divider-border: 1px solid rgba(0, 0, 0, 0.06);
73
+
74
+ //Typography
75
+ --font-family: "Inter";
76
+ --font-weight-regular: 400;
77
+ --font-weight-medium: 500;
78
+ --font-weight-semibold: 600;
79
+ --font-weight-bold: 700;
80
+ }
@@ -0,0 +1,98 @@
1
+ .btn {
2
+ display: inline-flex;
3
+ flex-direction: row;
4
+ justify-content: center;
5
+ align-items: center;
6
+
7
+ border-radius: 48px;
8
+ cursor: pointer;
9
+ text-decoration: none !important;
10
+ &:hover,
11
+ &:focus {
12
+ text-decoration: none !important;
13
+ cursor: pointer;
14
+ }
15
+ &:has(svg),
16
+ &.js--withicon {
17
+ gap: rem-calc(8px);
18
+ }
19
+ }
20
+
21
+ .btn--small {
22
+ align-items: center;
23
+ padding: 12px 16px;
24
+
25
+ height: 34px;
26
+ }
27
+
28
+ .btn--small .btn--withicon,
29
+ .button.js--withicon {
30
+ gap: 4px;
31
+ }
32
+
33
+ .btn--medium {
34
+ padding: 16px 24px;
35
+
36
+ height: 44px;
37
+ }
38
+
39
+ .btn--large {
40
+ padding: 20px 80px;
41
+ gap: 8px;
42
+
43
+ height: 53px;
44
+ }
45
+
46
+ .btn--primary {
47
+ background-color: var(--primary);
48
+ color: var(--on-primary) !important;
49
+ border: unset;
50
+
51
+ &:hover,
52
+ &:focus {
53
+ background-color: var(--primary-dark);
54
+ color: var(--on-primary) !important;
55
+ }
56
+ }
57
+
58
+ .btn--danger {
59
+ background-color: var(--red);
60
+ color: white;
61
+ &:hover {
62
+ background-color: var(--red-dark);
63
+ }
64
+ }
65
+
66
+ .btn--warning {
67
+ background-color: var(--yellow);
68
+ color: var(--emphasis-high);
69
+ &:hover {
70
+ background-color: var(--yellow-dark);
71
+ }
72
+ }
73
+
74
+ .btn--disabled {
75
+ background-color: transparent;
76
+ color: var(--emphasis-lowest) !important;
77
+ &:hover,
78
+ &.hover,
79
+ &.focus,
80
+ &:focus {
81
+ background-color: var(--black-6);
82
+ color: var(--emphasis-lowest) !important;
83
+ cursor: pointer;
84
+ }
85
+ }
86
+
87
+ .btn--secondary {
88
+ background-color: transparent;
89
+ color: var(--primary) !important;
90
+ border: var(--primary) solid 1px;
91
+
92
+ &:hover,
93
+ &:focus {
94
+ background-color: var(--primary-10) !important;
95
+ color: var(--primary) !important;
96
+ cursor: pointer;
97
+ }
98
+ }
@@ -0,0 +1,115 @@
1
+ .icon-button {
2
+ background: var(--white);
3
+ color: var(--primary);
4
+ border: var(--primary) solid 1px;
5
+
6
+ display: flex;
7
+ flex-direction: row;
8
+ justify-content: center;
9
+ align-items: center;
10
+ padding: 0px;
11
+ gap: 10px;
12
+
13
+ width: 29px;
14
+ height: 29px;
15
+
16
+ &:hover {
17
+ background: var(--primary);
18
+ color: var(--on-primary) !important;
19
+ }
20
+ }
21
+
22
+ .download-button {
23
+ display: flex;
24
+ flex-direction: row;
25
+ justify-content: center;
26
+ align-items: center;
27
+ padding: 2px;
28
+ gap: 10px;
29
+
30
+ width: 28px;
31
+ height: 28px;
32
+
33
+ color: var(--emphasis-lowest);
34
+ &:hover {
35
+ color: var(--primary);
36
+ }
37
+ }
38
+
39
+ .register > .Body-4-medium-caps {
40
+ display: flex;
41
+ flex-direction: row;
42
+ align-items: center;
43
+ padding: 0px;
44
+ gap: 4px;
45
+ color: var(--primary);
46
+
47
+ &:after {
48
+ content: ">";
49
+ font-weight: var(--font-weight-bold);
50
+ font-size: 1.3em;
51
+ vertical-align: middle;
52
+ }
53
+ }
54
+
55
+ .follow-duo-button {
56
+ background: var(--on-primary);
57
+ color: var(--primary) !important;
58
+ border: var(--primary) solid 1px;
59
+
60
+ padding: 10px 16px;
61
+ gap: 8px;
62
+ height: 30px;
63
+
64
+ &:hover,
65
+ &:focus {
66
+ background: var(--primary) !important;
67
+ color: var(--on-primary) !important;
68
+ }
69
+ }
70
+
71
+ .highlighted-button {
72
+ display: flex;
73
+ flex-direction: column;
74
+ justify-content: center;
75
+ align-items: center;
76
+ padding: 14px 32px;
77
+ gap: 4px;
78
+
79
+ width: 218px;
80
+ height: 60px;
81
+
82
+ background: var(--primary);
83
+ border-radius: 4px;
84
+
85
+ &:hover {
86
+ background: var(--primary-dark);
87
+ }
88
+ }
89
+
90
+ .chip {
91
+ display: flex;
92
+ @extend .body-5;
93
+ color: var(--secondary);
94
+ flex-direction: row;
95
+ align-items: flex-start;
96
+ padding: 6px 8px;
97
+ gap: 10px;
98
+
99
+ height: 22px;
100
+
101
+ border: 1px solid var(--grey1);
102
+
103
+ &:hover {
104
+ color: var(--secondary);
105
+ background: var(--grey1);
106
+ }
107
+ }
108
+
109
+ .link--go-back {
110
+ @extend .body-4;
111
+ @extend .body-4-link;
112
+ display: inline-flex;
113
+ gap: 4px;
114
+ align-items: center;
115
+ }
@@ -0,0 +1,83 @@
1
+ .btn--nav {
2
+ flex-direction: column;
3
+ background: var(--white);
4
+ color: var(--emphasis-lowest);
5
+ padding: 16px 29px;
6
+
7
+ border-radius: 8px;
8
+
9
+ &:hover,
10
+ &:focus {
11
+ background: var(--grey);
12
+ }
13
+
14
+ &active {
15
+ flex-direction: column;
16
+ background: var(--primary-10);
17
+ color: var(--primary);
18
+
19
+ border-radius: 8px;
20
+
21
+ &:hover,
22
+ &:focus {
23
+ background: var(--primary-10);
24
+ }
25
+ }
26
+ }
27
+
28
+ .btn--nav-more {
29
+ i:first-child {
30
+ margin-left: 0.3rem;
31
+ }
32
+ display: inline-flex;
33
+ flex-direction: row;
34
+ align-items: center !important;
35
+ background: var(--primary-10);
36
+ color: var(--primary);
37
+ height: 24px;
38
+
39
+ padding: 4px 16px;
40
+ border-radius: 8px;
41
+
42
+ &:hover,
43
+ &:focus {
44
+ background: var(--primary-10);
45
+ color: var(--primary);
46
+ }
47
+
48
+ &--active {
49
+ background: var(--on-primary);
50
+ color: var(--primary);
51
+
52
+ &:hover,
53
+ &:focus {
54
+ background: var(--on-primary);
55
+ color: var(--primary);
56
+ }
57
+ }
58
+ }
59
+
60
+ .btn--sub-nav {
61
+ flex-direction: column;
62
+ background: var(--white);
63
+ color: var(--primary);
64
+ padding: 16.5px 10px;
65
+
66
+ border-radius: 8px;
67
+
68
+ &:hover,
69
+ &:focus {
70
+ background: var(--primary-10);
71
+ }
72
+
73
+ &:after {
74
+ display: block;
75
+ position: absolute;
76
+ top: -4px;
77
+ content: " ";
78
+ height: 4px;
79
+ width: 100%;
80
+
81
+ background: var(--primary);
82
+ }
83
+ }
@@ -0,0 +1,88 @@
1
+ /* Body/Body-1 */
2
+ .body-1 {
3
+ @include typography-body-common;
4
+ &, & a {
5
+ font-size: 23px;
6
+ }
7
+ line-height: 120%;
8
+
9
+ @include typography-semibold-modifiers;
10
+ @include typography-underline-modifiers;
11
+ @include typography-nocaps-modifiers;
12
+ }
13
+
14
+ /* Body/Body-2 */
15
+ .body-2 {
16
+ @include typography-body-common;
17
+ &, & a {
18
+ font-size: 20px;
19
+ }
20
+ line-height: 120%;
21
+
22
+ @include typography-medium-modifiers;
23
+ @include typography-semibold-modifiers;
24
+ @include typography-underline-modifiers;
25
+ @include typography-nocaps-modifiers;
26
+ }
27
+
28
+ /* Body/Body-3 */
29
+ .body-3 {
30
+ @include typography-body-common;
31
+ &, & a {
32
+ font-size: 18px;
33
+ }
34
+
35
+ line-height: 130%;
36
+
37
+ @include typography-medium-modifiers;
38
+ @include typography-underline-modifiers;
39
+ @include typography-caps-modifiers;
40
+ @include typography-nocaps-modifiers;
41
+ }
42
+
43
+ /* Body/Body-4 */
44
+ .body-4 {
45
+ @include typography-body-common;
46
+ &, & a {
47
+ font-size: 16px;
48
+ }
49
+ line-height: 130% !important;
50
+
51
+ @include typography-medium-modifiers;
52
+ @include typography-semibold-modifiers;
53
+ @include typography-bold-modifiers;
54
+ @include typography-caps-modifiers;
55
+ @include typography-nocaps-modifiers;
56
+ }
57
+
58
+ /* Body/Body-5 */
59
+ .body-5 {
60
+ @include typography-body-common;
61
+ &, & a {
62
+ font-size: 14px;
63
+ }
64
+
65
+ line-height: 130%;
66
+
67
+ @include typography-medium-modifiers;
68
+ @include typography-semibold-modifiers;
69
+ @include typography-bold-modifiers;
70
+ @include typography-underline-modifiers;
71
+ @include typography-caps-modifiers;
72
+ @include typography-nocaps-modifiers;
73
+ @include typography-italic-modifiers;
74
+ }
75
+
76
+ /* Body/Body-6 */
77
+ .body-6 {
78
+ @include typography-body-common;
79
+ &, & a {
80
+ font-size: 11px;
81
+ }
82
+ line-height: 130%;
83
+
84
+ @include typography-semibold-modifiers;
85
+ @include typography-underline-modifiers;
86
+ @include typography-caps-modifiers;
87
+ @include typography-nocaps-modifiers;
88
+ }
@@ -0,0 +1,98 @@
1
+ /* Headline/Heading-1 */
2
+ .heading-1 {
3
+ @include typography-headline-common;
4
+ &, & a {
5
+ font-size: 66px !important;
6
+ }
7
+ @include breakpoint(small only) {
8
+ &, & a {
9
+ font-size: 48px !important;
10
+ word-break: break-word;
11
+ }
12
+ }
13
+
14
+ @include typography-bold-modifiers;
15
+ }
16
+
17
+ /* Headline/Heading-2 */
18
+ .heading-2 {
19
+ @include typography-headline-common;
20
+ font-size: 48px !important;
21
+ @include breakpoint(small only) {
22
+ font-size: 48px !important;
23
+ }
24
+ word-break: break-word;
25
+
26
+ @include typography-bold-modifiers;
27
+ }
28
+
29
+ /* Headline/Heading-3 */
30
+ .heading-3 {
31
+ @include typography-headline-common;
32
+ &, & a {
33
+ font-size: 28px !important;
34
+ }
35
+
36
+ @include breakpoint(small only) {
37
+ &, & a {
38
+ font-size: 28px !important;
39
+ word-break: break-word;
40
+ }
41
+ }
42
+
43
+ @include typography-bold-modifiers;
44
+ @include typography-underline-modifiers;
45
+
46
+ @include typography-link-modifiers;
47
+ }
48
+
49
+ /* Headline/Heading-4 */
50
+ .heading-4 {
51
+ @include typography-headline-common;
52
+ &, & a {
53
+ font-size: 23px !important;
54
+ }
55
+ @include breakpoint(small only) {
56
+ &, & a {
57
+ font-size: 23px !important;
58
+ word-break: break-word;
59
+ }
60
+ }
61
+ @include typography-bold-modifiers;
62
+ @include typography-underline-modifiers;
63
+
64
+ @include typography-link-modifiers;
65
+ }
66
+
67
+ .heading-5 {
68
+ @include typography-headline-common;
69
+ &, & a {
70
+ font-size: 20px !important;
71
+ }
72
+ @include breakpoint(small only) {
73
+ &, & a {
74
+ font-size: 20px !important;
75
+ word-break: break-word;
76
+ }
77
+ }
78
+ @include typography-bold-modifiers;
79
+ @include typography-underline-modifiers;
80
+
81
+ @include typography-link-modifiers;
82
+ }
83
+ .heading-6 {
84
+ @include typography-headline-common;
85
+ &, & a {
86
+ font-size: 18px !important;
87
+ }
88
+ @include breakpoint(small only) {
89
+ &, & a {
90
+ font-size: 18px !important;
91
+ word-break: break-word;
92
+ }
93
+ }
94
+ @include typography-bold-modifiers;
95
+ @include typography-underline-modifiers;
96
+
97
+ @include typography-link-modifiers;
98
+ }
@@ -0,0 +1,109 @@
1
+ @mixin typography-medium-modifiers {
2
+ &-medium {
3
+ font-weight: var(--font-weight-medium);
4
+ }
5
+ }
6
+
7
+ @mixin typography-semibold-modifiers {
8
+ &-semibold {
9
+ font-weight: var(--font-weight-semibold);
10
+ }
11
+ }
12
+
13
+ @mixin typography-bold-modifiers {
14
+ &-bold {
15
+ font-weight: var(--font-weight-bold);
16
+ }
17
+ }
18
+
19
+ @mixin typography-caps-modifiers {
20
+ &-caps {
21
+ text-transform: uppercase;
22
+ }
23
+ }
24
+ @mixin typography-nocaps-modifiers {
25
+ &-nocaps {
26
+ text-transform: initial;
27
+ }
28
+ }
29
+
30
+ @mixin typography-italic-modifiers {
31
+ &-italic {
32
+ font-style: italic;
33
+ }
34
+ }
35
+
36
+ @mixin typography-underline-modifiers {
37
+ &-underline {
38
+ text-decoration: underline;
39
+ }
40
+ }
41
+
42
+ @mixin filters-area {
43
+ .card > .filters__section {
44
+ display: none;
45
+ }
46
+ .input-group-field {
47
+ height: auto;
48
+ }
49
+ .mini-title {
50
+ margin-bottom: 0.5rem;
51
+ }
52
+ .filters__section label {
53
+ @extend .body-5;
54
+ color: var(--emphasis-high);
55
+ }
56
+ .filters__section label[data-global-checkbox],
57
+ .filters__section--general label[data-global-checkbox] {
58
+ font-weight: 600;
59
+ @extend .body-5-semibold;
60
+ color: var(--emphasis-high);
61
+ }
62
+ .card.card--secondary {
63
+ background: var(--white);
64
+ border-color: var(--grey2);
65
+ border-width: 1px;
66
+ border-style: solid;
67
+ padding-top: 0.5rem;
68
+ padding-bottom: 0.5rem;
69
+ .mini-title {
70
+ margin-bottom: 0.5rem;
71
+ }
72
+ }
73
+ }
74
+
75
+ @mixin typography-link-modifiers {
76
+ &-link {
77
+ cursor: pointer;
78
+ color: var(--primary) !important;
79
+ text-align: left;
80
+
81
+ &:hover {
82
+ color: var(--primary) !important;
83
+ text-decoration: underline !important;
84
+ text-decoration-skip-ink: auto;
85
+ }
86
+
87
+ &:focus {
88
+ color: var(--primary) !important;
89
+ text-decoration: underline !important;
90
+ outline: 0 none transparent;
91
+ outline-offset: 0px;
92
+ }
93
+ }
94
+ }
95
+
96
+ @mixin typography-body-common {
97
+ font-family: var(--font-family);
98
+ font-weight: var(--font-weight-regular);
99
+
100
+ @include typography-link-modifiers;
101
+ }
102
+
103
+ @mixin typography-headline-common {
104
+ font-family: var(--font-family);
105
+ font-weight: var(--font-weight-regular);
106
+ line-height: 120%;
107
+
108
+ @include typography-link-modifiers;
109
+ }
@@ -0,0 +1,41 @@
1
+ @import "./theme_settings";
2
+ @import "entrypoints/decidim_email.scss";
3
+ @media only screen{
4
+ html{
5
+ background: #e8e8e8 !important;
6
+ }
7
+ }
8
+ table.body {
9
+ background-color: #e8e8e8 !important;
10
+ }
11
+ table.body th.decidim-bar,
12
+ table.body td.decidim-bar {
13
+ img {
14
+ height: 50px;
15
+ margin: 0 auto;
16
+ }
17
+ padding: 10px 0;
18
+ background-color: #f5f5f5 !important;
19
+ }
20
+
21
+ .row.content {
22
+ padding-bottom: 20px;
23
+ }
24
+ th.cityhall-bar {
25
+ background-color: #f5f5f5 !important;
26
+ text-align: center !important;
27
+ }
28
+ table.container.main {
29
+ background-color: white !important;
30
+ }
31
+ .decidim-logo a{
32
+ color: black !important;
33
+ text-decoration: underline;
34
+ }
35
+ .custom-button{
36
+ border-radius: 48px!important;
37
+ padding: 16px 24px!important;
38
+ background-color: #f5f5f5 !important;
39
+ color: black !important;
40
+ font-size: 16px;
41
+ }