app-form-group.less 1.3 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
.app-form-group {
    .header__icon {
        margin-right: 4px;
        cursor: pointer;
    }
    .app-form-group__header {
        font-size: 14px;
    }
    .ivu-card-head {
        padding: 4px;
    }
    .ivu-card {
        height: 100%;
        .ivu-card-extra {
            display: flex;
            top: 0px;
17 18 19
            height: 30px;
            padding: 4px 0;
            line-height: 24px;
20 21 22 23 24
        }
        .ivu-card-body {
            padding: 8px;
        }
    }
25 26 27 28 29 30 31 32 33
    .app-form-group__actions{
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        column-gap: 10px;
        .app-form-group__actions__collapse-icon{
            cursor: pointer;
        }
    }
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-form-group__action__extract {
        display: flex;
    }
    .app-form-group__action__item {
        margin-left: 12px;
        &.is-disable {
            pointer-events: none;
        }
    }
    .app-form-group__action__showmore {
        margin-left: 12px;
    }
    &.is-flex {
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
    
        .ivu-card-body {
            height: calc(100% - 51px);
            overflow-y: auto;
            overflow-x: hidden;
        }
    }
}

.app-group-collapse--collapse {
    .ivu-card-body {
        display: none;
    }
}