1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/themes/linux/global/netError.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,145 @@ 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: Michael Ventnor <m.ventnor@gmail.com> 1.14 + */ 1.15 + 1.16 +html { 1.17 + background: -moz-Dialog; 1.18 +} 1.19 + 1.20 +body { 1.21 + margin: 0; 1.22 + padding: 0 1em; 1.23 + color: -moz-FieldText; 1.24 + font: message-box; 1.25 +} 1.26 + 1.27 +h1 { 1.28 + margin: 0 0 .6em 0; 1.29 + border-bottom: 1px solid ThreeDLightShadow; 1.30 + font-size: 160%; 1.31 +} 1.32 + 1.33 +ul, ol { 1.34 + margin: 0; 1.35 + -moz-margin-start: 1.5em; 1.36 + padding: 0; 1.37 +} 1.38 + 1.39 +ul > li, ol > li { 1.40 + margin-bottom: .5em; 1.41 +} 1.42 + 1.43 +ul { 1.44 + list-style: square; 1.45 +} 1.46 + 1.47 +#errorPageContainer { 1.48 + position: relative; 1.49 + min-width: 13em; 1.50 + max-width: 52em; 1.51 + margin: 4em auto; 1.52 + border: 1px solid ThreeDShadow; 1.53 + border-radius: 10px; 1.54 + padding: 3em; 1.55 + -moz-padding-start: 30px; 1.56 + background: url("moz-icon://stock/gtk-dialog-warning?size=dialog") left 0 no-repeat -moz-Field; 1.57 + background-origin: content-box; 1.58 +} 1.59 + 1.60 +#errorPageContainer.certerror { 1.61 + background-image: url("chrome://global/skin/icons/sslWarning.png"); 1.62 +} 1.63 + 1.64 +#errorPageContainer:-moz-dir(rtl) { 1.65 + background-position: right 0; 1.66 +} 1.67 + 1.68 +#errorTitle { 1.69 + -moz-margin-start: 80px; 1.70 +} 1.71 + 1.72 +#errorLongContent { 1.73 + -moz-margin-start: 80px; 1.74 +} 1.75 + 1.76 +#errorShortDesc > p { 1.77 + overflow: auto; 1.78 + border-bottom: 1px solid ThreeDLightShadow; 1.79 + padding-bottom: 1em; 1.80 + font-size: 130%; 1.81 + white-space: pre-wrap; 1.82 +} 1.83 + 1.84 +#errorLongDesc { 1.85 + -moz-padding-end: 3em; 1.86 + font-size: 110%; 1.87 +} 1.88 + 1.89 +#errorLongDesc > p { 1.90 +} 1.91 + 1.92 +#errorTryAgain { 1.93 + margin-top: 2em; 1.94 + -moz-margin-start: 80px; 1.95 +} 1.96 + 1.97 +#brand { 1.98 + position: absolute; 1.99 + right: 0; 1.100 + bottom: -1.5em; 1.101 + -moz-margin-end: 10px; 1.102 + opacity: .4; 1.103 +} 1.104 + 1.105 +#brand:-moz-dir(rtl) { 1.106 + right: auto; 1.107 + left: 0; 1.108 +} 1.109 + 1.110 +#brand > p { 1.111 + margin: 0; 1.112 +} 1.113 + 1.114 +#errorContainer { 1.115 + display: none; 1.116 +} 1.117 + 1.118 +#securityOverrideDiv { 1.119 + padding-top: 10px; 1.120 +} 1.121 + 1.122 +#securityOverrideContent { 1.123 + background-color: InfoBackground; 1.124 + color: InfoText; 1.125 + padding: 10px; 1.126 + border-radius: 10px; 1.127 +} 1.128 + 1.129 +/* Custom styling for 'blacklist' error class */ 1.130 +:root.blacklist #errorTitle, :root.blacklist #errorLongContent, 1.131 +:root.blacklist #errorShortDesc, :root.blacklist #errorLongDesc, 1.132 +:root.blacklist a { 1.133 + background-color: #722; /* Dark red */ 1.134 + color: white; 1.135 +} 1.136 + 1.137 +:root.blacklist #errorPageContainer { 1.138 + background-image: url("chrome://global/skin/icons/blacklist_large.png"); 1.139 + background-color: #722; 1.140 +} 1.141 + 1.142 +:root.blacklist { 1.143 + background: #333; 1.144 +} 1.145 + 1.146 +:root.blacklist #errorTryAgain { 1.147 + display: none; 1.148 +}