mirror of https://github.com/vector-im/riot-web
Merge pull request #5226 from matrix-org/travis/ft-sep1620/10-pip
Make the PIP Jitsi look and feel like the 1:1 PIPpull/21833/head
commit
c75628844d
|
@ -15,7 +15,7 @@ See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$MiniAppTileHeight: 114px;
|
$MiniAppTileHeight: 200px;
|
||||||
|
|
||||||
.mx_AppsDrawer {
|
.mx_AppsDrawer {
|
||||||
margin: 5px 5px 5px 18px;
|
margin: 5px 5px 5px 18px;
|
||||||
|
@ -220,9 +220,10 @@ $MiniAppTileHeight: 114px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_AppTileBody_mini {
|
.mx_AppTileBody_mini {
|
||||||
height: 112px;
|
height: $MiniAppTileHeight;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_AppTile .mx_AppTileBody,
|
.mx_AppTile .mx_AppTileBody,
|
||||||
|
|
|
@ -23,9 +23,16 @@ limitations under the License.
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
box-shadow: 0px 14px 24px rgba(0, 0, 0, 0.08);
|
box-shadow: 0px 14px 24px rgba(0, 0, 0, 0.08);
|
||||||
|
|
||||||
cursor: pointer;
|
// Disable pointer events for Jitsi widgets to function. Direct
|
||||||
|
// calls have their own cursor and behaviour, but we need to make
|
||||||
|
// sure the cursor hits the iframe for Jitsi which will be at a
|
||||||
|
// different level.
|
||||||
|
pointer-events: none;
|
||||||
|
|
||||||
.mx_CallPreview {
|
.mx_CallPreview {
|
||||||
|
pointer-events: initial; // restore pointer events so the user can leave/interact
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
.mx_VideoView {
|
.mx_VideoView {
|
||||||
width: 350px;
|
width: 350px;
|
||||||
}
|
}
|
||||||
|
@ -37,7 +44,7 @@ limitations under the License.
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_AppTile_persistedWrapper div {
|
.mx_AppTile_persistedWrapper div {
|
||||||
min-width: 300px;
|
min-width: 350px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_IncomingCallBox {
|
.mx_IncomingCallBox {
|
||||||
|
@ -45,6 +52,9 @@ limitations under the License.
|
||||||
background-color: $primary-bg-color;
|
background-color: $primary-bg-color;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
|
||||||
|
pointer-events: initial; // restore pointer events so the user can accept/decline
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
.mx_IncomingCallBox_CallerInfo {
|
.mx_IncomingCallBox_CallerInfo {
|
||||||
display: flex;
|
display: flex;
|
||||||
direction: row;
|
direction: row;
|
||||||
|
|
|
@ -82,6 +82,7 @@ export default class PersistentApp extends React.Component {
|
||||||
showDelete={false}
|
showDelete={false}
|
||||||
showMinimise={false}
|
showMinimise={false}
|
||||||
miniMode={true}
|
miniMode={true}
|
||||||
|
showMenubar={false}
|
||||||
/>;
|
/>;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue