@import '../dep.less';
@import '../variable.less';
@import '../mixin.less';
@import '../icon.less';
@import (reference) '../Calendar.less';

.@{moye-prefix}-calendar-month-view {

    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;

    &-nav {
        margin: 0;
        padding: 0;
        .moye-rem(line-height, @moye-small * 2);
        .moye-rem(height, @moye-small * 2);
        .moye-rem(font-size, @moye-small);
        color: @moye-calendar-title-color;
        background-color: @moye-calendar-title-background-color;

    }

    &-title {
        float: left;
        width: 100%;
        cursor: pointer;
    }

    &-pager-left,
    &-pager-right {
        float: left;
        width: 2em;
        .moye-rem(height, @moye-small * 2);
        text-align: center;
        cursor: pointer;

        .moye-icon {
            font-size: @moye-small;
        }

    }

    &-pager-left {
        margin-left: -100%;
    }

    &-pager-right {
        margin-left: -2em;
    }

    &-grid {
        width: 100%;
        background-color: #fff;
        table-layout: fixed;
        border-collapse: collapse;
    }

    &-cell {
        text-align: center;
        color: @moye-calendar-date-color;
        cursor: pointer;
        font-size: @moye-small;

        &:hover {
            background-color: #eee;
        }

        &-disabled {
            color: @moye-calendar-date-disabled-color;
            cursor: not-allowed;
        }

    }

}

.plugin-calendar-month-view .ui-calendar-month-title {
    cursor: pointer;
}
