2023-01-27 04:34:58 +00:00
|
|
|
html {
|
|
|
|
height: 100vh;
|
2023-06-17 00:45:48 +00:00
|
|
|
overscroll-behavior: contain;
|
2023-01-27 04:34:58 +00:00
|
|
|
}
|
|
|
|
body {
|
|
|
|
min-height: 100vh;
|
|
|
|
}
|
|
|
|
|
2023-12-22 04:23:57 +00:00
|
|
|
/* No dragging images - it plays wrongly with the drag/drop image sharing feature
|
|
|
|
and users can accidentally share in chat by dragging an on-page image */
|
|
|
|
img {
|
2023-12-23 05:59:23 +00:00
|
|
|
/* https://stackoverflow.com/questions/12906789/preventing-an-image-from-being-draggable-or-selectable-without-using-js */
|
|
|
|
user-drag: none;
|
|
|
|
user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-webkit-user-drag: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-ms-user-select: none;
|
2023-12-22 04:23:57 +00:00
|
|
|
}
|
|
|
|
|
2023-02-05 08:53:50 +00:00
|
|
|
.float-right {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2023-02-06 01:42:09 +00:00
|
|
|
/* Bulma override */
|
|
|
|
.media-content {
|
|
|
|
overflow: hidden !important;
|
|
|
|
}
|
|
|
|
|
2023-06-24 18:12:02 +00:00
|
|
|
/* DM title and bg color */
|
|
|
|
.has-background-private {
|
2024-04-06 23:01:32 +00:00
|
|
|
background-color: #b748c7 !important;
|
2023-06-24 18:12:02 +00:00
|
|
|
}
|
|
|
|
.has-background-dm {
|
2024-04-06 23:01:32 +00:00
|
|
|
background-color: #fff9ff !important;
|
2023-06-24 18:12:02 +00:00
|
|
|
}
|
2023-09-09 03:27:00 +00:00
|
|
|
.has-background-at-mention {
|
|
|
|
background-color: rgb(250, 250, 192);
|
|
|
|
}
|
2023-06-24 18:12:02 +00:00
|
|
|
|
2024-09-19 05:16:33 +00:00
|
|
|
.has-text-private {
|
|
|
|
color: #CC00CC !important;
|
|
|
|
}
|
|
|
|
|
2023-08-05 19:15:16 +00:00
|
|
|
/* Truncate long text, e.g. usernames in the who list */
|
|
|
|
.truncate-text-line {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2023-08-09 00:51:52 +00:00
|
|
|
/* Color coded webcam usernames per camera setting */
|
|
|
|
.has-text-camera-blue {
|
|
|
|
color: #00ccff !important;
|
|
|
|
}
|
|
|
|
.has-text-camera-red {
|
|
|
|
color: #ff9999 !important;
|
|
|
|
}
|
|
|
|
|
2023-08-13 04:35:41 +00:00
|
|
|
/* Max height for message in report modal */
|
|
|
|
.report-modal-message {
|
|
|
|
max-height: 150px;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2023-08-19 18:16:20 +00:00
|
|
|
/* Style fix to center wider icons on the Who's Online status icons */
|
|
|
|
.who-status-wide-icon-2 {
|
|
|
|
margin: -2px;
|
|
|
|
}
|
|
|
|
.who-status-wide-icon-1 {
|
|
|
|
margin: -1px;
|
|
|
|
}
|
|
|
|
|
2023-01-27 04:34:58 +00:00
|
|
|
/************************
|
|
|
|
* Main CSS Grid Layout *
|
|
|
|
************************/
|
|
|
|
|
|
|
|
.chat-container {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
padding: 10px;
|
|
|
|
|
2023-02-06 04:26:00 +00:00
|
|
|
background: rgb(190,190,190);
|
|
|
|
background: linear-gradient(0deg, rgb(172, 172, 172) 0%, rgb(214, 214, 214) 100%);
|
|
|
|
|
2023-01-27 04:34:58 +00:00
|
|
|
display: grid;
|
|
|
|
column-gap: 10px;
|
|
|
|
row-gap: 10px;
|
2023-02-06 01:42:09 +00:00
|
|
|
grid-template-columns: 260px 1fr 280px;
|
2023-02-06 04:26:00 +00:00
|
|
|
grid-template-rows: auto 1fr auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Header row */
|
|
|
|
.chat-container > .chat-header {
|
|
|
|
grid-column: 1 / 4;
|
|
|
|
grid-row: 1;
|
2023-01-27 04:34:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Left column: DMs and channels */
|
|
|
|
.chat-container > .left-column {
|
|
|
|
grid-column: 1;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Main column: chat history */
|
|
|
|
.chat-container > .chat-column {
|
|
|
|
grid-column: 2;
|
2023-02-06 04:26:00 +00:00
|
|
|
grid-row: 2;
|
2023-01-27 04:34:58 +00:00
|
|
|
overflow: hidden;
|
2023-04-20 05:00:31 +00:00
|
|
|
/* position: relative; */
|
2023-03-25 04:56:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Auto-scroll checkbox in the corner */
|
2023-04-20 05:00:31 +00:00
|
|
|
.autoscroll-field {
|
2023-03-25 04:56:40 +00:00
|
|
|
position: absolute;
|
|
|
|
z-index: 39; /* just below modal shadow */
|
2023-07-01 18:39:08 +00:00
|
|
|
right: 12px;
|
2023-03-25 04:56:40 +00:00
|
|
|
bottom: 4px;
|
2023-01-27 04:34:58 +00:00
|
|
|
}
|
|
|
|
|
2023-12-30 22:50:52 +00:00
|
|
|
/* User status indicator in the lower left corner of DMs */
|
|
|
|
.user-status-dm-field {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 38; /* below auto-scroll checkbox */
|
|
|
|
left: 12px;
|
|
|
|
bottom: 4px;
|
|
|
|
}
|
|
|
|
|
2023-01-27 04:34:58 +00:00
|
|
|
/* Footer row: message entry box */
|
|
|
|
.chat-container > .chat-footer {
|
|
|
|
grid-column: 1 / 4;
|
2023-02-06 04:26:00 +00:00
|
|
|
grid-row: 3;
|
2023-01-27 04:34:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Right column: Who List */
|
|
|
|
.chat-container > .right-column {
|
|
|
|
grid-column: 3;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2023-02-05 08:53:50 +00:00
|
|
|
/* Responsive CSS styles */
|
|
|
|
@media screen and (min-width: 1024px) {
|
|
|
|
.mobile-only {
|
2024-04-06 21:35:52 +00:00
|
|
|
display: none !important;
|
2023-02-05 08:53:50 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 1024px) {
|
|
|
|
.chat-container {
|
|
|
|
grid-template-columns: 0px 1fr 0px;
|
|
|
|
column-gap: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.left-column {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.right-column {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-27 04:34:58 +00:00
|
|
|
/***********************************************
|
|
|
|
* Reusable CSS Grid-based Bulma Card layouts *
|
|
|
|
* with a fixed header, full size scrollable *
|
|
|
|
* content, and (optionally) video-feeds under *
|
|
|
|
* the header (main chat card only) *
|
|
|
|
***********************************************/
|
|
|
|
|
|
|
|
.grid-card {
|
|
|
|
height: 100%;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
grid-template-rows: auto auto 1fr;
|
|
|
|
}
|
|
|
|
|
|
|
|
.grid-card > .card-header {
|
|
|
|
grid-row: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.grid-card > .video-feeds {
|
|
|
|
grid-row: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.grid-card > .card-content {
|
|
|
|
grid-row: 3;
|
|
|
|
/* background-color: magenta; */
|
|
|
|
overflow-y: scroll;
|
2023-02-09 05:30:01 +00:00
|
|
|
|
|
|
|
/* Work around Safari bug: the chat history would just lengthen the full
|
|
|
|
web page every time cuz it doesn't do grids well, so add a max height
|
|
|
|
of 90% viewport height to mitigate it a bit. */
|
|
|
|
max-height: 90vh;
|
2023-01-27 04:34:58 +00:00
|
|
|
}
|
|
|
|
|
2023-02-28 23:32:14 +00:00
|
|
|
/* Ensure the chat history isn't squished too far by the Videos panel if
|
|
|
|
the user has a lot open/has made their size very big */
|
|
|
|
#chatHistory {
|
2023-08-12 02:14:06 +00:00
|
|
|
min-height: 200px;
|
2023-02-28 23:32:14 +00:00
|
|
|
}
|
|
|
|
|
2023-03-25 05:10:44 +00:00
|
|
|
/* User configurable font size increases */
|
2023-07-09 20:41:40 +00:00
|
|
|
#chatHistory .x-2 {
|
|
|
|
font-size: x-small;
|
|
|
|
}
|
|
|
|
#chatHistory .x-1 {
|
|
|
|
font-size: small;
|
|
|
|
}
|
2023-06-24 18:12:02 +00:00
|
|
|
#chatHistory .x1 {
|
2023-03-25 05:10:44 +00:00
|
|
|
font-size: large;
|
|
|
|
}
|
2023-06-24 18:12:02 +00:00
|
|
|
#chatHistory .x2 {
|
2023-03-25 05:10:44 +00:00
|
|
|
font-size: x-large;
|
|
|
|
}
|
2023-06-24 18:12:02 +00:00
|
|
|
#chatHistory .x3 {
|
2023-03-25 05:10:44 +00:00
|
|
|
font-size: xx-large;
|
|
|
|
}
|
2023-06-24 18:12:02 +00:00
|
|
|
#chatHistory .x4 {
|
2023-03-25 05:10:44 +00:00
|
|
|
font-size: 64pt;
|
|
|
|
}
|
|
|
|
|
2023-01-27 04:34:58 +00:00
|
|
|
/*******************
|
|
|
|
* Video Feeds CSS *
|
|
|
|
*******************/
|
|
|
|
|
|
|
|
.video-feeds {
|
2023-02-06 04:26:00 +00:00
|
|
|
background-color: #222;
|
2023-01-27 04:34:58 +00:00
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
|
2023-08-12 02:15:30 +00:00
|
|
|
/* display: flex;
|
2023-02-28 23:32:14 +00:00
|
|
|
flex-wrap: wrap;
|
2023-08-12 02:15:30 +00:00
|
|
|
align-items: flex-start; */
|
2023-08-12 02:14:06 +00:00
|
|
|
overflow-y: auto;
|
2023-01-27 04:34:58 +00:00
|
|
|
}
|
|
|
|
|
2023-04-20 05:00:31 +00:00
|
|
|
.feed {
|
2023-02-06 04:26:00 +00:00
|
|
|
position: relative;
|
2023-03-14 04:26:37 +00:00
|
|
|
/* flex: 0 0 168px; */
|
|
|
|
float: left;
|
2023-02-06 04:26:00 +00:00
|
|
|
width: 168px;
|
|
|
|
height: 112px;
|
2023-01-27 04:34:58 +00:00
|
|
|
background-color: black;
|
2024-11-18 04:32:16 +00:00
|
|
|
border: 1px solid black;
|
2023-02-28 23:32:14 +00:00
|
|
|
margin: 3px;
|
2023-03-14 04:26:37 +00:00
|
|
|
overflow: hidden;
|
|
|
|
resize: both;
|
2023-02-06 04:26:00 +00:00
|
|
|
}
|
|
|
|
|
2024-11-18 04:32:16 +00:00
|
|
|
/* A speaking webcam */
|
|
|
|
.feed.is-speaking {
|
2024-11-18 04:39:57 +00:00
|
|
|
border: 1px solid #09F !important;
|
2024-11-18 04:32:16 +00:00
|
|
|
}
|
|
|
|
|
2023-04-20 05:00:31 +00:00
|
|
|
/* A popped-out video feed window */
|
|
|
|
div.feed.popped-out {
|
|
|
|
position: absolute;
|
|
|
|
cursor: move;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
resize: none;
|
2024-06-13 05:49:30 +00:00
|
|
|
z-index: 1; /* work around Safari video being on top when return from fullscreen */
|
2023-04-20 05:00:31 +00:00
|
|
|
}
|
|
|
|
|
2023-02-10 07:03:06 +00:00
|
|
|
.video-feeds.x1 > .feed {
|
2023-02-11 06:46:39 +00:00
|
|
|
flex: 0 0 252px;
|
2023-02-10 07:03:06 +00:00
|
|
|
width: 252px;
|
|
|
|
height: 168px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-feeds.x2 > .feed {
|
2023-02-11 06:46:39 +00:00
|
|
|
flex: 0 0 336px;
|
2023-02-10 07:03:06 +00:00
|
|
|
width: 336px;
|
|
|
|
height: 224px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-feeds.x3 > .feed {
|
2023-02-11 06:46:39 +00:00
|
|
|
flex: 0 0 504px;
|
2023-02-10 07:03:06 +00:00
|
|
|
width: 504px;
|
|
|
|
height: 336px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-feeds.x4 > .feed {
|
2023-02-11 06:46:39 +00:00
|
|
|
flex: 0 0 672px;
|
2023-02-10 07:03:06 +00:00
|
|
|
width: 672px;
|
|
|
|
height: 448px;
|
|
|
|
}
|
|
|
|
|
2023-04-20 05:00:31 +00:00
|
|
|
.feed > video {
|
2023-02-06 04:26:00 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2023-04-20 05:00:31 +00:00
|
|
|
.feed > .controls {
|
2023-02-06 04:26:00 +00:00
|
|
|
position: absolute;
|
2023-03-14 04:26:37 +00:00
|
|
|
left: 4px;
|
2023-02-06 04:26:00 +00:00
|
|
|
bottom: 4px;
|
2024-06-13 05:49:30 +00:00
|
|
|
z-index: 1; /* work around Safari video being on top when return from fullscreen */
|
2023-02-06 04:26:00 +00:00
|
|
|
}
|
|
|
|
|
2023-04-20 05:00:31 +00:00
|
|
|
.feed > .close {
|
2023-02-06 04:26:00 +00:00
|
|
|
position: absolute;
|
|
|
|
right: 4px;
|
|
|
|
top: 0;
|
2024-06-13 05:49:30 +00:00
|
|
|
z-index: 1; /* work around Safari video being on top when return from fullscreen */
|
2023-02-06 04:26:00 +00:00
|
|
|
}
|
|
|
|
|
2023-04-20 05:00:31 +00:00
|
|
|
.feed > .caption {
|
2023-02-06 04:26:00 +00:00
|
|
|
position: absolute;
|
|
|
|
background: rgba(0, 0, 0, 0.75);
|
|
|
|
color: #fff;
|
|
|
|
top: 4px;
|
|
|
|
left: 4px;
|
|
|
|
font-size: small;
|
|
|
|
padding: 2px 4px;
|
2024-06-13 05:49:30 +00:00
|
|
|
z-index: 1; /* work around Safari video being on top when return from fullscreen */
|
2023-03-25 05:47:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* YouTube embeds */
|
|
|
|
.youtube-embed {
|
|
|
|
max-width: 100%;
|
2023-03-28 04:13:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* The Away icon that overlays profile pics */
|
|
|
|
.status-away-icon {
|
|
|
|
position: absolute;
|
|
|
|
top: 14px;
|
|
|
|
left: 16px;
|
2023-08-12 02:12:43 +00:00
|
|
|
text-shadow: 0px 0px 4px #000;
|
2023-04-01 02:46:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Cursors */
|
2023-07-01 04:48:09 +00:00
|
|
|
.cursor-default {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
.cursor-pointer {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2023-04-01 02:46:42 +00:00
|
|
|
.cursor-notallowed {
|
|
|
|
cursor: not-allowed;
|
2023-06-24 18:12:02 +00:00
|
|
|
}
|
2023-07-01 03:00:21 +00:00
|
|
|
|
|
|
|
/* Emoji reaction button support */
|
|
|
|
.position-relative {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.emoji-button {
|
|
|
|
position: absolute;
|
|
|
|
right: 12px;
|
|
|
|
bottom: 12px;
|
|
|
|
}
|
|
|
|
.emoji-button button {
|
2023-07-01 03:04:28 +00:00
|
|
|
background-color: rgba(255, 255, 255, 0.5);
|
2023-07-01 04:48:09 +00:00
|
|
|
/* color: rgba(0, 0, 0, 0.5); */
|
2023-07-01 03:00:21 +00:00
|
|
|
}
|
2023-08-06 02:38:04 +00:00
|
|
|
|
|
|
|
/* Gender colors for profile icon */
|
|
|
|
.has-text-gender-male {
|
|
|
|
color: #0099ff !important;
|
|
|
|
}
|
|
|
|
.has-text-gender-female {
|
|
|
|
color: #ff99ff !important;
|
|
|
|
}
|
|
|
|
.has-text-gender-other {
|
|
|
|
color: #cc00cc !important;
|
|
|
|
}
|
2023-09-03 19:08:23 +00:00
|
|
|
|
|
|
|
/* VIP colors for profile icon */
|
|
|
|
.has-background-vip {
|
|
|
|
background-image: linear-gradient(141deg, #d1e1ff 0, #ffddff 100%)
|
|
|
|
}
|