@ibgib/web-gib 0.0.52 → 0.0.55
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.
- package/CHANGELOG.md +7 -0
- package/dist/AUTO-GENERATED-version.d.mts +1 -1
- package/dist/AUTO-GENERATED-version.mjs +1 -1
- package/dist/api/commands/chat/hello-world.mjs.map +1 -1
- package/dist/api/commands/command-constants.d.mts +4 -4
- package/dist/api/commands/command-constants.d.mts.map +1 -1
- package/dist/api/commands/command-service-v1.d.mts.map +1 -1
- package/dist/api/commands/command-service-v1.mjs.map +1 -1
- package/dist/api/commands/ibgib/get-ibgibs.d.mts.map +1 -1
- package/dist/api/commands/ibgib/get-ibgibs.mjs.map +1 -1
- package/dist/api/ibgib-api-bridge.d.mts +81 -0
- package/dist/api/ibgib-api-bridge.d.mts.map +1 -0
- package/dist/api/ibgib-api-bridge.mjs +259 -0
- package/dist/api/ibgib-api-bridge.mjs.map +1 -0
- package/dist/app-bootstrap/init-orchestration.d.mts +1 -1
- package/dist/app-bootstrap/init-orchestration.d.mts.map +1 -1
- package/dist/app-bootstrap/init-orchestration.mjs +17 -3
- package/dist/app-bootstrap/init-orchestration.mjs.map +1 -1
- package/dist/assets/fullscreen-dialog.html +18 -0
- package/dist/assumptions.respec.mjs.map +1 -1
- package/dist/common/settings/settings-constants.d.mts.map +1 -1
- package/dist/helpers.d.mts.map +1 -1
- package/dist/helpers.mjs.map +1 -1
- package/dist/helpers.web.d.mts.map +1 -1
- package/dist/helpers.web.mjs.map +1 -1
- package/dist/helpers.web.respec.mjs.map +1 -1
- package/dist/identity/keystone-sync-service.d.mts +37 -0
- package/dist/identity/keystone-sync-service.d.mts.map +1 -0
- package/dist/identity/keystone-sync-service.mjs +211 -0
- package/dist/identity/keystone-sync-service.mjs.map +1 -0
- package/dist/identity/sso/sso-custodian-service.d.mts.map +1 -1
- package/dist/identity/sso/sso-custodian-service.mjs.map +1 -1
- package/dist/identity/sso/sso-custodian-service.respec.mjs.map +1 -1
- package/dist/index.d.mts +17 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +21 -26
- package/dist/index.mjs.map +1 -1
- package/dist/storage/storage-helpers.web.mjs.map +1 -1
- package/dist/ui/component/common-component-styles.css +270 -0
- package/dist/ui/component/ibgib-component-service.d.mts.map +1 -1
- package/dist/ui/component/ibgib-dynamic-component-bases.d.mts.map +1 -1
- package/dist/ui/component/ibgib-dynamic-component-bases.mjs.map +1 -1
- package/dist/ui/component/identity/add-device/add-device.css +133 -0
- package/dist/ui/component/identity/add-device/add-device.d.mts +49 -0
- package/dist/ui/component/identity/add-device/add-device.d.mts.map +1 -0
- package/dist/ui/component/identity/add-device/add-device.html +52 -0
- package/dist/ui/component/identity/add-device/add-device.mjs +321 -0
- package/dist/ui/component/identity/add-device/add-device.mjs.map +1 -0
- package/dist/ui/component/identity/identity-header/identity-header.css +317 -0
- package/dist/ui/component/identity/identity-header/identity-header.d.mts +85 -0
- package/dist/ui/component/identity/identity-header/identity-header.d.mts.map +1 -0
- package/dist/ui/component/identity/identity-header/identity-header.html +72 -0
- package/dist/ui/component/identity/identity-header/identity-header.mjs +546 -0
- package/dist/ui/component/identity/identity-header/identity-header.mjs.map +1 -0
- package/dist/ui/component/identity/identity-manager/identity-manager.css +178 -0
- package/dist/ui/component/identity/identity-manager/identity-manager.d.mts +76 -0
- package/dist/ui/component/identity/identity-manager/identity-manager.d.mts.map +1 -0
- package/dist/ui/component/identity/identity-manager/identity-manager.html +19 -0
- package/dist/ui/component/identity/identity-manager/identity-manager.mjs +591 -0
- package/dist/ui/component/identity/identity-manager/identity-manager.mjs.map +1 -0
- package/dist/ui/component/identity/index.d.mts +17 -0
- package/dist/ui/component/identity/index.d.mts.map +1 -0
- package/dist/ui/component/identity/index.mjs +34 -0
- package/dist/ui/component/identity/index.mjs.map +1 -0
- package/dist/ui/component/identity/keystone-creator/keystone-creator.css +97 -0
- package/dist/ui/component/identity/keystone-creator/keystone-creator.d.mts +58 -0
- package/dist/ui/component/identity/keystone-creator/keystone-creator.d.mts.map +1 -0
- package/dist/ui/component/identity/keystone-creator/keystone-creator.html +51 -0
- package/dist/ui/component/identity/keystone-creator/keystone-creator.mjs +410 -0
- package/dist/ui/component/identity/keystone-creator/keystone-creator.mjs.map +1 -0
- package/dist/ui/component/identity/keystone-details/keystone-details.css +621 -0
- package/dist/ui/component/identity/keystone-details/keystone-details.d.mts +98 -0
- package/dist/ui/component/identity/keystone-details/keystone-details.d.mts.map +1 -0
- package/dist/ui/component/identity/keystone-details/keystone-details.html +154 -0
- package/dist/ui/component/identity/keystone-details/keystone-details.mjs +1377 -0
- package/dist/ui/component/identity/keystone-details/keystone-details.mjs.map +1 -0
- package/dist/ui/component/identity/keystone-scrubber/keystone-scrubber.css +46 -0
- package/dist/ui/component/identity/keystone-scrubber/keystone-scrubber.d.mts +64 -0
- package/dist/ui/component/identity/keystone-scrubber/keystone-scrubber.d.mts.map +1 -0
- package/dist/ui/component/identity/keystone-scrubber/keystone-scrubber.html +15 -0
- package/dist/ui/component/identity/keystone-scrubber/keystone-scrubber.mjs +300 -0
- package/dist/ui/component/identity/keystone-scrubber/keystone-scrubber.mjs.map +1 -0
- package/dist/ui/component/identity/remove-device/remove-device.css +118 -0
- package/dist/ui/component/identity/remove-device/remove-device.d.mts +50 -0
- package/dist/ui/component/identity/remove-device/remove-device.d.mts.map +1 -0
- package/dist/ui/component/identity/remove-device/remove-device.html +31 -0
- package/dist/ui/component/identity/remove-device/remove-device.mjs +188 -0
- package/dist/ui/component/identity/remove-device/remove-device.mjs.map +1 -0
- package/dist/ui/ui-constants.d.mts +1 -0
- package/dist/ui/ui-constants.d.mts.map +1 -1
- package/dist/ui/ui-constants.mjs +1 -0
- package/dist/ui/ui-constants.mjs.map +1 -1
- package/dist/ui/ui-types.d.mts +7 -0
- package/dist/ui/ui-types.d.mts.map +1 -1
- package/dist/witness/agent/agent-constants.d.mts.map +1 -1
- package/dist/witness/agent/agent-helpers.mjs.map +1 -1
- package/dist/witness/agent/agent-one-file.d.mts.map +1 -1
- package/dist/witness/agent/agent-one-file.mjs.map +1 -1
- package/dist/witness/agent/agents-service-v1.d.mts.map +1 -1
- package/dist/witness/agent/agents-service-v1.mjs.map +1 -1
- package/dist/witness/agent/gemini/agent-witness-gemini-v1.d.mts.map +1 -1
- package/dist/witness/agent/gemini/gemini-agent-factory.d.mts.map +1 -1
- package/dist/witness/live-proxy-ibgib/live-proxy-ibgib-one-file.d.mts.map +1 -1
- package/dist/witness/live-proxy-ibgib/live-proxy-ibgib-one-file.mjs.map +1 -1
- package/dist/witness/space/metaspace/metaspace-webspace/metaspace-webspace-helper.mjs.map +1 -1
- package/dist/witness/space/metaspace/metaspace-webspace/metaspace-webspace.d.mts +4 -0
- package/dist/witness/space/metaspace/metaspace-webspace/metaspace-webspace.d.mts.map +1 -1
- package/dist/witness/space/metaspace/metaspace-webspace/metaspace-webspace.mjs +40 -1
- package/dist/witness/space/metaspace/metaspace-webspace/metaspace-webspace.mjs.map +1 -1
- package/dist/witness/space/web-filesystem-space/web-filesystem-space-types.d.mts.map +1 -1
- package/dist/witness/space/web-filesystem-space/web-filesystem-space-v1.d.mts.map +1 -1
- package/package.json +2 -2
- package/src/AUTO-GENERATED-version.mts +1 -1
- package/src/api/ibgib-api-bridge.mts +292 -0
- package/src/app-bootstrap/init-orchestration.mts +17 -6
- package/src/custom.d.ts +11 -0
- package/src/identity/keystone-sync-service.mts +257 -0
- package/src/index.mts +24 -25
- package/src/ui/component/README.md +82 -5
- package/src/ui/component/common-component-styles.css +270 -0
- package/src/ui/component/identity/add-device/add-device.css +133 -0
- package/src/ui/component/identity/add-device/add-device.html +52 -0
- package/src/ui/component/identity/add-device/add-device.mts +397 -0
- package/src/ui/component/identity/identity-header/IMPLEMENTATION.md +45 -0
- package/src/ui/component/identity/identity-header/identity-header.css +317 -0
- package/src/ui/component/identity/identity-header/identity-header.html +72 -0
- package/src/ui/component/identity/identity-header/identity-header.mts +651 -0
- package/src/ui/component/identity/identity-manager/IMPLEMENTATION.md +100 -0
- package/src/ui/component/identity/identity-manager/identity-manager.css +178 -0
- package/src/ui/component/identity/identity-manager/identity-manager.html +19 -0
- package/src/ui/component/identity/identity-manager/identity-manager.mts +675 -0
- package/src/ui/component/identity/index.mts +36 -0
- package/src/ui/component/identity/keystone-creator/keystone-creator.css +97 -0
- package/src/ui/component/identity/keystone-creator/keystone-creator.html +51 -0
- package/src/ui/component/identity/keystone-creator/keystone-creator.mts +497 -0
- package/src/ui/component/identity/keystone-details/keystone-details.css +621 -0
- package/src/ui/component/identity/keystone-details/keystone-details.html +154 -0
- package/src/ui/component/identity/keystone-details/keystone-details.mts +1506 -0
- package/src/ui/component/identity/keystone-scrubber/SCRUBBER_IMPLEMENTATION.md +33 -0
- package/src/ui/component/identity/keystone-scrubber/keystone-scrubber.css +46 -0
- package/src/ui/component/identity/keystone-scrubber/keystone-scrubber.html +15 -0
- package/src/ui/component/identity/keystone-scrubber/keystone-scrubber.mts +355 -0
- package/src/ui/component/identity/remove-device/remove-device.css +118 -0
- package/src/ui/component/identity/remove-device/remove-device.html +31 -0
- package/src/ui/component/identity/remove-device/remove-device.mts +247 -0
- package/src/ui/ui-constants.mts +1 -0
- package/src/ui/ui-types.mts +8 -0
- package/src/witness/space/metaspace/metaspace-webspace/metaspace-webspace.mts +42 -1
- package/tools/auto-generated-agent-skills/skills/ibgib-dependency-graph/SKILL.md +209 -0
- package/tools/auto-generated-agent-skills/skills/ibgib-implementation-plan/SKILL.md +102 -0
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: inline-block;
|
|
3
|
+
vertical-align: middle;
|
|
4
|
+
position: relative;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.header-widget-container {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: flex-end;
|
|
11
|
+
position: relative;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Top control pill button */
|
|
15
|
+
.identity-pill-btn {
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
gap: 0.5rem;
|
|
19
|
+
padding: 0.4rem 0.8rem;
|
|
20
|
+
background: var(--tab-background-color-active, rgba(255, 255, 255, 0.08));
|
|
21
|
+
border: 1px solid var(--tab-border-color-active, rgba(80, 250, 123, 0.3));
|
|
22
|
+
border-radius: var(--radius-lg, 20px);
|
|
23
|
+
color: var(--clr-text-primary, #ffffff);
|
|
24
|
+
font-family: inherit;
|
|
25
|
+
font-size: 0.85rem;
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
transition: all 0.2s ease-in-out;
|
|
28
|
+
outline: none;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.identity-pill-btn:hover, .identity-pill-btn.locked {
|
|
32
|
+
background: rgba(80, 250, 123, 0.15);
|
|
33
|
+
border-color: var(--clr-accent, #50fa7b);
|
|
34
|
+
box-shadow: 0 2px 8px rgba(80, 250, 123, 0.15);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.identity-pill-btn.unauth {
|
|
38
|
+
background: rgba(255, 204, 68, 0.05);
|
|
39
|
+
border: 1px dashed var(--clr-warn, #ffcc44);
|
|
40
|
+
color: var(--clr-warn, #ffcc44);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.identity-pill-btn.unauth:hover, .identity-pill-btn.unauth.locked {
|
|
44
|
+
background: rgba(255, 204, 68, 0.15);
|
|
45
|
+
border-color: var(--clr-warn, #ffcc44);
|
|
46
|
+
box-shadow: 0 0 10px rgba(255, 204, 68, 0.25);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.pill-content {
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
gap: 0.5rem;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.avatar-circle {
|
|
56
|
+
display: flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
justify-content: center;
|
|
59
|
+
width: 24px;
|
|
60
|
+
height: 24px;
|
|
61
|
+
border-radius: 50%;
|
|
62
|
+
font-size: 0.85rem;
|
|
63
|
+
font-weight: 700;
|
|
64
|
+
text-transform: uppercase;
|
|
65
|
+
background: var(--clr-accent, #50fa7b);
|
|
66
|
+
color: #11111b;
|
|
67
|
+
flex-shrink: 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.username-text {
|
|
71
|
+
font-weight: 600;
|
|
72
|
+
max-width: 140px;
|
|
73
|
+
overflow: hidden;
|
|
74
|
+
text-overflow: ellipsis;
|
|
75
|
+
white-space: nowrap;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.unauth-text {
|
|
79
|
+
font-weight: 600;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.caret {
|
|
83
|
+
font-size: 0.75rem;
|
|
84
|
+
transition: transform 0.2s ease;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.identity-pill-btn.locked .caret {
|
|
88
|
+
transform: rotate(180deg);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* Glassmorphic Dropdown Menu Popup */
|
|
92
|
+
.dropdown-menu {
|
|
93
|
+
position: absolute;
|
|
94
|
+
top: calc(100% + 6px);
|
|
95
|
+
right: 0;
|
|
96
|
+
min-width: 220px;
|
|
97
|
+
background: var(--clr-bg-surface, rgba(30, 30, 46, 0.95));
|
|
98
|
+
border: 1px solid var(--clr-border, rgba(255, 255, 255, 0.12));
|
|
99
|
+
border-radius: 12px;
|
|
100
|
+
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
|
|
101
|
+
backdrop-filter: blur(12px);
|
|
102
|
+
-webkit-backdrop-filter: blur(12px);
|
|
103
|
+
padding: 0.5rem;
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-direction: column;
|
|
106
|
+
z-index: 1000;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* Invisible hover buffer to prevent drop gap */
|
|
110
|
+
.dropdown-menu::before {
|
|
111
|
+
content: '';
|
|
112
|
+
position: absolute;
|
|
113
|
+
top: -10px;
|
|
114
|
+
left: 0;
|
|
115
|
+
width: 100%;
|
|
116
|
+
height: 10px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.dropdown-section {
|
|
120
|
+
display: flex;
|
|
121
|
+
flex-direction: column;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.dropdown-header-label {
|
|
125
|
+
font-size: 0.68rem;
|
|
126
|
+
font-weight: 700;
|
|
127
|
+
text-transform: uppercase;
|
|
128
|
+
letter-spacing: 0.05em;
|
|
129
|
+
color: var(--clr-text-muted, #9399b2);
|
|
130
|
+
padding: 0.3rem 0.6rem 0.2rem 0.6rem;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.dropdown-divider {
|
|
134
|
+
border: 0;
|
|
135
|
+
height: 1px;
|
|
136
|
+
background: var(--clr-border, rgba(255, 255, 255, 0.12));
|
|
137
|
+
margin: 0.4rem 0;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.dropdown-item {
|
|
141
|
+
display: flex;
|
|
142
|
+
align-items: center;
|
|
143
|
+
gap: 0.6rem;
|
|
144
|
+
width: 100%;
|
|
145
|
+
padding: 0.55rem 0.75rem;
|
|
146
|
+
border: none;
|
|
147
|
+
border-radius: 8px;
|
|
148
|
+
background: transparent;
|
|
149
|
+
color: var(--clr-text-primary, #cdd6f4);
|
|
150
|
+
font-size: 0.85rem;
|
|
151
|
+
font-weight: 500;
|
|
152
|
+
cursor: pointer;
|
|
153
|
+
text-align: left;
|
|
154
|
+
transition: background 0.15s ease, color 0.15s ease;
|
|
155
|
+
box-sizing: border-box;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.dropdown-item:hover:not(.disabled) {
|
|
159
|
+
background: var(--clr-accent-hover, rgba(137, 180, 250, 0.15));
|
|
160
|
+
color: var(--clr-accent, #89b4fa);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.dropdown-item.active-identity {
|
|
164
|
+
background: rgba(80, 250, 123, 0.12);
|
|
165
|
+
font-weight: 600;
|
|
166
|
+
color: var(--clr-accent, #50fa7b);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.dropdown-item.disabled {
|
|
170
|
+
opacity: 0.5;
|
|
171
|
+
cursor: not-allowed;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.dropdown-item .icon {
|
|
175
|
+
font-size: 1rem;
|
|
176
|
+
display: inline-flex;
|
|
177
|
+
align-items: center;
|
|
178
|
+
justify-content: center;
|
|
179
|
+
min-width: 1.2rem;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.identity-badge-active {
|
|
183
|
+
margin-left: auto;
|
|
184
|
+
font-size: 0.75rem;
|
|
185
|
+
color: var(--clr-accent, #50fa7b);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.update-item {
|
|
189
|
+
color: #ffb703;
|
|
190
|
+
background: rgba(255, 183, 3, 0.1);
|
|
191
|
+
font-weight: 600;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.update-item:hover {
|
|
195
|
+
background: rgba(255, 183, 3, 0.25) !important;
|
|
196
|
+
color: #ffc107 !important;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/* Glowing amber notification dot / badge */
|
|
200
|
+
.update-badge {
|
|
201
|
+
display: inline-flex;
|
|
202
|
+
align-items: center;
|
|
203
|
+
justify-content: center;
|
|
204
|
+
font-size: 0.75rem;
|
|
205
|
+
animation: pulse-amber 2s infinite ease-in-out;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
@keyframes pulse-amber {
|
|
209
|
+
0% {
|
|
210
|
+
transform: scale(1);
|
|
211
|
+
filter: drop-shadow(0 0 2px #ffb703);
|
|
212
|
+
}
|
|
213
|
+
50% {
|
|
214
|
+
transform: scale(1.25);
|
|
215
|
+
filter: drop-shadow(0 0 8px #ffb703);
|
|
216
|
+
}
|
|
217
|
+
100% {
|
|
218
|
+
transform: scale(1);
|
|
219
|
+
filter: drop-shadow(0 0 2px #ffb703);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/* Modal Sync Progress Overlay */
|
|
224
|
+
.modal-overlay {
|
|
225
|
+
position: fixed;
|
|
226
|
+
top: 0;
|
|
227
|
+
left: 0;
|
|
228
|
+
width: 100vw;
|
|
229
|
+
height: 100vh;
|
|
230
|
+
z-index: 10000;
|
|
231
|
+
background: rgba(0, 0, 0, 0.7);
|
|
232
|
+
backdrop-filter: blur(8px);
|
|
233
|
+
-webkit-backdrop-filter: blur(8px);
|
|
234
|
+
display: flex;
|
|
235
|
+
align-items: center;
|
|
236
|
+
justify-content: center;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.modal-card {
|
|
240
|
+
background: #1e1e2e;
|
|
241
|
+
border: 1px solid var(--clr-border, rgba(255, 255, 255, 0.15));
|
|
242
|
+
border-radius: 16px;
|
|
243
|
+
padding: 2rem;
|
|
244
|
+
max-width: 400px;
|
|
245
|
+
width: 90%;
|
|
246
|
+
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
|
|
247
|
+
display: flex;
|
|
248
|
+
flex-direction: column;
|
|
249
|
+
align-items: center;
|
|
250
|
+
text-align: center;
|
|
251
|
+
gap: 1rem;
|
|
252
|
+
box-sizing: border-box;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.modal-spinner {
|
|
256
|
+
font-size: 2.5rem;
|
|
257
|
+
animation: spin-pulse 2s infinite ease-in-out;
|
|
258
|
+
display: inline-block;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
@keyframes spin-pulse {
|
|
262
|
+
0% {
|
|
263
|
+
transform: rotate(0deg) scale(1);
|
|
264
|
+
}
|
|
265
|
+
50% {
|
|
266
|
+
transform: rotate(180deg) scale(1.15);
|
|
267
|
+
}
|
|
268
|
+
100% {
|
|
269
|
+
transform: rotate(360deg) scale(1);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.modal-title {
|
|
274
|
+
margin: 0;
|
|
275
|
+
font-size: 1.25rem;
|
|
276
|
+
font-weight: 700;
|
|
277
|
+
color: var(--clr-text-primary, #ffffff);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.modal-msg {
|
|
281
|
+
margin: 0;
|
|
282
|
+
font-size: 0.9rem;
|
|
283
|
+
color: var(--clr-text-muted, #a6adc8);
|
|
284
|
+
line-height: 1.4;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.modal-status {
|
|
288
|
+
background: rgba(255, 255, 255, 0.05);
|
|
289
|
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
290
|
+
border-radius: 8px;
|
|
291
|
+
padding: 0.4rem 0.8rem;
|
|
292
|
+
font-family: monospace;
|
|
293
|
+
font-size: 0.85rem;
|
|
294
|
+
color: var(--clr-accent, #50fa7b);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.modal-close-btn {
|
|
298
|
+
padding: 0.5rem 1.5rem;
|
|
299
|
+
background: var(--clr-accent, #50fa7b);
|
|
300
|
+
color: #11111b;
|
|
301
|
+
border: none;
|
|
302
|
+
border-radius: 8px;
|
|
303
|
+
font-weight: 700;
|
|
304
|
+
font-size: 0.9rem;
|
|
305
|
+
cursor: pointer;
|
|
306
|
+
transition: background 0.2s ease, transform 0.1s ease;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.modal-close-btn:hover {
|
|
310
|
+
background: #62ff88;
|
|
311
|
+
transform: translateY(-1px);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.hidden {
|
|
315
|
+
display: none !important;
|
|
316
|
+
}
|
|
317
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
<div id="container" class="header-widget-container">
|
|
2
|
+
<!-- Single top control button -->
|
|
3
|
+
<button id="btn-identity-pill" class="identity-pill-btn" title="Identity Menu">
|
|
4
|
+
<!-- Authenticated State Content -->
|
|
5
|
+
<div id="pill-auth-content" class="pill-content hidden">
|
|
6
|
+
<div id="identity-avatar" class="avatar-circle">-</div>
|
|
7
|
+
<span id="identity-username" class="username-text"></span>
|
|
8
|
+
<span id="update-badge" class="update-badge hidden" title="Identity update available">🟡</span>
|
|
9
|
+
<span class="caret">▾</span>
|
|
10
|
+
</div>
|
|
11
|
+
<!-- Unauthenticated State Content -->
|
|
12
|
+
<div id="pill-unauth-content" class="pill-content hidden">
|
|
13
|
+
<span class="unauth-text">Not Signed In</span>
|
|
14
|
+
<span class="caret">▾</span>
|
|
15
|
+
</div>
|
|
16
|
+
</button>
|
|
17
|
+
|
|
18
|
+
<!-- Unified Dropdown Menu Popup -->
|
|
19
|
+
<div id="dropdown-menu" class="dropdown-menu hidden">
|
|
20
|
+
<!-- Section 1 (Update) -->
|
|
21
|
+
<div id="section-update" class="dropdown-section hidden">
|
|
22
|
+
<button id="btn-menu-update-identity" class="dropdown-item update-item">
|
|
23
|
+
<span class="icon">🔄</span> Update Identity (<span id="update-n-text">n: 0 ➔ 0</span>)
|
|
24
|
+
</button>
|
|
25
|
+
<hr class="dropdown-divider" />
|
|
26
|
+
</div>
|
|
27
|
+
|
|
28
|
+
<!-- Section 2 (Local Identities) -->
|
|
29
|
+
<div id="section-identities" class="dropdown-section">
|
|
30
|
+
<div class="dropdown-header-label">SWITCH IDENTITY</div>
|
|
31
|
+
<div id="identities-list" class="identities-list"></div>
|
|
32
|
+
<hr class="dropdown-divider" />
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<!-- Section 3 (Creation & Sign Ins) -->
|
|
36
|
+
<div id="section-actions" class="dropdown-section">
|
|
37
|
+
<button id="btn-menu-create-account" class="dropdown-item">
|
|
38
|
+
<span class="icon">✨</span> Create Account
|
|
39
|
+
</button>
|
|
40
|
+
<button id="btn-menu-sign-in" class="dropdown-item">
|
|
41
|
+
<span class="icon">🔑</span> Sign In
|
|
42
|
+
</button>
|
|
43
|
+
<button id="btn-menu-google-sso" class="dropdown-item disabled" title="Sign in with Google">
|
|
44
|
+
<span class="icon">🌐</span> Sign in with Google
|
|
45
|
+
</button>
|
|
46
|
+
<button id="btn-menu-github-sso" class="dropdown-item disabled" title="Sign in with GitHub">
|
|
47
|
+
<span class="icon">💻</span> Sign in with GitHub
|
|
48
|
+
</button>
|
|
49
|
+
<hr class="dropdown-divider" />
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
<!-- Section 4 (Settings) -->
|
|
53
|
+
<div id="section-settings" class="dropdown-section">
|
|
54
|
+
<button id="btn-menu-manage" class="dropdown-item">
|
|
55
|
+
<span class="icon">⚙️</span> Identity Manager
|
|
56
|
+
</button>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
|
|
60
|
+
<!-- Modal Sync Progress Overlay -->
|
|
61
|
+
<div id="sync-progress-modal" class="modal-overlay hidden">
|
|
62
|
+
<div class="modal-card">
|
|
63
|
+
<div id="sync-modal-spinner" class="modal-spinner">🔄</div>
|
|
64
|
+
<h3 id="sync-modal-title" class="modal-title">Updating Identity Keystone...</h3>
|
|
65
|
+
<p id="sync-modal-msg" class="modal-msg">Fetching delta graph from server and fast-forwarding local space...</p>
|
|
66
|
+
<div id="sync-modal-status" class="modal-status">
|
|
67
|
+
<span id="sync-modal-n-text">n: 0 ➔ 0</span>
|
|
68
|
+
</div>
|
|
69
|
+
<button id="btn-sync-modal-close" class="modal-close-btn hidden">Done</button>
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|