Skip to content

Commit deadfc8

Browse files
committed
Fix expanded mode lock screen styling and CSP compliance
- Synchronized expanded.css colors with popup.css for consistent UI - Updated background to #0f0f1a (--bg-primary) - Applied QNet gradient (#00d4ff → #9945ff → #0099cc) to all elements - Fixed lock screen display issue in expanded mode - Removed inline scripts from popup.html and setup.html for CSP compliance - Moved global SecureKeyManager initialization to external JS files - Enhanced password input focus styles with QNet glow effect - Adjusted setup screen colors to match main theme
1 parent dd4fe39 commit deadfc8

6 files changed

Lines changed: 8 additions & 65 deletions

File tree

-750 Bytes
Binary file not shown.

applications/qnet-wallet/dist/popup.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>QNet Dual Wallet</title>
77
<link rel="stylesheet" href="styles/popup.css">
8+
<link rel="stylesheet" href="styles/expanded.css">
89
<!-- Google Fonts removed for CSP compliance - using system fonts -->
910
</head>
1011
<body>
@@ -591,6 +592,7 @@ <h4>Verify Your Recovery Phrase</h4>
591592
</div>
592593

593594
<!-- Load production version with working interface -->
595+
<script src="src/security/SecureKeyManager.js"></script>
594596
<script src="popup.js"></script>
595597
</body>
596598
</html>
-1.61 KB
Binary file not shown.

applications/qnet-wallet/dist/setup.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ <h1 class="step-title">Wallet Created Successfully!</h1>
232232
<script src="src/crypto/ProductionBIP39.js"></script>
233233
<script src="lib/solana-correct.js"></script>
234234
<script src="lib/crypto-secure.js"></script>
235+
<script src="src/security/SecureKeyManager.js"></script>
235236
<script src="setup.js"></script>
236237
</body>
237238
</html>

applications/qnet-wallet/dist/setup.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
* July 2025 - Production Ready
55
*/
66

7+
// Initialize SecureKeyManager globally (moved from inline script for CSP compliance)
8+
if (typeof window !== 'undefined' && typeof SecureKeyManager !== 'undefined') {
9+
window.globalKeyManager = new SecureKeyManager();
10+
}
11+
712
// Global setup state
813
let setupState = {
914
currentStep: 'welcome',

applications/qnet-wallet/dist/src/security/RateLimiter.js

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)