@import './toolbar-base.less';
@import './toolbar-pop.less';
@import './toolbar-scaler.less';

// editor-toolbar-more
.editor-toolbar-more{
    display: inline-block;
    vertical-align: top;

    .editor-popup-ne{
        background-color: #FFF;
        margin-top: 18px;
        right: 0;

        &:before{
            left: initial;
            right: 15px;
        }
    }

    .more-section{
        border-bottom: 1px solid #EEE;
        padding: 8px 0;

        &:first-child{
            padding-top: 0;
        }

        &:last-child{
            border-bottom: 0;
            padding-bottom: 0;
        }

        &.buttons-5{
            .editor-toolbar-btn{
                margin-right:11px;

                &:last-child{
                    margin-right: 0;
                }
            }
        }

        .editor-toolbar-btn{
            margin-right: 1px;
            font-size: 12px;
        }

        .editor-toolbar-space{
            display: inline-block;
            width: 10px;
            height: 5px;
            vertical-align: top;
        }
    }

    .editor-num-picker{
        margin-bottom: 5px;

        &:last-child{
            margin-bottom: 0;
        }
    }

    .more-btns{
        font-size: 0;

        .editor-toolbar-pipe{
            margin-top: 4px;
            height: 18px;
        }
    }
}

.toolbar-north{
    .editor-toolbar-more{
        .editor-popup-ne{
            position: absolute;
            margin-bottom: 18px;
            bottom: 100%;

            &:before{
                box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
                margin-top: 5px;
                bottom: 0;
            }
        }
    }
}

.editor-toolbar-text{
    position: relative;
    top: 1px;
    line-height: 28px;
    padding-left: 10px;
    padding-right: 10px;
}
