···
322
322
323
323
/* Official Verifier Status */
324
324
.verifier-official-verifier-tooltip {
325
325
-
cursor: help;
325
325
+
/* Remove old styles for this if they existed, or repurpose if needed */
326
326
+
}
327
327
+
328
328
+
/* New Tooltip Styles */
329
329
+
.verifier-tooltip-container {
330
330
+
position: relative;
326
331
display: inline-block;
327
327
-
margin-left: 5px;
328
328
-
font-weight: bold;
329
329
-
border: 1px solid var(--text-muted, #ccc);
332
332
+
margin-left: 5px; /* Keep spacing */
333
333
+
}
334
334
+
335
335
+
.verifier-tooltip-icon {
336
336
+
display: inline-block;
337
337
+
background-color: var(--card-border); /* Use a subtle background */
338
338
+
color: var(--text-muted, var(--text));
330
339
border-radius: 50%;
331
331
-
width: 1.2em;
332
332
-
height: 1.2em;
333
333
-
line-height: 1.2em;
340
340
+
width: 1.4em; /* Adjust size */
341
341
+
height: 1.4em;
342
342
+
line-height: 1.4em; /* Center text vertically */
334
343
text-align: center;
335
335
-
font-size: 0.8em; /* Smaller question mark */
336
336
-
color: var(--text-muted, var(--text));
344
344
+
font-size: 0.8em;
345
345
+
font-weight: bold;
346
346
+
cursor: help;
347
347
+
transition: background-color 0.3s ease, color 0.3s ease;
348
348
+
}
349
349
+
350
350
+
.verifier-tooltip-icon:hover {
351
351
+
background-color: var(--button-bg); /* Use button color on hover */
352
352
+
color: var(--button-text);
353
353
+
}
354
354
+
355
355
+
.verifier-tooltip-text {
356
356
+
visibility: hidden;
357
357
+
opacity: 0;
358
358
+
width: 250px; /* Adjust width as needed */
359
359
+
background-color: var(--tooltip-bg, #333); /* Use variable or default */
360
360
+
color: var(--tooltip-text, #fff);
361
361
+
text-align: center;
362
362
+
border-radius: 6px;
363
363
+
padding: 8px 12px;
364
364
+
position: absolute;
365
365
+
z-index: 10;
366
366
+
bottom: 135%; /* Position above the icon */
367
367
+
left: 50%;
368
368
+
margin-left: -125px; /* Half of the width to center */
369
369
+
transition: opacity 0.3s ease, visibility 0.3s ease;
370
370
+
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
371
371
+
font-size: 0.9em; /* Adjust font size */
372
372
+
line-height: 1.4;
373
373
+
}
374
374
+
375
375
+
/* Tooltip arrow */
376
376
+
.verifier-tooltip-text::after {
377
377
+
content: "";
378
378
+
position: absolute;
379
379
+
top: 100%; /* At the bottom of the tooltip */
380
380
+
left: 50%;
381
381
+
margin-left: -5px;
382
382
+
border-width: 5px;
383
383
+
border-style: solid;
384
384
+
border-color: var(--tooltip-bg, #333) transparent transparent transparent; /* Arrow pointing down */
385
385
+
}
386
386
+
387
387
+
.verifier-tooltip-container:hover .verifier-tooltip-text {
388
388
+
visibility: visible;
389
389
+
opacity: 1;
390
390
+
}
391
391
+
392
392
+
/* Dark mode tooltip adjustments */
393
393
+
.dark-mode .verifier-tooltip-icon {
394
394
+
background-color: var(--card-border-dark, #555); /* Adjust dark variable */
395
395
+
color: var(--text-muted-dark, var(--text));
396
396
+
}
397
397
+
.dark-mode .verifier-tooltip-icon:hover {
398
398
+
background-color: var(--button-bg); /* Keep button colors */
399
399
+
color: var(--button-text);
400
400
+
}
401
401
+
.dark-mode .verifier-tooltip-text {
402
402
+
background-color: var(--tooltip-bg-dark, #eee);
403
403
+
color: var(--tooltip-text-dark, #333);
404
404
+
}
405
405
+
.dark-mode .verifier-tooltip-text::after {
406
406
+
border-top-color: var(--tooltip-bg-dark, #eee); /* Match dark background */
337
407
}
338
408
339
409
.verifier-official-verifier-note {
···
655
655
<p className="verifier-intro-text">
656
656
With Bluesky's new decentralized verification system, anyone can verify anyone else and any Bluesky client can choose which accounts to treat as "Trusted Verifiers". It's a first-of-its-kind verification system for a mainstream social platform of this size. Try verifying an account for yourself or check to see who has verified you!
657
657
</p>
658
658
-
<div className="verifier-page-header">
659
659
-
<p className="verifier-user-info">Logged in as: {userInfo ? `${userInfo.displayName} (@${userInfo.handle})` : session?.did}</p>
660
660
-
<button onClick={signOut} disabled={isAnyOperationInProgress} className="verifier-sign-out-button">Sign Out</button>
661
661
-
</div>
662
662
-
<hr />
658
658
+
663
659
664
660
<div className="verifier-section">
665
661
<h2>Verify a Bluesky User</h2>
···
719
715
<div className="verifier-section">
720
716
<div style={{display: 'flex', alignItems: 'center', marginBottom: '10px'}}>
721
717
<h2 style={{ display: 'inline-block', marginRight: '8px', marginBottom: 0, border: 'none', padding: 0 }}>Your Verification Status</h2>
722
722
-
<span title={trustedVerifiersTooltip} className="verifier-official-verifier-tooltip" style={{ fontSize: '1.2em' }}>(?)</span>
718
718
+
<div className="verifier-tooltip-container">
719
719
+
<span className="verifier-tooltip-icon">(?)</span>
720
720
+
<span className="verifier-tooltip-text">
721
721
+
{trustedVerifiersTooltip}
722
722
+
</span>
723
723
+
</div>
723
724
</div>
724
725
<div>
725
726
{TRUSTED_VERIFIERS.map(verifierId => {