返回 CodeWhale
plugins.css
根目录 / web / app / styles / plugins.css
1 .plugin-kinds {
2 display: grid;
3 grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
4 gap: 1px;
5 margin: 0;
6 padding: 0;
7 list-style: none;
8 background: var(--line);
9 border: 1px solid var(--line);
10 border-radius: var(--radius-surface);
11 overflow: hidden;
12 }
13 .plugin-kinds > li { display: grid; align-content: start; gap: var(--space-1); min-width: 0; padding: var(--space-4); background: var(--panel); }
14 .plugin-kinds-coming { border-style: dashed; }
15 .plugin-kinds h3 { font-size: var(--text-ui); font-weight: 600; }
16 .plugin-kinds p { color: var(--muted); font-size: var(--text-ui); line-height: 1.55; }
17
18 .connector-grid {
19 display: grid;
20 grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr));
21 gap: var(--space-2);
22 margin: 0;
23 padding: 0;
24 list-style: none;
25 }
26 .connector-grid > li {
27 display: flex;
28 align-items: center;
29 justify-content: space-between;
30 gap: var(--space-3);
31 min-width: 0;
32 padding: var(--space-3) var(--space-4);
33 border: 1px solid var(--line);
34 border-radius: var(--radius-control);
35 background: color-mix(in srgb, var(--panel) 72%, transparent);
36 }
37 .connector-grid > li.connector-more { justify-content: center; border-style: dashed; font-size: var(--text-ui); }
38 .connector-name { font-size: var(--text-ui); font-weight: 500; overflow-wrap: anywhere; }
39 .connector-auth { flex: none; color: var(--muted); font-size: var(--text-caption); }
40
41 .plugin-version { color: var(--muted); font-weight: 400; }
42
43 .plugin-flow {
44 display: grid;
45 grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
46 gap: var(--space-4);
47 margin: 0;
48 padding: 0;
49 list-style: none;
50 }
51 .plugin-flow > li { display: grid; align-content: start; gap: var(--space-1); min-width: 0; color: var(--muted); font-size: var(--text-ui); line-height: 1.5; }
52 .plugin-flow-title { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--text); font-weight: 600; }
53 .plugin-flow-command { font-family: var(--font-mono); font-size: var(--text-caption); color: var(--text); overflow-wrap: anywhere; }
54
54 lines CSS