gecko/browser/metro/theme/start.css
Rodrigo Silveira 68df9f5eaa Bug 969356 - Backed out because this change hides the scrollbar and clips bottom tiles in portrait/snapped.
--HG--
extra : rebase_source : a8cdf8b61b76c8f816dfb3b8771aff836462f097
2014-02-12 13:38:05 -08:00

57 lines
1.2 KiB
CSS

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
%filter substitution
%include defines.inc
/* Start UI ----------------------------------------------------------------- */
#startui-page {
overflow-x: scroll;
overflow-y: hidden;
height: 100%;
}
#startui-page[viewstate="snapped"],
#startui-page[viewstate="portrait"] {
overflow-x: hidden;
overflow-y: scroll;
}
#startui-body {
height: 100%;
margin: 0;
}
#start-container {
height: 100%;
}
#start-container[viewstate="snapped"],
#start-container[viewstate="portrait"] {
width: 100%;
max-width: 100%; /* ensure page doesn't expand, messing up @media rules */
height: auto;
}
#start-container[viewstate="snapped"] .meta-section:not([expanded]) > richgrid {
visibility: collapse;
}
/* Watermark */
#startui-body::after {
content: '';
width: 256px;
height: 256px;
position: fixed;
left: 50%;
top: 50%;
margin-top: -128px;
margin-left: -128px;
z-index: -1;
background-image: url("chrome://browser/skin/images/firefox-watermark.png");
background-repeat: no-repeat;
background-position: center center;
}