1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/b2g/chrome/content/netError.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,131 @@ 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 for mobile by: Wes Johnston <wjohnston@mozilla.com> 1.14 + */ 1.15 + 1.16 +body { 1.17 + margin: 0; 1.18 + padding: 0 8px 8px; 1.19 + font-family: "Nokia Sans", Tahoma, sans-serif !important; 1.20 +} 1.21 + 1.22 +h1 { 1.23 + font-size: 22px; 1.24 +} 1.25 + 1.26 +h2 { 1.27 + font-size: 16px; 1.28 +} 1.29 + 1.30 +ul { 1.31 + margin: 0px; 1.32 + padding: 0px 0px 0px 1em; 1.33 +} 1.34 + 1.35 +li { 1.36 + margin: 0px; 1.37 + padding: 8px 0px; 1.38 +} 1.39 + 1.40 +#errorPage { 1.41 + background-color: #CEE6F4; 1.42 +} 1.43 + 1.44 +#errorPage.certerror { 1.45 + background-color: #EFD400; 1.46 +} 1.47 + 1.48 +#errorPage.blockedsite { 1.49 + background-color: #BF0000; 1.50 +} 1.51 + 1.52 +#errorTitle { 1.53 + background: url("chrome://b2g/content/images/errorpage-warning.png") left center no-repeat; 1.54 + /* Scaled by .666 of their actual size */ 1.55 + background-size: 40px 40px; 1.56 + background-origin: content-box; 1.57 + min-height: 60px; 1.58 + margin-left: auto; 1.59 + margin-right: auto; 1.60 + max-width: 500px; 1.61 + margin-left: auto; 1.62 + margin-right: auto; 1.63 +} 1.64 + 1.65 +#errorPage.certerror #errorTitle { 1.66 + background-image: url("chrome://b2g/content/images/errorpage-larry-black.png"); 1.67 +} 1.68 + 1.69 +#errorPage.blockedsite #errorTitle { 1.70 + background-image: url("chrome://b2g/content/images/errorpage-larry-white.png"); 1.71 + color: white; 1.72 +} 1.73 + 1.74 +.errorTitleText { 1.75 + padding: 0px 0px 0px 50px; 1.76 + display: inline-block; 1.77 + vertical-align: middle 1.78 +} 1.79 + 1.80 +#errorPageContainer { 1.81 + background-color: white; 1.82 + border: 1px solid #999999; 1.83 + border-radius: 6px; 1.84 + padding: 6px 20px 20px; 1.85 + font-size: 14px; 1.86 + max-width: 500px; 1.87 + margin-left: auto; 1.88 + margin-right: auto; 1.89 +} 1.90 + 1.91 +#errorShortDesc > p:empty { 1.92 + display: none; 1.93 +} 1.94 + 1.95 +#errorShortDesc > p { 1.96 + overflow: auto; 1.97 + border-bottom: 1px solid #999999; 1.98 + padding-bottom: 1em; 1.99 +} 1.100 + 1.101 +#errorPage.blockedsite #errorShortDesc > p { 1.102 + font-weight: bold; 1.103 + border-bottom: none; 1.104 + padding-bottom: 0px; 1.105 +} 1.106 + 1.107 +#securityOverrideDiv { 1.108 + padding-top: 10px; 1.109 +} 1.110 + 1.111 +div[collapsed] { 1.112 + padding-left: 15px; 1.113 + background-image: url("chrome://b2g/content/images/arrowright-16.png"); 1.114 + background-size: 11px 11px; 1.115 + background-repeat: no-repeat; 1.116 + background-position: left 0.3em; 1.117 +} 1.118 + 1.119 +div[collapsed="true"] { 1.120 + background-image: url("chrome://b2g/content/images/arrowright-16.png"); 1.121 +} 1.122 + 1.123 +div[collapsed="false"] { 1.124 + background-image: url("chrome://b2g/content/images/arrowdown-16.png"); 1.125 +} 1.126 + 1.127 +div[collapsed="true"] > p, 1.128 +div[collapsed="true"] > div { 1.129 + display: none; 1.130 +} 1.131 + 1.132 +button { 1.133 + padding: 0.3em !important; 1.134 +}