Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/src/webchat.css
blob: 97842096e5edbaeed6b276af241bb1cb68d356f5 (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
/*!
 * 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;
}

#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%;
  top: auto;
  left: auto;
  right: 0.2em;
  bottom: 0.2em;
  opacity: 0.8;
}

.video-info {
  position: absolute;
  top: 0.2em;
  left: auto;
  right: 0.2em;
  width: auto;
  height: auto;
  opacity: 0.2;
  transition: opacity 1s;
}

.video-info:hover {
  opacity: 0.8;
}

.video-info .dropdown-menu {
  min-width: 15rem;
}

.messages {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 100;
  padding: 40px 0 0 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;
}