import { Component, ChangeDetectionStrategy, HostBinding, ViewEncapsulation } from '@angular/core';
import { BaseDirective } from '../../../../base.directive';
import * as i0 from "@angular/core";
const _c0 = ["*"];
export class EuiOverlayBodyComponent extends BaseDirective {
    constructor() {
        super();
    }
    get cssClasses() {
        return [
            super.getCssClasses(`eui-overlay-body`),
        ].join(' ').trim();
    }
}
/** @nocollapse */ EuiOverlayBodyComponent.ɵfac = function EuiOverlayBodyComponent_Factory(t) { return new (t || EuiOverlayBodyComponent)(); };
/** @nocollapse */ EuiOverlayBodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: EuiOverlayBodyComponent, selectors: [["eui-overlay-body"]], hostVars: 2, hostBindings: function EuiOverlayBodyComponent_HostBindings(rf, ctx) { if (rf & 2) {
        i0.ɵɵclassMap(ctx.cssClasses);
    } }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function EuiOverlayBodyComponent_Template(rf, ctx) { if (rf & 1) {
        i0.ɵɵprojectionDef();
        i0.ɵɵprojection(0);
    } }, styles: [".eui-overlay{background:#fff;border-left:1px solid var(--eui-color-grey);border-right:1px solid var(--eui-color-grey);height:100%;overflow-x:hidden;overflow-y:auto;position:fixed;right:-35%;top:0;transition:var(--eui-animation-transition-base);width:35%;z-index:var(--eui-z-index-overlay)}.eui-overlay-wrapper{color:var(--eui-color-font);display:flex;flex-direction:column;height:100%}.eui-overlay-header{align-items:center;display:flex;flex:0 0 auto;padding:1rem 1rem 1rem .75rem}.eui-overlay-header-toolbar{align-items:center;display:flex;font-style:normal;font-weight:700;margin-left:auto}.eui-overlay-header__close--inversed{background:transparent;color:var(--eui-color-white)}.eui-overlay-header__close--inversed:hover{color:var(--eui-color-danger)}.eui-overlay-body{cursor:auto;flex:1 1 auto;overflow-y:auto;position:relative}.eui-overlay-body::-webkit-scrollbar{background-color:var(--eui-color-grey-lightest);display:inherit;height:8px;width:8px}.eui-overlay-body::-webkit-scrollbar-thumb{background-color:var(--eui-color-grey-light);border-radius:5rem}.eui-overlay-body::-webkit-scrollbar-thumb:hover{background-color:var(--eui-color-grey)}.eui-overlay-body::-webkit-scrollbar-track{background-color:var(--eui-color-grey-lightest);border-radius:0}.eui-overlay-footer{background-color:var(--eui-color-grey-lightest);border-top:1px solid var(--eui-color-grey-lighter);flex:0 0 auto;padding:1rem;text-align:center}.eui-overlay--size-full-screen{right:-100%;width:100%}.eui-overlay--primary .eui-overlay-header{background-color:var(--eui-color-primary);color:#fff}.eui-overlay--is-active{box-shadow:0 19px 38px rgba(0,0,0,.3),0 15px 12px rgba(0,0,0,.22);right:0!important}.eui-overlay--highlighted{z-index:var(--eui-z-index-highlighted)}.eui-overlay-offset--width-25{right:-25%;width:25%}.eui-overlay-offset--width-30{right:-30%;width:30%}.eui-overlay-offset--width-40{right:-40%;width:40%}.eui-overlay-offset--width-50{right:-50%;width:50%}.eui-overlay-offset--width-75{right:-75%;width:75%}.eui-overlay-offset--position-right{position:fixed}.eui-overlay-offset--position-top-center{height:auto;left:50%;position:fixed;top:0;transform:translate(-50%)}.eui-overlay-offset--position-center{height:auto;left:50%;position:fixed;top:50%;transform:translate(-50%,-50%)}@media screen and (max-width:767px){.eui-overlay{right:-75%;width:75%}}@media screen and (min-width:768px) and (max-width:991px){.eui-overlay{right:-45%;width:45%}}@media screen and (min-width:1400px){.eui-overlay{right:-30%;width:30%}}"], encapsulation: 2 });
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(EuiOverlayBodyComponent, [{
        type: Component,
        args: [{
                selector: 'eui-overlay-body',
                templateUrl: './eui-overlay-body.component.html',
                styleUrls: ['../../styles/_index.scss'],
                changeDetection: ChangeDetectionStrategy.Default,
                encapsulation: ViewEncapsulation.None,
            }]
    }], function () { return []; }, { cssClasses: [{
            type: HostBinding,
            args: ['class']
        }] }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpLW92ZXJsYXktYm9keS5jb21wb25lbnQuanMiLCJzb3V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