PLT-4316 - Webrtc improvements (#4525)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
c0a631000e
Коммит
7c1fe7a765
@@ -8,3 +8,9 @@
|
||||
word-break: break-word;
|
||||
}
|
||||
}
|
||||
|
||||
#webrtcTooltip {
|
||||
.tooltip-inner {
|
||||
word-break: normal;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,10 +2,14 @@
|
||||
|
||||
.webrtc__user-profile {
|
||||
@include webrtc-button;
|
||||
position: absolute;
|
||||
right: 7px;
|
||||
text-align: center;
|
||||
top: 5px;
|
||||
|
||||
#webrtc-btn {
|
||||
display: inherit;
|
||||
height: 23px;
|
||||
width: 23px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,6 +19,11 @@
|
||||
margin-right: 10px;
|
||||
position: relative;
|
||||
top: 13px;
|
||||
|
||||
svg {
|
||||
position: relative;
|
||||
width: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.webrtc__notification--rhs {
|
||||
|
||||
@@ -32,68 +32,27 @@
|
||||
@mixin webrtc-button {
|
||||
.webrtc__button {
|
||||
@include border-radius(50px);
|
||||
background: $button--ready;
|
||||
display: block;
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
height: 33px;
|
||||
text-align: center;
|
||||
width: 33px;
|
||||
|
||||
&.on,
|
||||
&:hover {
|
||||
background: darken($button--ready, 5%);
|
||||
}
|
||||
|
||||
&:hover circle {
|
||||
fill: darken($button--ready, 5%);
|
||||
}
|
||||
&.offline {
|
||||
background: $video-circle-offline;
|
||||
|
||||
circle {
|
||||
fill: $button--ready;
|
||||
|
||||
&.offline {
|
||||
fill: $video-circle-offline;
|
||||
&:hover {
|
||||
background: $video-circle-offline;
|
||||
}
|
||||
}
|
||||
|
||||
path {
|
||||
.on {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.off {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
&.on {
|
||||
path {
|
||||
.on {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.off {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
circle {
|
||||
fill-opacity: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
&[disabled] {
|
||||
.webrtc__button {
|
||||
&:hover {
|
||||
background: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
circle {
|
||||
fill: $video-circle-offline;
|
||||
}
|
||||
}
|
||||
}
|
||||
svg {
|
||||
fill: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user