Sha256: fb42c8cc8fd4452d1de2805e6afce8c47171eb56bbab19d9933629bfb1f64cd7

Contents?: true

Size: 1.54 KB

Versions: 33

Compression:

Stored size: 1.54 KB

Contents

@import "global";
@import "grid";

//
// @variables
//

$include-html-accordion-classes: $include-html-classes !default;

$accordion-navigation-padding: rem-calc(16) !default;
$accordion-navigation-bg-color: #efefef !default;
$accordion-navigation-hover-bg-color: darken($accordion-navigation-bg-color, 5%) !default;
$accordion-navigation-active-bg-color: darken($accordion-navigation-bg-color, 3%) !default;
$accordion-navigation-font-color: #222 !default;
$accordion-navigation-font-size: rem-calc(16) !default;
$accordion-navigation-font-family: $body-font-family !default;

$accordion-content-padding: $column-gutter/2 !default;
$accordion-content-active-bg-color: #fff !default;

@include exports("accordion") {
  @if $include-html-accordion-classes {
    .accordion { 
      @include clearfix; margin-bottom: 0;
      dd { 
        display: block; 
        margin-bottom: 0 !important; 
        &.active a { background: $accordion-navigation-active-bg-color; }
        > a { 
          background: $accordion-navigation-bg-color; 
          color: $accordion-navigation-font-color; 
          padding: $accordion-navigation-padding; 
          display: block; 
          font-family: $body-font-family; 
          font-size: $accordion-navigation-font-size;
          &:hover { background: $accordion-navigation-hover-bg-color; }
        }
      }
      .content { 
        display: none; 
        padding: $accordion-content-padding;
        &.active {
          display: block;
          background: $accordion-content-active-bg-color;
        }
      }
    }
  }
}

Version data entries

33 entries across 33 versions & 2 rubygems

Version Path
publish_my_data-1.3.25 app/assets/stylesheets/vendor/zurb/foundation/components/_accordion.scss
publish_my_data-1.3.24 app/assets/stylesheets/vendor/zurb/foundation/components/_accordion.scss
publish_my_data-1.3.23 app/assets/stylesheets/vendor/zurb/foundation/components/_accordion.scss
publish_my_data-1.3.22 app/assets/stylesheets/vendor/zurb/foundation/components/_accordion.scss
publish_my_data-1.3.21 app/assets/stylesheets/vendor/zurb/foundation/components/_accordion.scss
publish_my_data-1.3.20 app/assets/stylesheets/vendor/zurb/foundation/components/_accordion.scss
publish_my_data-1.3.19 app/assets/stylesheets/vendor/zurb/foundation/components/_accordion.scss
publish_my_data-1.3.18 app/assets/stylesheets/vendor/zurb/foundation/components/_accordion.scss
publish_my_data-1.3.17 app/assets/stylesheets/vendor/zurb/foundation/components/_accordion.scss
publish_my_data-1.3.16 app/assets/stylesheets/vendor/zurb/foundation/components/_accordion.scss
publish_my_data-1.3.15 app/assets/stylesheets/vendor/zurb/foundation/components/_accordion.scss
publish_my_data-1.3.14 app/assets/stylesheets/vendor/zurb/foundation/components/_accordion.scss
publish_my_data-1.3.13 app/assets/stylesheets/vendor/zurb/foundation/components/_accordion.scss
publish_my_data-1.3.12 app/assets/stylesheets/vendor/zurb/foundation/components/_accordion.scss
publish_my_data-1.3.11 app/assets/stylesheets/vendor/zurb/foundation/components/_accordion.scss
publish_my_data-1.3.10 app/assets/stylesheets/vendor/zurb/foundation/components/_accordion.scss
publish_my_data-1.3.9 app/assets/stylesheets/vendor/zurb/foundation/components/_accordion.scss
publish_my_data-1.3.8 app/assets/stylesheets/vendor/zurb/foundation/components/_accordion.scss
publish_my_data-1.3.7 app/assets/stylesheets/vendor/zurb/foundation/components/_accordion.scss
publish_my_data-1.3.6 app/assets/stylesheets/vendor/zurb/foundation/components/_accordion.scss