
@import "../../font";

.editor-icon(@size:26) {
    .iconfont;
    width: unit(@size, px);
    height: unit(@size, px);
    line-height: unit(@size, px);
    font-size: unit(@size, px);
    text-align: center;
    color: #bbbbbb;
    cursor: pointer;
    border: 1px solid #fff;

    &:hover {
        background: #efefef;
        border-color: #cccccc;
    }

    &.editor-icon-selected {
        color: #666666;
        background: #f5f5f5;
        border: 1px solid #666666;
    }

    &.border-icon-selected {
        color: #00bcd4;
        background: #f5f5f5;
    }

}

.border-icon {
    margin: 0 2px;
    color: #000;
}