Sha256: 9a1f1ec2a24e24b610db3a5abfa24384a2e8125e3f581dbb5562d41c6ba7cb63

Contents?: true

Size: 1.45 KB

Versions: 64

Compression:

Stored size: 1.45 KB

Contents

.modal {
    @include vendor('display', 'flex');
    @include vendor('align-items', 'center');
    @include vendor('justify-content', 'center');
    @include vendor('pointer-events', 'none');
    @include vendor('user-select', 'none');
    @include vendor('transition', (
        'opacity #{_duration(lightbox-fadein)} ease',
        'visibility #{_duration(lightbox-fadein)}',
        'z-index #{_duration(lightbox-fadein)}'
    ));
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    outline: 0;
    visibility: none;
    z-index: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    background-color: transparentize(_palette(bg), 1 - _misc(lightbox-opacity));

    .inner {
        @include vendor('transform', 'translateY(0.75rem)');
        @include vendor('transition', (
            'opacity #{_duration(lightbox-fadein) * 0.5} ease',
            'transform #{_duration(lightbox-fadein) * 0.5} ease'
        ));
        opacity: 0;
    }

    &.visible {
        @include vendor('pointer-events', 'auto');
        opacity: 1;
        visibility: visible;
        z-index: _misc(z-index-base) + 1000;
    }

    &.loaded {
        .inner {
            @include vendor('transform', 'translateY(0)');
            @include vendor('transition', (
                'opacity #{_duration(lightbox-fadein)} ease',
                'transform #{_duration(lightbox-fadein)} ease'
            ));
            opacity: 1;
        }
    }
}

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
jekyll-theme-consulting-0.11.24 _sass/main/components/_modal.css
jekyll-theme-consulting-0.11.23 _sass/main/components/_modal.css
jekyll-theme-consulting-0.11.22 _sass/main/components/_modal.css
jekyll-theme-consulting-0.11.21 _sass/main/components/_modal.css
jekyll-theme-consulting-0.11.20 _sass/main/components/_modal.css
jekyll-theme-consulting-0.11.19 _sass/main/components/_modal.css
jekyll-theme-consulting-0.11.18 _sass/main/components/_modal.css
jekyll-theme-consulting-0.11.17 _sass/main/components/_modal.css
jekyll-theme-consulting-0.11.15 _sass/main/components/_modal.css
jekyll-theme-consulting-0.11.14 _sass/main/components/_modal.css
jekyll-theme-consulting-0.11.13 _sass/main/components/_modal.css
jekyll-theme-consulting-0.11.12 _sass/main/components/_modal.css
jekyll-theme-consulting-0.11.11 _sass/main/components/_modal.css
jekyll-theme-consulting-0.11.10 _sass/main/components/_modal.css
jekyll-theme-consulting-0.11.9 _sass/main/components/_modal.css
jekyll-theme-consulting-0.11.8 _sass/main/components/_modal.css
jekyll-theme-consulting-0.11.7 _sass/main/components/_modal.css
jekyll-theme-consulting-0.11.6 _sass/main/components/_modal.css
jekyll-theme-consulting-0.11.5 _sass/main/components/_modal.css
jekyll-theme-consulting-0.11.4 _sass/main/components/_modal.css