322 lines
6.0 KiB
CSS
322 lines
6.0 KiB
CSS
.app {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: var(--bg-primary);
|
|
transition: background-color 0.3s ease, color 0.3s ease;
|
|
}
|
|
|
|
.greeting-banner {
|
|
padding: 1rem 0;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.greeting-banner h2 {
|
|
margin: 0;
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
text-align: left;
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.greeting-banner p {
|
|
display: none;
|
|
}
|
|
|
|
.navbar {
|
|
background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
|
|
color: var(--text-primary);
|
|
padding: 1.5rem 2rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
box-shadow: var(--shadow-md);
|
|
border-bottom: 1px solid var(--border-color);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.nav-brand {
|
|
font-size: 1.8rem;
|
|
font-weight: 700;
|
|
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
letter-spacing: 0.5px;
|
|
font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.nav-logo {
|
|
width: 40px;
|
|
height: 40px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.nav-profile {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 0 0.5rem;
|
|
}
|
|
|
|
.nav-profile-pic {
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
border: 2px solid var(--accent-primary);
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.nav-profile-pic:hover {
|
|
transform: scale(1.1);
|
|
box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
|
|
}
|
|
|
|
.nav-profile-pic-placeholder {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--bg-primary);
|
|
font-weight: 700;
|
|
font-size: 1rem;
|
|
border: 2px solid var(--accent-primary);
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.nav-profile-pic-placeholder:hover {
|
|
transform: scale(1.1);
|
|
box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
|
|
}
|
|
|
|
.nav-links button {
|
|
background: transparent;
|
|
color: var(--text-primary);
|
|
border: 1.5px solid var(--accent-primary);
|
|
padding: 0.6rem 1.2rem;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
font-size: 0.9rem;
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
}
|
|
|
|
.nav-links button:hover {
|
|
background: var(--accent-primary);
|
|
color: var(--bg-primary);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* Icon button styling */
|
|
.nav-icon-btn {
|
|
border: none !important;
|
|
background: transparent !important;
|
|
color: var(--text-primary) !important;
|
|
padding: 0.5rem !important;
|
|
font-size: 1.5rem !important;
|
|
width: 50px;
|
|
height: 50px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50% !important;
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
}
|
|
|
|
.nav-icon-btn:hover {
|
|
background: rgba(0, 212, 255, 0.1) !important;
|
|
transform: scale(1.15);
|
|
color: var(--accent-primary);
|
|
}
|
|
|
|
.nav-icon-btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.nav-icon-btn.rotating {
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.theme-icon {
|
|
width: 35px;
|
|
height: 35px;
|
|
margin-right: 23px;
|
|
}
|
|
|
|
.nav-icon-btn svg {
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
|
|
.nav-logout-btn {
|
|
font-size: 1.8rem !important;
|
|
width: 50px !important;
|
|
height: 50px !important;
|
|
margin-left: auto;
|
|
margin-right: 1rem;
|
|
}
|
|
|
|
.logout-icon {
|
|
width: 35px;
|
|
height: 35px;
|
|
}
|
|
|
|
.logout-text {
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
margin-left: 0.5rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.nav-logout-btn:hover .logout-icon {
|
|
filter: invert(20%) brightness(1.4) hue-rotate(320deg);
|
|
}
|
|
.chat-icon {
|
|
width: 35px;
|
|
height: 35px;
|
|
}
|
|
|
|
.discover-icon {
|
|
width: 45px;
|
|
height: 45px;
|
|
}
|
|
|
|
.matches-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
.like-icon {
|
|
width: 35px;
|
|
height: 35px;
|
|
}
|
|
.nav-logout-btn:hover {
|
|
background: rgba(255, 71, 87, 0.15) !important;
|
|
color: #ff4757;
|
|
transform: scale(1.2) !important;
|
|
box-shadow: 0 0 20px rgba(255, 71, 87, 0.4);
|
|
}
|
|
|
|
.nav-btn-with-badge {
|
|
position: relative;
|
|
}
|
|
|
|
.notification-badge {
|
|
position: absolute;
|
|
top: 0px;
|
|
right: 0px;
|
|
background: #ff4757;
|
|
color: white;
|
|
border-radius: 50%;
|
|
min-width: 24px;
|
|
height: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
border: 2px solid var(--bg-secondary);
|
|
box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
|
|
white-space: nowrap;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
.notification-badge.likes-badge {
|
|
background: linear-gradient(135deg, #ff4757, #ff006e);
|
|
}
|
|
|
|
.main-content {
|
|
flex: 1;
|
|
padding: 2rem;
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.error-message {
|
|
background: rgba(255, 0, 110, 0.1);
|
|
color: #ff006e;
|
|
padding: 1rem;
|
|
border-radius: 8px;
|
|
margin-bottom: 1rem;
|
|
border-left: 4px solid #ff006e;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.success-message {
|
|
background: rgba(0, 212, 255, 0.1);
|
|
color: #00d4ff;
|
|
padding: 1rem;
|
|
border-radius: 8px;
|
|
margin-bottom: 1rem;
|
|
border-left: 4px solid #00d4ff;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 4rem 2rem;
|
|
}
|
|
|
|
.empty-state h2 {
|
|
margin-bottom: 1rem;
|
|
color: var(--text-primary);
|
|
font-size: 1.8rem;
|
|
}
|
|
|
|
.empty-state p {
|
|
color: var(--text-secondary);
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.empty-state button {
|
|
padding: 0.8rem 2rem;
|
|
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
|
|
color: var(--bg-primary);
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.empty-state button:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.empty-state a:hover {
|
|
text-decoration: none;
|
|
background-color: #0056b3;
|
|
}
|