/*Canopy - The next generation of stoner streaming software Copyright (C) 2024 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 .*/ :root{ --main-font: "open-sans", system-ui; --bg0: rgb(158, 158, 158); --bg0-alpha0: rgba(158, 158, 158, 0.4); --bg0-alpha1: rgba(158, 158, 158, 0.75); --bg1: rgb(70, 70, 70); --bg2: rgb(220, 220, 220); --bg1-alt0: rgb(30, 30, 30); --bg2-alt0: rgb(200, 200, 200); --bg2-alt1: rgb(180, 180, 180); --accent0: rgb(48, 47, 47); --accent0-alt0: rgb(34, 34, 34); --accent0-warning: firebrick; --accent0-warning-alt0: rgb(121, 11, 11); --accent1: rgb(245, 245, 245); --accent1-alt0: rgb(185, 185, 185); --accent2: var(--accent0-alt0); --focus0: rgb(51, 153, 51); --userlist-color0:rgb(87, 145, 97); --userlist-color1:rgb(143, 46, 26); --userlist-color2:rgb(51, 101, 161); --userlist-color3:rgb(110, 94, 13); --userlist-color4:rgb(129, 43, 43); --userlist-color5:rgb(150, 64, 6); --userlist-color6:rgb(111, 61, 204); --media-header-gradient: linear-gradient(180deg, var(--bg1-alt0) 0%, #FFFFFF00 76%); --background-panel-effect-pretty: blur(4px); --background-panel-effect-fast: none; } body{ background-color: var(--bg0); font-family: var(--main-font); color: var(--accent0); } a{ text-decoration: none; color: var(--accent0); } select{ background-color: var(--bg2); border-radius: 0.5em; border: none; } button{ border-radius: 0.5em; } a:hover{ color: var(--accent0-alt0); } button{ background-color: var(--bg0); color: var(--accent0); border: none; } #navbar{ background-color: var(--bg1); } .navbar-item{ color: var(--accent1); border: hidden; } a:hover.navbar-item{ color: var(--accent1-alt0); } .navbar-item input{ background-color: var(--bg1-alt0); } .channel-guide-entry{ background-color: var(--bg1); color: var(--accent1); } div.channel-guide-entry{ border-radius: 0.3em; box-shadow: 0.2em 0.2em 0.1em var(--bg1-alt0) inset; } a.channel-guide-entry-item{ color: var(--accent1); } a:hover.channel-guide-entry-item{ color: var(--accent1-alt0); } span.channel-guide-entry-item{ background-color: var(--bg1-alt0); box-shadow: 0.2em 0.2em 0.1em black inset; border-radius: 0.3em; margin: 0 0.1em 0 0.1em; } p.channel-guide-entry-item{ background-color: var(--bg1-alt0); } a#account-settings-delete-link{ color: var(--accent0-warning); } #channel-delete, #ban-popup-ban-button, #new-ban-button{ background-color: var(--accent0-warning); color: var(--accent1); } #channel-delete:hover, #ban-popup-ban-button:hover, #new-ban-button:hover{ background-color: var(--accent0-warning-alt0); } #channel-delete:active, #ban-popup-ban-button:active, #new-ban-button:active{ background-color: var(--accent0-warning-alt0); color: var(--accent1-alt0); } .admin-list-field,.admin-list-table{ background-color: var(--bg1); color: var(--accent1); box-shadow: 3px 3px 1px var(--bg1-alt0) inset; border-radius: 1em; } tr.admin-list-entry{ box-shadow: var(--accent1) 0px 1em 1px -2em, var(--accent1) 0px -1em 1px -1em; } td.admin-list-entry-not-first-col{ box-shadow: var(--accent1) 1em 0px 1px -2em, var(--accent1) -1em 0px 1px -1em; } a.admin-list-entry-item{ color: var(--accent1); } a:hover.admin-list-entry-item{ color: var(--accent1-alt0); } #media-panel-div{ background-color: black; } #chat-panel-buffer-div{ background-color: var(--bg2); } #chat-panel-control-div{ background-color: white; } #chat-panel-control-div:focus-within{ box-shadow: 2px 2px 3px var(--focus0), -2px 2px 3px var(--focus0), 2px -2px 3px var(--focus0), -2px -2px 3px var(--focus0); } #chat-area{ background-color: var(--bg2); } div#chat-panel-control-div{ border-radius: 1em; } #chat-panel-prompt{ border: none; } #chat-panel-prompt:focus{ border: none; outline: none; } .chat-entry{ background-color: var(--bg2); border-bottom: 1px solid var(--bg2-alt1); font-size: 0.8em; } .userlist-color0{/*green0*/ color: var(--userlist-color0); text-shadow: none; } .userlist-color1{/*red0*/ color: var(--userlist-color1); text-shadow: none; } .userlist-color2{/*blue0*/ color: var(--userlist-color2); text-shadow: none; } .userlist-color3{/*tan0*/ color: var(--userlist-color3); text-shadow: none; } .userlist-color4{/*pink0*/ color: var(--userlist-color4); text-shadow: none; } .userlist-color5{/*orange*/ color: var(--userlist-color5); text-shadow: none; } .userlist-color6{/*violet*/ color: var(--userlist-color6); text-shadow: none; } .chat-entry-high-level{ text-shadow: 1px 1px 1px white, -1px -1px 1px white, 1px 1px 1px white, -1px 1px 1px white, 1px -1px 1px white; } #media-panel-head-div{ background: rgb(2,0,36); background: var(--media-header-gradient); color: var(--accent1-alt0); } #chat-panel-send-button{ background-color: var(--focus0); color: white; } select.panel-head-element{ height: 1.2em; margin: auto; } #cpanel-active-div{ background-color: var(--bg0-alpha1); backdrop-filter: var(--background-panel-effect-fast); } .cpanel-div{ background-color: var(--bg0); } .cpanel-header-div{ border-bottom: solid 1px var(--accent0); } .admin-list-new-span{ background-color: white; border-radius: 1em; } .admin-list-new-span:focus-within{ box-shadow: 2px 2px 3px var(--focus0), -2px 2px 3px var(--focus0), 2px -2px 3px var(--focus0), -2px -2px 3px var(--focus0); } .admin-list-new-input{ border: none; } .admin-list-new-input:focus{ border: none; outline: none; } .popup-backer{ background-color: var(--bg0-alpha1); backdrop-filter: var(--background-panel-effect-fast); } .popup-div{ background-color: var(--bg1); color: var(--accent1); box-shadow: 3px 3px 1px var(--bg1-alt0) inset; border-radius: 1em; }