Files
CT/dist/index.css
T

68 lines
1.6 KiB
CSS
Raw Normal View History

2024-07-10 15:40:25 +02:00
/* src/styles.css */
[unread] {
border-left: 10px solid var(--text-warn);
}
2024-07-10 19:07:58 +02:00
:root {
--thread-view-height-with-tools: 8rem;
--thread-view-width-with-tools: 20rem;
--footer-top-line: calc(var(--control-height) + var(--safe-area-bottom));
}
#message-tab {
flex-direction: column;
}
.message-tab-content-wrapper {
display: flex;
flex-direction: column;
}
.chat-tool-view {
display: none;
}
[showingchattools] :is(.thread-view, .chat-tool-view) {
overflow: scroll;
position: absolute;
padding: 0px;
}
[showingchattools] header {
border-bottom: 1px solid var(--border);
}
[showingchattools] .chat-tool-view {
display: flex;
top: var(--header-height);
bottom: calc(var(--thread-view-height-with-tools) + var(--footer-top-line));
border-bottom: 1px solid var(--border);
}
[showingchattools] .thread-view {
display: flex;
height: var(--thread-view-height-with-tools);
top: unset;
bottom: var(--footer-top-line);
flex: 1;
}
2024-07-11 01:07:02 +02:00
@media (min-width: 640px) and (max-width: 1400px) {
2024-07-10 19:07:58 +02:00
main.split:has([showingchattools]) {
display: flex;
}
main.split:has([showingchattools]) #settings-tab {
display: none;
}
}
2024-07-11 01:07:02 +02:00
@media (min-width: 640px) {
2024-07-10 19:07:58 +02:00
[showingchattools] :is(.thread-view, .chat-tool-view) {
top: var(--header-height);
bottom: var(--footer-top-line);
}
[showingchattools] .chat-tool-view {
left: 0px;
right: var(--thread-view-width-with-tools);
border-bottom: none;
border-right: 1px solid var(--border);
}
[showingchattools] .thread-view {
display: flex;
left: unset;
right: 0px;
height: unset;
width: var(--thread-view-width-with-tools);
}
}