blob: f67bcbb7ccbedc9b948af0d7546ff0948bd01a03 (
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-customer-page {
//$h: calc(var(--nav-height) + calc(var(--main-padding) * 2));
//height: calc(100vh - $h);
width: 100%;
.customers-list-wrapper {
$header-height: 3rem;
$list-item-height: 2.5rem;
$pd: 0.7em;
position: relative;
.customers-list-header, .customers-list-item {
display: grid;
grid-template-columns: 5rem 2fr 1fr 1fr;
padding: 0 $pd;
align-items: center;
}
.customers-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;
}
.customers-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;
.customers-list-item {
grid-template-rows: $list-item-height;
font-size: 1.2em;
}
.customers-list-item:nth-child(even) {
background-color: var(--body-bg-alt);
}
}
}
}
|