Unverified Commit 52319318 authored by lauriii's avatar lauriii
Browse files

Issue #3284881 by Aditya4478, mherchel, sasanikolic: Refactor Claro's accordion stylesheet

parent 76539523
......@@ -20,27 +20,27 @@
.accordion__item {
margin: 0 -1px;
border-radius: 0;
border-radius: 0
}
.accordion__item:first-child {
margin-top: -1px;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
}
margin-top: -1px;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
}
.accordion__item + .accordion__item {
margin-top: -1px;
}
margin-top: -1px;
}
.accordion__item:last-child {
margin-bottom: -1px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
}
margin-bottom: -1px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
}
.accordion__item .claro-details__summary .summary {
display: block;
color: #55565b;
font-weight: normal;
}
display: block;
color: #55565b;
font-weight: normal;
}
......@@ -16,26 +16,26 @@
.accordion__item {
margin: 0 -1px;
border-radius: 0;
}
.accordion__item:first-child {
margin-top: -1px;
border-top-left-radius: var(--details-accordion-border-size-radius);
border-top-right-radius: var(--details-accordion-border-size-radius);
}
&:first-child {
margin-top: -1px;
border-top-left-radius: var(--details-accordion-border-size-radius);
border-top-right-radius: var(--details-accordion-border-size-radius);
}
.accordion__item + .accordion__item {
margin-top: -1px;
}
& + .accordion__item {
margin-top: -1px;
}
.accordion__item:last-child {
margin-bottom: -1px;
border-bottom-right-radius: var(--details-accordion-border-size-radius);
border-bottom-left-radius: var(--details-accordion-border-size-radius);
}
&:last-child {
margin-bottom: -1px;
border-bottom-right-radius: var(--details-accordion-border-size-radius);
border-bottom-left-radius: var(--details-accordion-border-size-radius);
}
.accordion__item .claro-details__summary .summary {
display: block;
color: var(--color-gray-800);
font-weight: normal;
& .claro-details__summary .summary {
display: block;
color: var(--color-gray-800);
font-weight: normal;
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment