Skip to content

Commit

Permalink
EWPP-3913: Update ecl classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
22Alexandra committed Feb 13, 2024
1 parent 8e3c7d3 commit dbdee2b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
...
]
#}
<div class="ecl-lang-select-page ecl-u-bg-grey-5 ecl-u-pv-m">
<div class="ecl-lang-select-page {{ ecl_class_background_color() }} ecl-u-pv-m">
<div class="ecl-container">
{% include '@ecl-twig/notification' with {
title: 'English is available via machine translation – please use the link below.'|t,
Expand Down Expand Up @@ -71,7 +71,7 @@
{% block language_list %}
{% if languages %}
<div id="{{ expandable_id ~ '-content' }}" class="ecl-expandable__content" hidden>
<ul style="grid-auto-flow: column; grid-template-rows: repeat(4, 1fr)" class="ecl-u-d-block ecl-u-d-m-grid ecl-unordered-list ecl-unordered-list--no-bullet ecl-u-mt-xs ecl-u-type-m">
<ul style="grid-auto-flow: column; grid-template-rows: repeat(4, 1fr)" class="ecl-u-d-block ecl-u-d-m-grid ecl-unordered-list ecl-unordered-list--no-marker ecl-u-mt-xs ecl-u-type-m">
{% for language in languages %}
<li class="ecl-unordered-list__item ecl-u-ma-2xs">
{% set link_classes = language.current ? 'ecl-u-bg-blue-50 ecl-u-type-color-white ecl-u-type-bold' : '' %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
{% endif %}
</h2>
{% if description is not empty %}
<p class="ecl-u-mb-none ecl-u-mt-m ecl-u-type-color-grey ecl-u-type-paragraph">
<p class="ecl-u-mb-none ecl-u-mt-m ecl-u-type-color-dark ecl-u-type-paragraph">
{{ description }}
</p>
{% endif %}
{% if links is not empty %}
<ul class="ecl-u-mt-m ecl-unordered-list ecl-unordered-list--no-bullet">
<ul class="ecl-u-mt-m ecl-unordered-list ecl-unordered-list--no-marker">
{% for link in links %}
<li class="ecl-unordered-list__item">
{% if link.link.path %}
Expand All @@ -55,8 +55,8 @@
</ul>
{% endif %}
{% if secondary_links is not empty %}
<div class="ecl-u-mt-m ecl-u-border-top ecl-u-border-color-grey-50">
<ul class="ecl-u-mt-m ecl-unordered-list ecl-unordered-list--no-bullet">
<div class="ecl-u-mt-m ecl-u-border-top ecl-u-border-color-dark-60">
<ul class="ecl-u-mt-m ecl-unordered-list ecl-unordered-list--no-marker">
{% for link in secondary_links %}
<li class="ecl-unordered-list__item">
{% if link.link.path %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
{% if _links is not empty %}
<nav class="{{ _css_class }}"{{ _extra_attributes|raw }}>
<h2 hidden>{{ _title }}</h2>
<ul class="ecl-navigation ecl-unordered-list--no-bullet ecl-u-border-bottom ecl-u-border-color-grey-25{{ _list_class }}">
<ul class="ecl-navigation ecl-unordered-list--no-marker ecl-u-border-bottom {{ ecl_class_border_color() }}{{ _list_class }}">
{% for _link in _links %}
{% set _active_class = _link.is_active == true ? ' ecl-navigation__item--active ecl-u-border-bottom ecl-u-border-color-blue' : '' %}
{% set _active_class = _link.is_active == true ? ' ecl-navigation__item--active ecl-u-border-bottom ecl-u-border-color-primary' : '' %}
<li class="ecl-navigation__item ecl-unordered-list__item ecl-u-d-inline{{ _list_item_class }}{{ _active_class }}">
{% include '@ecl-twig/link' with _link only %}
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#}
<div class="active-search-filters ecl-u-d-m-flex">
<div class="active-search-filters__name ecl-u-flex-shrink-0 ecl-u-mb-s ecl-u-mr-s ecl-u-pt-xs">
<span class="ecl-u-type-s ecl-u-type-uppercase ecl-u-type-color-grey-75">{{ name }}</span>
<span class="ecl-u-type-s ecl-u-type-uppercase ecl-u-type-color-dark-80">{{ name }}</span>
</div>
<div class="active-search-filters__items ecl-u-flex-grow-1">
{% for item in items %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

{% for group_patterns in patterns %}
{% for pattern_name, pattern in group_patterns %}
<div class="ecl-u-clearfix ecl-u-pv-4xl ecl-u-border-bottom ecl-u-border-color-grey-50">
<div class="ecl-u-clearfix ecl-u-pv-4xl ecl-u-border-bottom ecl-u-border-color-dark-60">
{# Pattern name and desciption. #}
<a id="{{ pattern_name }}"></a>
{% include '@ecl-twig/link' with {
Expand Down

0 comments on commit dbdee2b

Please sign in to comment.