accordion.css in Drupal 10
Same filename and directory in other branches
Accordion styles.
File
core/themes/claro/css/components/accordion.cssView source
- /*
- * DO NOT EDIT THIS FILE.
- * See the following change record for more information,
- * https://www.drupal.org/node/3084859
- * @preserve
- */
-
- /**
- * @file
- * Accordion styles.
- */
-
- .accordion {
- color: var(--color-text);
- border: var(--details-border-size) solid var(--details-border-color);
- border-radius: var(--details-accordion-border-size-radius);
- background-color: var(--color-white);
- box-shadow: var(--details-box-shadow);
- }
-
- .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);
- }
-
- .accordion__item + .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);
- }
-
- .accordion__item .claro-details__summary .summary {
- display: block;
- color: var(--color-gray-800);
- font-weight: normal;
- }