150 lines
2.6 KiB
CSS
150 lines
2.6 KiB
CSS
.header {
|
|
height: 64px;
|
|
background-color: var(--surface-color);
|
|
border-bottom: 1px solid var(--border-light);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 32px;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 50;
|
|
transition: background-color 0.3s ease, border-color 0.3s ease;
|
|
}
|
|
|
|
.headerActions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.planButton {
|
|
padding: 8px 16px;
|
|
background-color: transparent;
|
|
border: 1px solid var(--primary-blue);
|
|
color: var(--primary-blue);
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.planButton:hover {
|
|
background-color: var(--primary-blue);
|
|
color: white;
|
|
}
|
|
|
|
.segmentControl {
|
|
display: inline-flex;
|
|
background-color: rgba(0,0,0,0.06);
|
|
border-radius: 999px;
|
|
padding: 4px;
|
|
gap: 6px;
|
|
align-items: center;
|
|
}
|
|
|
|
.segmentButton {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 999px;
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-secondary);
|
|
transition: all 0.18s ease;
|
|
}
|
|
|
|
.segmentButton:hover {
|
|
background-color: var(--border-light);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.activeSegment {
|
|
background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.04));
|
|
box-shadow: 0 6px 14px rgba(2,6,23,0.4);
|
|
color: var(--surface-color);
|
|
}
|
|
|
|
.notificationButton {
|
|
position: relative;
|
|
width: 36px;
|
|
height: 36px;
|
|
background-color: transparent;
|
|
border: none;
|
|
border-radius: 50%;
|
|
color: var(--text-secondary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.notificationButton:hover {
|
|
background-color: var(--border-light);
|
|
}
|
|
|
|
.notificationDot {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
width: 8px;
|
|
height: 8px;
|
|
background-color: #ea4335;
|
|
border-radius: 50%;
|
|
border: 2px solid var(--surface-color);
|
|
}
|
|
|
|
.userMenu {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 12px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--text-primary);
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.userMenu:hover {
|
|
background-color: var(--border-light);
|
|
}
|
|
|
|
.userEmail {
|
|
opacity: 0.90;
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.userTitleMenu {
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Dropdown trigger style polished */
|
|
.userMenu:after {
|
|
content: '';
|
|
}
|
|
|
|
.userMenu svg {
|
|
font-size: 16px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.header {
|
|
padding: 0 16px;
|
|
}
|
|
|
|
.planButton {
|
|
display: none;
|
|
}
|
|
|
|
.themeToggleButton {
|
|
display: none;
|
|
}
|
|
}
|