spee.ch/client/scss/vertical-split/_vertical-split.scss

41 lines
661 B
SCSS
Raw Normal View History

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