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 #10518 from daleharvey/814506
Browse files Browse the repository at this point in the history
Bug 814506 - Hide bottom toolbar on start screen r=benfrancis
  • Loading branch information
benfrancis committed Jul 8, 2013
2 parents c4b0c0a + 1dec102 commit c25e352
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/browser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<link rel="resource" type="image/png" href="shared/resources/branding/about_logo.png"/>
</head>

<body class="page-screen" role="application">
<body class="page-screen start-page" role="application">

<div id="main-screen">

Expand Down
2 changes: 2 additions & 0 deletions apps/browser/js/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -1693,6 +1693,7 @@ var Browser = {
},

showStartscreen: function browser_showStartscreen() {
document.body.classList.add('start-page');
this.startscreen.classList.remove('hidden');
Places.getTopSites(this.MAX_TOP_SITES, null,
function(places) {
Expand All @@ -1715,6 +1716,7 @@ var Browser = {
},

hideStartscreen: function browser_hideStartScreen() {
document.body.classList.remove('start-page');
this.startscreen.classList.add('hidden');
this.clearTopSiteThumbnails();
},
Expand Down
8 changes: 8 additions & 0 deletions apps/browser/style/browser.css
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,14 @@ input[type="image"] {
display: block;
}

.start-page.page-screen #toolbar-end {
display: none;
}

.start-page.page-screen #frames {
bottom: 0;
}

#url-bar {
display: -moz-box;
-moz-box-orient: horizontal;
Expand Down

0 comments on commit c25e352

Please sign in to comment.