Bug 1105802 - Added beta tag to standalone room layout. r=dmose

This commit is contained in:
Nicolas Perriault 2014-12-04 12:21:09 -08:00
parent 668b6fe245
commit 67793bcbba
3 changed files with 14 additions and 1 deletions

View File

@ -22,7 +22,18 @@ body,
* Note: the is-standalone-room class is dynamically set by the StandaloneRoomView.
*/
.standalone.is-standalone-room {
background-color: #000;
background: #000;
}
.standalone .beta-logo {
position: fixed;
top: 0;
left: 0;
width: 50px;
height: 50px;
background: transparent url(../shared/img/beta-ribbon.svg) no-repeat;
background-size: 50px;
z-index: 1000;
}
.standalone-header {

View File

@ -351,6 +351,7 @@ loop.standaloneRoomViews = (function(mozL10n) {
return (
React.DOM.div({className: "room-conversation-wrapper"},
React.DOM.div({className: "beta-logo"}),
StandaloneRoomHeader(null),
StandaloneRoomInfoArea({roomState: this.state.roomState,
failureReason: this.state.failureReason,

View File

@ -351,6 +351,7 @@ loop.standaloneRoomViews = (function(mozL10n) {
return (
<div className="room-conversation-wrapper">
<div className="beta-logo" />
<StandaloneRoomHeader />
<StandaloneRoomInfoArea roomState={this.state.roomState}
failureReason={this.state.failureReason}