| 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 | #warningScreen { |
| 8 | background-color: #CCD0DD; |
| 9 | } |
| 10 | |
| 11 | #warningBox { |
| 12 | background-color: #CCD0DD; |
| 13 | color: #000000; |
| 14 | border: 1px solid #666699; |
| 15 | border-radius: 10px; |
| 16 | padding: 3em; |
| 17 | padding-inline-start: 30px; |
| 18 | margin-left: 1em; |
| 19 | margin-right: 1em; |
| 20 | } |
| 21 | |
| 22 | #warningInnerBox { |
| 23 | max-width: 50em; |
| 24 | } |
| 25 | |
| 26 | #warningTitle { |
| 27 | margin: 0 0 .6em 0; |
| 28 | font-size: 160%; |
| 29 | border-bottom: 1px solid #9999CC; |
| 30 | } |
| 31 | |
| 32 | #warningText { |
| 33 | font-size: 110%; |
| 34 | margin-left: 0; |
| 35 | } |
| 36 | |
| 37 | /* Pick the desired icons depending on the window's context */ |
| 38 | |
| 39 | #warningBox.private > #warningBoxIcon { |
| 40 | background-image: url("chrome://global/skin/icons/information-48.png"); |
| 41 | width: 48px; |
| 42 | height: 48px; |
| 43 | margin-inline-end: 3em; |
| 44 | } |
| 45 | |
| 46 | #warningBox.normal > #warningBoxIcon { |
| 47 | background-image: url("chrome://global/skin/icons/question-48.png"); |
| 48 | width: 48px; |
| 49 | height: 48px; |
| 50 | margin-inline-end: 3em; |
| 51 | } |
| 52 | |
| 53 | #trackWarnBox { |
| 54 | margin-top: 0.6em; |
| 55 | margin-inline-end: 7em; |
| 56 | -moz-box-align: center; |
| 57 | } |
| 58 | |
| 59 | #trackWarnIcon { |
| 60 | list-style-image: url("chrome://global/skin/icons/warning-24.png"); |
| 61 | width: 24px; |
| 62 | height: 24px; |
| 63 | } |
| 64 | |
| 65 | /* Define additional styles to look similar to the netError/certError pages */ |
| 66 | |
| 67 | #warningTitle { |
| 68 | font-weight: bold; |
| 69 | } |
| 70 | |
| 71 | #warningStatus { |
| 72 | margin: 0.4em 0 1.2em 0; |
| 73 | padding-bottom: 1.2em; |
| 74 | border-bottom: 1px solid #9999CC; |
| 75 | font-size: 135%; |
| 76 | } |
| 77 | |
| 78 | #warningInnerBox > button { |
| 79 | margin: 0.8em 0 1em 0; |
| 80 | } |
| 81 | |
| 82 | #warningOuterBox > vbox > label, |
| 83 | #warningInnerBox > description { |
| 84 | margin-inline-start: 0; |
| 85 | } |