Improve window UI

This commit is contained in:
Pierre HUBERT 2020-04-10 13:57:43 +02:00
parent c3226a4fe1
commit f1399d2aef
2 changed files with 18 additions and 2 deletions

View File

@ -24,4 +24,20 @@
flex-direction: column; flex-direction: column;
background-color: #000000b3; background-color: #000000b3;
visibility: visible; visibility: visible;
}
.call-window .head {
color: white;
padding: 5px;
margin-left: 5px;
margin-right: 5px;
}
.call-window .head .fa-phone {
margin-right: 5px;
vertical-align: middle;
}
.call-window .head a {
color: inherit;
} }

View File

@ -49,7 +49,7 @@ class CallWindow extends CustomEvents {
this.closeButton = createElem2({ this.closeButton = createElem2({
appendTo: windowHead.querySelector(".pull-right"), appendTo: windowHead.querySelector(".pull-right"),
type: "a", type: "a",
innerHTML: "<i class='fa fa-cross'></i>", innerHTML: "<i class='fa fa-times'></i>",
onclick: () => this.Close() onclick: () => this.Close()
}) })
@ -65,6 +65,6 @@ class CallWindow extends CustomEvents {
this.rootEl.remove(); this.rootEl.remove();
if(propagate) if(propagate)
this.emitEvent("closed"); this.emitEvent("close");
} }
} }