Permalink
Browse files

Merge pull request #6871 from yurenju/issue-815629

Bug 815629 - removed wallpaper and table layout on oncall.html for perfo...
  • Loading branch information...
2 parents f3973d3 + 636f6b8 commit 2e758752306d870fabb4c8f18b543b9252349363 @yurenju yurenju committed Dec 7, 2012
@@ -612,11 +612,4 @@ window.addEventListener('localized', function callSetup(evt) {
CallScreen.init();
CallScreen.syncSpeakerEnabled();
OnCallHandler.setup();
- if (navigator.mozSettings) {
- var req = navigator.mozSettings.createLock().get('wallpaper.image');
- req.onsuccess = function cs_wi_onsuccess() {
- CallScreen.mainContainer.style.backgroundImage =
- 'url(' + req.result['wallpaper.image'] + ')';
- };
- }
});
@@ -25,7 +25,7 @@
</head>
<body class="hidden">
- <article id="call-screen" class="grid">
+ <article id="call-screen">
<article id="calls" data-count="0">
<section>
<div class="numberWrapper">
@@ -61,8 +61,8 @@
</div>
</section>
</article>
- <article id="main-container" class="grid-row">
- <div id="actions-container" class="grid-wrapper grid">
+ <article id="main-container">
+ <div id="actions-container">
<div id="swiper-wrapper">
<svg id="swiper-curve" xmlns="http://www.w3.org/2000/svg" version="1.1">
<defs>
@@ -134,8 +134,9 @@ body.hidden *[data-l10n-id] {
}
#main-container {
- position: relative;
+ position: absolute;
height: 100%;
+ width: 100%;
background: rgba(0, 0, 0, 0.8) no-repeat center top/cover;
}

0 comments on commit 2e75875

Please sign in to comment.