phonograph/sass/workspace-nav.scss

81 lines
1.2 KiB
SCSS
Raw Normal View History

2025-09-25 14:51:09 -07:00
@use 'globals';
$background-current-item: #0001;
.workspace-nav {
& h1, h2, h3, h4, h5, h6 {
margin: 0;
font-weight: 600;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
& h1 {
font-size: 1.5rem;
2025-09-25 14:51:09 -07:00
}
& h2 {
font-size: 1.25rem;
}
& h3 {
font-size: 1.125rem;
}
& h4, h5, h6 {
font-size: 1rem;
}
&__section {
margin-top: 16px;
}
2025-09-25 14:51:09 -07:00
&__menu {
list-style-type: none;
padding: 0;
margin: 0;
margin-top: 16px;
2025-09-25 14:51:09 -07:00
}
&__heading {
align-items: center;
display: flex;
font-size: inherit;
justify-content: space-between;
margin: 8px;
2025-09-25 14:51:09 -07:00
}
&__aux-button {
@include globals.button-secondary;
@include globals.button-small;
text-decoration: none;
}
&__menu-item {
display: block;
margin-left: 8px;
padding: 0;
2025-09-25 14:51:09 -07:00
}
&__menu-leaf {
@include globals.rounded-sm;
align-items: center;
display: flex;
justify-content: space-between;
padding: 0 8px;
2025-09-25 14:51:09 -07:00
&--current, &:hover {
background: $background-current-item;
}
}
&__menu-link {
color: globals.$link-color;
flex: 1;
padding: 12px 0;
2025-09-25 14:51:09 -07:00
text-decoration: none;
}
}