/*
 * Dashboard tool styles.
 */

// Claroline & bootstrap mixins
@import "../../../../../../main/core/Resources/less/mixins";

// Plugin vars
@import "../../variables";

// Components styles
@import "../../components/chart";
@import "path"; // TODO : move in path bundle

.dashboard-page {
    .page-content {
        /*max-width: @app-max-width;
        width: 100%;
        margin: 0 auto;*/
    }
}

.analytics-card {
    display: inline-flex;
    align-items: center;
    margin-top: @component-margin-bottom;
    margin-bottom: @component-margin-bottom;
    padding: 0 @grid-gutter-width;

    + .analytics-card {
        border-left: 1px solid #ccc;
    }

    > .fa {
        display: flex;
        align-items: center;
        justify-content: center;

        color: white;
        font-size: 26px;
        width: 64px;
        height: 64px;
        border-radius: 50%;

        margin-right: 15px;
    }

    h1 {
        margin: 0;
        font-weight: 900;
    }

    small {
        display: block;
        margin-bottom: 5px;
    }
}

.panel-analytics {
    .panel-heading {
        background: transparent;
        padding: 20px @panel-body-padding * 2;
    }

    .panel-title {
        font-weight: bold;
    }

    .panel-actions {
        right: @panel-body-padding;

        .btn-link {
            color: @gray-light;

            &.active {
                color: @gray-dark;
                font-weight: bold;
            }
        }
    }

    .panel-body {
        padding: @panel-body-padding * 2;
    }

    .table {
        margin-bottom: 0;
    }
}
