mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-20 03:17:44 +00:00
d3c07a098d
- 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
134 lines
2 KiB
CSS
134 lines
2 KiB
CSS
div.main {
|
|
height: 100vh;
|
|
color: hsla(var(--foreground));
|
|
}
|
|
|
|
div.suggestions {
|
|
overflow-x: none;
|
|
height: fit-content;
|
|
padding: 10px;
|
|
white-space: nowrap;
|
|
gap: 1rem;
|
|
}
|
|
|
|
div.inputBox {
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 16px;
|
|
margin-bottom: 20px;
|
|
gap: 12px;
|
|
align-content: center;
|
|
}
|
|
|
|
input.inputBox {
|
|
border: none;
|
|
}
|
|
|
|
input.inputBox:focus {
|
|
outline: none;
|
|
background-color: transparent;
|
|
}
|
|
|
|
div.inputBox:focus {
|
|
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
div.chatBodyFull {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
height: 100%;
|
|
}
|
|
|
|
button.inputBox {
|
|
border: none;
|
|
outline: none;
|
|
background-color: transparent;
|
|
cursor: pointer;
|
|
border-radius: 0.5rem;
|
|
padding: 0.5rem;
|
|
background: linear-gradient(var(--calm-green), var(--calm-blue));
|
|
}
|
|
|
|
div.chatBody {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
height: 100%;
|
|
}
|
|
|
|
.inputBox {
|
|
color: hsla(var(--foreground));
|
|
}
|
|
|
|
div.chatLayout {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 1rem;
|
|
}
|
|
|
|
div.chatBox {
|
|
display: grid;
|
|
height: 100%;
|
|
}
|
|
|
|
div.titleBar {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
}
|
|
|
|
div.chatBoxBody {
|
|
display: grid;
|
|
height: 100%;
|
|
margin: auto;
|
|
}
|
|
|
|
div.homeGreetings {
|
|
display: grid;
|
|
height: 100%;
|
|
margin: auto;
|
|
grid-template-rows: 1fr 2fr;
|
|
}
|
|
|
|
|
|
div.sidePanel {
|
|
position: fixed;
|
|
height: 100%;
|
|
}
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
div.chatBody {
|
|
grid-template-columns: 0fr 1fr;
|
|
}
|
|
|
|
div.chatBox {
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
div.inputBox {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
div.chatBoxBody {
|
|
width: 100%;
|
|
grid-template-rows: auto;
|
|
}
|
|
|
|
div.sidePanel {
|
|
position: relative;
|
|
}
|
|
|
|
div.chatBox {
|
|
padding: 0;
|
|
}
|
|
|
|
div.chatLayout {
|
|
gap: 0;
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
div.homeGreetings {
|
|
grid-template-rows: auto;
|
|
}
|
|
|
|
}
|