WIP Expand all package options code setup.
This commit is contained in:
parent
c55ee6a15d
commit
d8a4734ca5
1 changed files with 10 additions and 5 deletions
|
|
@ -78,9 +78,9 @@ export default {
|
|||
}
|
||||
&.active {
|
||||
~ .package-wrapper {
|
||||
label {
|
||||
max-height: 500px !important;
|
||||
}
|
||||
.package-specs {
|
||||
max-height: 1000px !important;
|
||||
}
|
||||
}
|
||||
&.active:after {
|
||||
transform: rotate(180deg);
|
||||
|
|
@ -111,8 +111,6 @@ export default {
|
|||
border-radius: .5rem;
|
||||
overflow: hidden;
|
||||
min-height: 58px;
|
||||
max-height: 0;
|
||||
transition: all .75s ease;
|
||||
|
||||
&:before {
|
||||
content: "";
|
||||
|
|
@ -148,6 +146,11 @@ export default {
|
|||
}
|
||||
|
||||
&:checked {
|
||||
+ label {
|
||||
.package-specs {
|
||||
max-height: 1000px;
|
||||
}
|
||||
}
|
||||
+ label {
|
||||
background-color: $blue-100;
|
||||
border: 1px solid $blue;
|
||||
|
|
@ -178,6 +181,8 @@ export default {
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
max-height: 0;
|
||||
transition: all .75s ease;
|
||||
|
||||
p {
|
||||
font-weight: 500;
|
||||
|
|
|
|||
Loading…
Reference in a new issue