app-summary.less 1.54 KB
.app-summary-page {
    .btn-dashboard {
        color: #b5b5b5;
        background: none;
        outline: none;
        border: none;

        &:hover {
            color: #b85454;
        }
    }

    .btn-edit {
        margin: 0;
        float: right;
    }

    .btn-toolbar-editing {
        margin: 0 0 8px 0;
        float: right;

        .dropdown-menu {
            left: initial;
            right: 0; // Right align

            & > li > a {
                &:hover, &:focus {
                    color: #fff;
                    background-color: #a32020;
                }
            }
        }
    }

    .dashboard-widget-area {
        clear: both;
    }

    .btn-clear, .btn-back-to-default {
        display: none;
    }

    .widget-container {
        .widget {
            border: 1px solid #e4e4e4;
            box-shadow: 1px 3px 6px #e4e4e4;

            .widget-header {
                background-color: #ddd;
                display: block;
                cursor: move;

                .widget-title {
                    float: left;
                    line-height: 16px;
                    font-size: 16px;
                    font-family: 'Microsoft YaHei';
                }

                .widget-buttons {
                    float: right;
                }
            }
        }

        &.widget-readonly {
            .widget {
                border-radius: initial;
                margin: 0 1em 0 0;

                .widget-header {
                    display: none;
                }
            }
        }
    }
}