mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 20:19:21 +00:00
Improve window UI
This commit is contained in:
parent
c3226a4fe1
commit
f1399d2aef
@ -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;
|
||||||
}
|
}
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user