Sha256: b20f1a15e1807e95c404f71ecec04259bdd70f5891aa997b83ecfc0f9a25ff55

Contents?: true

Size: 1.24 KB

Versions: 40

Compression:

Stored size: 1.24 KB

Contents

/*------------------------------------
  Accordions
------------------------------------*/
.u-accordion {
  &__header {
    @include px-to-rem(padding, 10px 15px);
  }
  &__body {
    @include px-to-rem(padding, 15px);
  }

  &__control-icon {
    & i:nth-child(1) {
      display: none;

      .collapsed & {
        display: inline;
      }
    }

    & i:nth-child(2) {
      display: inline;

      .collapsed & {
        display: none;
      }
    }
  }

  // Accordions with Icon
  &-line-icon-pro {
    position: relative;
    top: 2px;
  }

  // Colors
  &-color-primary &__header [aria-expanded="true"] {
    color: $g-color-primary !important;
  }
  &-color-white &__header [aria-expanded="true"] {
    color: $g-color-white !important;
  }

  // BGs
  &-bg-primary &__header [aria-expanded="true"] {
    background-color: $g-color-primary !important;
    border-color: $g-color-primary !important;
  }
  &-bg-white &__header [aria-expanded="true"] {
    background-color: $g-color-white !important;
    border-color: $g-color-white !important;
  }

  // Borders
  &-brd-primary &__header [aria-expanded="true"] {
    border-color: $g-color-primary !important;
  }
  &-brd-white &__header [aria-expanded="true"] {
    border-color: $g-color-white !important;
  }
}

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
jekyll-theme-glueckkanja-1.2.29 _sass/unify/base/accordions/_accordions.scss
jekyll-theme-glueckkanja-1.2.28 _sass/unify/base/accordions/_accordions.scss
jekyll-theme-glueckkanja-1.2.27 _sass/unify/base/accordions/_accordions.scss
jekyll-theme-glueckkanja-1.2.26 _sass/unify/base/accordions/_accordions.scss
jekyll-theme-glueckkanja-1.2.25 _sass/unify/base/accordions/_accordions.scss
jekyll-theme-glueckkanja-1.2.24 _sass/unify/base/accordions/_accordions.scss
jekyll-theme-glueckkanja-1.2.23 _sass/unify/base/accordions/_accordions.scss
jekyll-theme-glueckkanja-1.2.22 _sass/unify/base/accordions/_accordions.scss
jekyll-theme-glueckkanja-1.2.21 _sass/unify/base/accordions/_accordions.scss
jekyll-theme-glueckkanja-1.2.20 _sass/unify/base/accordions/_accordions.scss
jekyll-theme-glueckkanja-1.2.19 _sass/unify/base/accordions/_accordions.scss
jekyll-theme-glueckkanja-1.2.18 _sass/unify/base/accordions/_accordions.scss
jekyll-theme-glueckkanja-1.2.17 _sass/unify/base/accordions/_accordions.scss
jekyll-theme-glueckkanja-1.2.16 _sass/unify/base/accordions/_accordions.scss
jekyll-theme-glueckkanja-1.2.15 _sass/unify/base/accordions/_accordions.scss
jekyll-theme-glueckkanja-1.2.14 _sass/unify/base/accordions/_accordions.scss
jekyll-theme-glueckkanja-1.2.13 _sass/unify/base/accordions/_accordions.scss
jekyll-theme-glueckkanja-1.2.12 _sass/unify/base/accordions/_accordions.scss
jekyll-theme-glueckkanja-1.2.11 _sass/unify/base/accordions/_accordions.scss
jekyll-theme-glueckkanja-1.2.10 _sass/unify/base/accordions/_accordions.scss