| 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 | @import url("chrome://browser/skin/error-pages.css"); |
| 6 | |
| 7 | body { |
| 8 | background-image: linear-gradient(-45deg, #FF0000, #FF0000 33%, |
| 9 | #000000 33%, #000000 66%, |
| 10 | #FF0000 66%, #FF0000); |
| 11 | background-color: #000000; |
| 12 | color: #FF0000; |
| 13 | } |
| 14 | |
| 15 | .title { |
| 16 | background-image: url("chrome://global/skin/icons/blocked.svg"); |
| 17 | } |
| 18 | |
| 19 | .title-text { |
| 20 | color: #FF0000; |
| 21 | } |
| 22 | |
| 23 | .button-container button:not(.primary) { |
| 24 | background-color: #FF0000; |
| 25 | color: #000000; |
| 26 | margin-inline-end: 0; |
| 27 | } |
| 28 | |
| 29 | .button-container button:not(.primary):hover { |
| 30 | background-color: #FFCF00; |
| 31 | } |
| 32 | |
| 33 | .button-container button:not(.primary):active { |
| 34 | background-color: #FF9F00; |
| 35 | } |
| 36 | |
| 37 | .button-container button { |
| 38 | margin-top: 1.2em; |
| 39 | } |
| 40 | |
| 41 | /* Style warning button to look like a small text link in the |
| 42 | bottom right. This is preferable to just using a text link |
| 43 | since there is already a mechanism in browser.js for trapping |
| 44 | oncommand events from unprivileged chrome pages (BrowserOnCommand).*/ |
| 45 | #ignoreWarningButton { |
| 46 | -moz-appearance: none; |
| 47 | background: transparent; |
| 48 | border: none; |
| 49 | color: white; |
| 50 | text-decoration: underline; |
| 51 | margin: 4px 0 0 0; |
| 52 | padding: 0; |
| 53 | font-size: smaller; |
| 54 | min-width: 0; |
| 55 | } |
| 56 | |
| 57 | #ignoreWarningButton:hover { |
| 58 | cursor: pointer; |
| 59 | } |
| 60 | |
| 61 | #ignoreWarning { |
| 62 | margin-top: 1.2em; |
| 63 | text-align: end; |
| 64 | } |