browser/metro/theme/start.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/metro/theme/start.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,56 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +%filter substitution
     1.9 +%include defines.inc
    1.10 +
    1.11 +/* Start UI ----------------------------------------------------------------- */
    1.12 +
    1.13 +#startui-page {
    1.14 +  overflow-x: scroll;
    1.15 +  overflow-y: hidden;
    1.16 +  height: 100%;
    1.17 +}
    1.18 +
    1.19 +#startui-page[viewstate="snapped"],
    1.20 +#startui-page[viewstate="portrait"] {
    1.21 +  overflow-x: hidden;
    1.22 +  overflow-y: scroll;
    1.23 +}
    1.24 +
    1.25 +#startui-body {
    1.26 +  height: 100%;
    1.27 +  margin: 0;
    1.28 +}
    1.29 +
    1.30 +#start-container {
    1.31 +  height: 100%;
    1.32 +}
    1.33 +
    1.34 +#start-container[viewstate="snapped"],
    1.35 +#start-container[viewstate="portrait"] {
    1.36 +  width: 100%;
    1.37 +  max-width: 100%; /* ensure page doesn't expand, messing up @media rules */
    1.38 +  height: auto;
    1.39 +}
    1.40 +
    1.41 +#start-container[viewstate="snapped"] .meta-section:not([expanded]) > richgrid {
    1.42 +  visibility: collapse;
    1.43 +}
    1.44 +
    1.45 +/* Watermark */
    1.46 +#startui-body::after {
    1.47 +  content: '';
    1.48 +  width: 256px;
    1.49 +  height: 256px;
    1.50 +  position: fixed;
    1.51 +  left: 50%;
    1.52 +  top: 50%;
    1.53 +  margin-top: -128px;
    1.54 +  margin-left: -128px;
    1.55 +  z-index: -1;
    1.56 +  background-image: url("chrome://browser/skin/images/firefox-watermark.png");
    1.57 +  background-repeat: no-repeat;
    1.58 +  background-position: center center;
    1.59 +}

mercurial