app-default-searchform.less 1.4 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
.app-control-searchform {
    .app-control-searchform__iframe {
        height: 100%;
        width: 100%;
        border: 0;
    }
    .app-control-searchform__content {
        .flex(row, flex-start, flex-start);
    }
    .app-form-item__content > .ivu-form-item {
        margin-bottom: 8px;
    }
    .app-control-searchform__right {
        width: 100px;
        .flex(row, right, center);
        > .ivu-btn {
            width: 80px;
            border-radius: 4px 0 0 4px;
        }
    }
    .app-control-searchform__dropdown__icon {
        width: 20px;
        height: 32px;
        border-radius: 0 4px 4px 0;
        .flex(row, center, center);
    }
}
.app-control-searchform__dropdown {
    max-width: 100px;
}
.app-control-searchform__dropdown__item {
    &.history-item {
    display: flex;
    align-items: center;
    position: relative;
        .el-icon-close {
            display: none;
        }
        &:hover {
            .el-icon-close {
                display: block;
                position: absolute;
                right: 0;
            }
        }
    }
}
.app-control-searchform__dropdown__item__caption {
    width: 55px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.app-control-searchform__popover {
    z-index: 2048;
    .popover__action {
        margin-top: 4px;
        .flex(row, right, center);
        > .ivu-btn {
            margin-right: 4px;
        }
    }
}