keycloak-theme/common/resources/scss/section-nav.scss

38 lines
611 B
SCSS
Raw Normal View History

2022-11-27 01:17:33 +00:00
.ps-section-nav {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
2022-11-27 03:30:19 +00:00
position: sticky;
top: 0;
left: 0;
width: 100%;
background-color: var(--background);
border-bottom: 2px solid var(--foreground);
2022-11-27 01:17:33 +00:00
&--list {
list-style: none;
display: flex;
position: sticky;
margin: 0 -0.5rem;
}
&--link {
2022-11-27 03:30:19 +00:00
display: flex;
a {
padding: 1rem 0.5rem;
}
2022-11-27 01:17:33 +00:00
2022-11-27 03:30:19 +00:00
&_active {
a {
color: var(--foreground);
border-bottom: 4px solid var(--foreground);
2022-11-27 01:17:33 +00:00
2022-11-27 03:30:19 +00:00
&:hover {
border-color: var(--foreground);
}
2022-11-27 01:17:33 +00:00
}
}
}
}