aboutsummaryrefslogtreecommitdiff
path: root/css/manage/_client.scss
blob: c16a5fe0741f40b72b7bc8b35d673041a44f667e (plain)
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
#manage-client-page {
    //$h: calc(var(--nav-height) + calc(var(--main-padding) * 2));
    //height: calc(100vh - $h);
    width: 100%;

    .clients-list-wrapper {
        $header-height: 3rem;
        $list-item-height: 2.5rem;
        $pd: 0.7em;
        position: relative;

        .clients-list-header, .clients-list-item {
            display: grid;
            grid-template-columns: 5rem 2fr 1fr 1fr;
            padding: 0 $pd;
            align-items: center;
        }

        .clients-list-header {
            $br: $pd;
            background-color: var(--body-bg-alt);
            width: 100%;
            height: $header-height;
            position: absolute;
            top: 0;
            left: 0;
            border-bottom: 1px solid var(--link-fg);
            font-weight: bold;
            font-size: 1.2em;
            border-radius: $br $br 0 0;
        }

        .clients-list {
            border: 1px solid var(--body-bg-alt);
            min-height: 40rem;
            max-height: 75vh;
            overflow-y: scroll;
            width: 100%;
            position: absolute;
            top: $header-height;
            left: 0;

            .clients-list-item {
                grid-template-rows: $list-item-height;
                font-size: 1.2em;
            }

            .clients-list-item:nth-child(even) {
                background-color: var(--body-bg-alt);
            }
        }
    }
}