github.com/hernad/nomad@v1.6.112/ui/app/styles/components/accordion.scss (about)

     1  /**
     2   * Copyright (c) HashiCorp, Inc.
     3   * SPDX-License-Identifier: MPL-2.0
     4   */
     5  
     6  .accordion {
     7    .accordion-head,
     8    .accordion-body {
     9      border: 1px solid $grey-blue;
    10      border-bottom: none;
    11      padding: 0.75em 1.5em;
    12  
    13      &:first-child {
    14        border-top-left-radius: $radius;
    15        border-top-right-radius: $radius;
    16      }
    17  
    18      &:last-child {
    19        border-bottom: 1px solid $grey-blue;
    20        border-bottom-left-radius: $radius;
    21        border-bottom-right-radius: $radius;
    22      }
    23  
    24      &.is-full-bleed {
    25        padding: 0;
    26      }
    27    }
    28  
    29    .accordion-head {
    30      display: flex;
    31      background: $white-ter;
    32      flex: 1;
    33  
    34      &.is-light {
    35        background: $white;
    36      }
    37  
    38      .accordion-head-content {
    39        width: 100%;
    40        margin-right: 1.5em;
    41  
    42        .tooltip {
    43          margin-left: 0.5rem;
    44          margin-right: 0.5rem;
    45        }
    46      }
    47  
    48      .accordion-toggle {
    49        flex-basis: 0;
    50        white-space: nowrap;
    51      }
    52    }
    53  }