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 {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “history
“Hantar”;
grid-template-columns: 100%;
grid-template-rows: auto60px;
}
.layoutTabs {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “menu
pane”;
grid-template-columns: 100%;
grid-template-rows: 45pxauto;
}
.layoutList {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “scrollable
menu”;
grid-template-columns: 100%;
grid-template-rows: auto 45px;
}
.layoutScrollable {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “scrollable”;
grid-template-columns: 100%;
grid-template-rows: 100%;
}
.paneActive
{
visibility: visible;
}
.paneInactive
{
visibility: tersembunyi;
}
/* App Layouts */
.layoutBroadcast {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “camera history
actions send”;
grid-template-columns: 45%55%;
grid-template-rows: auto55px;
}
.layoutBroadcastAudio {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “history
“Hantar”
“kamera”
actions”;
grid-template-columns: 100%;
grid-template-rows: auto55px45px45px;
}
.layoutPlayback {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “video history
actions send”;
grid-template-columns: 65%35%;
grid-template-rows: auto55px;
}
.layoutPlaybackAudio {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “history
“Hantar”
“video”
actions”;
grid-template-columns: 100%;
grid-template-rows: auto55px45px45px;
}
.layoutText {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “history
“Hantar”
actions”;
grid-template-columns: 100%;
grid-template-rows: auto55px45px;
}
.layoutCollaborationText {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “tabs
actions”;
grid-template-columns: 100%;
grid-template-rows: auto45px;
}
.layoutWay2 {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “video camera
video history
actions send”;
grid-template-columns: 65%35%;
grid-template-rows: 40%auto45px;
}
.layoutWay2Audio {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “history
“Hantar”
“video”
“kamera”
actions”;
grid-template-columns: 100%;
grid-template-rows: auto45px45px45px45px;
}
.layoutCollaboration {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 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 only screen and (lebar maks: 1150sgt)
{
.layoutBroadcast {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “kamera”
history
“Hantar”
actions”;
grid-template-columns: 100%;
grid-template-rows: auto45%45px40px;
}
.layoutPlayback {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “video”
history
“Hantar”
actions”;
grid-template-columns: 100%;
grid-template-rows: auto30%45px40px;
}
.layoutWay2 {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “video”
history
“Hantar”
actions
“kamera”;
grid-template-columns: 100%;
grid-template-rows: auto25%45px40px25%;
}
.layoutCollaboration {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “video”
actions
tabs”;
grid-template-columns: 100%;
grid-template-rows: auto60px45%;
}
.layoutCollaborationText {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “tabs
actions”;
grid-template-columns: 100%;
grid-template-rows: auto60px;
}
}
/* For very low resolutions 2 rows action bar */
@media only screen and (lebar maks: 800sgt)
{
.layoutText {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “history
“Hantar”
actions”;
grid-template-columns: 100%;
grid-template-rows: auto55px90px;
}
.layoutCollaborationText {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “tabs
actions”;
grid-template-columns: 100%;
grid-template-rows: auto90px;
}
.layoutWay2Audio {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “history
“Hantar”
“video”
“kamera”
actions”;
grid-template-columns: 100%;
grid-template-rows: auto55px60px90px90px;
}
.layoutBroadcastAudio {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “history
“Hantar”
“kamera”
actions”;
grid-template-columns: 100%;
grid-template-rows: auto55px90px65px;
}
.layoutPlaybackAudio {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “history
“Hantar”
“video”
actions”;
grid-template-columns: 100%;
grid-template-rows: auto55px60px90px;
}
.layoutBroadcast {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “kamera”
history
“Hantar”
actions”;
grid-template-columns: 100%;
grid-template-rows: auto35%45px65px;
}
.layoutPlayback {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “video”
history
“Hantar”
actions”;
grid-template-columns: 100%;
grid-template-rows: auto30%55px90px;
}
.layoutWay2 {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “video”
history
“Hantar”
actions
“kamera”;
grid-template-columns: 100%;
grid-template-rows: auto20%55px90px30%;
}
.layoutCollaboration{
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “video”
actions
tabs”;
grid-template-columns: 100%;
grid-template-rows: auto90px40%;
}
}
/* Panels/Components */
.layCamera {
kedudukan: relatif;
grid-area: kamera;
}
.layVideo {
kedudukan: relatif;
grid-area: video;
}
.layHistory {
kedudukan: relatif;
grid-area: history;
}
.laySend {
kedudukan: relatif;
grid-area: Hantar;
}
.layActions {
kedudukan: relatif;
grid-area: actions;
}
.layTabs {
kedudukan: relatif;
grid-area: tabs;
}
.layMenu {
kedudukan: relatif;
grid-area: menu;
}
.layPane {
kedudukan: relatif;
grid-area: pane;
}
.layChat {
kedudukan: relatif;
grid-area: sembang;
}
.layScrollable {
kedudukan: relatif;
grid-area: scrollable;
overflow-y: scroll;
}
/* Split Multimedia Views */
.split0 {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “media0”;
grid-template-columns: 100%;
grid-template-rows: 100%;
}
.splitH2 {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “media0 media1”;
grid-template-columns: 50%50%;
grid-template-rows: 100%;
}
.splitV2 {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “media0
media1”;
grid-template-columns: 100%;
grid-template-rows: 50%50%;
}
.splitH4, .splitV4 {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “media0 media1
media2 media3”;
grid-template-columns: 50%50%;
grid-template-rows: 50%50%;
}
.splitH6 {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 100%;
grid-template-areas: “media0 media1 media2
media3 media4 media5”;
grid-template-columns: 34%33%33%;
grid-template-rows: 50%50%;
}
.splitV6 {
kedudukan: mutlak;
Paparan: grid;
lebar: 100%;
ketinggian: 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 {
kedudukan: relatif;
grid-area: media0;
}
.slot1 {
kedudukan: relatif;
grid-area: media1;
}
.slot2 {
kedudukan: relatif;
grid-area: media2;
}
.slot3 {
kedudukan: relatif;
grid-area: media3;
}
.slot4 {
kedudukan: relatif;
grid-area: media4;
}
.slot5 {
kedudukan: relatif;
grid-area: media5;
}
PS: Latest version may have changes or new elements.

Interface CSS

/* Interface Elements, contained in Controls */
/* Video */
.localVideo
{
}
.localVideoPlay
{
}
/* History */
.chatMessageList {
kedudukan: mutlak;
lebar: 100%;
ketinggian: 100%;
overflow-y: scroll;
/* warna latar belakang: rgb(225, 233, 225); */
pengalas: 0;
margin: 0;
}
.chatMessageListul {
list-style-type: Tiada seorang pun;
}
.chatMessage {
list-style-type: Tiada seorang pun;
padding-right: 10sgt;
saiz fon: 12sgt;
warna: #777;
font-berat: biasa;
}
.chatMessage.dark
{
warna: #FFF;
}
.chatMessage.notification {
warna: #7A7;
menyelaraskan teks: kiri;
}
.chatMessage.dark.notification
{
warna: #EFE;
}
.chatMessage.automated {
gaya fon: italic;
warna: #7AA;
menyelaraskan teks: kiri;
}
.chatMessage.user {
menyelaraskan teks: kiri;
}
.chatMessageimg {
vertical-align: middle;
pengalas: 2sgt;
}
.chatMessagelabel {
Paparan: sebaris-blok;
lebar maks: 85%;
warna latar belakang: Putih;
Border-radius: 5sgt;
pengalas: 5sgt;
margin: 2sgt;
}
.chatMessage.darklabel{
warna latar belakang: #111;
}
.chatMessage.userstrong {
Paparan: sebaris-blok;
saiz fon: 11sgt;
pengalas: 3sgt;
font-berat: biasa;
}
.chatMessage.useri {
saiz fon: 10sgt;
pengalas: 3sgt;
}
.chatMessage.user.own {
menyelaraskan teks: hak;
}