[common/components] feat: Header 컴포넌트 중앙 네비게이션 ScrollArea 적용
This commit is contained in:
@@ -1,27 +1,42 @@
|
||||
@tailwind components;
|
||||
|
||||
@layer components {
|
||||
|
||||
/* 상단 메뉴 호버 시 하단 라인 - 기본 테마 */
|
||||
.header-nav-link {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.header-nav-link::after {
|
||||
content: '';
|
||||
/* .header-nav-link::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: -4px;
|
||||
left: 0;
|
||||
width: 0;
|
||||
height: 2px;
|
||||
background-color: #063A74;
|
||||
background-color: #063a74;
|
||||
transition: width 0.3s ease;
|
||||
}
|
||||
|
||||
.header-nav-link:hover::after {
|
||||
.header-nav-link:hover::before {
|
||||
width: 100%;
|
||||
} */
|
||||
|
||||
/* 네비게이션 아이템 사이 구분선 */
|
||||
.header-nav-link::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: -0.75rem;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 1px !important;
|
||||
height: 1.5rem !important;
|
||||
background-color: var(--border);
|
||||
}
|
||||
|
||||
|
||||
.header-nav-link:first-child::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
[data-theme="blue"] {
|
||||
header {
|
||||
background: #00afe5;
|
||||
@@ -35,7 +50,7 @@
|
||||
color: #fff;
|
||||
}
|
||||
header button[role="button"].primary {
|
||||
background-color: #008E8D !important;
|
||||
background-color: #008e8d !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
nav a,
|
||||
@@ -45,7 +60,7 @@
|
||||
.header-nav-link:hover {
|
||||
color: #fff !important;
|
||||
}
|
||||
.header-nav-link::after {
|
||||
.header-nav-link::before {
|
||||
background-color: #fff;
|
||||
}
|
||||
}
|
||||
@@ -63,7 +78,7 @@
|
||||
color: #fff;
|
||||
}
|
||||
header button[role="button"].primary {
|
||||
background-color: #008E8D !important;
|
||||
background-color: #008e8d !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
nav a,
|
||||
@@ -73,9 +88,8 @@
|
||||
.header-nav-link:hover {
|
||||
color: #fff !important;
|
||||
}
|
||||
.header-nav-link::after {
|
||||
.header-nav-link::before {
|
||||
background-color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user