Viewing File: /usr/local/cpanel/whostmgr/docroot/styles/responsive_table.less

/* ------------------------------------------------------------------------------ */
/* Responsive Tables
/* ------------------------------------------------------------------------------ */
.search-page-container {
    padding: 5px 0 5px 0;
}

.pagination-container {
    text-align: right;
    white-space: nowrap;
}

html[dir="rtl"] .pagination-container {
    text-align: left;
}

.page-stats {
    display: inline-block;
    vertical-align: top;
    font-size: 12px;
}

.page-stats .title {
    font-weight: 600;
}

.pagination-container .pagination {
    display: inline-block;
    margin: 0;
}

.pagination-container .page-size {
    display: inline-block;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

.page-size .form-group {
    margin: auto;
}

.page-size select {
    width: 75px;
    display: inline-block;
}

@media only screen and (max-width: 800px) {
    /* Force table to not be like tables anymore */
    table.responsive-table,
    .responsive-table table,
    .responsive-table thead,
    .responsive-table tbody,
    .responsive-table th,
    .responsive-table td,
    .responsive-table tr {
        display: block;
    }

    /* since it is not a table any more, hiding this makes sense */
    .responsive-table > thead > tr {
        display: none;
    }

    .responsive-table > tbody > tr {
        border-bottom: 1px solid #cccccc;
        border-top: 1px solid #cccccc;
    }

    .responsive-table > tbody > tr > td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align: left;
    }

    .responsive-table > tbody > tr > td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }

    /*
    Label the data
    */
    .responsive-table > tbody > tr > td:before {
        content: attr(data-title);
        border-left: none;
    }

    .responsive-table > tbody > tr.empty-row > td:before {
        width: 0;
    }

    .responsive-table > tbody > tr.empty-row > td {
        padding-left: 5px;
    }
}
Back to Directory File Manager