Commit a03475e
authored
refact: continue cleanups (#255)
* Remove FL-row dual-class from before/after pseudo-elements (BEM exists)
- Removed .fl-row from dual-class pseudo-element declarations
- Keep only .c-row BEM classes for consistency
- Tests pass, build clean
* Remove FL-row dual-class from after pseudo-element (BEM exists)
- Removed .fl-row:after from dual-class pseudo-element declarations
- Keep only .c-row:after BEM class for consistency
- FL-row dual-class cleanup completed for beaver-grid-layout.css
* Remove FL-col dual-class (BEM c-column exists)
- Removed .fl-col from dual-class column declarations
- Keep only .c-column BEM class for consistency
- FL-column dual-class cleanup completed
* Remove FL-photo dual-class (BEM c-photo exists)
- Removed .fl-photo from dual-class photo declarations
- Keep only .c-photo BEM class for consistency
- FL-photo dual-class cleanup completed
* Remove FL-rich-text dual-class (BEM c-rich-text exists)
- Removed .fl-rich-text from dual-class typography declarations
- Keep only .c-rich-text BEM class for consistency
- FL-rich-text dual-class cleanup completed
* Add BEM equivalent for services hero section
- Added .c-services-hero class to hero section div alongside FL classes
- Implemented shameless green CSS with critical FL-Builder styles
- Added min-height: 100vh and display: flex for proper layout
- Tests passing - visual regression resolved
- Dual-class approach maintains FL compatibility
* Add BEM equivalent for services overview section
- Added .c-services-overview class to overview section div alongside FL classes
- Implemented shameless green CSS with FL-Builder flexbox styles
- Added min-height: 100vh and display: flex for consistency
- Tests passing - dual-class approach working well
- 2 of 5 priority sections now have BEM equivalents
* Add BEM equivalent for services clients section
- Add .c-services-clients class to client case studies section at line 178
- Apply shameless green FL-Builder replication with flexbox styles
- Maintain visual parity with existing FL-Builder layout
- Visual regression tests pass (0 failures)
* Add BEM equivalent for services CTA section
- Add .c-services-cta class to final CTA section at line 260
- Apply shameless green FL-Builder replication pattern
- Maintain visual parity with existing FL-Builder layout
- Visual regression tests pass (0 failures)
- Complete priority components migration for services template
* Flocking: remove duplicate .c-button base styles
- Step 1 of flocking rules: identify most alike patterns
- Remove incomplete .c-button definition from components.css
- Full definition remains in buttons-migration.css
- Eliminates duplication between files
* Flocking: consolidate .c-button--large definitions
- Remove incomplete .c-button--large from components.css
- Keep complete definition in buttons-migration.css
- Eliminates padding conflict (32px vs 40px horizontal)
- Single source of truth for large button styling
* Flocking: extract form field utility patterns
- Add .u-form-field-padding utility (padding: 0.75rem 1rem)
- Add .u-form-field-transition utility for focus states
- Consolidates 3 duplicate padding patterns
- Consolidates 3 duplicate transition patterns
- Prepared for field pattern replacement
* Flocking: extract gap spacing utility patterns
- Add .u-gap-md utility (gap: 1rem)
- Add .u-flex-gap utility (display: flex + gap: 1rem)
- Consolidates 10+ duplicate gap: 1rem patterns
- Consolidates 5+ duplicate flex + gap combinations
- Ready for pattern replacement across components
* Flocking: consolidate typography patterns across form components
* Add .u-text-body utility for font-size: 1rem + line-height: 1.5
* Consolidates 8+ duplicate instances found in forms.css
* Common pattern used across form fields and controls
* Remove unused FL-Builder animation CSS classes
- Remove .fl-animation, .fl-animated classes (confirmed unused)
- Eliminate 8 lines of animation-related CSS
- First step in FL-Builder CSS cleanup to reduce file size
* Remove unused FL-Builder bg-video-fallback CSS
- Remove .fl-bg-video-fallback class (confirmed unused)
- Eliminate 9 lines of background video CSS
- Continue FL-Builder CSS cleanup
* Remove unused FL-Builder form CSS classes
- Remove .fl-form-field, .fl-form-error, .fl-form-error-message, .fl-form-button-disabled
- Eliminate 20 lines of form-related CSS (confirmed unused)
- Continue FL-Builder CSS size reduction
* Remove unused FL node CSS: .fl-node-2il86phfbmex (single occurrence)
* Remove unused FL node CSS: .fl-node-73fx8mcb9lte (single occurrence)
- Removed single-occurrence FL node pattern from fl-use-cases-layout.css
- Pattern only had width: 25% rule
- Tests passed: 39 runs, 57 assertions, 0 failures
- Part of Phase 3 FL-Builder cleanup
* Remove unused FL node CSS: .fl-node-7zdx61osbq4a (single occurrence)
- Removed single-occurrence FL node pattern from fl-component-layout.css
- Pattern only had width: 100% rule
- Tests passed: 39 runs, 57 assertions, 0 failures
- Part of Phase 3 FL-Builder cleanup
* Remove unused FL node CSS: .fl-node-2x7c5i3nmohu (single occurrence)
- Removed single-occurrence FL node pattern from fl-component-layout.css
- Pattern only had width: 26% rule
- Tests passed: 39 runs, 57 assertions, 0 failures
- Part of Phase 3 FL-Builder cleanup
* wip1 parent 53b31b0 commit a03475e
11 files changed
Lines changed: 118 additions & 229 deletions
File tree
- themes/beaver
- assets/css
- components
- layouts/services
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
533 | | - | |
534 | 533 | | |
535 | 534 | | |
536 | 535 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2816 | 2816 | | |
2817 | 2817 | | |
2818 | 2818 | | |
| 2819 | + | |
| 2820 | + | |
| 2821 | + | |
| 2822 | + | |
| 2823 | + | |
| 2824 | + | |
| 2825 | + | |
| 2826 | + | |
| 2827 | + | |
| 2828 | + | |
| 2829 | + | |
| 2830 | + | |
| 2831 | + | |
| 2832 | + | |
| 2833 | + | |
| 2834 | + | |
| 2835 | + | |
| 2836 | + | |
| 2837 | + | |
| 2838 | + | |
| 2839 | + | |
| 2840 | + | |
| 2841 | + | |
| 2842 | + | |
| 2843 | + | |
| 2844 | + | |
| 2845 | + | |
| 2846 | + | |
| 2847 | + | |
| 2848 | + | |
| 2849 | + | |
| 2850 | + | |
| 2851 | + | |
| 2852 | + | |
| 2853 | + | |
| 2854 | + | |
| 2855 | + | |
| 2856 | + | |
| 2857 | + | |
| 2858 | + | |
| 2859 | + | |
| 2860 | + | |
| 2861 | + | |
| 2862 | + | |
| 2863 | + | |
| 2864 | + | |
| 2865 | + | |
| 2866 | + | |
| 2867 | + | |
| 2868 | + | |
| 2869 | + | |
| 2870 | + | |
| 2871 | + | |
| 2872 | + | |
| 2873 | + | |
| 2874 | + | |
| 2875 | + | |
| 2876 | + | |
| 2877 | + | |
| 2878 | + | |
| 2879 | + | |
| 2880 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 11 | + | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
| |||
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
25 | | - | |
26 | | - | |
27 | | - | |
| 23 | + | |
28 | 24 | | |
29 | 25 | | |
30 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
273 | | - | |
| 272 | + | |
274 | 273 | | |
275 | 274 | | |
276 | 275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
77 | 121 | | |
78 | 122 | | |
79 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | 110 | | |
121 | 111 | | |
122 | 112 | | |
| |||
617 | 607 | | |
618 | 608 | | |
619 | 609 | | |
620 | | - | |
621 | | - | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
629 | | - | |
630 | | - | |
631 | | - | |
632 | | - | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | 610 | | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | 611 | | |
654 | 612 | | |
655 | 613 | | |
| |||
1056 | 1014 | | |
1057 | 1015 | | |
1058 | 1016 | | |
1059 | | - | |
1060 | | - | |
1061 | | - | |
1062 | 1017 | | |
1063 | 1018 | | |
1064 | 1019 | | |
| |||
1257 | 1212 | | |
1258 | 1213 | | |
1259 | 1214 | | |
1260 | | - | |
1261 | | - | |
1262 | | - | |
1263 | 1215 | | |
1264 | 1216 | | |
1265 | 1217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3047 | 3047 | | |
3048 | 3048 | | |
3049 | 3049 | | |
3050 | | - | |
3051 | | - | |
| 3050 | + | |
3052 | 3051 | | |
3053 | 3052 | | |
3054 | 3053 | | |
| |||
0 commit comments