1 | .adm-floating-panel {
|
2 | --border-radius: 8px;
|
3 | --header-height: 28px;
|
4 | --z-index: var(--adm-floating-panel-z-index, 900);
|
5 | position: fixed;
|
6 | z-index: var(--z-index);
|
7 | bottom: 0;
|
8 | left: 0;
|
9 | width: 100vw;
|
10 | display: flex;
|
11 | flex-direction: column;
|
12 | touch-action: none;
|
13 | }
|
14 | .adm-floating-panel-mask {
|
15 | display: block;
|
16 | width: 100%;
|
17 | height: 100vh;
|
18 | position: absolute;
|
19 | left: 0;
|
20 | top: -100vh;
|
21 | background: transparent;
|
22 | }
|
23 | .adm-floating-panel::after {
|
24 | content: '';
|
25 | display: block;
|
26 | position: absolute;
|
27 | bottom: -100vh;
|
28 | height: 100vh;
|
29 | width: 100vw;
|
30 | background: var(--adm-color-background);
|
31 | }
|
32 | .adm-floating-panel .adm-floating-panel-header {
|
33 | flex: none;
|
34 | height: var(--header-height);
|
35 | display: flex;
|
36 | justify-content: center;
|
37 | align-items: center;
|
38 | cursor: -webkit-grab;
|
39 | cursor: grab;
|
40 | -webkit-user-select: none;
|
41 | user-select: none;
|
42 | background-color: var(--adm-color-background);
|
43 | border-top-left-radius: var(--border-radius);
|
44 | border-top-right-radius: var(--border-radius);
|
45 | }
|
46 | .adm-floating-panel .adm-floating-panel-header .adm-floating-panel-bar {
|
47 | height: 3px;
|
48 | width: 20px;
|
49 | border-radius: 10px;
|
50 | background: var(--adm-color-light);
|
51 | }
|
52 | .adm-floating-panel .adm-floating-panel-content {
|
53 | flex: 1;
|
54 | overflow-y: scroll;
|
55 | background: var(--adm-color-background);
|
56 | }
|