Added crossmark to close side menu

This commit is contained in:
pmoreno.rodriguez 2023-07-13 19:30:04 +02:00
parent 5a7d74ec08
commit 1c4c555b19

View file

@ -38,6 +38,36 @@
> :first-child { > :first-child {
border-top: 0; border-top: 0;
} }
> :nth-child(2) {
border-top: 0;
}
.close {
@include icon(false, solid);
@include vendor('transition', 'color #{_duration(transition)} ease-in-out');
border: 0;
color: _palette(fg-light);
cursor: pointer;
text-align: right;
&:before {
content: '\f00d';
display: block;
padding: 0.5em 1.5em;
}
&:hover {
color: inherit;
}
@include breakpoint('<=small') {
height: 4em;
line-height: 4em;
&:before {
padding: 0em;
}
}
}
.links { .links {
list-style: none; list-style: none;
@ -94,4 +124,4 @@
padding: _size(section-spacing-small); padding: _size(section-spacing-small);
} }
} }
} }