Backed out changeset 18f5bcaab8ec (bug 1190738), to avoid a nasty merge issue

This commit is contained in:
Dan Mosedale 2015-09-17 22:59:18 -07:00
Родитель 3aebd2ed96
Коммит 3e9e2d5bdc
5 изменённых файлов: 31 добавлений и 59 удалений

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

@ -365,6 +365,26 @@ html[dir="rtl"] .tab-view li:nth-child(2).selected ~ .slide-bar {
-moz-margin-start: 0; -moz-margin-start: 0;
} }
.new-room-view > .context > .checkbox-wrapper {
height: 2rem;
margin-bottom: .5em;
line-height: 2rem;
}
.new-room-view > .context > .checkbox-wrapper > .checkbox {
border-color: #d8d8d8;
background-color: #fff;
}
.new-room-view > .context > .checkbox-wrapper > .checkbox.checked {
background-image: url("../shared/img/check.svg#check-blue");
}
.new-room-view > .context > .checkbox-wrapper > label {
color: #333;
font-size: 1.1rem;
}
.new-room-view > .btn { .new-room-view > .btn {
flex: 1; flex: 1;
height: 3rem; height: 3rem;

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

@ -484,10 +484,6 @@ html[dir="rtl"] .dropdown-menu {
/* Custom checkbox */ /* Custom checkbox */
.checkbox-wrapper { .checkbox-wrapper {
height: 2rem;
margin-bottom: .5rem;
width: 100%;
line-height: 2.2rem;
-moz-user-select: none; -moz-user-select: none;
user-select: none; user-select: none;
} }
@ -496,15 +492,15 @@ html[dir="rtl"] .dropdown-menu {
float: left; float: left;
width: 2rem; width: 2rem;
height: 2rem; height: 2rem;
-moz-margin-end: .5rem; -moz-margin-end: .5em;
margin-top: .1rem; margin-top: .1em;
border: 1px solid #999; border: 1px solid #999;
border-radius: .3rem; border-radius: 3px;
cursor: pointer; cursor: pointer;
background-color: transparent; background-color: transparent;
background-position: center center; background-position: center center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 2rem; background-size: 1em 1em;
} }
html[dir="rtl"] .checkbox { html[dir="rtl"] .checkbox {
@ -535,10 +531,6 @@ html[dir="rtl"] .checkbox {
text-align: left; text-align: left;
} }
.checkbox-wrapper > checkbox-label {
font-size: 1.1rem;
}
html[dir="rtl"] .checkbox-label.ellipsis { html[dir="rtl"] .checkbox-label.ellipsis {
text-align: right; text-align: right;
} }

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

@ -1024,21 +1024,17 @@ body[platform="win"] .share-service-dropdown.overflow > .dropdown-menu-item {
text-shadow: 1px 1px 0 rgba(0,0,0,.3); text-shadow: 1px 1px 0 rgba(0,0,0,.3);
} }
.new-room-view > .context > .checkbox-wrapper .checkbox { .room-context > .checkbox-wrapper {
border-color: #d8d8d8; margin-bottom: .5em;
background-color: #fff; width: 100%;
}
.new-room-view > .context > .checkbox-wrapper .checkbox.checked {
background-image: url("../img/check.svg#check-blue");
}
.new-room-view > .context > .checkbox-wrapper > label {
color: #333;
} }
.room-context-label { .room-context-label {
margin-bottom: 1em; margin-bottom: 1em;
}
.room-context-label,
.room-context > .checkbox-wrapper > label {
color: #fff; color: #fff;
} }

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

@ -29,7 +29,6 @@
var DirectCallFailureView = loop.conversationViews.DirectCallFailureView; var DirectCallFailureView = loop.conversationViews.DirectCallFailureView;
var RoomFailureView = loop.roomViews.RoomFailureView; var RoomFailureView = loop.roomViews.RoomFailureView;
var DesktopRoomConversationView = loop.roomViews.DesktopRoomConversationView; var DesktopRoomConversationView = loop.roomViews.DesktopRoomConversationView;
var DesktopRoomEditContextView = loop.roomViews.DesktopRoomEditContextView;
// 2. Standalone webapp // 2. Standalone webapp
var HomeView = loop.webapp.HomeView; var HomeView = loop.webapp.HomeView;
@ -1391,23 +1390,6 @@
) )
), ),
React.createElement(FramedExample, {height: 278.6,
onContentsRendered: invitationRoomStore.activeRoomStore.forcedUpdate,
summary: "Desktop room Edit Context w/Error",
width: 298},
React.createElement("div", {className: "fx-embedded room-invitation-overlay"},
React.createElement(DesktopRoomEditContextView, {
dispatcher: dispatcher,
error: {},
mozLoop: navigator.mozLoop,
onClose: function(){},
roomData: {},
savingContext: false,
show: true}
)
)
),
React.createElement(FramedExample, {dashed: true, React.createElement(FramedExample, {dashed: true,
height: 394, height: 394,
onContentsRendered: desktopRoomStoreLoading.activeRoomStore.forcedUpdate, onContentsRendered: desktopRoomStoreLoading.activeRoomStore.forcedUpdate,

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

@ -29,7 +29,6 @@
var DirectCallFailureView = loop.conversationViews.DirectCallFailureView; var DirectCallFailureView = loop.conversationViews.DirectCallFailureView;
var RoomFailureView = loop.roomViews.RoomFailureView; var RoomFailureView = loop.roomViews.RoomFailureView;
var DesktopRoomConversationView = loop.roomViews.DesktopRoomConversationView; var DesktopRoomConversationView = loop.roomViews.DesktopRoomConversationView;
var DesktopRoomEditContextView = loop.roomViews.DesktopRoomEditContextView;
// 2. Standalone webapp // 2. Standalone webapp
var HomeView = loop.webapp.HomeView; var HomeView = loop.webapp.HomeView;
@ -1391,23 +1390,6 @@
</div> </div>
</FramedExample> </FramedExample>
<FramedExample height={278.6}
onContentsRendered={invitationRoomStore.activeRoomStore.forcedUpdate}
summary="Desktop room Edit Context w/Error"
width={298}>
<div className="fx-embedded room-invitation-overlay">
<DesktopRoomEditContextView
dispatcher={dispatcher}
error={{}}
mozLoop={navigator.mozLoop}
onClose={function(){}}
roomData={{}}
savingContext={false}
show={true}
/>
</div>
</FramedExample>
<FramedExample dashed={true} <FramedExample dashed={true}
height={394} height={394}
onContentsRendered={desktopRoomStoreLoading.activeRoomStore.forcedUpdate} onContentsRendered={desktopRoomStoreLoading.activeRoomStore.forcedUpdate}