1 | .adm-list {
|
2 | --header-font-size: var(--adm-font-size-7);
|
3 | --prefix-width: 'auto';
|
4 | --prefix-padding-right: 12px;
|
5 | --align-items: center;
|
6 | --active-background-color: var(--adm-color-border);
|
7 | --border-inner: solid 1px var(--adm-color-border);
|
8 | --border-top: solid 1px var(--adm-color-border);
|
9 | --border-bottom: solid 1px var(--adm-color-border);
|
10 | --padding-left: 12px;
|
11 | --padding-right: 12px;
|
12 | --font-size: var(--adm-font-size-9);
|
13 | --extra-max-width: 70%;
|
14 | }
|
15 | .adm-list-header {
|
16 | color: var(--adm-color-weak);
|
17 | font-size: var(--header-font-size);
|
18 | padding: 8px var(--padding-right) 8px var(--padding-left);
|
19 | }
|
20 | .adm-list-body {
|
21 | background-color: var(--adm-color-background);
|
22 | overflow: hidden;
|
23 | font-size: var(--font-size);
|
24 | }
|
25 | .adm-list-body-inner {
|
26 | margin-top: -1px;
|
27 | }
|
28 | .adm-list-default .adm-list-body {
|
29 | border-top: var(--border-top);
|
30 | border-bottom: var(--border-bottom);
|
31 | }
|
32 | .adm-list-card {
|
33 | margin: 12px;
|
34 | }
|
35 | .adm-list-card .adm-list-body {
|
36 | border-radius: 8px;
|
37 | }
|
38 | .adm-list-card .adm-list-header {
|
39 | padding-left: 0;
|
40 | }
|
41 | .adm-list-item {
|
42 | display: block;
|
43 | padding-left: var(--padding-left);
|
44 | position: relative;
|
45 | background-color: var(--adm-color-background);
|
46 | line-height: 1.5;
|
47 | }
|
48 | .adm-list-item-title,
|
49 | .adm-list-item-description {
|
50 | color: var(--adm-color-weak);
|
51 | font-size: var(--adm-font-size-main);
|
52 | }
|
53 | .adm-list-item-content {
|
54 | display: flex;
|
55 | align-items: var(--align-items);
|
56 | justify-content: flex-start;
|
57 | border-top: var(--border-inner);
|
58 | padding-right: var(--padding-right);
|
59 | }
|
60 | .adm-list-item-content-prefix {
|
61 | width: var(--prefix-width);
|
62 | flex: none;
|
63 | padding-right: var(--prefix-padding-right);
|
64 | }
|
65 | .adm-list-item-content-main {
|
66 | flex: auto;
|
67 | padding: 12px 0;
|
68 | }
|
69 | .adm-list-item-content-extra {
|
70 | flex: none;
|
71 | padding-left: 12px;
|
72 | font-size: var(--adm-font-size-7);
|
73 | color: var(--adm-color-weak);
|
74 | max-width: var(--extra-max-width);
|
75 | }
|
76 | .adm-list-item-content-arrow {
|
77 | flex: none;
|
78 | display: flex;
|
79 | align-items: center;
|
80 | margin-left: 4px;
|
81 | color: var(--adm-color-light);
|
82 | font-size: 19px;
|
83 | }
|
84 | .adm-list-item-disabled {
|
85 | cursor: not-allowed;
|
86 | }
|
87 | .adm-list-item-disabled.adm-list-item-disabled > .adm-list-item-content > * {
|
88 | opacity: 0.4;
|
89 | pointer-events: none;
|
90 | }
|
91 | a.adm-list-item:active:not(.adm-list-item-disabled) {
|
92 | background-color: var(--active-background-color);
|
93 | }
|
94 | a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
95 | content: ' ';
|
96 | display: block;
|
97 | position: absolute;
|
98 | width: 100%;
|
99 | bottom: -1px;
|
100 | left: 0;
|
101 | border-bottom: var(--border-inner);
|
102 | }
|