CSS

The HTML5 Videochat app can be customizes as layout, aspect, interface with custom CSS. This involves more advanced designer skills.

Interface Elements

App uses elements from these interface frameworks:

Fomantic UI
Semantic UI React

Layout

/* Panel Layouts */
.layoutChat {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “history
“Invia”;
grid-template-columns: 100%;
grid-template-rows: auto60px;
}
.layoutTabs {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “menu”
pane”;
grid-template-columns: 100%;
grid-template-rows: 45pxauto;
}
.layoutList {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “scrollable
“menu”;
grid-template-columns: 100%;
grid-template-rows: auto 45px;
}
.layoutScrollable {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “scrollable”;
grid-template-columns: 100%;
grid-template-rows: 100%;
}
.paneActive
{
}
.paneInactive
{
visibility: hidden;
}
/* App Layouts */
.layoutBroadcast {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “camera history
actions send”;
grid-template-columns: 45%55%;
grid-template-rows: auto45px;
}
.layoutPlayback {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “video history
actions send”;
grid-template-columns: 65%35%;
grid-template-rows: auto45px;
}
.layoutWay2 {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “video camera
video history
actions send”;
grid-template-columns: 65%35%;
grid-template-rows: 40%auto45px;
}
.layoutCollaboration {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “video tabs
actions tabs”;
grid-template-columns: 65%35%;
grid-template-rows: auto45px;
}
/* Mobile Layouts */
/* For lower resolutions video takes full width and chat shows below */
@media screen and (larghezza max: 1150px)
{
.layoutBroadcast {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “macchina fotografica”
history
“Invia”
“Azioni”;
grid-template-columns: 100%;
grid-template-rows: auto45%45px40px;
}
.layoutPlayback {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “video”
history
“Invia”
“Azioni”;
grid-template-columns: 100%;
grid-template-rows: auto30%45px40px;
}
.layoutWay2 {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “video”
history
“Invia”
“Azioni”
“macchina fotografica”;
grid-template-columns: 100%;
grid-template-rows: auto25%45px40px25%;
}
.layoutCollaboration {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “video”
“Azioni”
tabs”;
grid-template-columns: 100%;
grid-template-rows: auto45px45%;
}
}
/* For very low resolutions 2 rows action bar */
@media screen and (larghezza max: 800px)
{
.layoutBroadcast {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “macchina fotografica”
history
“Invia”
“Azioni”;
grid-template-columns: 100%;
grid-template-rows: auto35%45px80px;
}
.layoutPlayback {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “video”
history
“Invia”
“Azioni”;
grid-template-columns: 100%;
grid-template-rows: auto30%45px80px;
}
.layoutWay2 {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “video”
history
“Invia”
“Azioni”
“macchina fotografica”;
grid-template-columns: 100%;
grid-template-rows: auto25%45px80px25%;
}
.layoutCollaboration {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “video”
“Azioni”
tabs”;
grid-template-columns: 100%;
grid-template-rows: auto80px40%;
}
}
/* Panels/Components */
.layCamera {
position: relative;
grid-area: macchina fotografica;
}
.layVideo {
position: relative;
grid-area: video;
}
.layHistory {
position: relative;
grid-area: history;
}
.laySend {
position: relative;
grid-area: Invia;
}
.layActions {
position: relative;
grid-area: Azioni;
}
.layTabs {
position: relative;
grid-area: tabs;
}
.layMenu {
position: relative;
grid-area: menu;
}
.layPane {
position: relative;
grid-area: pane;
}
.layScrollable {
position: relative;
grid-area: scrollable;
overflow-y: scroll;
}
/* Split Multimedia Views */
.split0 {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “media0”;
grid-template-columns: 100%;
grid-template-rows: 100%;
}
.splitH2 {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “media0 media1”;
grid-template-columns: 50%50%;
grid-template-rows: 100%;
}
.splitV2 {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “media0
media1”;
grid-template-columns: 100%;
grid-template-rows: 50%50%;
}
.splitH4, .splitV4 {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “media0 media1
media2 media3”;
grid-template-columns: 50%50%;
grid-template-rows: 50%50%;
}
.splitH6 {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “media0 media1 media2
media3 media4 media5”;
grid-template-columns: 34%33%33%;
grid-template-rows: 50%50%;
}
.splitV6 {
position: absolute;
mostra: grid;
width: 100%;
altezza: 100%;
grid-template-areas: “media0 media1
media2 media3
media4 media5”;
grid-template-columns: 50%50%;
grid-template-rows: 34%33%33%;
}
/* Split Multimedia View Slots */
.slot0 {
position: relative;
grid-area: media0;
}
.slot1 {
position: relative;
grid-area: media1;
}
.slot2 {
position: relative;
grid-area: media2;
}
.slot3 {
position: relative;
grid-area: media3;
}
.slot4 {
position: relative;
grid-area: media4;
}
.slot5 {
position: relative;
grid-area: media5;
}
PS: Latest version may have changes or new elements.