Add collapsable bottom bar to chat screen.
This commit is contained in:
parent
a4ac6146d7
commit
25004fe404
5 changed files with 61 additions and 6 deletions
36
style.css
36
style.css
|
|
@ -448,6 +448,8 @@ input:focus {
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.chat-header {
|
||||
|
|
@ -590,12 +592,44 @@ input:focus {
|
|||
|
||||
/* Chat Input Panel */
|
||||
.chat-input-panel {
|
||||
padding: 20px 24px;
|
||||
padding: .8rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.alternate-panel {
|
||||
background-color: var(--bg-secondary);
|
||||
padding: .4em;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: .6em;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
transform: translateY(0);
|
||||
transition: transform .3s;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.alternate-panel.collapsed {
|
||||
transform: translateY(100%);
|
||||
}
|
||||
|
||||
.alternate-panel button {
|
||||
border: medium solid white;
|
||||
border-radius: 100%;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.alternate-panel button:hover {
|
||||
border-color: white;
|
||||
background-color: white;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.chat-input-panel button {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue