Skip to content

Several style improvements#111

Merged
laravdiemen merged 9 commits into
mainfrom
feat/improvements-v2
May 8, 2026
Merged

Several style improvements#111
laravdiemen merged 9 commits into
mainfrom
feat/improvements-v2

Conversation

@laravdiemen

Copy link
Copy Markdown
Contributor

Een aantal kleine dingen doorgevoerd. Voornamelijk wat css variabele toegevoegd zodat het aanpassen nog makkelijker wordt. Ook wat ongebruikte code weggehaald.

Copilot AI review requested due to automatic review settings May 7, 2026 09:56
@laravdiemen laravdiemen requested review from a team as code owners May 7, 2026 09:56

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Code review skipped — your organization's overage spend limit has been reached.

Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit at claude.ai/admin-settings/claude-code.

Once credits are available, reopen this pull request to trigger a review.

Comment on lines +132 to +134
&.fs-open .fs-label-wrap {
@apply rounded-b-none;
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deze aanpassing lost dit issue op: #104

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR makes small frontend style refinements across the Sage theme by introducing additional CSS custom properties (for easier future theming), tweaking a few component class strings, and removing now-unused CSS.

Changes:

  • Added/expanded CSS variables for button, tabs, and collapse blocks to make typography/shape easier to override.
  • Updated a few Blade components’ utility classes (breadcrumbs truncation, mobile menu trigger simplification, mobile filters sticky actions).
  • Removed unused footer menu CSS and made minor FacetWP styling adjustments.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
web/app/themes/sage/resources/views/components/layout/index.blade.php Breadcrumb class tweaks (alignment, truncation, hover/focus styling).
web/app/themes/sage/resources/views/components/header/mobile-menu.blade.php Simplifies hamburger trigger markup/classes.
web/app/themes/sage/resources/views/components/facetwp/mobile-filters.blade.php Adjusts mobile filter trigger stacking and sticky bottom action bar styling.
web/app/themes/sage/resources/styles/components/footer.css Removes unused .footer-menu styling.
web/app/themes/sage/resources/styles/components/facetwp.css Small refinement for open-state rounding in fs-select UI.
web/app/themes/sage/resources/styles/blocks/tabs/shared.css Adds new tabs CSS vars and applies them for font sizing/weights and icon radius.
web/app/themes/sage/resources/styles/blocks/tabs/editor.css Aligns editor styles with new tabs vars and row-end utility usage.
web/app/themes/sage/resources/styles/blocks/collapse/shared.css Adds font-weight var and aligns line-height to base typography variable.
web/app/themes/sage/resources/styles/blocks/collapse/editor.css Uses new collapse typography vars in editor input.
web/app/themes/sage/resources/styles/blocks/button/shared.css Adds button vars (font size/weight, border width, after icon color) and hover border color change.
web/app/themes/sage/resources/styles/base/utilities.css Updates is-button utility to rely on the new button vars and makes after-icon color hoverable via CSS var.


@utility is-button {
@apply inline-flex cursor-pointer items-center gap-(--button-gap) rounded-(--button-radius) border border-(--button-border-color) bg-(--button-bg-color) px-(--button-padding-x) py-(--button-padding-y) leading-snug! break-words text-(--button-color) no-underline transition-colors select-none;
@apply inline-flex cursor-pointer items-center gap-(--button-gap) rounded-(--button-radius) border-(length:--button-border-width) border-(--button-border-color) bg-(--button-bg-color) px-(--button-padding-x) py-(--button-padding-y) text-(length:--button-font-size) leading-snug! font-(--button-font-weight) wrap-break-word text-(--button-color) no-underline transition-colors select-none;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah nice met de length:

Comment on lines -13 to -38

.footer-menu {
.menu-item {
@apply text-sm;

&::before {
@apply mr-3 content-['|'];
}

&:first-child::before {
@apply content-none;
}

a {
@apply text-black no-underline;

@variant hocus {
@apply underline;
}
}
}
}

.cky-banner-element + .footer-menu .menu-item:first-child::before {
@apply content-['|'];
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was dit code van het oude widgets footer menu?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dit was voordat we navi gebruikte

@php(the_content())
@else
<x-brave-breadcrumb class="container py-3 text-sm" listClass="items-center flex flex-wrap"
itemClass="flex not-last:after:content-['|'] after:mx-2 text-gray-500 [&>span]:block [&>span]:max-w-[200px] [&>span]:overflow-hidden [&>span]:text-ellipsis [&>span]:whitespace-nowrap"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow ik wist niet dat je [&>] kon gebruiken in tailwind??? wat vet. heb het nog niet eerder nodig gehad.

@laravdiemen laravdiemen merged commit c327678 into main May 8, 2026
5 of 6 checks passed
@laravdiemen laravdiemen deleted the feat/improvements-v2 branch May 8, 2026 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants