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

50 lines
788 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;
2018-10-26 19:30:01 +02:00
width: 25px;
height: 25px;
text-align: center;
padding: 0px;
padding-left: 10px;
@media (max-width: $break-point-tablet) {
padding: 0;
}
2018-10-11 22:36:16 +02:00
svg {
stroke: $brand-color;
2018-10-22 00:38:04 +02:00
&.plus-icon {
transform: rotate(0);
transition: all 0.4s ease;
}
2018-10-26 19:30:01 +02:00
2018-10-22 00:38:04 +02:00
}
&:hover {
.plus-icon {
transform: rotate(-180deg);
}
2018-10-11 22:36:16 +02:00
}
}