1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/themes/windows/global/netError.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,146 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +/* 1.9 + * This defines the look-and-feel styling of the error pages. 1.10 + * (see: netError.xhtml) 1.11 + * 1.12 + * Original styling by William Price <bugzilla@mob.rice.edu> 1.13 + * Updated by: Steven Garrity <steven@silverorange.com> 1.14 + * Henrik Skupin <mozilla@hskupin.info> 1.15 + */ 1.16 + 1.17 +html { 1.18 + background: -moz-Dialog; 1.19 +} 1.20 + 1.21 +body { 1.22 + margin: 0; 1.23 + padding: 0 1em; 1.24 + color: -moz-FieldText; 1.25 + font: message-box; 1.26 +} 1.27 + 1.28 +h1 { 1.29 + margin: 0 0 .6em 0; 1.30 + border-bottom: 1px solid ThreeDLightShadow; 1.31 + font-size: 160%; 1.32 +} 1.33 + 1.34 +ul, ol { 1.35 + margin: 0; 1.36 + -moz-margin-start: 1.5em; 1.37 + padding: 0; 1.38 +} 1.39 + 1.40 +ul > li, ol > li { 1.41 + margin-bottom: .5em; 1.42 +} 1.43 + 1.44 +ul { 1.45 + list-style: square; 1.46 +} 1.47 + 1.48 +#errorPageContainer { 1.49 + position: relative; 1.50 + min-width: 13em; 1.51 + max-width: 52em; 1.52 + margin: 4em auto; 1.53 + border: 1px solid ThreeDShadow; 1.54 + border-radius: 10px; 1.55 + padding: 3em; 1.56 + -moz-padding-start: 30px; 1.57 + background: url("chrome://global/skin/icons/warning-large.png") left 0 no-repeat -moz-Field; 1.58 + background-origin: content-box; 1.59 +} 1.60 + 1.61 +#errorPageContainer.certerror { 1.62 + background-image: url("chrome://global/skin/icons/sslWarning.png"); 1.63 +} 1.64 + 1.65 +#errorPageContainer:-moz-dir(rtl) { 1.66 + background-position: right 0; 1.67 +} 1.68 + 1.69 +#errorTitle { 1.70 + -moz-margin-start: 80px; 1.71 +} 1.72 + 1.73 +#errorLongContent { 1.74 + -moz-margin-start: 80px; 1.75 +} 1.76 + 1.77 +#errorShortDesc > p { 1.78 + overflow: auto; 1.79 + border-bottom: 1px solid ThreeDLightShadow; 1.80 + padding-bottom: 1em; 1.81 + font-size: 130%; 1.82 + white-space: pre-wrap; 1.83 +} 1.84 + 1.85 +#errorLongDesc { 1.86 + -moz-padding-end: 3em; 1.87 + font-size: 110%; 1.88 +} 1.89 + 1.90 +#errorLongDesc > p { 1.91 +} 1.92 + 1.93 +#errorTryAgain { 1.94 + margin-top: 2em; 1.95 + -moz-margin-start: 80px; 1.96 +} 1.97 + 1.98 +#brand { 1.99 + position: absolute; 1.100 + right: 0; 1.101 + bottom: -1.5em; 1.102 + -moz-margin-end: 10px; 1.103 + opacity: .4; 1.104 +} 1.105 + 1.106 +#brand:-moz-dir(rtl) { 1.107 + right: auto; 1.108 + left: 0; 1.109 +} 1.110 + 1.111 +#brand > p { 1.112 + margin: 0; 1.113 +} 1.114 + 1.115 +#errorContainer { 1.116 + display: none; 1.117 +} 1.118 + 1.119 +#securityOverrideDiv { 1.120 + padding-top: 10px; 1.121 +} 1.122 + 1.123 +#securityOverrideContent { 1.124 + background-color: InfoBackground; 1.125 + color: InfoText; 1.126 + padding: 10px; 1.127 + border-radius: 10px; 1.128 +} 1.129 + 1.130 +/* Custom styling for 'blacklist' error class */ 1.131 +:root.blacklist #errorTitle, :root.blacklist #errorLongContent, 1.132 +:root.blacklist #errorShortDesc, :root.blacklist #errorLongDesc, 1.133 +:root.blacklist a { 1.134 + background-color: #722; /* Dark red */ 1.135 + color: white; 1.136 +} 1.137 + 1.138 +:root.blacklist #errorPageContainer { 1.139 + background-image: url("chrome://global/skin/icons/blacklist_large.png"); 1.140 + background-color: #722; 1.141 +} 1.142 + 1.143 +:root.blacklist { 1.144 + background: #333; 1.145 +} 1.146 + 1.147 +:root.blacklist #errorTryAgain { 1.148 + display: none; 1.149 +}