Bug in "_sections.less" mixins: missing rules and incorrect default variables #18729
Labels
Fixed in 2.2.x
The issue has been fixed in 2.2 release line
Fixed in 2.3.x
The issue has been fixed in 2.3 release line
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Reproduced on 2.2.x
The issue has been reproduced on latest 2.2 release
Reproduced on 2.3.x
The issue has been reproduced on latest 2.3 release
There are couple of issues when trying to use mixins for "tabs" and "accordion" components.
The issue is related to
lib/web/css/source/lib/_sections.less
.The default variables are predefined in
lib/web/css/source/lib/variables/_sections.less
.Summary (*)
When you try to customize the view of "tabs" and "accordion" components by redefining the default variables in the scope of a custom theme, the following issues appear:
Examples (*)
Let's try to define the following variables in the scope of a custom theme.
Assuming that those variables are not defined elsewhere (in the scope of current or parent theme) except the default lib variables file
lib/web/css/source/lib/variables/_sections.less
.Expected Result
There are red color, yellow background and underline text decoration applied for both accordion and tabs active controls.
Actual Result
The red color is not applied accordion active controls.
The underline text decoration is not apllied for both accordion and tabs active controls.
Proposed solution
Add missing rules to
lib/web/css/source/lib/_sections.less
and change the default variable names to the correct ones.The text was updated successfully, but these errors were encountered: