peertube-plugin-livechat/conversejs/custom/plugins/terms/styles/muc-terms.scss
John Livingston d14c2868fd
Terms&Conditions (#18) WIP:
* hidding the terms before anonymous user has chosen his nickname
2024-06-25 12:21:01 +02:00

43 lines
911 B
SCSS

/*
* SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
.conversejs {
livechat-converse-muc-terms {
background-color: var(--peertube-main-background);
color: var(--peertube-main-foreground);
div {
align-items: center;
border: 1px solid var(--peertube-menu-background);
display: flex;
flex-flow: row;
justify-content: space-between;
margin: 5px;
padding: 5px;
converse-rich-text {
flex-grow: 2;
max-height: 5em;
overflow-y: scroll;
white-space: pre-wrap;
}
.livechat-hide-terms-info-box {
cursor: pointer;
font-size: var(--font-size-small);
flex-shrink: 2;
}
}
}
}
.livechat-readonly,
body[livechat-viewer-mode="on"] {
livechat-converse-muc-terms {
display: none !important;
}
}