Skip to content

🚧 Big CSS Cleanup#4170

Draft
josemigallas wants to merge 13 commits into
masterfrom
THREESCALE-12047_clean_up_css
Draft

🚧 Big CSS Cleanup#4170
josemigallas wants to merge 13 commits into
masterfrom
THREESCALE-12047_clean_up_css

Conversation

@josemigallas

@josemigallas josemigallas commented Nov 17, 2025

Copy link
Copy Markdown
Contributor

🚧 WIP do not review 🚧

THREESCALE-12047: Clean up unused CSS

What does this do:

  • Address stylelint errors and warnings.
  • Find and remove unused styles
  • Replace legacy styles and hacks in favor of Patternfly classes and variables
  • Remove redundancies and reduce duplications
  • Decouple provider.scss (big css bundle vs. individual pages' scss)

@josemigallas josemigallas self-assigned this Nov 17, 2025
@josemigallas josemigallas marked this pull request as draft November 17, 2025 10:11
@github-actions github-actions Bot added the Stale label Dec 18, 2025
@3scale 3scale deleted a comment from github-actions Bot Dec 18, 2025
@josemigallas josemigallas force-pushed the THREESCALE-12047_clean_up_css branch from c5f64c9 to c7d16ee Compare January 14, 2026 10:17
@github-actions github-actions Bot added the Stale label Feb 14, 2026
@3scale 3scale deleted a comment from github-actions Bot Feb 18, 2026
@github-actions github-actions Bot added the Stale label Mar 21, 2026
@3scale 3scale deleted a comment from github-actions Bot Mar 23, 2026
@github-actions github-actions Bot added the Stale label Apr 23, 2026
@github-actions github-actions Bot closed this May 8, 2026
@josemigallas josemigallas reopened this May 27, 2026
@github-actions github-actions Bot removed the Stale label May 28, 2026
josemigallas and others added 12 commits June 19, 2026 11:15
Adjusts linting rules to accommodate the CSS modernization
effort. Pins stylelint to 15.11.0 and adds
stylelint-config-standard-scss. Adds .stylelintignore for
developer portal stylesheets.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replaces 115+ hardcoded color definitions with 13 SCSS
variables mapped to Patternfly 4 CSS custom properties.
Extracts white-box-shadow mixin into shared utils.scss
module. Updates all consumers to use new import paths and
surviving variable names. Removes dead selectors and
vendor-prefixed mixins.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Deletes 7 unused stylesheet partials that contained dead
code or styles now handled by Patternfly components.
Removes corresponding @forward references from _theme.scss.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Extracts body min-width to new provider.scss using
Patternfly breakpoint variable. Removes .Main wrapper class
from provider layout and compensates spacing through footer
margin utility class. Updates Slim syntax to use explicit
class attributes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replaces 6 deleted CMS SCSS partials with 3 new standalone
stylesheets loaded on-demand. Adopts Patternfly tabs,
drag-drop, table, and hint components for CMS UI. Improves
drag-and-drop behavior with proper Patternfly state
classes. Moves CMS styles from global theme to view-level
loading.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replaces 5 separate apiconfig SCSS partials with one
integration.scss loaded on-demand from integration views.
Removes custom PromoteButton class in favor of Patternfly
button classes. Moves styles from global theme to
view-level loading.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Uses pf-c-banner for the Red Hat account verification
notice. Moves text to i18n locale file for proper
translation support. Loads banner CSS on-demand via webpack
pack instead of global theme.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replaces StatsCSVLink custom CSS classes with Patternfly
button and flex layout utilities in stats views.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Wraps javascript/stylesheet pack tags in content_for blocks
for proper placement in HTML head. Fixes missing do
keywords in content_for calls. Replaces InfoBox custom
component with Patternfly cards. Extracts pf_addons as
standalone pack. Cleans up JS/CSS pack tag separation.
Adds i18n keys for Braintree payment gateway views.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Removes deprecated calculateRem and font-size SCSS
functions. Hardcodes wizard-specific color values to
decouple from the main color system. Consolidates feedback
component styles and removes duplicate keyframes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@josemigallas josemigallas force-pushed the THREESCALE-12047_clean_up_css branch from c7d16ee to 0243087 Compare June 19, 2026 09:15
@josemigallas josemigallas force-pushed the THREESCALE-12047_clean_up_css branch from 0243087 to e12f200 Compare June 22, 2026 10:07
@3scale 3scale deleted a comment from github-actions Bot Jun 22, 2026
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.

1 participant