로그인 이후 스타일 적용

This commit is contained in:
현성필
2025-11-14 13:54:02 +09:00
parent 6d7342365e
commit 4d24a84de9
6 changed files with 599 additions and 471 deletions
@@ -822,3 +822,131 @@ body {
}
}
// ===========================
// Header User Info (Authenticated State)
// ===========================
.header-user-info {
display: flex;
align-items: center;
gap: 6px;
padding: 4px 6px;
border-radius: 6px;
.user-identity {
display: flex;
align-items: center;
gap: 2px;
.user-icon {
width: 16px;
height: 18px;
display: block;
}
.user-name {
font-family: 'Noto Sans CJK KR', sans-serif;
font-size: 16px;
font-weight: 400;
color: #515961;
white-space: nowrap;
}
}
.divider {
font-size: 8px;
color: var(--text-gray);
line-height: 1;
}
.header-link {
font-family: 'Noto Sans CJK KR', sans-serif;
font-size: 16px;
font-weight: 400;
color: #515961;
text-decoration: none;
white-space: nowrap;
background: none;
border: none;
padding: 0;
cursor: pointer;
transition: color 0.3s ease;
&:hover {
color: var(--primary-blue);
}
}
.mypage-dropdown {
position: relative;
.mypage-toggle {
display: flex;
align-items: center;
gap: 4px;
}
.mypage-dropdown-menu {
position: absolute;
top: calc(100% + 8px);
right: 0;
min-width: 200px;
background: var(--white);
border: 1px solid var(--border-gray);
border-radius: $border-radius-lg;
box-shadow: var(--shadow-xl);
padding: $spacing-sm 0;
visibility: hidden;
opacity: 0;
transform: translateY(-10px);
transition: all 0.3s ease;
z-index: $z-index-dropdown;
.mypage-menu-list {
list-style: none;
margin: 0;
padding: 0;
li {
margin: 0;
a {
display: flex;
align-items: center;
gap: 8px;
padding: $spacing-sm $spacing-lg;
color: var(--text-dark);
text-decoration: none;
font-size: $font-size-sm;
font-weight: $font-weight-medium;
transition: all 0.3s ease;
i {
font-size: 14px;
width: 16px;
text-align: center;
}
&:hover {
background: var(--light-bg);
color: var(--primary-blue);
}
}
}
}
}
&.active .mypage-dropdown-menu {
visibility: visible;
opacity: 1;
transform: translateY(0);
}
}
}
// Mobile responsive
@media (max-width: 768px) {
.header-user-info {
display: none; // Hide on mobile, use drawer instead
}
}