rich-text-editor.less 2.2 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104

.rich-text-editor {
    position: relative;
    width: 100%;
    .rich-text-editor__custom-action {
        position: absolute;
        z-index: 2;
        right: 2px;
        top: 3px;
    }
    .custom-action__poptip__btn,.custom-action__dropdown__btn{
        background: transparent;
        color:#000;
        border: none;
        outline: transparent;
        &:hover{
            background-color: #dee0e2;
        }
        &.ivu-btn:focus {
            box-shadow: initial;
        }

    }
    .dropdown__menu__keyOperation{
        position: relative;
        padding: 0 5px;
        .span-content {
            position: relative;
            display: inline-block;
            width: 160px;
            text-overflow: ellipsis;
            overflow: hidden;
            padding: 2px 2px 2px 4px;
        }
        .icon-close {
            position: absolute;
            right: 3px;
            top: 3px;
        }
        &:hover{
            background-color: #108cee;
            color:#fff;
        }
    }
    .ivu-tabs-no-animation{
        height: 47px;
        
    } 
    .ivu-dropdown-item{
        padding: 0px;
    }
    .app-rich-text-editor,.app-rich-text-editor-0,.app-rich-text-editor-100 {
        .tox-fullscreen {
            height: 100%;
            transform: translateX(100%);
        }
        .tox-blocker {
            transform: translateX(100%);
        }
    }
    .app-rich-text-editor-200 {
        .tox-fullscreen {
            height: 100%;
            transform: translateX(200%);
        }
        .tox-blocker {
            transform: translateX(200%);
        }
    }
}

.tox-menu {
    min-width: 300px;
}

.app-rich-text-editor__select{
    width: 120px;
    max-height: 150px;
    position: absolute;
    padding: 10px;
    border: 1px solid #c1c6cc;
    background-color: #fff;
    z-index: 10000;
    overflow: auto;
    border-radius: 4px;
    .select__content{
        padding: 0;
        margin: 0;
        .row{
            line-height: 24px;
            list-style: none;
        }
        .row:hover{
            background: #eee;
        }
        .row.selectRow{
            background: #C9DBF2;
        }
    }
}

.tox-statusbar__text-container{
    display: none;
}