Skip to content

Commit

Permalink
Merge pull request #1010 from City-of-Helsinki/UHF-9946
Browse files Browse the repository at this point in the history
UHF-9946: Grants hdbt_subtheme refactoring and updating changes
  • Loading branch information
teroelonen authored Jun 20, 2024
2 parents 49507f5 + 057da89 commit 6ea70e0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
4 changes: 0 additions & 4 deletions .stylelintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,8 @@ rules:
color-named:
- never
- message: "HELFI: Instead of color values, please use tokens like $color-black instead"
string-quotes:
- single
- message: "HELFI: We use single quotes in SCSS"
declaration-block-no-redundant-longhand-properties: null # We prefer longhand properties for clarity in SCSS
selector-class-pattern: null # We're not too stict about selector class pattern
max-line-length: null # Lets not limit line length at this point
declaration-empty-line-before:
- never
- message: "HELFI: No need for empty line before declaration"
Expand Down
2 changes: 1 addition & 1 deletion dist/css/styles.min.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/scss/06_components/paragraphs/_hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ $koro-height: 50px;

.hero__image-container {
color: var(--hdbt-color-palette--primary);
outline: none;
pointer-events: none;
user-select: none;
}

.hero__text-content {
Expand Down
2 changes: 2 additions & 0 deletions templates/layout/page--401.html.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% embed 'page.html.twig' %}
{% block page_content %}
{{ optional_messages }}
{% embed '@hdbt/misc/container.twig' with {container_element: 'error-page-content'} %}
{% block container_content %}
<div class="error-page__text-container">
Expand All @@ -26,6 +27,7 @@
{% if user_not_logged_in %}
<h2 class="error-page__login-title">{{ 'Log in'|t({}, {'context': 'Log in block title on error pages'}) }}</h2>
{% endif %}
{{ optional_login_block_description }}
<div class="error-page__login-form">
{{ drupal_block('user_login_block') }}
</div>
Expand Down

0 comments on commit 6ea70e0

Please sign in to comment.