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

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