Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
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 | |
michael@0 | 6 | html { |
michael@0 | 7 | background: -moz-Dialog; |
michael@0 | 8 | } |
michael@0 | 9 | |
michael@0 | 10 | body { |
michael@0 | 11 | margin: 0; |
michael@0 | 12 | padding: 0 1em; |
michael@0 | 13 | color: -moz-FieldText; |
michael@0 | 14 | font: message-box; |
michael@0 | 15 | } |
michael@0 | 16 | |
michael@0 | 17 | h1 { |
michael@0 | 18 | margin: 0 0 .6em 0; |
michael@0 | 19 | border-bottom: 1px solid ThreeDLightShadow; |
michael@0 | 20 | font-size: 160%; |
michael@0 | 21 | } |
michael@0 | 22 | |
michael@0 | 23 | h2 { |
michael@0 | 24 | font-size: 130%; |
michael@0 | 25 | } |
michael@0 | 26 | |
michael@0 | 27 | #errorPageContainer { |
michael@0 | 28 | position: relative; |
michael@0 | 29 | min-width: 13em; |
michael@0 | 30 | max-width: 52em; |
michael@0 | 31 | margin: 4em auto; |
michael@0 | 32 | border: 1px solid #FFBD09; /* pale yellow extracted from yellow passport icon */ |
michael@0 | 33 | border-radius: 10px; |
michael@0 | 34 | padding: 3em; |
michael@0 | 35 | -moz-padding-start: 30px; |
michael@0 | 36 | background: url("chrome://global/skin/icons/sslWarning.png") left 0 no-repeat -moz-Field; |
michael@0 | 37 | background-origin: content-box; |
michael@0 | 38 | } |
michael@0 | 39 | |
michael@0 | 40 | #errorPageContainer:-moz-dir(rtl) { |
michael@0 | 41 | background-position: right 0; |
michael@0 | 42 | } |
michael@0 | 43 | |
michael@0 | 44 | #errorTitle { |
michael@0 | 45 | -moz-margin-start: 80px; |
michael@0 | 46 | } |
michael@0 | 47 | |
michael@0 | 48 | #errorLongContent { |
michael@0 | 49 | -moz-margin-start: 80px; |
michael@0 | 50 | } |
michael@0 | 51 | |
michael@0 | 52 | .expander > button { |
michael@0 | 53 | -moz-padding-start: 20px; |
michael@0 | 54 | -moz-margin-start: -20px; |
michael@0 | 55 | background: url("chrome://browser/skin/aboutCertError_sectionExpanded.png") left center no-repeat; |
michael@0 | 56 | border: none; |
michael@0 | 57 | font: inherit; |
michael@0 | 58 | color: inherit; |
michael@0 | 59 | cursor: pointer; |
michael@0 | 60 | } |
michael@0 | 61 | |
michael@0 | 62 | .expander > button:-moz-dir(rtl) { |
michael@0 | 63 | background-position: right center; |
michael@0 | 64 | } |
michael@0 | 65 | |
michael@0 | 66 | .expander[collapsed] > button { |
michael@0 | 67 | background-image: url("chrome://browser/skin/aboutCertError_sectionCollapsed.png"); |
michael@0 | 68 | } |
michael@0 | 69 | |
michael@0 | 70 | .expander[collapsed] > button:-moz-dir(rtl) { |
michael@0 | 71 | background-image: url("chrome://browser/skin/aboutCertError_sectionCollapsed-rtl.png"); |
michael@0 | 72 | } |