From c5ca28a5850864cdc5ccc6d58497b9975f6954d9 Mon Sep 17 00:00:00 2001 From: Humberto Alfonso Díaz Date: Mon, 1 Jul 2019 12:25:40 +0200 Subject: FUNCT Change icon when click on item --- src/styles/main.scss | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'src/styles/main.scss') diff --git a/src/styles/main.scss b/src/styles/main.scss index 2fcff94..130fd54 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -37,6 +37,18 @@ body { height: 100%; .item { + &:active { + .icon { + &.inactive { + display: none; + } + + &.enabled{ + display: block; + } + } + } + color: map-get($colors, font); text-decoration: none; @@ -44,6 +56,15 @@ body { -webkit-animation-duration: 2s; .icon { + + &.inactive { + display: block; + } + + &.enabled{ + display: none; + } + width: 70%; margin: 5% 15%; } -- cgit 1.2.3-korg