| 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 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 6 | |
| 7 | /* Hide selected items by default and display them based on the page status */ |
| 8 | |
| 9 | #warningBox:not(.private) .private, |
| 10 | #warningBox:not(.normal) .normal { |
| 11 | display: none; |
| 12 | } |
| 13 | |
| 14 | .title { |
| 15 | background-size: auto; |
| 16 | } |
| 17 | |
| 18 | /* Pick the desired icons depending on the window's context */ |
| 19 | |
| 20 | .private.title { |
| 21 | background-image: url("chrome://global/skin/icons/information-48.png"); |
| 22 | } |
| 23 | |
| 24 | .normal.title { |
| 25 | background-image: url("chrome://global/skin/icons/question-48.png"); |
| 26 | } |
| 27 | |
| 28 | #trackWarnBox { |
| 29 | margin-top: 0.6em; |
| 30 | -moz-margin-end: 7em; |
| 31 | -moz-box-align: center; |
| 32 | } |
| 33 | |
| 34 | #trackWarnIcon { |
| 35 | list-style-image: url("chrome://global/skin/icons/warning-24.png"); |
| 36 | width: 24px; |
| 37 | height: 24px; |
| 38 | } |
| 39 | |
| 40 | /* Define additional styles to look similar to the netError/certError pages */ |
| 41 | |
| 42 | #warningStatus { |
| 43 | margin: 0.4em 0 1.2em 0; |
| 44 | font-size: 135%; |
| 45 | } |
| 46 | |
| 47 | #warningInnerBox > button { |
| 48 | margin: 0.8em 0 1em 0; |
| 49 | } |
| 50 | |
| 51 | #warningStatus > label { |
| 52 | -moz-margin-start: 0; |
| 53 | } |