|
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/. */ |
|
4 |
|
5 %filter substitution |
|
6 %include defines.inc |
|
7 |
|
8 /* Start UI ----------------------------------------------------------------- */ |
|
9 |
|
10 #startui-page { |
|
11 overflow-x: scroll; |
|
12 overflow-y: hidden; |
|
13 height: 100%; |
|
14 } |
|
15 |
|
16 #startui-page[viewstate="snapped"], |
|
17 #startui-page[viewstate="portrait"] { |
|
18 overflow-x: hidden; |
|
19 overflow-y: scroll; |
|
20 } |
|
21 |
|
22 #startui-body { |
|
23 height: 100%; |
|
24 margin: 0; |
|
25 } |
|
26 |
|
27 #start-container { |
|
28 height: 100%; |
|
29 } |
|
30 |
|
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 } |
|
37 |
|
38 #start-container[viewstate="snapped"] .meta-section:not([expanded]) > richgrid { |
|
39 visibility: collapse; |
|
40 } |
|
41 |
|
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 } |