decidim-theme 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- 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,41 @@
|
|
1
|
+
.flash.callout {
|
2
|
+
margin-bottom: 1rem;
|
3
|
+
}
|
4
|
+
.flash.callout,
|
5
|
+
.callout.secondary,
|
6
|
+
.callout {
|
7
|
+
border-radius: 8px;
|
8
|
+
border-width: 1px !important;
|
9
|
+
border-style: solid !important;
|
10
|
+
border-color: var(--grey2);
|
11
|
+
background: var(--white) !important;
|
12
|
+
padding: 2rem;
|
13
|
+
padding-top: 1.5rem;
|
14
|
+
max-width: $global-width;
|
15
|
+
margin: 0 auto;
|
16
|
+
margin-bottom: 1rem;
|
17
|
+
@extend .body-4;
|
18
|
+
color: var(--emphasis-high);
|
19
|
+
.columns,
|
20
|
+
.columns.medium-8,
|
21
|
+
.columns.large-9 {
|
22
|
+
width: 100%;
|
23
|
+
margin: 0;
|
24
|
+
padding: 0;
|
25
|
+
}
|
26
|
+
.heading5,
|
27
|
+
.heading3 {
|
28
|
+
@extend .body-2;
|
29
|
+
color: var(--emphasis-high);
|
30
|
+
margin-bottom: 1rem;
|
31
|
+
}
|
32
|
+
&.success {
|
33
|
+
border-color: var(--green);
|
34
|
+
}
|
35
|
+
&.warning {
|
36
|
+
border-color: var(--yellow);
|
37
|
+
}
|
38
|
+
&.alert {
|
39
|
+
border-color: var(--red);
|
40
|
+
}
|
41
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
.card.card--process {
|
2
|
+
&:hover,
|
3
|
+
&:focus {
|
4
|
+
text-decoration: none;
|
5
|
+
.card--process__small {
|
6
|
+
color: var(--emphasis-med);
|
7
|
+
}
|
8
|
+
}
|
9
|
+
.card__content {
|
10
|
+
padding-bottom: 2rem;
|
11
|
+
}
|
12
|
+
.card__content > .ql-editor-display {
|
13
|
+
margin-bottom: 1rem;
|
14
|
+
}
|
15
|
+
.card__content > .ql-editor.ql-reset-decidim {
|
16
|
+
padding: 0 !important;
|
17
|
+
display: block;
|
18
|
+
margin-bottom: 1rem;
|
19
|
+
}
|
20
|
+
.card__header {
|
21
|
+
margin-top: 1.5rem;
|
22
|
+
width: 100%;
|
23
|
+
}
|
24
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
.card__data-item__label {
|
2
|
+
@extend .body-6;
|
3
|
+
@extend .body-6-caps;
|
4
|
+
color: var(--emphasis-low);
|
5
|
+
}
|
6
|
+
|
7
|
+
.card__data-item__value {
|
8
|
+
@extend .body-4;
|
9
|
+
color: var(--emphasis-med);
|
10
|
+
}
|
11
|
+
|
12
|
+
.card__data-item {
|
13
|
+
display: block;
|
14
|
+
@extend .card__data-item__value;
|
15
|
+
|
16
|
+
& > div > strong {
|
17
|
+
@extend .card__data-item__label;
|
18
|
+
@extend .body-6;
|
19
|
+
}
|
20
|
+
.heading4 {
|
21
|
+
@extend .body-4;
|
22
|
+
@extend .body-4-medium;
|
23
|
+
letter-spacing: normal;
|
24
|
+
color: var(--emphasis-med);
|
25
|
+
}
|
26
|
+
|
27
|
+
& > br {
|
28
|
+
line-height: 0;
|
29
|
+
display: none;
|
30
|
+
}
|
31
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
.section.documents {
|
2
|
+
margin-top: 3rem;
|
3
|
+
margin-bottom: 3rem;
|
4
|
+
.card {
|
5
|
+
box-shadow: none;
|
6
|
+
border: 1px solid var(--grey2);
|
7
|
+
}
|
8
|
+
svg {
|
9
|
+
&.icon--cloud-download {
|
10
|
+
fill: var(--primary);
|
11
|
+
}
|
12
|
+
&.icon--caret-right {
|
13
|
+
fill: var(--emphasis-med);
|
14
|
+
}
|
15
|
+
}
|
16
|
+
button[type="button"] {
|
17
|
+
width: 100%;
|
18
|
+
padding: 0;
|
19
|
+
padding-top: 0.3rem;
|
20
|
+
text-align: left;
|
21
|
+
}
|
22
|
+
button[aria-expanded="false"] svg {
|
23
|
+
transform: rotate(90deg);
|
24
|
+
}
|
25
|
+
.card--list__data__icon {
|
26
|
+
color: var(--primary);
|
27
|
+
fill: var(--primary);
|
28
|
+
}
|
29
|
+
.card__link:hover {
|
30
|
+
text-decoration: none;
|
31
|
+
.card--list__heading > :first {
|
32
|
+
text-decoration: underline;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
.card--list__heading.heading6 {
|
36
|
+
@extend .body-4;
|
37
|
+
@extend .body-4-link;
|
38
|
+
small {
|
39
|
+
@extend .body-5;
|
40
|
+
color: var(--emphasis-lowest);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
.text-small {
|
44
|
+
@extend .body-5;
|
45
|
+
}
|
46
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
.section.columns .card.extra {
|
2
|
+
align-items: center;
|
3
|
+
}
|
4
|
+
|
5
|
+
.card.extra {
|
6
|
+
box-shadow: none;
|
7
|
+
border: 1px solid var(--grey2);
|
8
|
+
&.amender-list,
|
9
|
+
&.line-stats {
|
10
|
+
.definition-data__title {
|
11
|
+
margin-bottom: 0;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
&:not(.definition-data, .amender-list, .line-stats) {
|
15
|
+
padding: 1.5rem;
|
16
|
+
}
|
17
|
+
.m-bottom {
|
18
|
+
margin-bottom: 0;
|
19
|
+
}
|
20
|
+
.definition-data__title {
|
21
|
+
margin-bottom: 0.25rem;
|
22
|
+
}
|
23
|
+
.definition-data__number {
|
24
|
+
@extend .body-2;
|
25
|
+
@extend .body-2-semibold;
|
26
|
+
}
|
27
|
+
.card__content {
|
28
|
+
display: flex;
|
29
|
+
flex-direction: column;
|
30
|
+
gap: 1rem;
|
31
|
+
}
|
32
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
#upcoming_meetings,
|
2
|
+
#participatory-process-group-homepage-highlighted-meetings,
|
3
|
+
.upcoming-meetings,
|
4
|
+
.upcoming_meetings {
|
5
|
+
padding-top: 4rem;
|
6
|
+
padding-bottom: 4rem;
|
7
|
+
&--time {
|
8
|
+
transform: translateY(2px);
|
9
|
+
}
|
10
|
+
.card .card__header {
|
11
|
+
width: 100%;
|
12
|
+
}
|
13
|
+
.card .card__header,
|
14
|
+
.card .card__text {
|
15
|
+
position: relative;
|
16
|
+
top: 0;
|
17
|
+
padding: 0;
|
18
|
+
}
|
19
|
+
.card .card__text a {
|
20
|
+
@extend .body-5;
|
21
|
+
@extend .body-5-link;
|
22
|
+
}
|
23
|
+
.card .p-s,
|
24
|
+
.card .card__content {
|
25
|
+
padding: 1rem;
|
26
|
+
padding-bottom: 1.25rem !important;
|
27
|
+
padding-top: 1.5rem !important;
|
28
|
+
}
|
29
|
+
.card__link .text-small {
|
30
|
+
@extend .body-6;
|
31
|
+
}
|
32
|
+
.card--list__heading {
|
33
|
+
@extend .body-4;
|
34
|
+
}
|
35
|
+
.heading6,
|
36
|
+
h4.card--list__heading.heading6 {
|
37
|
+
@extend .body-2;
|
38
|
+
}
|
39
|
+
|
40
|
+
.card__link:hover,
|
41
|
+
.card__link:focus {
|
42
|
+
text-decoration: none !important;
|
43
|
+
& .card--list__heading {
|
44
|
+
text-decoration: underline !important;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
@@ -0,0 +1,129 @@
|
|
1
|
+
.o-notifications_settings,
|
2
|
+
.o-user_interests {
|
3
|
+
strong {
|
4
|
+
margin-bottom: 0.65rem;
|
5
|
+
margin-top: 0.65rem;
|
6
|
+
display: inline-block;
|
7
|
+
}
|
8
|
+
}
|
9
|
+
|
10
|
+
.o-account--delete .m-account > .columns {
|
11
|
+
width: 100%;
|
12
|
+
max-width: 45rem;
|
13
|
+
}
|
14
|
+
|
15
|
+
.o-user_interests .m_user_interests > ul > li > .switch {
|
16
|
+
margin-top: 2rem;
|
17
|
+
.switch-label {
|
18
|
+
@extend .body-4;
|
19
|
+
@extend .body-4-semibold;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
.o-authorizations--index,
|
24
|
+
.o-own_user_groups {
|
25
|
+
h5.card--list__heading {
|
26
|
+
@extend .body-2;
|
27
|
+
}
|
28
|
+
.card.card--list {
|
29
|
+
border-radius: 8px;
|
30
|
+
}
|
31
|
+
.section,
|
32
|
+
.main-container__content,
|
33
|
+
.card.card--list,
|
34
|
+
.card--list__item {
|
35
|
+
margin: 0 !important;
|
36
|
+
padding: 0 !important;
|
37
|
+
}
|
38
|
+
.card.card--list a,
|
39
|
+
.card.card--list .card--list__text {
|
40
|
+
padding: 0;
|
41
|
+
margin: 0;
|
42
|
+
width: 100%;
|
43
|
+
position: relative;
|
44
|
+
}
|
45
|
+
.card.card--list .card--list__text {
|
46
|
+
padding: 0.62rem 1rem;
|
47
|
+
}
|
48
|
+
.main-container__content .card a:not(:last-of-type),
|
49
|
+
.main-container__content
|
50
|
+
.card
|
51
|
+
.card--list__item:not(:last-child)
|
52
|
+
.card--list__text {
|
53
|
+
border-bottom: 0;
|
54
|
+
}
|
55
|
+
.section {
|
56
|
+
background-color: var(--grey1);
|
57
|
+
}
|
58
|
+
|
59
|
+
.label {
|
60
|
+
position: absolute;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
.o-own_user_groups {
|
65
|
+
.card--list__text {
|
66
|
+
.text-small {
|
67
|
+
display: inline-block;
|
68
|
+
width: 100%;
|
69
|
+
}
|
70
|
+
.label {
|
71
|
+
top: 1.4rem;
|
72
|
+
margin-left: 1rem;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
.o-account .m_account--delete p {
|
77
|
+
margin-bottom: 1rem !important;
|
78
|
+
}
|
79
|
+
.o-account,
|
80
|
+
.o-notifications_settings,
|
81
|
+
.o-authorizations--index,
|
82
|
+
.o-own_user_groups,
|
83
|
+
.o-user_interests,
|
84
|
+
.o-data_portability,
|
85
|
+
.o-download_your_data {
|
86
|
+
h1.heading1 {
|
87
|
+
@extend .heading-3;
|
88
|
+
text-align: center;
|
89
|
+
}
|
90
|
+
.card {
|
91
|
+
border: 0px;
|
92
|
+
border-radius: 0;
|
93
|
+
box-shadow: unset;
|
94
|
+
padding: 0;
|
95
|
+
margin: 0;
|
96
|
+
}
|
97
|
+
.side-panel__tabs .tabs-title {
|
98
|
+
border: 0px;
|
99
|
+
padding-right: 24px;
|
100
|
+
&:first-child {
|
101
|
+
padding-top: 0;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
.main-container {
|
105
|
+
background-color: transparent;
|
106
|
+
border: 0px;
|
107
|
+
}
|
108
|
+
|
109
|
+
.main-container__content {
|
110
|
+
background-color: var(--white);
|
111
|
+
padding: 1.5rem 1rem;
|
112
|
+
border-radius: $global-radius;
|
113
|
+
|
114
|
+
@include breakpoint(medium) {
|
115
|
+
padding: 1.5rem 1rem;
|
116
|
+
}
|
117
|
+
}
|
118
|
+
.link.change-password {
|
119
|
+
font-weight: normal;
|
120
|
+
margin-top: 1rem;
|
121
|
+
margin-bottom: 1rem;
|
122
|
+
}
|
123
|
+
p:not(.help-text) {
|
124
|
+
margin-bottom: 0;
|
125
|
+
}
|
126
|
+
.main-container__content [type="submit"] {
|
127
|
+
margin-top: 1.5rem;
|
128
|
+
}
|
129
|
+
}
|
@@ -0,0 +1,119 @@
|
|
1
|
+
.m_accountability-results--home {
|
2
|
+
.intro.section {
|
3
|
+
margin-bottom: 1rem;
|
4
|
+
}
|
5
|
+
.intro > .row:first-child > .columns > p {
|
6
|
+
color: var(--emphasis-high);
|
7
|
+
}
|
8
|
+
.input-group-field {
|
9
|
+
height: auto;
|
10
|
+
}
|
11
|
+
hr {
|
12
|
+
display: none;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
.accountability.result-view,
|
16
|
+
.m_accountability-results,
|
17
|
+
.m_accountability-versions {
|
18
|
+
.card.card--list {
|
19
|
+
box-shadow: none;
|
20
|
+
margin-bottom: 0.5rem;
|
21
|
+
|
22
|
+
.card--list__heading,
|
23
|
+
.card--list__data__number {
|
24
|
+
@extend .heading-4;
|
25
|
+
}
|
26
|
+
.card--list__data__number {
|
27
|
+
color: var(--emphasis-low);
|
28
|
+
}
|
29
|
+
.card__link:hover,
|
30
|
+
.card__link:focus {
|
31
|
+
text-decoration: none !important;
|
32
|
+
}
|
33
|
+
.card__link:hover .card--list__heading,
|
34
|
+
.card__link:focus .card--list__heading {
|
35
|
+
text-decoration: underline;
|
36
|
+
}
|
37
|
+
.card__link:hover .text-small {
|
38
|
+
text-decoration: none !important;
|
39
|
+
}
|
40
|
+
span.text-small,
|
41
|
+
.author-data,
|
42
|
+
.author-data .author__name {
|
43
|
+
@extend .body-4;
|
44
|
+
color: var(--emphasis-low);
|
45
|
+
}
|
46
|
+
.card--meta span {
|
47
|
+
color: var(--emphasis-low);
|
48
|
+
}
|
49
|
+
.card--meta strong {
|
50
|
+
@extend .mini-title;
|
51
|
+
color: var(--emphasis-low);
|
52
|
+
}
|
53
|
+
}
|
54
|
+
.scope-filters.section {
|
55
|
+
margin-bottom: 2.5rem;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
.o-results.o-results--show {
|
60
|
+
.section:has(.progress-level),
|
61
|
+
.section.js-with-progress-level {
|
62
|
+
margin-bottom: 1rem;
|
63
|
+
}
|
64
|
+
.result-view .title {
|
65
|
+
@extend .heading-4;
|
66
|
+
align-items: center;
|
67
|
+
}
|
68
|
+
.result-description {
|
69
|
+
@extend .body-4;
|
70
|
+
color: var(--emphasis-high);
|
71
|
+
}
|
72
|
+
.result-view .title .icon {
|
73
|
+
min-width: 2rem;
|
74
|
+
min-height: 2rem;
|
75
|
+
color: var(--emphasis-med);
|
76
|
+
fill: var(--emphasis-med);
|
77
|
+
}
|
78
|
+
.accountability.result-view .progress-level {
|
79
|
+
background: transparent;
|
80
|
+
border-width: 0;
|
81
|
+
padding: 0;
|
82
|
+
flex-direction: column-reverse;
|
83
|
+
display: flex;
|
84
|
+
gap: 4px;
|
85
|
+
.progress-label {
|
86
|
+
gap: 0.5rem;
|
87
|
+
justify-content: flex-start;
|
88
|
+
align-items: center;
|
89
|
+
}
|
90
|
+
.progress {
|
91
|
+
margin-bottom: 0;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
.result-view .title {
|
95
|
+
margin-bottom: 0;
|
96
|
+
}
|
97
|
+
.result-view .progress-level .progress-label .progress-figure {
|
98
|
+
margin-top: 0;
|
99
|
+
@extend .body-2;
|
100
|
+
@extend .body-2-semibold;
|
101
|
+
}
|
102
|
+
.result-meta {
|
103
|
+
margin-bottom: 0;
|
104
|
+
.result-meta--data {
|
105
|
+
font-size: 14px !important;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
hr {
|
109
|
+
display: none;
|
110
|
+
}
|
111
|
+
.definition-data__item {
|
112
|
+
.author--inline span,
|
113
|
+
.text-large {
|
114
|
+
@extend .body-4;
|
115
|
+
font-weight: normal;
|
116
|
+
color: var(--emphasis-med);
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
.o-authorizations {
|
2
|
+
p.heading5,
|
3
|
+
h1,
|
4
|
+
.heading1 {
|
5
|
+
@extend .heading-3;
|
6
|
+
}
|
7
|
+
.card {
|
8
|
+
padding: 1.5rem 1rem;
|
9
|
+
justify-content: center;
|
10
|
+
& > .card__content {
|
11
|
+
display: flex;
|
12
|
+
flex-direction: column;
|
13
|
+
gap: 1rem;
|
14
|
+
align-items: center;
|
15
|
+
justify-content: center;
|
16
|
+
form {
|
17
|
+
width: 100%;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
&.skip {
|
22
|
+
@extend .body-4;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
@@ -0,0 +1,77 @@
|
|
1
|
+
.m_blogs-posts {
|
2
|
+
a.small.hollow:has(.icon--chevron-left),
|
3
|
+
a.small.hollow.js-with-back {
|
4
|
+
@extend .link--go-back;
|
5
|
+
}
|
6
|
+
.ql-editor.ql-reset-decidim {
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
}
|
10
|
+
.view-side .card__content {
|
11
|
+
.button_to, .button_to > .button, & > div {
|
12
|
+
width: 100%;
|
13
|
+
}
|
14
|
+
.buttons__row {
|
15
|
+
flex-direction: column;
|
16
|
+
align-items: flex-start;
|
17
|
+
justify-content: stretch;
|
18
|
+
& > :first-child {
|
19
|
+
margin-bottom: 1rem;
|
20
|
+
}
|
21
|
+
& > .column,
|
22
|
+
& .button-group,
|
23
|
+
& > .column > .button {
|
24
|
+
width: 100%;
|
25
|
+
}
|
26
|
+
}}
|
27
|
+
.author-data__extra {
|
28
|
+
button:hover {
|
29
|
+
text-decoration: underline;
|
30
|
+
}
|
31
|
+
.icon--flag {
|
32
|
+
@extend .body-5;
|
33
|
+
@extend .body-5-link;
|
34
|
+
width: 14px;
|
35
|
+
height: 14px;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
.card__header {
|
40
|
+
padding: 0;
|
41
|
+
}
|
42
|
+
.card {
|
43
|
+
padding: 2rem;
|
44
|
+
p:last-child {
|
45
|
+
margin-bottom: 0;
|
46
|
+
}
|
47
|
+
.card__title {
|
48
|
+
margin-bottom: 0.75rem;
|
49
|
+
}
|
50
|
+
.card__author {
|
51
|
+
padding: 0;
|
52
|
+
margin: 0;
|
53
|
+
margin-bottom: 1rem;
|
54
|
+
transform: translateY(-9px);
|
55
|
+
}
|
56
|
+
}
|
57
|
+
#most-commented {
|
58
|
+
strong {
|
59
|
+
font-weight: normal;
|
60
|
+
@extend .body-4;
|
61
|
+
@extend .body-4-link;
|
62
|
+
}
|
63
|
+
.section-heading {
|
64
|
+
@extend .mini-title;
|
65
|
+
color: var(--emphasis-med);
|
66
|
+
margin-bottom: 1rem;
|
67
|
+
}
|
68
|
+
.author-data.author-data--nopadding {
|
69
|
+
@extend .body-5;
|
70
|
+
color: var(--emphasis-low);
|
71
|
+
a {
|
72
|
+
@extend .body-5;
|
73
|
+
@extend .body-5-link;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|