blob: d413b6e593409f5c052aa5d9cebecbd1f7e2f4ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
/*!
* Webchat WebRTC application
* https://arthurdejong.org/webchat/
*
* Copyright (C) 2020 Arthur de Jong
*
* Released under the GNU General Public License, either version 3, or
* (at your option) any later version.
*/
body {
font-size: .875rem;
background: grey;
}
.navbar-brand {
font-size: 0.8rem;
}
.navbar button, .embed-responsive button {
width: 1.8rem;
height: 1.8rem;
font-size: 0.8rem;
border-radius: 100%;
padding: 2px;
}
.navbar .dropdown-toggle::after, .embed-responsive .dropdown-toggle::after {
display: none;
}
.navbar .hangup {
transform: rotate(225deg);
}
#video-container {
width: 100%;
height: 100%;
display: flex;
flex-flow: row wrap;
align-content: flex-start;
}
#video-container > div {
min-width: 20px;
min-height: 15px;
padding: 0.2em;
}
#videotemplate {
display: none;
}
#me video {
transform: scaleX(-1);
}
video {
transition: border-color 0.2s;
}
.volume {
position: absolute;
width: 0.1%;
min-width: 0.2em;
max-height: 90%;
right: 0.2em;
bottom: 0.2em;
opacity: 0.8;
}
.video-info {
position: absolute;
right: 0.2em;
top: 0.2em;
opacity: 0.2;
transition: opacity 1s;
}
.video-info:hover {
opacity: 0.8;
}
.video-info .dropdown-menu {
min-width: 15rem;
}
main {
padding-top: 48px;
}
.messages {
position: fixed;
top: 0;
bottom: 0;
right: 0;
z-index: 100;
padding: 40px 0 48px 0;
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}
#messages {
position: absolute;
width: 100%;
height: calc(100vh - 88px);
overflow-x: hidden;
overflow-y: auto;
}
#message-input {
position: absolute;
width: 100%;
height: 48px;
bottom: 0;
padding: 4px;
}
#message-input .input-group, #message-input .input-group input {
height: 40px;
}
|