browser/metro/theme/start.css

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 /* This Source Code Form is subject to the terms of the Mozilla Public
     2  * License, v. 2.0. If a copy of the MPL was not distributed with this
     3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     5 %filter substitution
     6 %include defines.inc
     8 /* Start UI ----------------------------------------------------------------- */
    10 #startui-page {
    11   overflow-x: scroll;
    12   overflow-y: hidden;
    13   height: 100%;
    14 }
    16 #startui-page[viewstate="snapped"],
    17 #startui-page[viewstate="portrait"] {
    18   overflow-x: hidden;
    19   overflow-y: scroll;
    20 }
    22 #startui-body {
    23   height: 100%;
    24   margin: 0;
    25 }
    27 #start-container {
    28   height: 100%;
    29 }
    31 #start-container[viewstate="snapped"],
    32 #start-container[viewstate="portrait"] {
    33   width: 100%;
    34   max-width: 100%; /* ensure page doesn't expand, messing up @media rules */
    35   height: auto;
    36 }
    38 #start-container[viewstate="snapped"] .meta-section:not([expanded]) > richgrid {
    39   visibility: collapse;
    40 }
    42 /* Watermark */
    43 #startui-body::after {
    44   content: '';
    45   width: 256px;
    46   height: 256px;
    47   position: fixed;
    48   left: 50%;
    49   top: 50%;
    50   margin-top: -128px;
    51   margin-left: -128px;
    52   z-index: -1;
    53   background-image: url("chrome://browser/skin/images/firefox-watermark.png");
    54   background-repeat: no-repeat;
    55   background-position: center center;
    56 }

mercurial