style: match dashboard header bar to F12 aside.side specs
Apply exact padding, border, shadow, and space-between layout from the reference Design Planning Hub header. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -45,11 +45,8 @@ export function DashboardHeader({
|
||||
];
|
||||
|
||||
return (
|
||||
<header className="relative flex h-12 shrink-0 items-center overflow-hidden bg-[linear-gradient(180deg,#37a184_0%,#29724f_20%,#07412e_100%)] px-5 text-white shadow-[0_2px_10px_rgba(0,0,0,0.20)]">
|
||||
<div className="pointer-events-none absolute inset-x-0 top-0 h-[45%] bg-white/10" />
|
||||
<div className="pointer-events-none absolute inset-x-0 bottom-0 h-px bg-emerald-200/50" />
|
||||
|
||||
<div className="side-left-group relative z-10 flex h-full min-w-0 shrink-0 items-center gap-3">
|
||||
<header className="dashboard-header-bar shrink-0 overflow-hidden">
|
||||
<div className="side-left-group min-w-0 shrink-0">
|
||||
<span className="side-title-main main_tit flex shrink-0 items-center gap-[10px] text-[20px] font-bold tracking-[-0.5px] text-[#bad8ca]">
|
||||
<span>총괄기획실</span>
|
||||
<span>|</span>
|
||||
@@ -83,7 +80,7 @@ export function DashboardHeader({
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="side-right-actions relative z-10 ml-auto flex shrink-0 items-center gap-3">
|
||||
<div className="side-right-actions shrink-0">
|
||||
<button
|
||||
type="button"
|
||||
onClick={onOpenTaskManager}
|
||||
|
||||
@@ -60,6 +60,35 @@ body,
|
||||
box-shadow: 0 0 8px #ffeb3b, inset 0 1px 2px rgba(255, 255, 255, 0.4);
|
||||
}
|
||||
|
||||
/* F12 aside.side — 헤더 바 전체 */
|
||||
.dashboard-header-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
height: 48px;
|
||||
min-height: 48px;
|
||||
padding: 0 22px 0 20px;
|
||||
background: linear-gradient(180deg, #37a184 0%, #29724f 20%, #07412e 100%);
|
||||
border-bottom: 1px solid #135643;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.side-left-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.side-right-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
/* F12 Design Planning Hub — 타이틀 */
|
||||
.main_tit {
|
||||
color: #bad8ca;
|
||||
|
||||
Reference in New Issue
Block a user