Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incentives layout adjustments for BetterBuildings #39

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
- Added Search escape suppression for keyboard accessibility.
- Added a mutation observer to handle link wrapping of external icons injected by the Block Theme.
- Modified styles to accomodate nowrap/no-wrap classing outside of the definitions links 'last-word' span.
- Incentives layout adjuments for BetterBuildings.

## 1.12.2 January 8, 2025
- Revising link styles across the sites.
Expand Down
2 changes: 1 addition & 1 deletion checklist.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Created at 2025-01-09 10:29 am
Created at 2025-01-09 1:48 pm

* [yes] Updated version in composer.json
* [yes] Updated version in style.css or plugin file
Expand Down
1 change: 0 additions & 1 deletion dist/assets/public-35068d0f.css

This file was deleted.

1 change: 1 addition & 0 deletions dist/assets/public-41719ecc.css

Large diffs are not rendered by default.

File renamed without changes.
4 changes: 2 additions & 2 deletions dist/public.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Public build entry point</title>
<script type="module" crossorigin src="/assets/public-d3bb0fae.js"></script>
<link rel="stylesheet" href="/assets/public-35068d0f.css">
<script type="module" crossorigin src="/assets/public-cc122a14.js"></script>
<link rel="stylesheet" href="/assets/public-41719ecc.css">
</head>
<body>
<div id="app"></div>
Expand Down
11 changes: 0 additions & 11 deletions styles/public/bhbb/_bh-general.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,19 +109,12 @@ html:has(body.betterhomesbc, body.betterbuildingsbc) {

/* Navigation */

#post-content#post-content a:not(.wp-block-button__link, .button),
.post-content.post-content a:not(.wp-block-button__link, .button) {
// border-bottom: 2px solid transparent;
text-decoration: currentcolor underline 2px solid;
}

#post-content#post-content a:not(.wp-block-button__link, .button):is(:hover, :focus-visible),
.post-content.post-content a:not(.wp-block-button__link, .button):is(:hover, :focus-visible) {
// border-bottom: 2px solid currentcolor;
outline: none;
outline-offset: 0;
border-radius: 3px;
text-decoration: currentcolor underline 2px solid;
}

.wp-block-template-part .bcgov-header-group .bcgov-site-header nav.wp-block-navigation button,
Expand Down Expand Up @@ -219,10 +212,6 @@ html:has(body.betterhomesbc, body.betterbuildingsbc) {
}
}

body.single-incentives .post-content .entry-content *:not(ul) {
padding-inline: 0;
}

body.single-incentives .post-content .entry-content {
padding-bottom: 2rem;
}
Expand Down
4 changes: 2 additions & 2 deletions styles/public/general.scss
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ textarea {
white-space: nowrap;
}

a:where(:not(.wp-element-button)) {
a:where(:not(.wp-element-button, .wp-block-navigation-item__content)) {
text-underline-offset: 3px;
text-decoration: currentcolor underline 1px solid;

Expand All @@ -153,7 +153,7 @@ a:where(:not(.wp-element-button)) {
.post-content {
isolation: isolate;

a:not(.wp-element-button, .icon-definition) {
a:not(.wp-element-button, .icon-definition, .wp-block-navigation-item__content) {
box-decoration-break: clone;
text-underline-offset: 4px;
text-decoration: currentcolor underline 1px solid;
Expand Down
Loading