Sha256: 859868e45e3f10db396d5bbd2f7c9b8242002d8dad80320bbcafa1592145be4b

Contents?: true

Size: 1.28 KB

Versions: 18

Compression:

Stored size: 1.28 KB

Contents

.accordion-title{
  @extend .heading;
  text-decoration: none;

  &:hover,
  &:active,
  &:visited,
  &:focus{
    color: $white;
  }

  .accordion-icon{
    width: 16px;
    height: 16px;
    display: block;
    float: right;
    color: $white;
  }
}

.accordion-secondary{
  &--header{
    font-size: $base-font-size;
  }

  &--heading{

  }
}
.accordion.secondary{
  background: none;

  a{
    font-size: $global-font-size;
  }

  .accordion-content a{
    font-size: $global-font-size;
  }

  .accordion-title{
    background: $white;
    color: $slate;

    &:hover{
      background: $stone;
    }
  }

  .top-level,
  .top-level:hover{
    background: darken($stone, 5%);
    color: $slate;
  }
}

.accordion{
  &__header{
    background: $brand-blue-light;
    overflow: auto;
    display: block;
  }

  &__heading{
    @extend .heading;
    @include small-10;
  }

  &__toggle{
    @include small-2;
    @extend .fa;
    @extend .fa-arrows-v;
    text-align: right;
    color: $white;
    padding-top: $base-padding*1.25;
  }
}

// Foundation sets a border-radius by default,
// and there doesn't seem to be an override in the settings file
.accordion-item:first-child > :first-child,
.accordion-item:first-child > :last-child,
:last-child:not(.is-active) > .accordion-title{
  border-radius: 0;
}

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
ama_layout-4.7.1 app/assets/stylesheets/ama_layout/layout_components/accordions.scss
ama_layout-4.7.0 app/assets/stylesheets/ama_layout/layout_components/accordions.scss
ama_layout-4.6.5 app/assets/stylesheets/ama_layout/layout_components/accordions.scss
ama_layout-4.6.4 app/assets/stylesheets/ama_layout/layout_components/accordions.scss
ama_layout-4.6.3 app/assets/stylesheets/ama_layout/layout_components/accordions.scss
ama_layout-4.6.2 app/assets/stylesheets/ama_layout/layout_components/accordions.scss
ama_layout-4.6.1 app/assets/stylesheets/ama_layout/layout_components/accordions.scss
ama_layout-4.5.1 app/assets/stylesheets/ama_layout/layout_components/accordions.scss
ama_layout-4.5.0 app/assets/stylesheets/ama_layout/layout_components/accordions.scss
ama_layout-4.4.2 app/assets/stylesheets/ama_layout/layout_components/accordions.scss
ama_layout-4.4.1 app/assets/stylesheets/ama_layout/layout_components/accordions.scss
ama_layout-4.4.0 app/assets/stylesheets/ama_layout/layout_components/accordions.scss
ama_layout-4.3.1 app/assets/stylesheets/ama_layout/layout_components/accordions.scss
ama_layout-4.2.4 app/assets/stylesheets/ama_layout/layout_components/accordions.scss
ama_layout-4.2.3 app/assets/stylesheets/ama_layout/layout_components/accordions.scss
ama_layout-4.2.2 app/assets/stylesheets/ama_layout/layout_components/accordions.scss
ama_layout-4.2.1 app/assets/stylesheets/ama_layout/layout_components/accordions.scss
ama_layout-4.2.0 app/assets/stylesheets/ama_layout/layout_components/accordions.scss