mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-19 10:57:45 +00:00
4f2fcc82f0
- Create better styling for the input area buttons, resizing in mobile and creating more even height with a more minimal send button
124 lines
1.9 KiB
CSS
124 lines
1.9 KiB
CSS
div.main {
|
|
height: 100dvh;
|
|
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);
|
|
margin-bottom: 20px;
|
|
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;
|
|
}
|
|
|
|
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 screen and (max-width: 768px) {
|
|
div.inputBox {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
div.chatBody {
|
|
grid-template-columns: 0fr 1fr;
|
|
}
|
|
|
|
div.chatBoxBody {
|
|
width: 100%;
|
|
grid-template-rows: auto;
|
|
}
|
|
|
|
div.sidePanel {
|
|
position: relative;
|
|
}
|
|
|
|
div.chatBox {
|
|
padding: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
div.chatLayout {
|
|
gap: 0;
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: auto 1fr;
|
|
}
|
|
|
|
div.homeGreetings {
|
|
grid-template-rows: auto 1fr;
|
|
}
|
|
}
|