summaryrefslogtreecommitdiffstats
path: root/src/styles/main.scss
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-07-01 12:25:40 +0200
committerHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-07-01 12:25:40 +0200
commitc5ca28a5850864cdc5ccc6d58497b9975f6954d9 (patch)
tree3e54fe341b0227a374327d384009ca82006784d3 /src/styles/main.scss
parente5b45e034eb954c10bc545f72e7e0c986c1e3fd1 (diff)
FUNCT Change icon when click on item
Diffstat (limited to 'src/styles/main.scss')
-rw-r--r--src/styles/main.scss21
1 files changed, 21 insertions, 0 deletions
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%;
}