Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/redesign-conferences
* develop: Redesign: pages (#9457) Add "no-reply" notification at the email footers (#9668) merge layout center into one-col, allowing 3 variations (#9755) Fix form error overlap with character counter in the admin panel (#9683) Change the custom public port ENV variable name to HTTP_PORT (#9598) Redesign: login & signup (#9455) Fix redundant notification on comments with linked proposals (#9676)
- Loading branch information
Showing
61 changed files
with
698 additions
and
457 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
<div class="row column"> | ||
<%= content_tag :div, class: "callout announcement mb-sm #{callout_class} cell-announcement" do %> | ||
<% if has_title? %> | ||
<p class="heading5"><%= clean_title %></p> | ||
<%= content_tag :div, class: "callout #{callout_class}", data: { announcement: "" } do %> | ||
<% if has_title? %> | ||
<div class="h4"><%= clean_title %></div> | ||
|
||
<%= clean_body %> | ||
<% else %> | ||
<%= clean_announcement %> | ||
<% end %> | ||
<%= clean_body %> | ||
<% else %> | ||
<%= clean_announcement %> | ||
<% end %> | ||
</div> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,13 @@ | ||
<div class="columns small-12"> | ||
<div class="card"> | ||
<div class="card__content"> | ||
<div class="card__header"> | ||
<h5 class="card__title text-center"> | ||
<%= t("form.legend", scope: "decidim.pages.terms_and_conditions") %> | ||
</h5> | ||
</div> | ||
<div class="tos"> | ||
<h2 class="h5 text-center"> | ||
<%= t("form.legend", scope: "decidim.pages.terms_and_conditions") %> | ||
</h2> | ||
|
||
<div class="row column flex-center"> | ||
<%= cell "decidim/tos_page", :refuse_btn_modal %> | ||
<div class="tos__buttons"> | ||
<%= cell "decidim/tos_page", :refuse_btn_modal %> | ||
<%= button_to decidim.accept_tos_path, method: :put, class: "button button--nomargin small" do %> | ||
<%= t("form.agreement", scope: "decidim.pages.terms_and_conditions") %> | ||
<% end %> | ||
</div> | ||
</div> | ||
<%= button_to decidim.accept_tos_path, method: :put, class: "button button__sm button__secondary" do %> | ||
<%= t("form.agreement", scope: "decidim.pages.terms_and_conditions") %> | ||
<% end %> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
decidim-core/app/packs/stylesheets/decidim/_redesigned_accordion.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[data-component="accordion"] [id*="panel"][aria-hidden="true"], | ||
[data-component="accordion"] [id*="panel"][aria-hidden="true"] *{ | ||
display: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
decidim-core/app/packs/stylesheets/decidim/_redesigned_callout.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.callout{ | ||
@apply rounded p-4 border-l-4 border-secondary bg-secondary/5; | ||
|
||
&.success{ | ||
@apply border-success bg-success/5; | ||
} | ||
|
||
&.alert{ | ||
@apply border-alert bg-alert/5; | ||
} | ||
|
||
&.warning{ | ||
@apply border-warning bg-warning/5; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 60 additions & 0 deletions
60
decidim-core/app/packs/stylesheets/decidim/_redesigned_login.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
.login{ | ||
&__info{ | ||
@apply text-gray-2 text-lg space-y-4 mb-10 prose-a:text-secondary prose-a:underline last:[&>*]:font-semibold; | ||
} | ||
|
||
&__info-required{ | ||
@apply mb-10 text-gray-2 text-sm; | ||
} | ||
|
||
&__omniauth{ | ||
@apply flex flex-col items-center gap-8 py-10 text-gray-2 font-semibold; | ||
|
||
&-button{ | ||
@apply border border-gray shadow-[0_4px_6px_rgba(211,211,211,0.25)] justify-start gap-8 text-lg min-w-[50%]; | ||
|
||
svg{ | ||
@apply w-6 h-6 fill-current; | ||
} | ||
} | ||
|
||
&-separator{ | ||
@apply flex items-center justify-center gap-12 after:content-[''] before:content-[''] after:h-px before:h-px after:bg-background before:bg-background after:grow before:grow; | ||
} | ||
} | ||
|
||
&__form{ | ||
@apply flex flex-col py-10 gap-10; | ||
|
||
&-block{ | ||
@apply py-10 border-t-2 border-background flex flex-col py-10 gap-4 only:[&_button]:ml-auto [&_p]:text-gray-2; | ||
} | ||
|
||
&-checkbox-label{ | ||
@apply text-md text-gray-2 font-normal prose-a:text-secondary prose-a:underline cursor-pointer; | ||
} | ||
|
||
& label:not(&-checkbox-label), | ||
&-block label:not(&-checkbox-label){ | ||
@apply font-semibold text-lg; | ||
} | ||
|
||
.help-text{ | ||
@apply mt-4; | ||
} | ||
|
||
input[type="text"], | ||
input[type="email"], | ||
input[type="password"]{ | ||
@apply w-full block mt-4; | ||
} | ||
} | ||
|
||
&__links{ | ||
@apply flex flex-col gap-4 py-10 border-t-2 border-background; | ||
|
||
a{ | ||
@apply w-fit text-secondary hover:underline; | ||
} | ||
} | ||
} |
Oops, something went wrong.