Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #13999 from KevinGrandon/revert_bug_936201
Browse files Browse the repository at this point in the history
Revert "Bug 936201 - [Status Bar] Update status bar visual design" r=rik
  • Loading branch information
rik committed Nov 25, 2013
2 parents 78052ab + 6a48bf5 commit 13aa630
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
9 changes: 0 additions & 9 deletions apps/system/js/statusbar.js
Expand Up @@ -180,8 +180,6 @@ var StatusBar = {
window.addEventListener('attentionscreenhide', this);
// Listen to 'screenchange' from screen_manager.js
window.addEventListener('screenchange', this);
window.addEventListener('appwillopen', this);
window.addEventListener('homescreenopening', this);

// mozChromeEvent fired from Gecko is earlier been loaded,
// so we use mozAudioChannelManager to
Expand Down Expand Up @@ -323,13 +321,6 @@ var StatusBar = {
case 'moznetworkdownload':
this.update.networkActivity.call(this);
break;

case 'appwillopen':
this.element.classList.add('semi-transparent');
break;
case 'homescreenopening':
this.element.classList.remove('semi-transparent');
break;
}
},

Expand Down
8 changes: 2 additions & 6 deletions apps/system/style/statusbar/statusbar.css
Expand Up @@ -15,17 +15,13 @@ body, html {
height: 2rem;
top: 0;
left: 0;
background-color: rgba(0,0,0,.5);
background-color: #000;

padding: 0.2rem 0;
-moz-box-sizing: border-box;
-moz-user-focus: ignore;
}

#screen:not(.fullscreen-app) #statusbar.semi-transparent,
#screen.utility-tray #statusbar {
background-color: #121212;
}

#screen.locked:not(.attention) #statusbar{
background-color: transparent;
}
Expand Down
2 changes: 1 addition & 1 deletion apps/system/style/system/system.css
Expand Up @@ -19,7 +19,7 @@ body {
background-color: #000;
background-size: cover; /* Possible memory over-consumption with huge images, it should be removed for improving stability*/
background-repeat: no-repeat;
background-position: 50% 0;
background-position: 50% 2rem;
}

#screen.screenoff {
Expand Down

0 comments on commit 13aa630

Please sign in to comment.