mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-13 13:22:35 +00:00
- Move the nav menu into the chat history side panel component, so that they both show up on one line - Update all pages to use it with the new formatting - in mobile, present the sidebar button, home button, and profile button evenly centered in the middle
75 lines
1.3 KiB
CSS
75 lines
1.3 KiB
CSS
menu.menu a {
|
|
text-decoration: none;
|
|
font-size: medium;
|
|
font-weight: normal;
|
|
padding: 0 4px;
|
|
border-radius: 4px;
|
|
display: flex;
|
|
justify-self: center;
|
|
margin: 0;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
a.selected {
|
|
background-color: hsl(var(--accent));
|
|
}
|
|
|
|
div.titleBar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-content: space-evenly;
|
|
align-items: start;
|
|
}
|
|
|
|
div.titleBar menu {
|
|
padding: 0;
|
|
margin: 0;
|
|
border-radius: 0.5rem;
|
|
display: grid;
|
|
grid-auto-flow: column;
|
|
gap: 32px;
|
|
}
|
|
|
|
div.settingsMenuProfile img {
|
|
border-radius: 50%;
|
|
width: 32px;
|
|
height: 32px;
|
|
margin: 0;
|
|
}
|
|
|
|
div.settingsMenu {
|
|
padding: 0 4px;
|
|
border-radius: 4px;
|
|
display: flex;
|
|
justify-self: center;
|
|
margin: 0;
|
|
align-items: center;
|
|
}
|
|
|
|
div.settingsMenuOptions {
|
|
display: block;
|
|
grid-auto-flow: row;
|
|
position: absolute;
|
|
background-color: var(--background-color);
|
|
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
|
top: 64px;
|
|
text-align: left;
|
|
padding: 8px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
menu.menu span {
|
|
display: none;
|
|
}
|
|
|
|
div.settingsMenuOptions {
|
|
right: 4px;
|
|
}
|
|
|
|
div.titleBar {
|
|
padding: 8px;
|
|
}
|
|
}
|