megacommit
This commit is contained in:
@@ -0,0 +1,774 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
background: #0a0a0a;
|
||||
color: #e0e0e0;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.chat-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
max-width: 50vh;
|
||||
margin: 0 auto;
|
||||
background: #121212;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Chat Header */
|
||||
.chat-header {
|
||||
padding: 10px;
|
||||
background: #1a1a1a;
|
||||
border-bottom: 1px solid #252525;
|
||||
}
|
||||
|
||||
.chat-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.status-dot {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
background: #ff4444;
|
||||
border-radius: 50%;
|
||||
animation: pulse 2s infinite;
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0%,
|
||||
100% {
|
||||
transform: scale(1);
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
transform: scale(1.3);
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
.chat-title h1 {
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
/* Live Location Notification Bubble */
|
||||
.notification-container {
|
||||
padding: 15px 20px 10px 20px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
position: absolute;
|
||||
top: 70px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 10;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.live-location-bubble {
|
||||
padding: 0;
|
||||
border-radius: 20px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
border: 1px solid rgba(138, 43, 226, 0.3);
|
||||
box-shadow:
|
||||
0 8px 32px rgba(106, 90, 205, 0.2),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
||||
pointer-events: auto;
|
||||
max-height: 64px;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.live-location-bubble::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: linear-gradient(
|
||||
135deg,
|
||||
rgba(106, 90, 205, 0.25) 0%,
|
||||
rgba(72, 61, 139, 0.2) 50%,
|
||||
rgba(123, 104, 238, 0.15) 100%
|
||||
);
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.live-location-bubble.expanded::before {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.live-location-bubble > * {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.live-location-bubble.expanded {
|
||||
max-height: 400px;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.map-container {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
opacity: 0;
|
||||
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.live-location-bubble.expanded .map-container {
|
||||
height: 260px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.map-container img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.location-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 16px 20px;
|
||||
background: linear-gradient(
|
||||
135deg,
|
||||
rgba(106, 90, 205, 0.25) 0%,
|
||||
rgba(72, 61, 139, 0.2) 50%,
|
||||
rgba(123, 104, 238, 0.15) 100%
|
||||
);
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
}
|
||||
|
||||
.live-location-bubble.expanded .location-content {
|
||||
background: linear-gradient(
|
||||
to bottom,
|
||||
rgba(106, 90, 205, 0.45) 0%,
|
||||
rgba(72, 61, 139, 0.4) 50%,
|
||||
rgba(123, 104, 238, 0.35) 100%
|
||||
);
|
||||
}
|
||||
|
||||
.location-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.live-location-bubble::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
transparent,
|
||||
rgba(255, 255, 255, 0.2),
|
||||
transparent
|
||||
);
|
||||
}
|
||||
|
||||
.live-location-bubble:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow:
|
||||
0 12px 40px rgba(106, 90, 205, 0.35),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.15);
|
||||
background: linear-gradient(
|
||||
135deg,
|
||||
rgba(106, 90, 205, 0.3) 0%,
|
||||
rgba(72, 61, 139, 0.25) 50%,
|
||||
rgba(123, 104, 238, 0.2) 100%
|
||||
);
|
||||
}
|
||||
|
||||
.live-location-bubble.active {
|
||||
background: linear-gradient(
|
||||
135deg,
|
||||
rgba(106, 90, 205, 0.35) 0%,
|
||||
rgba(72, 61, 139, 0.3) 50%,
|
||||
rgba(123, 104, 238, 0.25) 100%
|
||||
);
|
||||
border-color: rgba(138, 43, 226, 0.5);
|
||||
}
|
||||
|
||||
.location-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.location-icon {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
backdrop-filter: blur(10px);
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
|
||||
transition: all 0.3s ease;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.location-icon svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
fill: #ea4335;
|
||||
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
|
||||
}
|
||||
|
||||
.live-location-bubble.expanded .location-icon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.join-button {
|
||||
display: none;
|
||||
padding: 8px 20px;
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
backdrop-filter: blur(10px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
border-radius: 20px;
|
||||
color: #ffffff;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.live-location-bubble.expanded .join-button {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.join-button:hover {
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.join-button:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
.join-button.active {
|
||||
background: rgba(106, 90, 205, 0.4);
|
||||
border-color: rgba(138, 43, 226, 0.5);
|
||||
}
|
||||
|
||||
.live-location-bubble.active .location-icon {
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
|
||||
.location-text {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
color: #ffffff;
|
||||
flex: 1;
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
|
||||
.location-users {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.location-user-pic {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 35%;
|
||||
margin-left: -15px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.location-user-pic:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.location-user-pic:hover {
|
||||
z-index: 10;
|
||||
transform: scale(1.15);
|
||||
}
|
||||
|
||||
.location-count {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 35%;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
backdrop-filter: blur(10px);
|
||||
margin-left: -15px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 10px;
|
||||
font-weight: 600;
|
||||
color: #ffffff;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.messages-container::before {
|
||||
content: "";
|
||||
flex: 1 0 auto;
|
||||
}
|
||||
|
||||
/* Messages Container */
|
||||
.messages-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
/*justify-content: flex-end;*/
|
||||
flex: 1;
|
||||
padding: 15px 0 15px 0;
|
||||
overflow-y: scroll;
|
||||
background: #121212;
|
||||
}
|
||||
|
||||
.message {
|
||||
margin: 10px 20px;
|
||||
padding: 10px 10px;
|
||||
border-radius: 10px;
|
||||
background: rgba(30, 30, 30, 0.4);
|
||||
backdrop-filter: blur(10px);
|
||||
border: 1px solid #252525;
|
||||
animation: slideIn 0.3s ease-out;
|
||||
transition: all 0.2s ease;
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.message:hover {
|
||||
background: #1f1f1f;
|
||||
border-color: #2a2a2a;
|
||||
}
|
||||
|
||||
@keyframes slideIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(10px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.user-avatar {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 25%;
|
||||
background-size: cover;
|
||||
border: 2px solid #252525;
|
||||
flex-shrink: 0;
|
||||
background-image: url("static/profile_pics/default.jpg");
|
||||
}
|
||||
|
||||
.user-avatar.blue {
|
||||
background: linear-gradient(135deg, #4169e1, #6495ed);
|
||||
}
|
||||
|
||||
.message-content {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.message-header {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 8px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.username {
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
color: #e0e0e0;
|
||||
}
|
||||
|
||||
.timestamp {
|
||||
font-size: 11px;
|
||||
color: #666;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.message-text {
|
||||
font-size: 14px;
|
||||
color: #b0b0b0;
|
||||
line-height: 1.4;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
/* Input Container */
|
||||
.input-container {
|
||||
padding: 10px;
|
||||
background: #1a1a1a;
|
||||
border-top: 1px solid #252525;
|
||||
}
|
||||
|
||||
.input-wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
background: #252525;
|
||||
border-radius: 10px;
|
||||
padding: 5px 5px;
|
||||
border: 1px solid #2a2a2a;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.input-wrapper:focus-within {
|
||||
background: #2a2a2a;
|
||||
border-color: #6a5acd;
|
||||
box-shadow: 0 0 0 3px rgba(106, 90, 205, 0.1);
|
||||
}
|
||||
|
||||
.input-wrapper input {
|
||||
flex: 1;
|
||||
background: none;
|
||||
border: none;
|
||||
color: #e0e0e0;
|
||||
font-size: 14px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.input-wrapper input::placeholder {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.send-button {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
background: none;
|
||||
border-radius: 10px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 14px;
|
||||
transition: all 0.2s ease;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.send-button:hover {
|
||||
transform: scale(1.1);
|
||||
box-shadow: 0 4px 15px rgba(106, 90, 205, 0.4);
|
||||
background: rgba(255, 255, 255, 0.4);
|
||||
}
|
||||
|
||||
.send-button:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
/* Scrollbar styling */
|
||||
.messages-container::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
.messages-container::-webkit-scrollbar-track {
|
||||
background: #1a1a1a;
|
||||
}
|
||||
|
||||
.messages-container::-webkit-scrollbar-thumb {
|
||||
background: #333;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.messages-container::-webkit-scrollbar-thumb:hover {
|
||||
background: #444;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
background: #0a0a0a;
|
||||
color: #e0e0e0;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.signup-container {
|
||||
width: 100%;
|
||||
max-width: 480px;
|
||||
background: #121212;
|
||||
border-radius: 16px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
|
||||
animation: slideIn 0.4s ease-out;
|
||||
}
|
||||
|
||||
@keyframes slideIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(20px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.signup-header {
|
||||
padding: 40px 40px 30px;
|
||||
text-align: center;
|
||||
background: linear-gradient(
|
||||
135deg,
|
||||
rgba(106, 90, 205, 0.15) 0%,
|
||||
rgba(72, 61, 139, 0.1) 100%
|
||||
);
|
||||
border-bottom: 1px solid #252525;
|
||||
}
|
||||
|
||||
.logo {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
margin: 0 auto 20px;
|
||||
background: linear-gradient(135deg, #6a5acd, #483d8b);
|
||||
border-radius: 25%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 36px;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
box-shadow: 0 4px 16px rgba(106, 90, 205, 0.3);
|
||||
}
|
||||
|
||||
.signup-header h1 {
|
||||
font-size: 28px;
|
||||
font-weight: 600;
|
||||
color: #ffffff;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.signup-header p {
|
||||
font-size: 14px;
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.signup-form {
|
||||
padding: 40px;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.form-group label {
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: #b0b0b0;
|
||||
margin-bottom: 8px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.input-wrapper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.form-group input {
|
||||
width: 100%;
|
||||
padding: 12px 16px;
|
||||
background: #1a1a1a;
|
||||
border: 1px solid #252525;
|
||||
border-radius: 8px;
|
||||
color: #e0e0e0;
|
||||
font-size: 15px;
|
||||
transition: all 0.2s ease;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.form-group input:focus {
|
||||
background: #1f1f1f;
|
||||
border-color: #6a5acd;
|
||||
box-shadow: 0 0 0 3px rgba(106, 90, 205, 0.1);
|
||||
}
|
||||
|
||||
.form-group input::placeholder {
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.error-message {
|
||||
display: none;
|
||||
margin-top: 8px;
|
||||
font-size: 12px;
|
||||
color: #ff4444;
|
||||
}
|
||||
|
||||
.form-group.error input {
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.form-group.error .error-message {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.password-toggle {
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
background: none;
|
||||
border: none;
|
||||
color: #666;
|
||||
cursor: pointer;
|
||||
padding: 4px;
|
||||
font-size: 12px;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.password-toggle:hover {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.submit-button {
|
||||
width: 100%;
|
||||
padding: 14px;
|
||||
background: linear-gradient(135deg, #6a5acd, #483d8b);
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
color: #ffffff;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 4px 16px rgba(106, 90, 205, 0.3);
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.submit-button:hover {
|
||||
background: linear-gradient(135deg, #7b6bd8, #5a4ea0);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 6px 20px rgba(106, 90, 205, 0.4);
|
||||
}
|
||||
|
||||
.submit-button:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.submit-button:disabled {
|
||||
background: #2a2a2a;
|
||||
color: #555;
|
||||
cursor: not-allowed;
|
||||
transform: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.signup-footer {
|
||||
padding: 20px 40px 30px;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.signup-footer a {
|
||||
color: #6a5acd;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.signup-footer a:hover {
|
||||
color: #7b6bd8;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.success-message {
|
||||
display: none;
|
||||
padding: 16px;
|
||||
background: rgba(76, 175, 80, 0.1);
|
||||
border: 1px solid rgba(76, 175, 80, 0.3);
|
||||
border-radius: 8px;
|
||||
color: #4caf50;
|
||||
font-size: 14px;
|
||||
margin-bottom: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.success-message.show {
|
||||
display: block;
|
||||
animation: slideIn 0.3s ease-out;
|
||||
}
|
||||
|
||||
.loading-spinner {
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border: 2px solid rgba(255, 255, 255, 0.3);
|
||||
border-top-color: #ffffff;
|
||||
border-radius: 50%;
|
||||
animation: spin 0.6s linear infinite;
|
||||
margin-right: 8px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.checkbox-group {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 10px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.checkbox-group input[type="checkbox"] {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin-top: 2px;
|
||||
cursor: pointer;
|
||||
accent-color: #6a5acd;
|
||||
}
|
||||
|
||||
.checkbox-group label {
|
||||
font-size: 13px;
|
||||
color: #888;
|
||||
line-height: 1.5;
|
||||
text-transform: none;
|
||||
letter-spacing: normal;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.checkbox-group a {
|
||||
color: #6a5acd;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.checkbox-group a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
Reference in New Issue
Block a user