app-wf-opinion.less 3.0 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 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
.wf-opinion-container {
    height: 0px;
    background-color: #F5F5F5;
    .opinion-container__content {
        height: calc(100% - 40px);
        display: flex;
    }
    .opinion-container__content__textarea {
        background-color: #fff;
        width: 80%;
        margin: 10px 5px 26px 10px;
        border-radius: 4px;

        >.ivu-form-item,
        >.ivu-form-item>.ivu-form-item-content {
            height: 100%;
        }

        .input-unit {
            height: 100%;
            padding: 0px;
        }
    }
}
.opinion-container__header {
    width: 100%;
    height: 40px;
    background-color: #E2EEFE;
    border-radius: 4px 4px 0px 0px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: #57A3FD;

    .opinion-container__header__title {
        font-size: 14px;
        line-height: 20px;
        padding: 10px 0px 10px 12px;
    }

    >.opinion-container__header__icon-container {
        line-height: 20px;
        padding: 10px 0px;

        .icon {
            cursor: pointer;
        }

        .icon.enable {
            cursor: no-drop;
        }

        & :first-child {
            padding-right: 12px;
        }
    }
}
.wf-opinion-nobutton {
    height: auto;
    border-radius: 4px;
    .opinion-container__content {
        height: 100%;
        flex-grow: 1;
        .opinion-container__content__textarea {
            margin: 4px 0 4px 4px;
        }
        .opinion-container__content__navbar {
            margin: 4px;
        }
    }

}

.opinion-container__content__navbar {
    border-radius: 4px;
    width: 20%;
    background-color: #fff;
    margin: 10px 10px 26px 5px;

    >.navbar__header {
        padding: 8px 6px 2px 6px;
    }

    >.navbar__items {
        display: flex;
        flex-direction: column;
        margin: 6px;
        height: 100%;
        //需要搜索框时恢复注释
        // padding: 0px 8px;
        // height: calc(100% - 42px);
        overflow: auto;

        .filter-item {
            height: 28px;
            font-size: 10px;
            line-height: 28px;
            padding-left: 11px;
            cursor: pointer;
        }

        .filter-item.select-item,
        .filter-item:hover {
            background: #EFF6FF;
            color: #57A3FD;
        }
    }
}

.view-default .app-wf-opinion {
    .el-button {
        position: fixed;
        background-color: #409eff;
        border-color: #409eff;
        border-radius: 6px 0 0 6px;
        margin: 0;
        color: #fff;
        height: 40px;
        width: 40px;
        z-index: 1000;
        right: 0;
        bottom: 120px;

        span {
            position: relative;
            right: 6px;
        }
    }
}

.el-popover.el-popper.wf-opinion-popover {
    padding: 0px;
    margin: 0px;
    transform: translate(18px, 10px);
}

.view-default .app-wf-opinion.is-show {
    .el-button {
        visibility: hidden;
    }

    .wf-opinion-container {
        height: 100%;
        padding: 0;
        margin: 0;
    }
}