2024-07-10 15:40:25 +02:00
|
|
|
/* src/styles.css */
|
|
|
|
|
[unread] {
|
2024-07-11 22:58:22 +02:00
|
|
|
border-left: 10px solid var(--text-warning);
|
2024-07-10 15:40:25 +02:00
|
|
|
}
|
2024-07-10 19:07:58 +02:00
|
|
|
:root {
|
2024-07-13 15:10:54 +02:00
|
|
|
--split-thread-height: 8rem;
|
|
|
|
|
--split-thread-width: 20rem;
|
2024-07-10 19:07:58 +02:00
|
|
|
}
|
2024-07-12 14:30:30 +02:00
|
|
|
.object-entry-wide {
|
2024-07-12 15:45:26 +02:00
|
|
|
width: 320px;
|
|
|
|
|
min-width: 320px;
|
2024-07-12 14:30:30 +02:00
|
|
|
}
|
2024-07-10 19:07:58 +02:00
|
|
|
#message-tab {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
2024-07-11 17:07:06 +02:00
|
|
|
.chat-object-view {
|
2024-07-10 19:07:58 +02:00
|
|
|
display: none;
|
|
|
|
|
}
|
2024-07-13 15:10:54 +02:00
|
|
|
[showingobjects] header {
|
2024-07-10 19:07:58 +02:00
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
}
|
2024-07-13 15:10:54 +02:00
|
|
|
[showingobjects] footer {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
[showingobjects] .chat-object-view {
|
2024-07-10 19:07:58 +02:00
|
|
|
display: flex;
|
|
|
|
|
top: var(--header-height);
|
|
|
|
|
}
|
2024-07-13 15:10:54 +02:00
|
|
|
[showingobjects] .thread-view {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
[showingobjects][chatvisible] .chat-object-view {
|
|
|
|
|
right: var(--split-thread-width);
|
|
|
|
|
border-right: 1px solid var(--border);
|
|
|
|
|
}
|
|
|
|
|
[showingobjects][chatvisible] .thread-view {
|
|
|
|
|
top: var(--header-height);
|
|
|
|
|
padding-top: var(--content-padding);
|
|
|
|
|
}
|
|
|
|
|
[showingobjects][chatvisible] :is(.thread-view, footer) {
|
2024-07-10 19:07:58 +02:00
|
|
|
display: flex;
|
2024-07-13 15:10:54 +02:00
|
|
|
right: 0px;
|
|
|
|
|
left: unset;
|
|
|
|
|
width: var(--split-thread-width);
|
2024-07-10 19:07:58 +02:00
|
|
|
}
|
2024-07-13 15:10:54 +02:00
|
|
|
@media (max-width: 1300px) {
|
|
|
|
|
main:has([showingobjects][chatopen]) {
|
2024-07-10 19:07:58 +02:00
|
|
|
display: flex;
|
|
|
|
|
}
|
2024-07-13 15:10:54 +02:00
|
|
|
main:has([showingobjects][chatopen]) #settings-tab {
|
2024-07-10 19:07:58 +02:00
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-07-13 15:10:54 +02:00
|
|
|
@media (max-width: 640px) {
|
|
|
|
|
[showingobjects][chatvisible][chatopen] .chat-object-view {
|
|
|
|
|
width: 100%;
|
|
|
|
|
bottom: calc(var(--split-thread-height) + var(--control-height));
|
|
|
|
|
border-right: none;
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
2024-07-10 19:07:58 +02:00
|
|
|
}
|
2024-07-13 15:10:54 +02:00
|
|
|
[showingobjects][chatvisible][chatopen] .thread-view {
|
|
|
|
|
top: unset;
|
2024-07-13 16:30:29 +02:00
|
|
|
bottom: calc(var(--control-height) + var(--safe-area-bottom));
|
2024-07-13 15:10:54 +02:00
|
|
|
width: 100%;
|
|
|
|
|
height: var(--split-thread-height);
|
|
|
|
|
padding: 0px;
|
2024-07-10 19:07:58 +02:00
|
|
|
}
|
2024-07-13 15:10:54 +02:00
|
|
|
[showingobjects][chatvisible][chatopen] footer {
|
|
|
|
|
width: 100%;
|
2024-07-10 19:07:58 +02:00
|
|
|
}
|
|
|
|
|
}
|