Reimplement compose and add tiling windows

This commit is contained in:
2026-03-12 22:03:30 +00:00
parent 79766d279d
commit 6ceff63b71
126 changed files with 5111 additions and 10796 deletions

View File

@@ -1,7 +1,8 @@
.compose-shell {
display: flex;
flex-direction: column;
gap: 1rem;
gap: 0.75rem;
min-height: 0;
}
.compose-shell .compose-shell-head {
@@ -22,13 +23,37 @@
text-transform: uppercase;
}
.compose-shell .compose-context-row {
display: flex;
flex-wrap: nowrap;
align-items: center;
gap: 0.75rem;
}
.compose-shell .compose-context-primary {
flex: 1 1 auto;
min-width: 0;
}
.compose-shell .compose-context-secondary {
flex: 0 0 11rem;
min-width: 9rem;
}
.compose-shell .compose-contact-switch,
.compose-shell .compose-platform-switch {
margin-top: 0.5rem;
margin-top: 0;
}
.compose-shell .compose-contact-switch .select,
.compose-shell .compose-platform-switch .select,
.compose-shell .compose-contact-switch select,
.compose-shell .compose-platform-switch select {
width: 100%;
}
.compose-shell .compose-status {
min-height: 1.25rem;
min-height: 0;
}
.compose-shell .compose-status .button {
@@ -49,12 +74,32 @@
color: var(--bulma-success, #257953);
}
.gia-widget-control.gia-widget-control-no-scroll > .compose-shell {
height: 100%;
min-height: 0;
margin-bottom: 0;
overflow: hidden;
}
.gia-widget-control.gia-widget-control-no-scroll > .compose-shell .compose-shell-head,
.gia-widget-control.gia-widget-control-no-scroll > .compose-shell .compose-status,
.gia-widget-control.gia-widget-control-no-scroll > .compose-shell .compose-form {
flex: 0 0 auto;
}
.gia-widget-control.gia-widget-control-no-scroll > .compose-shell .compose-thread {
flex: 1 1 80%;
min-height: 0;
max-height: none;
}
.compose-shell .compose-thread {
display: flex;
flex-direction: column;
gap: 0.75rem;
min-height: 24rem;
max-height: 68vh;
flex: 1 1 auto;
min-height: 0;
max-height: none;
overflow-y: auto;
padding: 0.75rem;
border: 1px solid var(--bulma-border, #dbdbdb);
@@ -236,7 +281,7 @@
.compose-shell .compose-form {
display: flex;
flex-direction: column;
gap: 0.75rem;
gap: 0.5rem;
}
.compose-shell .compose-send-safety {
@@ -271,21 +316,8 @@
overflow-wrap: anywhere;
}
.compose-shell .compose-composer-capsule {
display: flex;
align-items: flex-end;
gap: 0.75rem;
padding: 0.75rem;
border: 1px solid var(--bulma-border, #dbdbdb);
border-radius: 0.875rem;
background: var(--bulma-scheme-main-bis, #f7f8fa);
}
.compose-shell .compose-textarea {
flex: 1 1 auto;
min-height: 2.75rem;
max-height: 8rem;
resize: none;
height: 100%;
}
.compose-shell .compose-send-btn {
@@ -305,19 +337,23 @@
}
@media (max-width: 768px) {
.compose-shell .compose-context-row {
flex-wrap: wrap;
}
.compose-shell .compose-context-secondary {
flex: 1 1 100%;
min-width: 0;
}
.compose-shell .compose-thread {
max-height: 60vh;
min-height: 18rem;
}
.compose-shell .compose-bubble {
max-width: 100%;
}
.compose-shell .compose-composer-capsule {
align-items: stretch;
flex-direction: column;
}
.compose-shell .compose-send-btn {
width: 100%;
}