104 lines
1.9 KiB
CSS
104 lines
1.9 KiB
CSS
.wrapper {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: var(--Spacing-x-one-and-half);
|
|
padding-top: var(--Spacing-x3);
|
|
}
|
|
|
|
.wrapper:last-child .main {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.modifyButton {
|
|
display: grid;
|
|
grid-template-areas: "title button" "selection button";
|
|
cursor: pointer;
|
|
background-color: transparent;
|
|
border: none;
|
|
width: 100%;
|
|
}
|
|
|
|
.title {
|
|
grid-area: title;
|
|
text-align: start;
|
|
}
|
|
|
|
.button {
|
|
grid-area: button;
|
|
justify-self: flex-end;
|
|
}
|
|
|
|
.main {
|
|
display: grid;
|
|
width: 100%;
|
|
border-bottom: 1px solid var(--Primary-Light-On-Surface-Divider-subtle);
|
|
padding-bottom: var(--Spacing-x3);
|
|
transition: 0.4s ease-out;
|
|
grid-template-rows: 2em 0fr;
|
|
}
|
|
|
|
.selection {
|
|
font-weight: 450;
|
|
font-size: var(--typography-Title-4-fontSize);
|
|
grid-area: selection;
|
|
}
|
|
|
|
.iconWrapper {
|
|
position: relative;
|
|
}
|
|
|
|
.circle {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 100px;
|
|
transition: background-color 0.4s;
|
|
border: 2px solid var(--Base-Border-Inverted);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.circle[data-checked="true"] {
|
|
background-color: var(--UI-Input-Controls-Fill-Selected);
|
|
}
|
|
|
|
.wrapper[data-open="true"] .circle[data-checked="false"] {
|
|
background-color: var(--UI-Text-Placeholder);
|
|
}
|
|
|
|
.wrapper[data-open="false"] .circle[data-checked="false"] {
|
|
background-color: var(--Base-Surface-Subtle-Hover);
|
|
}
|
|
|
|
.wrapper[data-open="true"] .main {
|
|
grid-template-rows: 2em 1fr;
|
|
}
|
|
|
|
.content {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.contentWrapper {
|
|
padding-top: var(--Spacing-x3);
|
|
}
|
|
|
|
@media screen and (min-width: 1367px) {
|
|
.wrapper {
|
|
gap: var(--Spacing-x3);
|
|
}
|
|
|
|
.iconWrapper {
|
|
top: var(--Spacing-x1);
|
|
}
|
|
|
|
.wrapper:not(:last-child)::after {
|
|
position: absolute;
|
|
left: 12px;
|
|
bottom: 0;
|
|
top: var(--Spacing-x7);
|
|
height: 100%;
|
|
content: "";
|
|
border-left: 1px solid var(--Primary-Light-On-Surface-Divider-subtle);
|
|
}
|
|
} |