Sha256: d5eff0f0c935e5c1ffbfd66722800e94282c47bda28908e3ad469afbb72b7702

Contents?: true

Size: 1.13 KB

Versions: 13

Compression:

Stored size: 1.13 KB

Contents

.accordion {
    .accordion-section {
        &.opened {
            .accordion-icon::before {
                font-family: $icon-font;
                padding: 0 11px 0 18px;
                content: '\e911';
            }
        }
        &.closed {
            .accordion-icon::before {
                font-family: $icon-font;
                padding: 0 11px 0 18px;
                content: '\e910';
            }

            .accordion-content {
                display: none;
            }
        }
    }

    .accordion-header {
        font-family: $primary-font;
        height: 64px;
        line-height: 64px;
        width: 100%;
        padding: 0;
        background: $grey-3;
        text-align: left;
        font-size: 20px;
        font-weight: 700;
        color: $black;
        margin-bottom: 16px;
        border-radius: 0;
        border-width: 0;
        border-bottom: 2px solid $grey-2;

        &:active, &:focus {
            outline: 4px solid $focus-colour;
        }

        &:hover {
            cursor: pointer;
        }
    }
    .accordion-content {
        margin-top: 16px;
        margin-bottom: 24px;
    }
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
dvla_internal_frontend_toolkit-2.1.15 app/assets/stylesheets/elements/_accordion.scss
dvla_internal_frontend_toolkit-2.1.14 app/assets/stylesheets/elements/_accordion.scss
dvla_internal_frontend_toolkit-2.1.13 app/assets/stylesheets/elements/_accordion.scss
dvla_internal_frontend_toolkit-2.1.12 app/assets/stylesheets/elements/_accordion.scss
dvla_internal_frontend_toolkit-2.1.11 app/assets/stylesheets/elements/_accordion.scss
dvla_internal_frontend_toolkit-2.1.10 app/assets/stylesheets/elements/_accordion.scss
dvla_internal_frontend_toolkit-2.1.9 app/assets/stylesheets/elements/_accordion.scss
dvla_internal_frontend_toolkit-2.1.8 app/assets/stylesheets/elements/_accordion.scss
dvla_internal_frontend_toolkit-2.1.7 app/assets/stylesheets/elements/_accordion.scss
dvla_internal_frontend_toolkit-2.1.6 app/assets/stylesheets/elements/_accordion.scss
dvla_internal_frontend_toolkit-2.1.5 app/assets/stylesheets/elements/_accordion.scss
dvla_internal_frontend_toolkit-2.0.9 app/assets/stylesheets/elements/_accordion.scss
dvla_internal_frontend_toolkit-2.0.8 app/assets/stylesheets/elements/_accordion.scss