Newer
Older
:host {
display: block;
}
.hy-accordion__item {
margin-bottom: 1rem;
&__is-open {
border-bottom: 2px solid var(--grayscale-medium);
border-left: 1px solid var(--grayscale-medium);
border-right: 1px solid var(--grayscale-medium);
border-top: 2px solid var(--grayscale-medium);
box-shadow: 0px 2px 12px 1px rgba(#000000, 10%);
.hy-accordion--heading__icon {
transform: rotateX(180deg);
}
}
}
.hy-accordion--heading {
justify-content: flex-start;
transition: all 0.25s ease-in-out;
.hy-accordion__link {
text-decoration: none;
&:hover {
text-decoration: none;
}
background-color: var(--grayscale-background-box);
flex-direction: row;
font-family: var(--main-font-family);
letter-spacing: -0.7px;
padding: 1.125rem 1rem 1.125rem 1rem;
Ekaterina Kondareva
committed
&:hover {
cursor: pointer;
}
@include breakpoint($narrow) {
@include font-size(26px, 32px);
letter-spacing: -0.8px;
padding: 1rem 2rem 1rem 1.25rem;
@include breakpoint($narrow) {
margin-right: 1rem;
}
@include breakpoint($narrow) {
height: 24px;
width: 24px;
}
transition: all 0.25s ease-in-out;
hy-box {
@include breakpoint($narrow) {
padding: 0 2rem;
}
}