Mercurial > libervia-templates
annotate sat_templates/templates/bulma/static/call.css @ 395:5072e4a4e261
call: update template to handle remote control mode.
rel 436
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 11 May 2024 13:55:03 +0200 |
parents | c573917ce388 |
children | 9847e6dbeefa |
rev | line source |
---|---|
371
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
1 #containers_wrapper { |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
2 position: relative; |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
3 height: 100%; |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
4 width: 100%; |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
5 } |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
6 |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
7 #call_container { |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
8 position: absolute; |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
9 height: 100%; |
360 | 10 width: 100%; |
11 } | |
12 | |
13 #remote_video, #local_video { | |
14 width: 100%; | |
15 height: 100%; | |
371
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
16 object-fit: contain; |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
17 background-color: #000; |
360 | 18 } |
19 | |
382
c573917ce388
bulma (call): redesign of call box:
Goffi <goffi@goffi.org>
parents:
374
diff
changeset
|
20 #local_video { |
c573917ce388
bulma (call): redesign of call box:
Goffi <goffi@goffi.org>
parents:
374
diff
changeset
|
21 border: 3px solid #eee; |
c573917ce388
bulma (call): redesign of call box:
Goffi <goffi@goffi.org>
parents:
374
diff
changeset
|
22 box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1); |
c573917ce388
bulma (call): redesign of call box:
Goffi <goffi@goffi.org>
parents:
374
diff
changeset
|
23 } |
c573917ce388
bulma (call): redesign of call box:
Goffi <goffi@goffi.org>
parents:
374
diff
changeset
|
24 |
360 | 25 #remote_video { |
26 position: absolute; | |
27 top: 0; | |
28 left: 0; | |
29 } | |
30 | |
371
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
31 .fullscreen-btn { |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
32 position: absolute; |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
33 top: 10px; |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
34 right: 10px; |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
35 z-index: 2; |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
36 } |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
37 |
360 | 38 #local_video { |
39 position: absolute; | |
382
c573917ce388
bulma (call): redesign of call box:
Goffi <goffi@goffi.org>
parents:
374
diff
changeset
|
40 /* We set some distance to the bottom to avoid overlap with action buttons */ |
c573917ce388
bulma (call): redesign of call box:
Goffi <goffi@goffi.org>
parents:
374
diff
changeset
|
41 bottom: 60px; |
c573917ce388
bulma (call): redesign of call box:
Goffi <goffi@goffi.org>
parents:
374
diff
changeset
|
42 right: 10px; |
360 | 43 width: 30%; |
44 height: 30%; | |
45 } | |
46 | |
382
c573917ce388
bulma (call): redesign of call box:
Goffi <goffi@goffi.org>
parents:
374
diff
changeset
|
47 .call-controls { |
371
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
48 position: absolute; |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
49 bottom: 10px; |
382
c573917ce388
bulma (call): redesign of call box:
Goffi <goffi@goffi.org>
parents:
374
diff
changeset
|
50 left: 10px; |
c573917ce388
bulma (call): redesign of call box:
Goffi <goffi@goffi.org>
parents:
374
diff
changeset
|
51 right: 10px; |
371
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
52 z-index: 2; |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
53 } |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
54 |
382
c573917ce388
bulma (call): redesign of call box:
Goffi <goffi@goffi.org>
parents:
374
diff
changeset
|
55 #hangup_btn svg { |
c573917ce388
bulma (call): redesign of call box:
Goffi <goffi@goffi.org>
parents:
374
diff
changeset
|
56 transform: rotate(135deg); |
c573917ce388
bulma (call): redesign of call box:
Goffi <goffi@goffi.org>
parents:
374
diff
changeset
|
57 } |
c573917ce388
bulma (call): redesign of call box:
Goffi <goffi@goffi.org>
parents:
374
diff
changeset
|
58 |
372
a603cf0fa5d1
bulma (call): add a button for screen sharing:
Goffi <goffi@goffi.org>
parents:
371
diff
changeset
|
59 .inactive::after { |
371
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
60 content: "/"; |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
61 position: absolute; |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
62 font-size: 50px; |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
63 top: 43%; |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
64 left: 52%; |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
65 transform: translate(-50%, -50%) rotate(45deg); |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
66 } |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
67 |
372
a603cf0fa5d1
bulma (call): add a button for screen sharing:
Goffi <goffi@goffi.org>
parents:
371
diff
changeset
|
68 .muted::after { |
a603cf0fa5d1
bulma (call): add a button for screen sharing:
Goffi <goffi@goffi.org>
parents:
371
diff
changeset
|
69 color: red; |
a603cf0fa5d1
bulma (call): add a button for screen sharing:
Goffi <goffi@goffi.org>
parents:
371
diff
changeset
|
70 } |
a603cf0fa5d1
bulma (call): add a button for screen sharing:
Goffi <goffi@goffi.org>
parents:
371
diff
changeset
|
71 |
a603cf0fa5d1
bulma (call): add a button for screen sharing:
Goffi <goffi@goffi.org>
parents:
371
diff
changeset
|
72 .screen-off::after { |
a603cf0fa5d1
bulma (call): add a button for screen sharing:
Goffi <goffi@goffi.org>
parents:
371
diff
changeset
|
73 color: #999; |
a603cf0fa5d1
bulma (call): add a button for screen sharing:
Goffi <goffi@goffi.org>
parents:
371
diff
changeset
|
74 } |
a603cf0fa5d1
bulma (call): add a button for screen sharing:
Goffi <goffi@goffi.org>
parents:
371
diff
changeset
|
75 |
371
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
76 .call_status { |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
77 padding-top: 1.3rem; |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
78 padding-bottom: 1.3rem; |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
360
diff
changeset
|
79 } |
374
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
80 |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
81 .dropdown-menu{ |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
82 min-width: 0; |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
83 } |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
84 |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
85 .card .dropdown-trigger { |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
86 opacity: 0; |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
87 transition: opacity 0.3s; |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
88 } |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
89 |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
90 .card:hover .dropdown-trigger { |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
91 opacity: 1; |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
92 } |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
93 |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
94 @media (max-width: 768px) { |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
95 .card .dropdown-trigger { |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
96 opacity: 1; |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
97 } |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
98 } |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
99 |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
100 .level-right { |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
101 position: absolute; |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
102 top: 0.5rem; |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
103 right: 0.5rem; |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
104 } |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
105 |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
106 .icon-dot-3-vert { |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
107 margin: 0 0.5rem; |
5646df8bd391
bulma (call): calling mode improvments:
Goffi <goffi@goffi.org>
parents:
372
diff
changeset
|
108 } |