spee.ch/client/scss/vertical-split/_vertical-split.scss
2018-10-22 22:15:53 +01:00

41 lines
No EOL
661 B
SCSS

.vertical-split {
flex : 1 0 auto;
display : flex;
flex-direction : column;
justify-content: space-between;
align-items : center;
};
.collapse-content {
@media (max-width: $break-point-tablet) {
max-width: 100%;
width: 100%;
}
}
.collapse-content.closed{
display: none;
}
.collapse-button {
outline: none;
background: none;
border: none;
display: block;
margin: 15px auto 0;
width: 24px;
height: 24px;
svg {
stroke: $brand-color;
&.plus-icon {
transform: rotate(0);
transition: all 0.4s ease;
}
}
&:hover {
.plus-icon {
transform: rotate(-180deg);
}
}
}