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