github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/ui/app/styles/components/accordion.scss (about)

     1  .accordion {
     2    .accordion-head,
     3    .accordion-body {
     4      border: 1px solid $grey-blue;
     5      border-bottom: none;
     6      padding: 0.75em 1.5em;
     7  
     8      &:first-child {
     9        border-top-left-radius: $radius;
    10        border-top-right-radius: $radius;
    11      }
    12  
    13      &:last-child {
    14        border-bottom: 1px solid $grey-blue;
    15        border-bottom-left-radius: $radius;
    16        border-bottom-right-radius: $radius;
    17      }
    18  
    19      &.is-full-bleed {
    20        padding: 0;
    21      }
    22    }
    23  
    24    .accordion-head {
    25      display: flex;
    26      background: $white-ter;
    27      flex: 1;
    28  
    29      &.is-light {
    30        background: $white;
    31      }
    32  
    33      .accordion-head-content {
    34        width: 100%;
    35        margin-right: 1.5em;
    36      }
    37  
    38      .accordion-toggle {
    39        flex-basis: 0;
    40        white-space: nowrap;
    41      }
    42    }
    43  }