2024-07-20 15:49:58 +02:00
|
|
|
/* show/hide */
|
2024-07-20 14:16:26 +02:00
|
|
|
#chat-page-wrapper {
|
2024-07-20 15:27:27 +02:00
|
|
|
display: none;
|
2024-07-20 14:16:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#chat-page-wrapper[open] {
|
2024-07-20 15:27:27 +02:00
|
|
|
display: flex;
|
2024-07-20 14:16:26 +02:00
|
|
|
|
2024-07-20 15:27:27 +02:00
|
|
|
position: absolute;
|
|
|
|
|
top: 0px;
|
|
|
|
|
left: 0px;
|
|
|
|
|
right: 0px;
|
|
|
|
|
bottom: 0px;
|
2024-07-20 14:16:26 +02:00
|
|
|
|
2024-07-20 15:27:27 +02:00
|
|
|
background-color: var(--background);
|
|
|
|
|
|
|
|
|
|
z-index: 2;
|
2024-07-20 15:02:17 +02:00
|
|
|
}
|
|
|
|
|
|
2024-07-20 15:49:58 +02:00
|
|
|
/* layout */
|
2024-07-20 17:19:10 +02:00
|
|
|
#chat-page {
|
|
|
|
|
--ribbon-size: calc(var(--control-height) + 2 * var(--gap-between-tiles));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#chat-page #ribbon,
|
|
|
|
|
#chat-page .toolbar,
|
|
|
|
|
#chat-page #main,
|
|
|
|
|
#chat-page #main .content {
|
|
|
|
|
display: flex;
|
|
|
|
|
}
|
|
|
|
|
|
2024-07-20 15:27:27 +02:00
|
|
|
#chat-page > div {
|
|
|
|
|
padding: 0px;
|
|
|
|
|
|
|
|
|
|
overflow: hidden;
|
2024-07-20 17:19:10 +02:00
|
|
|
display: flex;
|
|
|
|
|
}
|
2024-07-20 15:27:27 +02:00
|
|
|
|
2024-07-20 17:19:10 +02:00
|
|
|
#chat-page #main {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2024-07-20 15:27:27 +02:00
|
|
|
|
2024-07-20 17:19:10 +02:00
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
flex: 1;
|
2024-07-20 15:27:27 +02:00
|
|
|
}
|
|
|
|
|
|
2024-07-20 17:19:10 +02:00
|
|
|
#chat-page #main > div,
|
|
|
|
|
#chat-page #main .content {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
2024-07-20 15:27:27 +02:00
|
|
|
}
|
|
|
|
|
|
2024-07-20 17:19:10 +02:00
|
|
|
#chat-page #main .content {
|
|
|
|
|
overflow: auto;
|
2024-07-20 17:30:36 +02:00
|
|
|
|
|
|
|
|
padding: var(--content-padding);
|
2024-07-20 17:19:10 +02:00
|
|
|
}
|
2024-07-20 15:27:27 +02:00
|
|
|
|
2024-07-20 17:19:10 +02:00
|
|
|
#chat-page #ribbon,
|
|
|
|
|
#chat-page #main,
|
|
|
|
|
#chat-page #main .content {
|
|
|
|
|
flex-direction: column;
|
2024-07-20 15:27:27 +02:00
|
|
|
}
|
|
|
|
|
|
2024-07-20 17:19:10 +02:00
|
|
|
/* ribbon, toolbar */
|
|
|
|
|
#chat-page #ribbon {
|
|
|
|
|
width: var(--ribbon-size);
|
|
|
|
|
border-right: 1px solid var(--border);
|
|
|
|
|
|
|
|
|
|
overflow: auto;
|
|
|
|
|
|
|
|
|
|
justify-content: space-between;
|
2024-07-20 18:36:52 +02:00
|
|
|
|
|
|
|
|
padding-bottom: var(--safe-area-bottom);
|
2024-07-20 15:27:27 +02:00
|
|
|
}
|
2024-07-20 15:49:58 +02:00
|
|
|
|
2024-07-20 17:19:10 +02:00
|
|
|
#chat-page #main .toolbar {
|
|
|
|
|
height: var(--ribbon-size);
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
|
|
|
|
|
padding-left: var(--content-padding);
|
2024-07-20 18:36:52 +02:00
|
|
|
border-top: 1px solid var(--border);
|
2024-07-20 15:49:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#chat-page #ribbon,
|
2024-07-20 17:19:10 +02:00
|
|
|
#chat-page .toolbar {
|
|
|
|
|
align-items: center;
|
2024-07-20 15:49:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#chat-page #ribbon > span,
|
2024-07-20 17:19:10 +02:00
|
|
|
#chat-page .toolbar > span {
|
2024-07-20 15:49:58 +02:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
2024-07-20 16:28:00 +02:00
|
|
|
padding: var(--gap-between-tiles);
|
|
|
|
|
gap: var(--gap-between-tiles);
|
|
|
|
|
}
|
|
|
|
|
|
2024-07-20 17:19:10 +02:00
|
|
|
#chat-page #ribbon > span {
|
2024-07-20 18:49:05 +02:00
|
|
|
width: 100%;
|
2024-07-20 15:49:58 +02:00
|
|
|
}
|
|
|
|
|
|
2024-07-20 16:28:00 +02:00
|
|
|
#chat-page #ribbon button,
|
2024-07-20 17:19:10 +02:00
|
|
|
#chat-page .toolbar button {
|
2024-07-20 15:49:58 +02:00
|
|
|
padding: 0px;
|
|
|
|
|
|
|
|
|
|
width: 100%;
|
2024-07-20 16:28:00 +02:00
|
|
|
max-width: var(--control-height);
|
2024-07-20 15:49:58 +02:00
|
|
|
height: var(--control-height);
|
|
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|