// ============================================================================= // STENCIL // ============================================================================= // Tools // ----------------------------------------------------------------------------- // // 1. Import Citadel's toolkit for use. // // ----------------------------------------------------------------------------- @import "../../node_modules/@bigcommerce/citadel/dist/tools/toolkit"; // 1 @import "tools/tools"; // Settings // ----------------------------------------------------------------------------- // // 1. Stencil global settings get imported first. // 2. Import all Citadel and Foundation settings. // 3. Common aria helpers. // 4. Import Stencil's component settings overrides. // 5. Import tools which set/reset Citadel's global settings, to be consumed by // the rest of Stencil. // 6. Import Citadel's version of foundation. // - This enables the ability to "null" variables in the Stencil settings. // // ----------------------------------------------------------------------------- @import "settings/global/global"; // 1 @import "../../node_modules/@bigcommerce/citadel/dist/settings/global/global"; // 2 @import "settings/global/tools"; // 5 @import "../../node_modules/@bigcommerce/citadel/dist/settings/normalize/normalize"; // 2 @import "../../node_modules/@bigcommerce/citadel/dist/settings/foundation/foundation"; // 2 @import "../../node_modules/@bigcommerce/citadel/dist/settings/bigcommerce/bigcommerce"; // 2 @import "../../node_modules/@bigcommerce/citadel/dist/vendor/foundation/foundation"; // 6 @import "settings/normalize/normalize"; // 4 @import "settings/vendor/vendor"; // 4 @import "settings/foundation/foundation"; // 4 @import "settings/citadel/citadel"; // 4 @import "settings/stencil/stencil"; // 4 @import "settings/layouts/layouts"; // 4 @import "eyeva/settings"; // Utilities // ----------------------------------------------------------------------------- @import "utilities/utilities"; @import "../../node_modules/@bigcommerce/citadel/dist/utilities/utilities"; // Components // ----------------------------------------------------------------------------- // // 1. Import Citadel's normalize dependency. // 2. Import Citadel's components. // 2. Import Stencil's component additions and custom components. // // ----------------------------------------------------------------------------- @import "../../node_modules/@bigcommerce/citadel/dist/vendor/normalize/normalize"; // 1 @import "../../node_modules/@bigcommerce/citadel/dist/components/components"; // 2 @import "common/index"; // 3 @import "components/components"; // 6 // Layouts // ----------------------------------------------------------------------------- // // 1. Stencil design layout files (example: Header or Footer). // // ----------------------------------------------------------------------------- @import "layouts/layouts"; // 1 @import "eyeva/all"; @import "customize"; // Read More toggle styles .read-more-container .category-description { max-height: 100px; overflow: hidden; transition: max-height 0.3s ease; } .read-more-container .category-description.expanded { max-height: none; } .read-more-btn { display: inline-block; color: #007bff; cursor: pointer; margin-top: 10px; text-decoration: underline; background: none; border: none; font: inherit; padding: 0; }