mirror of
https://gh.wpcy.net/https://github.com/elementor/elementor.git
synced 2026-06-18 04:33:19 +08:00
## PR Checklist <!-- Please check if your PR fulfills the following requirements: **Filling out the template is required.** Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion. --> - [ ] The commit message follows our guidelines: https://github.com/elementor/elementor/blob/master/.github/CONTRIBUTING.md ## PR Type What kind of change does this PR introduce? <!-- Please check the one that applies to this PR using "x" with no spaces eg: [x]. --> - [ ] Bugfix - [ ] Feature - [ ] Code style update (formatting, local variables) - [ ] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] CI related changes - [ ] Documentation content changes - [ ] Other... Please describe: ## Summary This PR can be summarized in the following changelog entry: * ## Description An explanation of what is done in this PR * ## Test instructions This PR can be tested by following these steps: * ## Quality assurance - [ ] I have tested this code to the best of my abilities - [ ] I have added unittests to verify the code works as intended - [ ] Docs have been added / updated (for bug fixes / features) Fixes # <!--start_gitstream_placeholder--> ### ✨ PR Description ## 1. Problem & Context Replacing lock icons with crown icons across promotion UI elements to better communicate upgrade opportunities rather than locked/disabled state. Improves visual hierarchy and messaging consistency for pro feature callouts. ## 2. What Changed (Where) | File | Change | |------|--------| | Panel/template files (3) | `eicon-lock` → `eicon-upgrade-crown-full` in promotion badges | | Controls manager | Lock icon replaced with crown in display conditions and motion effects promos | | Promotion control | Lock icon → crown for generic promotion UI | | Pro widget promotion | Badge icon changed from lock to crown | | SCSS variables | Added `$e-promotion-disabled` color variants for disabled state styling | | SCSS themes | New CSS variables for promotion accent colors in light/dark modes | | SCSS editor panels | Updated selectors to target crown icon; split lock/plug styling; added disabled color styling | | Atomic widget templates (2) | `eicon-upgrade-crown` → `eicon-upgrade-crown-full` for consistency | ## 3. How It Works Icon swaps are purely presentational—no logic changes. New SCSS variables (`--e-a-color-accent-promotion-disabled`) provide muted color for disabled promotion states. Hover states now target `.eicon-upgrade-crown-full` instead of `.eicon-lock`, maintaining existing interaction patterns while improving visual messaging. ## 4. Risks Minimal. Icon swaps are CSS-only; verify crown icon renders properly in all browser/theme combinations. Disabled state color needs QA across light/dark themes to ensure adequate contrast. _Generated by LinearB AI and added by gitStream._ <sub>AI-generated content may contain inaccuracies. Please verify before using. 💡 **Tip:** You can customize your AI Description using **Guidelines** [Learn how](https://docs.gitstream.cm/automation-actions/#describe-changes)</sub> <!--end_gitstream_placeholder--> --------- Co-authored-by: Davids Seveloff <94905340+davseve@users.noreply.github.com> Co-authored-by: Nikita Murzin <mykytamu@elementor.com> |
||
|---|---|---|
| .. | ||
| admin-templates | ||
| base | ||
| controls | ||
| editor-templates | ||
| elements | ||
| interfaces | ||
| libraries | ||
| managers | ||
| settings | ||
| template-library | ||
| widgets | ||
| api.php | ||
| autoloader.php | ||
| beta-testers.php | ||
| compatibility.php | ||
| conditions.php | ||
| db.php | ||
| editor-assets-api.php | ||
| embed.php | ||
| fonts.php | ||
| frontend.php | ||
| heartbeat.php | ||
| maintenance-mode.php | ||
| maintenance.php | ||
| plugin.php | ||
| preview.php | ||
| rollback.php | ||
| shapes.php | ||
| stylesheet.php | ||
| tracker.php | ||
| user-data.php | ||
| user.php | ||
| utils.php | ||