Bug 1153418 - Fix an issue on Loop's standalone where the remote and video alignment during screenshare is 10px out. r=dmose

This commit is contained in:
Mark Banner 2015-04-14 08:30:57 +01:00
Родитель 3ac2fef09c
Коммит 1a3f6bb167
1 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -719,11 +719,14 @@ html, .fx-embedded, #main,
height: 100%; height: 100%;
} }
.standalone .media.nested {
margin-left: 10px;
}
.standalone .remote_wrapper { .standalone .remote_wrapper {
position: relative; position: relative;
width: calc(100% - 10px); width: 100%;
height: 100%; height: 100%;
margin-left: 10px;
} }
.standalone { .standalone {
@ -976,7 +979,7 @@ body[dir=rtl] .share-service-dropdown .share-panel-header {
/* `top` is chosen to vertically position the area near the center /* `top` is chosen to vertically position the area near the center
of the media element. */ of the media element. */
top: calc(50% - 140px); top: calc(50% - 140px);
left: calc(25% + 62.5px + 10px); left: 25%;
z-index: 1000; z-index: 1000;
/* `width` here is specified by the design spec. */ /* `width` here is specified by the design spec. */
width: 250px; width: 250px;
@ -1049,7 +1052,7 @@ body[dir=rtl] .share-service-dropdown .share-panel-header {
.standalone .room-conversation .video_wrapper.remote_wrapper { .standalone .room-conversation .video_wrapper.remote_wrapper {
background-color: #4e4e4e; background-color: #4e4e4e;
width: calc(75% - 10px); /* Take the left margin into account. */ width: 75%;
} }
.standalone .room-conversation .conversation-toolbar { .standalone .room-conversation .conversation-toolbar {
@ -1079,6 +1082,7 @@ body[dir=rtl] .share-service-dropdown .share-panel-header {
right: 0; right: 0;
margin: auto; margin: auto;
width: 100%; width: 100%;
left: 0;
} }
.standalone .room-conversation-wrapper .video-layout-wrapper { .standalone .room-conversation-wrapper .video-layout-wrapper {
/* 50px: header's height; 25px: footer's height */ /* 50px: header's height; 25px: footer's height */