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

sass.n2o.components.ListWidget.scss Maven / Gradle / Ivy

The newest version!
.n2o-widget-list {
    padding: 1rem 0;
    margin-bottom: 1rem;
    overflow: auto;

    .ReactVirtualized__Grid {
        outline: none;
    }

    .ReactVirtualized__Grid.ReactVirtualized__List {
        will-change: auto !important;
    }
}

.n2o-widget-list-cell {
    .btn-group {
        flex-wrap: wrap;

        @media (max-width: 1650px) {
            .btn-link::before {
                content: "|";
                display: inline-block;
                position: absolute;
                left: 0;
                color: #546e7a;
            }
        }
    }
}

.n2o-widget-list--empty-view {
    display: flex;
    align-items: center;
    justify-content: center;
}

.n2o-widget-list-more-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;

    button {
        min-width: 150px;
    }

    .spinner.spinner-inline {
        margin: 0;
    }
}

.n2o-widget-list-item {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 0.5rem;

    &:hover {
        background-color: rgba(0, 0, 0, 0.075);
    }

    h4,
    h3,
    p {
        margin-bottom: 0;
    }
}

.n2o-widget-list-item-header-row {
    display: flex;
    align-items: center;

    small {
        margin-left: 5px;
    }

    .badge {
        margin-left: 0;
    }
}

.n2o-widget-list-item--divider {
    border-bottom: 1px solid #cfd8dc;

    &:last-child {
        border-bottom: none;
    }
}

.n2o-widget-list-item--active {
    background-color: rgba(0, 0, 0, 0.075);
}

.n2o-widget-list-item-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    max-width: 15%;
}

.n2o-widget-list-item-left-top {
    width: 100px;

    img {
        display: block;
        width: 100%;
        height: auto;
    }
}

.n2o-widget-list-item-main-container {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    min-width: 30%;
    padding: 0;

    .n2o-widget-list-item-header + .n2o-widget-list-item-subheader {
        margin-left: 0.5rem;
    }
}

.n2o-widget-list-item-right-container {
    margin-left: auto;
    padding: 0 0.5rem;
    text-align: right;
}

.n2o-widget-list-item-extra-container {
    padding: 0 0.5rem;
}

.n2o-widget-list-item-body {
    width: 100%;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy