Add institution tab styles

This commit is contained in:
spsaefan
2026-08-15 22:44:34 +02:00
parent 1758227f1e
commit fbcee778d2
@@ -152,6 +152,74 @@
color: var(--sg-error);
}
.dashboard-institution-tabs {
margin: -0.25rem 0 2rem;
h2 {
margin: 0 0 0.75rem;
font-size: 1.2rem;
line-height: 1.25;
}
}
.dashboard-institution-tab-list {
display: flex;
overflow-x: auto;
overflow-y: hidden;
border-bottom: 1px solid var(--sg-border);
background: transparent;
scrollbar-width: thin;
button {
position: relative;
flex: 0 0 auto;
min-width: 120px;
height: 48px;
padding: 0 16px;
border: 0;
border-radius: 0;
background: transparent;
color: var(--sg-text-muted);
cursor: pointer;
font: inherit;
font-size: 14px;
font-weight: 600;
line-height: 48px;
white-space: nowrap;
transition:
color 0.15s ease,
background-color 0.15s ease;
&::after {
position: absolute;
right: 0;
bottom: 0;
left: 0;
border-top: 3px solid transparent;
background: transparent;
content: '';
}
&:hover {
background: var(--sg-option-hover);
color: var(--sg-text);
}
&:focus-visible {
outline: 3px solid var(--sg-card-hover-border);
outline-offset: -3px;
}
&.active {
color: var(--sg-blue-highlight);
&::after {
border-top-color: var(--sg-blue-highlight);
}
}
}
}
.top-authors-section {
margin-bottom: 2.5rem;
}