All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.frontend.styles.components.details-drawer.css Maven / Gradle / Ivy

/*
 * Copyright (c) 2008 - 2020. - Broderick Labs.
 * Author: Broderick Johansson
 * E-mail: [email protected]
 * Modify date:2020-07-02 09:33:44
 * _____________________________
 * Project name: fluent-vaadin-flow
 * Class name:D:/broderick/develop/vaadin/16/fluent-vaadin-flow/frontend/styles/components/details-drawer.css
 * Copyright (c) 2008 - 2020. - Broderick Labs.
 */

.details-drawer {
    background: var(--lumo-base-color);
    flex-direction: column;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    overflow: hidden;
    z-index: 0;
}

.details-drawer[open] {
    box-shadow: var(--lumo-box-shadow-m);
}

.details-drawer__header {
    flex-shrink: 0;
}

.details-drawer__header vaadin-tabs {
    box-shadow: none;
}

.details-drawer__content {
    flex: 1;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.details-drawer__footer {
    flex-shrink: 0;
}

@media (max-width: 719px) {
    .details-drawer {
        left: 0;
        margin: 0;
        min-width: 100%;
        position: fixed;
        top: 0;
        z-index: 3;
    }

    .details-drawer:not([open])[position="right"] {
        transform: translateX(100%);
    }

    .details-drawer:not([open])[position="bottom"] {
        transform: translateY(100%);
    }
}

@media (min-width: 720px) {
    .details-drawer[position="bottom"] {
        height: 400px;
    }

    .details-drawer:not([open])[position="bottom"] {
        margin-bottom: -400px;
    }

    .details-drawer[position="right"] {
        width: var(--details-drawer-width);
    }

    .details-drawer:not([open])[position="right"] {
        margin-right: calc(var(--details-drawer-width) * -1);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy