返回 DeepSeek-Reasonix
CompactRatioSettings.css
根目录 / desktop / frontend / src / components / CompactRatioSettings.css
1 .compact-ratio-controls,
2 .compact-ratio-custom-panel {
3 display: flex;
4 flex-direction: column;
5 gap: 8px;
6 width: 100%;
7 }
8
9 .compact-ratio-presets {
10 width: 100%;
11 }
12
13 .compact-ratio-presets .set-seg__btn {
14 display: flex;
15 flex: 1 1 0;
16 flex-direction: column;
17 align-items: center;
18 justify-content: center;
19 gap: 2px;
20 min-width: 0;
21 min-height: 44px;
22 padding: 6px 8px;
23 text-transform: none;
24 white-space: normal;
25 }
26
27 .compact-ratio-preset__percent {
28 font-weight: 650;
29 }
30
31 .compact-ratio-preset__caption {
32 font-size: var(--text-2xs);
33 }
34
35 .compact-ratio-summary {
36 display: flex;
37 align-items: center;
38 justify-content: space-between;
39 gap: 12px;
40 width: 100%;
41 }
42
43 .compact-ratio-current {
44 color: var(--fg);
45 font-size: var(--font-control-small);
46 font-weight: 600;
47 }
48
49 .compact-ratio-custom-toggle[aria-expanded="true"] {
50 background: var(--bg-soft);
51 color: var(--fg);
52 }
53
54 .compact-ratio-impact,
55 .compact-ratio-custom__hint,
56 .compact-ratio-custom__suffix {
57 color: var(--fg-dim);
58 font-size: var(--text-2xs);
59 line-height: 1.45;
60 }
61
62 .compact-ratio-custom-panel {
63 gap: 6px;
64 }
65
66 .compact-ratio-custom {
67 justify-content: flex-start;
68 max-width: 100%;
69 }
70
71 .compact-ratio-custom .mem-input {
72 flex: 0 0 88px;
73 }
74
75 .compact-ratio-custom__hint--invalid {
76 color: var(--danger);
77 }
78
78 lines CSS