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,221 @@
1
+ #voted-budgets-list {
2
+ border: 1px solid var(--green);
3
+ .card--list__data-added {
4
+ background: transparent;
5
+ }
6
+ .budget-list__icon {
7
+ display: none;
8
+ }
9
+ .button {
10
+ text-wrap: nowrap;
11
+ }
12
+ }
13
+
14
+ .o_participatory_process {
15
+ .card--list__check svg {
16
+ width: 18px;
17
+ height: 18px;
18
+ fill: white;
19
+ transform: translate(-49%, -2px);
20
+ }
21
+ .button {
22
+ text-wrap: nowrap;
23
+ }
24
+ }
25
+
26
+ .m_budgets-projects {
27
+ .button.loading-spinner {
28
+ width: 34px;
29
+ height: 34px;
30
+ padding: 0;
31
+ background: transparent !important;
32
+ border-color: transparent !important;
33
+ &::before {
34
+ width: 34px;
35
+ height: 34px;
36
+ }
37
+ svg {
38
+ display: none !important;
39
+ }
40
+ }
41
+ &.m_budgets-projects--index {
42
+ @include breakpoint(small only) {
43
+ .budget-summary__progressbox > button.button:last-child {
44
+ margin-top: 1rem;
45
+ }
46
+ }
47
+
48
+ .budget-list__data .text-sm.text-success {
49
+ text-wrap: nowrap;
50
+ }
51
+ .button {
52
+ text-wrap: nowrap;
53
+ }
54
+ .button.budget-list__action {
55
+ width: 34px;
56
+ height: 34px;
57
+ }
58
+ .budget-list__data .button.budget,
59
+ .budget-list__data .button.budget svg {
60
+ width: 34px;
61
+ height: 34px;
62
+ }
63
+ .budget-summary__selected-item {
64
+ margin-bottom: 0.5rem;
65
+ }
66
+
67
+ .card__content.budget-summary__selected {
68
+ & > button {
69
+ @extend select;
70
+ color: var(--emphasis-med);
71
+ margin: 0;
72
+ min-width: $dropdown-width;
73
+ display: inline-flex;
74
+ width: auto;
75
+ align-items: center;
76
+ justify-content: center;
77
+ min-width: 0;
78
+
79
+ strong {
80
+ display: inline-block;
81
+ margin-right: 0.25rem;
82
+ }
83
+ svg {
84
+ display: none;
85
+ }
86
+ }
87
+ .button_to button[type="submit"] {
88
+ @extend .btn--secondary;
89
+ border-radius: 32px;
90
+ width: 32px;
91
+ height: 32px;
92
+ }
93
+ }
94
+ }
95
+ &.m_budgets-projects--show {
96
+ .button.loading-spinner::before {
97
+ width: 24px;
98
+ height: 24px;
99
+ }
100
+ .button.budget-vote-button,
101
+ .button.budget-list__action.success {
102
+ font-size: 16px;
103
+ display: flex;
104
+ flex-direction: row-reverse;
105
+ gap: 0.75rem;
106
+ flex: 0;
107
+ padding: 17px;
108
+ background: var(--primary);
109
+ text-wrap: nowrap;
110
+ &:hover {
111
+ background: var(--primary-dark);
112
+ }
113
+ .button_to {
114
+ flex: 0;
115
+ &:hover .button,
116
+ .button {
117
+ background-color: transparent !important;
118
+ border: 1px solid var(--on-primary);
119
+ height: 24px;
120
+ width: 24px;
121
+ padding: 6px;
122
+ min-width: 0;
123
+ &:hover,
124
+ &:focus {
125
+ background-color: var(--primary);
126
+ }
127
+ }
128
+ .button.loading-spinner svg {
129
+ fill: var(--primary);
130
+ }
131
+ svg {
132
+ fill: var(--on-primary);
133
+ }
134
+ }
135
+ }
136
+ }
137
+ .input-group-field {
138
+ height: auto;
139
+ }
140
+ .dropdown.menu {
141
+ transform: translateY(2px);
142
+ }
143
+ .budget-list__data__number {
144
+ @extend .body-3;
145
+ @extend .body-3-medium;
146
+ color: var(--emphasis-med);
147
+ }
148
+ .collection-sort-controls .column {
149
+ width: 100% !important;
150
+ }
151
+ .card.extra {
152
+ .card__content {
153
+ justify-content: center;
154
+ align-items: center;
155
+ text-align: center;
156
+ }
157
+ .button_to {
158
+ width: 100%;
159
+ }
160
+ }
161
+ .card > .filters__section {
162
+ display: none;
163
+ }
164
+ .muted-link.js-back-to-list {
165
+ @extend .link--go-back;
166
+ }
167
+ .mini-title {
168
+ color: var(--emphasis-med);
169
+ .mini-title__strong {
170
+ color: var(--emphasis-med);
171
+ }
172
+ }
173
+ .view-header h2.heading2 {
174
+ @extend .heading-3;
175
+ margin-top: 5rem;
176
+ margin-bottom: 0;
177
+ }
178
+
179
+ @include filters-area;
180
+ .budget-list__data {
181
+ background-color: transparent;
182
+ }
183
+ .budget-list__image {
184
+ width: 7.5rem;
185
+ height: 5.5rem;
186
+ }
187
+ .budget-list__title {
188
+ font-weight: 400;
189
+ }
190
+ .budget-summary {
191
+ .card__content {
192
+ padding: 1.5rem;
193
+ }
194
+ .card__content,
195
+ .card__content > p:last-child,
196
+ .heading3 {
197
+ margin-bottom: 1.5rem;
198
+ }
199
+ .budget-progress__meter {
200
+ transform: translateY(-100%);
201
+ }
202
+ .button.small {
203
+ @extend .btn--medium;
204
+ }
205
+ .progress.budget-progress {
206
+ margin-bottom: 0;
207
+ }
208
+ .link {
209
+ @extend .body-4;
210
+ @extend .body-4-link;
211
+ margin-top: 1rem;
212
+ }
213
+ }
214
+ }
215
+
216
+ .card.card--budget {
217
+ .card-data__item strong.heading4 {
218
+ @extend .body-4;
219
+ @extend .body-4-medium;
220
+ }
221
+ }
@@ -0,0 +1,6 @@
1
+ .cookie-warning {
2
+ a {
3
+ @extend .body-4;
4
+ @extend .body-4-link;
5
+ }
6
+ }
@@ -0,0 +1,65 @@
1
+ .o-debates--index {
2
+ @include filters-area;
3
+ .collection-sort-controls > .column {
4
+ min-width: 50%;
5
+ }
6
+ .dropdown.menu {
7
+ transform: translateY(2px);
8
+ }
9
+ }
10
+ .o-debates--show {
11
+ .proposal-status {
12
+ transform: translateY(-2px);
13
+ }
14
+ .cell-announcement {
15
+ margin: 1.5rem 0;
16
+ }
17
+ .card.extra .card__content {
18
+ align-items: center;
19
+ }
20
+ .view-side .card.extra:last-child {
21
+ padding: 0 !important;
22
+ }
23
+ .extra__date-container {
24
+ width: 100%;
25
+ display: flex;
26
+ align-items: center;
27
+ justify-content: center;
28
+ .extra__date {
29
+ @extend .body-2;
30
+ color: var(--emphasis-med);
31
+ .extra__month {
32
+ @extend .body-4;
33
+ }
34
+ }
35
+ .extra__time {
36
+ @extend .body-4;
37
+ color: var(--emphasis-low);
38
+ }
39
+ }
40
+ }
41
+
42
+ .card--debate {
43
+ .card__icondata ul {
44
+ padding: 0;
45
+ }
46
+ .card-data__item > .card-data__item--multiple {
47
+ padding: 0 1rem;
48
+ }
49
+ .card-data__item > div {
50
+ padding: 0 1.5rem;
51
+ }
52
+ .card__header {
53
+ margin-top: 1.5rem;
54
+ width: 100%;
55
+ }
56
+ &.muted .card__header {
57
+ margin-top: 1rem;
58
+ }
59
+ .author-data {
60
+ margin-left: 0.3rem;
61
+ }
62
+ .card__button {
63
+ flex: 0;
64
+ }
65
+ }
@@ -0,0 +1,145 @@
1
+ .footer {
2
+ display: block;
3
+ padding: rem-calc(59) rem-calc(48) rem-calc(32) rem-calc(48);
4
+ background: var(--primary) !important;
5
+ color: var(--on-primary) !important;
6
+ .main-footer,
7
+ .mini-footer {
8
+ background: transparent;
9
+ }
10
+ #LanguageLinks.footer_nav {
11
+ padding-top: 21px !important;
12
+ text-align: right;
13
+ }
14
+ #FooterNavigation .language-choose {
15
+ svg {
16
+ display: none;
17
+ }
18
+ & > ul > li.is-active > a {
19
+ color: var(--primary) !important;
20
+
21
+ &::after {
22
+ border-top-color: var(--primary) !important;
23
+ }
24
+ }
25
+ .is-submenu-item {
26
+ padding: 0;
27
+ a {
28
+ padding: 0.6rem;
29
+ }
30
+ }
31
+ & > ul > li > a {
32
+ padding: 0.62rem 0.5rem;
33
+ padding-right: 32px;
34
+ color: var(--white) !important;
35
+ &::after {
36
+ border-top-color: var(--white) !important;
37
+ border-width: 6px;
38
+ }
39
+ @extend .body-4;
40
+ font-weight: normal;
41
+ &:hover,
42
+ &:focus {
43
+ background-color: var(--grey2);
44
+ color: var(--primary) !important;
45
+ &::after {
46
+ border-top-color: var(--primary) !important;
47
+ }
48
+ }
49
+ }
50
+ }
51
+
52
+ a {
53
+ @extend .body-4;
54
+ padding: 0;
55
+ &,
56
+ &:hover,
57
+ &:focus {
58
+ color: var(--on-primary) !important;
59
+ }
60
+ }
61
+ #FooterNavigation {
62
+ display: flex;
63
+ max-width: $grid-row-width;
64
+ margin-right: auto;
65
+ margin-left: auto;
66
+ gap: rem-calc(
67
+ 128
68
+ ); /* 120 - 2*8. 8 is an accebility padding on links to be more easy to click. */
69
+ a {
70
+ display: block;
71
+ padding: rem-calc(8) 0;
72
+ }
73
+ .footer_nav {
74
+ & > strong {
75
+ @extend .body-4-semibold;
76
+ padding-bottom: rem-calc(23);
77
+ }
78
+ ul {
79
+ margin: 0;
80
+ padding: 0;
81
+ }
82
+ display: flex;
83
+ flex-direction: column;
84
+ flex: 1;
85
+ padding-top: 2 * $global-margin;
86
+ white-space: nowrap;
87
+ }
88
+ .main-nav {
89
+ padding: 0;
90
+ margin: 0;
91
+ }
92
+ .main-nav ul {
93
+ flex-direction: column;
94
+ justify-content: flex-start;
95
+ align-items: flex-start;
96
+ text-align: left;
97
+ & > li {
98
+ margin: 0;
99
+ padding: 0;
100
+ display: block;
101
+ }
102
+ }
103
+ .footer__navitem {
104
+ list-style: none;
105
+ padding: 0;
106
+ margin: 0;
107
+ }
108
+
109
+ @include breakpoint(large down) {
110
+ flex-direction: column;
111
+ gap: 0;
112
+ grid-gap: rem-calc(2);
113
+ }
114
+ }
115
+ .credits {
116
+ display: flex;
117
+ gap: rem-calc(12);
118
+ align-items: center;
119
+ justify-content: flex-start;
120
+ padding-top: rem-calc(59);
121
+
122
+ max-width: $grid-row-width;
123
+ margin-right: auto;
124
+ margin-left: auto;
125
+
126
+ .credits__column {
127
+ position: relative;
128
+ flex: 1;
129
+ &.credits__column--license {
130
+ flex: 0;
131
+ min-width: rem-calc(117);
132
+ }
133
+ &.credits__column--madeby {
134
+ justify-self: flex-end;
135
+ max-width: 30%;
136
+ }
137
+ }
138
+
139
+ @include breakpoint(medium down) {
140
+ padding-top: 0;
141
+ gap: rem-calc(2);
142
+ flex-direction: column;
143
+ }
144
+ }
145
+ }
@@ -0,0 +1,49 @@
1
+ .o-profiles .card--user_group_membership {
2
+ .card__header {
3
+ margin-top: 1.5rem;
4
+ width: 100%;
5
+ }
6
+ .card__button {
7
+ flex: 0;
8
+ }
9
+ .card__content > p {
10
+ padding-left: 1rem;
11
+ strong {
12
+ @extend .label;
13
+ @extend .label--primary;
14
+ color: var(--white);
15
+ transform: translateY(-2px);
16
+ }
17
+ }
18
+ }
19
+
20
+ .card--user_group,
21
+ .card--user {
22
+ padding-top: 1rem;
23
+ }
24
+ .card--user_group .card__button {
25
+ flex: 0;
26
+ }
27
+
28
+ .m_groups.m_groups--new {
29
+ form.new_group .card {
30
+ padding: 1rem;
31
+ input[type="file"] {
32
+ margin-bottom: 0;
33
+ }
34
+ .field img {
35
+ margin-bottom: 1rem;
36
+ }
37
+ .user-group-fields > strong {
38
+ margin-top: 1.75rem;
39
+ margin-bottom: 0.5rem;
40
+ display: block;
41
+ }
42
+ .actions {
43
+ margin-top: 1.5rem;
44
+ }
45
+ .form-input-extra-before ~ .help-text {
46
+ margin-top: -0.5rem;
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,45 @@
1
+ .m_devise-registrations,
2
+ .m_devise-sessions,
3
+ .m_devise-passwords,
4
+ .m_devise-unlocks,
5
+ .m_devise-confirmations {
6
+ h1 {
7
+ @extend .heading-2;
8
+ margin-bottom: 1.5rem;
9
+ }
10
+ h3 {
11
+ @extend .body-2;
12
+ margin-bottom: 1.25rem;
13
+ }
14
+ p {
15
+ width: 100%;
16
+ }
17
+ .user-nickname label.is-invalid-label .row > span:first-of-type {
18
+ justify-content: center;
19
+ }
20
+ .actions {
21
+ text-align: center;
22
+ }
23
+ .register-form .actions {
24
+ margin-bottom: 1rem;
25
+ }
26
+ .register-form #registration_user_nickname_characters {
27
+ margin-top: 0.5rem;
28
+ margin-bottom: 0;
29
+ @extend .body-6;
30
+ @extend .body-6-semibold;
31
+ }
32
+ .register-form .user-nickname .help-text {
33
+ margin-top: 0.5rem;
34
+ }
35
+ .register-form .card__content {
36
+ display: flex;
37
+ flex-direction: column;
38
+ gap: 1.5rem;
39
+ }
40
+ .new_user.register-form .card__content {
41
+ gap: 0.5rem;
42
+ align-items: center;
43
+ justify-content: center;
44
+ }
45
+ }