mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
fbc9a557c7
[web] New tab and accordion more reusable GitOrigin-RevId: ed8340bc4b6312c4270edf1edf53c74a067aaccf
50 lines
1.2 KiB
Text
50 lines
1.2 KiB
Text
.ol-accordions-container :last-child {
|
|
border: 0px !important;
|
|
}
|
|
|
|
.ol-accordions-container {
|
|
.custom-accordion-item {
|
|
width: 100%;
|
|
padding-top: var(--spacing-08);
|
|
padding-bottom: var(--spacing-09);
|
|
border-bottom: 1px solid var(--neutral-20);
|
|
|
|
.custom-accordion-header {
|
|
text-align: left;
|
|
width: 100%;
|
|
font-size: var(--font-size-04);
|
|
font-weight: 600;
|
|
line-height: var(--line-height-03);
|
|
color: var(--neutral-90);
|
|
background-color: unset;
|
|
border: unset;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: unset;
|
|
|
|
.custom-accordion-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
transition: transform 0.35s ease;
|
|
margin-left: var(--spacing-08);
|
|
}
|
|
|
|
&:not(.collapsed) {
|
|
.custom-accordion-icon {
|
|
transform: rotate(180deg);
|
|
transition: transform 0.35s ease;
|
|
}
|
|
}
|
|
}
|
|
|
|
.custom-accordion-body {
|
|
background-color: unset;
|
|
text-align: left;
|
|
padding: unset;
|
|
padding-right: 2rem;
|
|
margin-top: var(--spacing-04);
|
|
font-size: var(--font-size-body-base);
|
|
line-height: var(--line-height-03);
|
|
}
|
|
}
|
|
}
|