github.com/manicqin/nomad@v0.9.5/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  
    20    .accordion-head {
    21      display: flex;
    22      background: $white-ter;
    23      flex: 1;
    24  
    25      &.is-light {
    26        background: $white;
    27      }
    28  
    29      &.is-inactive {
    30        color: $grey-light;
    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  }