- Updated all Chat component styles (Chat, MessageInput, MessageList, ConversationList) - Replaced purple/pink gradients with cyan/green gaming theme - Implemented glassmorphism effects with backdrop blur - Updated message bubbles with gradient for own messages, dark glass for others - Changed all light backgrounds to OLED-friendly pure black - Added cyan glow effects and shadows throughout - Installed react-router-dom dependency - Updated Demo.css with full dark theme - All components now match Astro landing site aesthetic
189 lines
3.3 KiB
CSS
189 lines
3.3 KiB
CSS
/* Sleek Dark Gaming Theme - BitChat/Root Inspired */
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Roboto', sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
background: #000000;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
code {
|
|
font-family: 'Fira Code', 'Consolas', 'Monaco', 'Courier New', monospace;
|
|
}
|
|
|
|
.app {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: #000000;
|
|
}
|
|
|
|
.app-header {
|
|
background: rgba(10, 10, 15, 0.8);
|
|
backdrop-filter: blur(20px);
|
|
padding: 20px 32px;
|
|
text-align: center;
|
|
border-bottom: 1px solid rgba(0, 217, 255, 0.1);
|
|
box-shadow: 0 4px 24px rgba(0, 217, 255, 0.05);
|
|
}
|
|
|
|
.app-header h1 {
|
|
margin: 0 0 8px 0;
|
|
color: #00d9ff;
|
|
font-size: 32px;
|
|
font-weight: 700;
|
|
text-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
|
|
}
|
|
|
|
.app-header p {
|
|
margin: 0;
|
|
color: #a1a1aa;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.app-main {
|
|
flex: 1;
|
|
padding: 40px 24px;
|
|
max-width: 1200px;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.user-profile {
|
|
background: rgba(10, 10, 15, 0.6);
|
|
backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(0, 217, 255, 0.1);
|
|
border-radius: 16px;
|
|
padding: 32px;
|
|
margin-bottom: 32px;
|
|
box-shadow: 0 8px 32px rgba(0, 217, 255, 0.1);
|
|
}
|
|
|
|
.profile-header {
|
|
text-align: center;
|
|
padding-bottom: 24px;
|
|
border-bottom: 1px solid rgba(0, 217, 255, 0.1);
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.profile-header h2 {
|
|
margin: 0 0 8px 0;
|
|
color: #ffffff;
|
|
font-size: 28px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.profile-header p {
|
|
margin: 0 0 16px 0;
|
|
color: #a1a1aa;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.profile-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
}
|
|
|
|
.toggle-button {
|
|
padding: 12px 32px;
|
|
background: linear-gradient(135deg, #00d9ff 0%, #00ff88 100%);
|
|
color: #000000;
|
|
border: none;
|
|
border-radius: 12px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
align-self: center;
|
|
box-shadow: 0 4px 20px rgba(0, 217, 255, 0.3);
|
|
}
|
|
|
|
.toggle-button:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 30px rgba(0, 217, 255, 0.4), 0 0 40px rgba(0, 255, 136, 0.2);
|
|
}
|
|
|
|
.verification-container {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.info-section {
|
|
background: rgba(10, 10, 15, 0.6);
|
|
backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(0, 217, 255, 0.1);
|
|
border-radius: 16px;
|
|
padding: 32px;
|
|
box-shadow: 0 8px 32px rgba(0, 217, 255, 0.1);
|
|
}
|
|
|
|
.info-section h3 {
|
|
margin: 0 0 16px 0;
|
|
color: #00d9ff;
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.info-section p {
|
|
margin: 0 0 16px 0;
|
|
color: #d4d4d8;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.info-section ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.info-section li {
|
|
padding: 12px 16px;
|
|
color: #d4d4d8;
|
|
font-size: 16px;
|
|
background: rgba(0, 217, 255, 0.05);
|
|
border-radius: 8px;
|
|
margin-bottom: 8px;
|
|
border-left: 3px solid #00d9ff;
|
|
}
|
|
|
|
.app-footer {
|
|
background: rgba(10, 10, 15, 0.8);
|
|
backdrop-filter: blur(20px);
|
|
color: #a1a1aa;
|
|
text-align: center;
|
|
padding: 24px;
|
|
margin-top: auto;
|
|
border-top: 1px solid rgba(0, 217, 255, 0.1);
|
|
}
|
|
|
|
.app-footer p {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.app-main {
|
|
padding: 24px 16px;
|
|
}
|
|
|
|
.user-profile,
|
|
.info-section {
|
|
padding: 24px;
|
|
}
|
|
|
|
.app-header h1 {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.profile-header h2 {
|
|
font-size: 24px;
|
|
}
|
|
}
|