This commit improves mobile support. `:hover` CSS selector is not mobile friendly because there is typically no mouse support on mobile. This commit make hover behavior to become active during touch on mobile. `:hover` selector is emulated on mobile devices. But this emulated behavior is not desired. When emulated, the CSS style gets attached when starting touching but does not get removed after stopping touching. This sticky behavior is undesired. This commit solve this issue by using Saas mixing that uses `:active` selector instead of `:hover` when `:hover` is not really supported but emulated.
13 lines
304 B
SCSS
13 lines
304 B
SCSS
/* This class is not supposed to more than forwarding other styles */
|
|
|
|
@forward "./fonts";
|
|
@forward "./media";
|
|
@forward "./colors";
|
|
@forward "./globals";
|
|
@forward "./mixins";
|
|
|
|
@forward "./components/card";
|
|
|
|
@forward "./third-party-extensions/tooltip.scss";
|
|
@forward "./third-party-extensions/tree.scss";
|