grid-view-layout.scss 2.2 KB
Newer Older
1
.grid-view-layout {
2
    height: 100%;
3 4
    background-color: transparent;
    box-shadow: none;
5 6 7 8
    overflow: auto;
    display: flex;
    flex-direction: column;
    .view-header__top {
9 10
        height: 60px;
        display: flex;
11
        position: relative;
12 13
        align-items: center;
        justify-content: flex-end;
14 15 16 17 18

        .app-caption {
            position: absolute;
            left: 0;
        }
19 20
    }
    .view-header__content {
21 22 23 24 25 26 27
        display: flex;
        flex-direction: column;
        padding: 16px 4px 20px 7px;
        gap: 10px;
        background: var(--app-color-white);
        box-sizing: border-box;
        border: 1px solid var(--app-color-gray-250);
28
        .quick-search-input .ivu-input {
29 30 31 32 33 34 35 36 37
            width: 100%;
            height: 34px;
            display: flex;
            flex-direction: row;
            justify-content: flex-end;
            align-items: center;
            padding: 4px 10px;
            background: var(--app-color-white);
            box-sizing: border-box;
38 39
            border: 1px solid var(--app-color-gray-250);
            border-radius: 0;
40
            z-index: 0;
41 42 43 44
            &:focus {
                box-shadow: none;
                border-color: var(--app-color-gray-250);
            }
45
        }
46
        .search-form-toggle {
47
            width: 100px;
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
            height: 26px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 12px;
            padding-left: 20px;
            cursor: pointer;
            i {
                font-weight: 900;
                font-size: 14px;
            }
            &:hover {
                color: var(--app-color-blue);
            }
        }
        .app-search-form .search-button {
            display: none;
        }
66
    }
67
    .view-header__bottom {
68
        min-height: 20px;
69 70
        display: flex;
        justify-content: flex-end;
71
        align-items: center;
72
        background-color: transparent;
73
        gap: 10px;
74
        .ivu-btn {
75
            margin: 20px 0;
76 77
        }
    }
78 79
    >.view-content {
        flex: auto;
80 81 82 83 84
        background: var(--app-color-white);
        border: 1px solid var(--app-color-gray-200);
    }
    >.view-footer {
        height: 40px;
85 86
    }
}