agentgui 1.0.882 → 1.0.884

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,193 +0,0 @@
1
- /* =====================================================================
2
- ui-fixes.css — Design corrections layered on top of main.css
3
- Targets styles missing or broken for current markup (index.html).
4
- Loaded AFTER main.css so selectors here win on ties.
5
- ===================================================================== */
6
-
7
- /* ---------- Design tokens: richer spacing + elevation ---------- */
8
- :root {
9
- --radius-sm: 0.375rem;
10
- --radius-md: 0.5rem;
11
- --radius-lg: 0.75rem;
12
- --radius-xl: 1rem;
13
- --shadow-sm: 0 1px 2px rgba(15,23,42,0.06);
14
- --shadow-md: 0 4px 12px rgba(15,23,42,0.08);
15
- --shadow-lg: 0 12px 32px rgba(15,23,42,0.12);
16
- --color-bg-raised: #ffffff;
17
- --color-bg-hover: rgba(15,23,42,0.04);
18
- --color-focus-ring: rgba(59,130,246,0.35);
19
- --sidebar-width: 272px;
20
- }
21
- html.dark {
22
- --color-bg-raised: #202020;
23
- --color-bg-hover: rgba(255,255,255,0.05);
24
- --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
25
- --shadow-md: 0 4px 12px rgba(0,0,0,0.45);
26
- --shadow-lg: 0 12px 32px rgba(0,0,0,0.55);
27
- --color-focus-ring: rgba(96,165,250,0.45);
28
- }
29
-
30
- /* ---------- Sidebar header: two rows, fix 422px overflow ---------- */
31
- .sidebar-header {
32
- flex-direction: row;
33
- align-items: center;
34
- justify-content: space-between;
35
- gap: 0.5rem;
36
- padding: 0.625rem 0.75rem;
37
- min-height: var(--header-height);
38
- border-bottom: 1px solid var(--color-border);
39
- }
40
- .sidebar-header h2 {
41
- font-size: 0.75rem;
42
- font-weight: 700;
43
- letter-spacing: 0.08em;
44
- color: var(--color-text-secondary);
45
- flex: 1;
46
- min-width: 0;
47
- overflow: hidden;
48
- text-overflow: ellipsis;
49
- }
50
- .sidebar-header-actions {
51
- display: flex;
52
- gap: 0.25rem;
53
- align-items: center;
54
- flex-shrink: 0;
55
- }
56
-
57
- /* ---------- Sidebar overflow menu: hidden by default, floating panel ---------- */
58
- .sidebar-overflow-menu-wrapper {
59
- position: relative;
60
- display: inline-block;
61
- }
62
- .sidebar-overflow-btn {
63
- display: inline-flex;
64
- align-items: center;
65
- justify-content: center;
66
- width: 30px;
67
- height: 30px;
68
- padding: 0;
69
- background: transparent;
70
- border: 1px solid transparent;
71
- border-radius: var(--radius-sm);
72
- color: var(--color-text-secondary);
73
- cursor: pointer;
74
- font-size: 1rem;
75
- line-height: 1;
76
- }
77
- .sidebar-overflow-btn:hover {
78
- background: var(--color-bg-hover);
79
- color: var(--color-text-primary);
80
- }
81
- .sidebar-overflow-menu {
82
- display: none;
83
- position: absolute;
84
- top: calc(100% + 4px);
85
- right: 0;
86
- min-width: 200px;
87
- z-index: 60;
88
- padding: 0.25rem;
89
- background: var(--color-bg-raised);
90
- border: 1px solid var(--color-border);
91
- border-radius: var(--radius-md);
92
- box-shadow: var(--shadow-md);
93
- }
94
- .sidebar-overflow-menu.open { display: block; }
95
- .sidebar-overflow-menu-item {
96
- display: flex;
97
- align-items: center;
98
- gap: 0.5rem;
99
- width: 100%;
100
- padding: 0.5rem 0.625rem;
101
- background: transparent;
102
- border: none;
103
- border-radius: var(--radius-sm);
104
- color: var(--color-text-primary);
105
- font-size: 0.8125rem;
106
- text-align: left;
107
- cursor: pointer;
108
- }
109
- .sidebar-overflow-menu-item:hover { background: var(--color-bg-hover); }
110
- .sidebar-overflow-menu-item.danger { color: var(--color-error); }
111
- .sidebar-overflow-menu-item.danger:hover { background: rgba(239,68,68,0.1); }
112
- .sidebar-overflow-menu-item svg { flex-shrink: 0; }
113
-
114
- /* ---------- Sidebar new-conversation button ---------- */
115
- .sidebar-new-btn {
116
- padding: 0.375rem 0.75rem;
117
- font-size: 0.8125rem;
118
- font-weight: 600;
119
- line-height: 1.2;
120
- height: 30px;
121
- }
122
-
123
- /* ---------- Sidebar search ---------- */
124
- .sidebar-search-bar {
125
- padding: 0.5rem 0.75rem;
126
- flex-shrink: 0;
127
- }
128
- .sidebar-search-input {
129
- width: 100%;
130
- padding: 0.5rem 0.75rem;
131
- font-size: 0.8125rem;
132
- background: var(--color-bg-primary);
133
- border: 1px solid var(--color-border);
134
- border-radius: var(--radius-md);
135
- color: var(--color-text-primary);
136
- outline: none;
137
- transition: border-color 0.15s, box-shadow 0.15s;
138
- }
139
- .sidebar-search-input:focus {
140
- border-color: var(--color-primary);
141
- box-shadow: 0 0 0 3px var(--color-focus-ring);
142
- }
143
- .sidebar-search-input::placeholder { color: var(--color-text-secondary); }
144
-
145
- /* ---------- Sidebar list items: cards ---------- */
146
- .sidebar-list {
147
- list-style: none;
148
- padding: 0.25rem 0.5rem 1rem;
149
- margin: 0;
150
- overflow-y: auto;
151
- flex: 1;
152
- min-height: 0;
153
- }
154
- .conversation-item {
155
- display: flex;
156
- align-items: center;
157
- gap: 0.375rem;
158
- padding: 0.5rem 0.625rem;
159
- margin: 0.125rem 0;
160
- border-radius: var(--radius-md);
161
- cursor: pointer;
162
- color: var(--color-text-primary);
163
- transition: background-color 0.12s;
164
- position: relative;
165
- border-left: none;
166
- }
167
- .conversation-item-content {
168
- flex: 1;
169
- min-width: 0;
170
- overflow: hidden;
171
- }
172
- .conversation-item:hover { background: var(--color-bg-hover); }
173
- .conversation-item.active {
174
- background: var(--color-primary);
175
- color: #fff;
176
- }
177
- .conversation-item.active .conversation-item-meta { color: rgba(255,255,255,0.85); }
178
- .conversation-item-title {
179
- font-size: 0.8125rem;
180
- font-weight: 500;
181
- line-height: 1.3;
182
- overflow: hidden;
183
- text-overflow: ellipsis;
184
- white-space: nowrap;
185
- margin-bottom: 0.125rem;
186
- }
187
- .conversation-item-meta {
188
- font-size: 0.6875rem;
189
- color: var(--color-text-secondary);
190
- overflow: hidden;
191
- text-overflow: ellipsis;
192
- white-space: nowrap;
193
- }