From 69a6bfdbff9c56455502c3b9cb2f6892062f9c8b Mon Sep 17 00:00:00 2001 From: Alexandre Lara Date: Mon, 10 Oct 2022 11:39:32 -0300 Subject: [PATCH] Set default style to link-button mixin (#7340) It was identified that we currently have 3 different behaviors for links used in the application. In issue #1778, it was discussed a set of good practices that we should follow in order to obtain consistency between links. Currently, the link-button mixin is already used by the 'Clear all' button in the Active Filters block, so the idea was to increment it with a common pattern (font size small, font-weight normal, underlined by default and not underlined when on hover) that can be reused by other components (for example FilterResetButton). * Change link-button mixin to make it attend the expected default style for links * Replace text-button with link-button mixin in FilterResetButton component --- assets/css/abstracts/_mixins.scss | 8 ++++++++ assets/js/base/components/filter-reset-button/style.scss | 6 +----- assets/js/blocks/active-filters/style.scss | 3 +-- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/assets/css/abstracts/_mixins.scss b/assets/css/abstracts/_mixins.scss index 906e72a2bce..16e485395b0 100644 --- a/assets/css/abstracts/_mixins.scss +++ b/assets/css/abstracts/_mixins.scss @@ -163,7 +163,15 @@ $fontSizes: ( // Reset