ncantu fe7f49b6cd Update API anchorage, services, and website skeleton
**Motivations:**
- Synchronisation des modifications sur l'API anchorage, les services et le website skeleton
- Ajout de scripts de monitoring et de diagnostic pour l'API anchorage
- Documentation des problèmes de mutex et de provisioning UTXO

**Root causes:**
- N/A (commit de synchronisation)

**Correctifs:**
- N/A (commit de synchronisation)

**Evolutions:**
- Ajout de scripts de monitoring et de diagnostic pour l'API anchorage
- Amélioration de la gestion des mutex et des UTXOs
- Mise à jour de la documentation

**Pages affectées:**
- api-anchorage/src/bitcoin-rpc.js
- api-anchorage/src/routes/anchor.js
- api-anchorage/src/routes/health.js
- api-anchorage/src/server.js
- api-anchorage/README-MONITORING.md
- api-anchorage/cleanup-stale-locks.mjs
- api-anchorage/diagnose.mjs
- api-anchorage/unlock-utxos.mjs
- service-login-verify/src/persistentNonceCache.ts
- signet-dashboard/src/server.js
- signet-dashboard/public/*
- userwallet/src/hooks/useChannel.ts
- userwallet/src/services/relayNotificationService.ts
- userwallet/src/utils/defaultContract.ts
- website-skeleton/src/*
- docs/DOMAINS_AND_PORTS.md
- docs/INTERFACES.md
- features/*
- fixKnowledge/*
2026-01-28 15:11:59 +01:00

393 lines
7.0 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary-color: #f7931a;
--secondary-color: #e0e0e0;
--background-color: #1a1a1a;
--card-background: #2d2d2d;
--text-color: #e0e0e0;
--border-color: #404040;
--success-color: #28a745;
--error-color: #dc3545;
--warning-color: #ffc107;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
background-color: var(--background-color);
color: var(--text-color);
line-height: 1.6;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
header {
text-align: center;
margin-bottom: 40px;
padding: 30px 0;
background: linear-gradient(135deg, var(--primary-color), #ff6b35);
color: white;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}
header h1 {
font-size: 2.5em;
margin-bottom: 10px;
}
.subtitle {
font-size: 1.2em;
opacity: 0.9;
}
.external-links {
margin-top: 15px;
}
.external-link {
display: inline-block;
padding: 10px 20px;
background-color: rgba(255, 255, 255, 0.2);
color: white;
text-decoration: none;
border-radius: 5px;
font-size: 1em;
transition: background-color 0.3s, transform 0.2s;
border: 1px solid rgba(255, 255, 255, 0.3);
}
.external-link:hover {
background-color: rgba(255, 255, 255, 0.3);
transform: translateY(-2px);
text-decoration: none;
}
main {
margin-bottom: 40px;
}
section {
margin-bottom: 40px;
}
section h2 {
font-size: 1.8em;
margin-bottom: 20px;
color: var(--secondary-color);
border-bottom: 3px solid var(--primary-color);
padding-bottom: 10px;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.card {
background: var(--card-background);
border-radius: 10px;
padding: 25px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
transition: transform 0.2s, box-shadow 0.2s;
border: 1px solid var(--border-color);
}
.card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}
.card h3 {
font-size: 1.1em;
margin-bottom: 15px;
color: var(--secondary-color);
font-weight: 600;
}
.value {
font-size: 2em;
font-weight: bold;
color: var(--primary-color);
word-break: break-all;
}
.tabs {
display: flex;
gap: 10px;
margin-bottom: 20px;
border-bottom: 2px solid var(--border-color);
}
.tab-button {
padding: 10px 20px;
background: none;
border: none;
cursor: pointer;
font-size: 1em;
color: var(--text-color);
border-bottom: 3px solid transparent;
transition: all 0.3s;
}
.tab-button:hover {
color: var(--primary-color);
}
.tab-button.active {
color: var(--primary-color);
border-bottom-color: var(--primary-color);
font-weight: 600;
}
.tab-content {
display: none;
}
.tab-content.active {
display: block;
}
label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: var(--secondary-color);
}
input[type="text"],
input[type="file"],
textarea {
width: 100%;
padding: 12px;
border: 2px solid var(--border-color);
border-radius: 5px;
font-size: 1em;
margin-bottom: 15px;
transition: border-color 0.3s;
background-color: var(--card-background);
color: var(--text-color);
}
input[type="text"]:focus,
textarea:focus {
outline: none;
border-color: var(--primary-color);
}
textarea {
resize: vertical;
min-height: 100px;
font-family: monospace;
}
button {
background-color: var(--primary-color);
color: white;
border: none;
padding: 12px 24px;
border-radius: 5px;
font-size: 1em;
cursor: pointer;
transition: background-color 0.3s;
font-weight: 600;
}
button:hover {
background-color: #e8840a;
}
button:disabled {
background-color: #555;
color: #888;
cursor: not-allowed;
}
.hash-buttons {
display: flex;
gap: 10px;
margin-top: 10px;
}
.hash-buttons button {
flex: 1;
}
.spinner {
margin-left: 10px;
animation: spin 1s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.hash-section {
margin-top: 20px;
padding-top: 20px;
border-top: 2px solid var(--border-color);
}
.file-info {
margin: 15px 0;
padding: 10px;
background-color: var(--card-background);
border-radius: 5px;
font-size: 0.9em;
border: 1px solid var(--border-color);
}
.result {
margin-top: 20px;
padding: 15px;
border-radius: 5px;
display: none;
}
.result.success {
background-color: rgba(40, 167, 69, 0.2);
color: #90ee90;
border: 1px solid #28a745;
display: block;
}
.result.error {
background-color: rgba(220, 53, 69, 0.2);
color: #ff6b6b;
border: 1px solid #dc3545;
display: block;
}
.result.info {
background-color: rgba(13, 202, 240, 0.2);
color: #6ec6ff;
border: 1px solid #0dcaf0;
display: block;
}
footer {
text-align: center;
padding: 20px;
background-color: var(--card-background);
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
color: #999;
border: 1px solid var(--border-color);
}
footer .git-link {
display: inline-block;
margin-top: 15px;
text-decoration: none;
color: #999;
transition: color 0.3s, transform 0.2s;
}
footer .git-link:hover {
color: var(--primary-color);
transform: scale(1.1);
}
footer .git-icon {
width: 24px;
height: 24px;
vertical-align: middle;
margin-right: 5px;
fill: currentColor;
}
.watermark-section {
margin-top: 20px;
padding-top: 20px;
border-top: 2px solid var(--border-color);
}
.watermark-checkbox {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.watermark-checkbox input[type="checkbox"] {
width: 20px;
height: 20px;
margin-right: 10px;
cursor: pointer;
}
.watermark-checkbox label {
cursor: pointer;
margin-bottom: 0;
}
.watermark-checkboxes {
display: flex;
flex-direction: column;
gap: 10px;
}
.security-warning-section {
margin-bottom: 30px;
}
.security-warning {
background-color: rgba(255, 193, 7, 0.15);
border: 2px solid #ffc107;
border-radius: 5px;
padding: 15px;
margin-bottom: 20px;
}
.security-warning strong {
color: #ffc107;
display: block;
margin-bottom: 8px;
font-size: 1.1em;
}
.security-warning p {
margin: 0;
color: #ffd54f;
font-size: 0.9em;
line-height: 1.5;
}
.loading {
display: inline-block;
width: 20px;
height: 20px;
border: 3px solid rgba(255, 255, 255, 0.3);
border-radius: 50%;
border-top-color: white;
animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
@media (max-width: 768px) {
.grid {
grid-template-columns: 1fr;
}
header h1 {
font-size: 2em;
}
.container {
padding: 10px;
}
}