/*Canopy - The next generation of stoner streaming software Copyright (C) 2024-2025 Rainbownapkin and the TTN Community This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see .*/ body{ height: 100%; } div#channel-flexbox{ flex: 1; display: flex; flex-direction: row; min-height: 0; } div.panel-head-div{ height: 1.2em; display: flex; } .panel-head-element{ margin: 0 0.2em 0 0.2em; } i.panel-head-element{ height: 1.2em; cursor: pointer; } span.panel-head-spacer-span{ flex: 1; } div#media-panel-div{ display: flex; flex-direction: column; flex: 1; min-width: 0; position: relative; } #media-panel-head-div{ position: absolute; height: 3em; right: 0; left: 0; top: 0; } video#media-panel-video{ flex: 1; min-height: 0; } #media-panel-sync-button{ height: 1.5em; } #media-panel-title-paragraph{ font-size: 1.2em; } div#chat-panel-div{ position: relative; display: flex; flex-direction: column; height:100%; } div#chat-panel-main-div{ display: flex; position: relative; flex: 1; height: 1%; } #media-panel-video-container{ display: flex; flex-direction: column; justify-content: center; height: 100%; } .drag-handle{ position: absolute; cursor: ew-resize; top: 0; bottom: 0; width: 0.4em; z-index: 3; } .left-drag-handle{ left: 0; z-index: 8; } .right-drag-handle{ right: 0; width: 0.6em; } #chat-panel-multipanel-div{ height: 100%; } #chat-panel-buffer-div{ height: 100%; flex: 1; overflow: scroll; } #chat-panel-users-div{ position: relative; height: 100%; width: 5vw; } #chat-area{ height: 100%; flex: 1; display: flex; flex-direction: column; } p#chat-panel-high-level-paragraph{ margin: auto; margin-left: 0; } p.panel-head-element{ font-size: 0.9em; } #chat-panel-flair-select{ margin-left: 0.5em; text-align: center; appearance: none; } #chat-panel-send-button{ margin: auto; margin-right: 1em; margin-left: 0.5em; height: 1.5em; } .chat-entry{ display: flex; align-content: center; font-size: 10pt; } .chat-entry-username{ margin: auto 0.2em auto 0; } .chat-entry-body{ margin: 0.2em; align-content: center; } .user-list-high-level{ margin: auto; } .chat-entry-high-level{ margin: auto 0 auto 0.2em; } .high-level{ z-index: 2; background-image: url("/img/sweet_leaf_simple.png"); background-size: 1.3em; background-repeat: no-repeat; background-position-x: center; background-position-y: top; width: 1.5em; text-align: center; flex-shrink: 0; } span.user-entry{ display: flex; margin-bottom: 0.1em; cursor: pointer; } .user-entry{ margin: 0 1em 0 0.1em; font-size: 1em; width: fit-content; user-select: none; } .whisper{ font-size: 7pt; } .announcement{ font-size: 1.5em; flex-direction: column; text-align: center; } .announcement-title{ margin: 0; } #media-panel-aspect-lock-icon{ display: none; } #chat-panel-user-count{ white-space: nowrap; user-select: none; } #media-panel-show-chat-icon{ display: none; } #chat-panel-show-video-icon{ display: none; } #chat-panel-settings-icon{ margin-left: 1em; } #cpanel-active-div{ position: absolute; z-index: 4; top: 0; bottom: 0; left: 0; overflow-y: auto; scrollbar-width: thin; width: 75%; } #cpanel-pinned-div{ position: relative; overflow-y: auto; scrollbar-width: thin; } .cpanel-div{ display: none; min-width: 4em; width: 30%; } #cpanel-pinned-splitter{ display: flex; flex-direction: row; flex: 1; } #chat-panel-control-div{ height: 2em; padding: 0; margin: 0.5em; } #chat-panel-prompt-span{ flex: 1; position: relative; display: flex; overflow: hidden; } #chat-panel-prompt{ font-size: 10pt; margin-left: 0.5em; user-select: none; } #chat-panel-prompt-autocomplete{ position: absolute; text-wrap: nowrap; user-select: none; cursor: pointer; font-size: 10pt; z-index: 10; margin: 0; left: 1em; top: 0.6em; } #chat-panel-prompt-autocomplete-filler{ visibility: hidden; user-select: none; cursor: auto; pointer-events: none; } .toke{ text-align: center; margin: 0.2em auto; font-size: 9.5pt; } .serverwhisper{ font-size: 9pt; font-style: italic; } .chat-img, .chat-video{ max-width: 100%; max-height: 10em; }