diff -r 000000000000 -r 6474c204b198 mobile/android/themes/core/netError.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mobile/android/themes/core/netError.css Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,190 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +html, +body { + margin: 0; + padding: 0; + height: 100%; +} + +body { + /* Add a set of stripes at the top of pages */ + background-image: linear-gradient(-45deg, #dfe8ee, #dfe8ee 33%, + #ecf0f3 33%, #ecf0f3 66%, + #dfe8ee 66%, #dfe8ee); + background-size: 64px 32px; + background-repeat: repeat-x; + + background-color: #f1f1f1; + padding: 0 20px; + + font-weight: 300; + font-size: 13px; + -moz-text-size-adjust: none; + font-family: sans-serif; +} + + +ul { + /* Shove the list indicator so that its left aligned, but use outside so that text + * doesn't don't wrap the text around it */ + padding: 1em; + margin: 0; + list-style: round outside none; +} + +li:not(:last-of-type), +#errorLongDesc, +#errorLongContent { + padding-bottom: 10px; +} + +/* Push the #ignoreWarningButton to the bottom on the blocked site page */ +.blockedsite > #errorPageContainer > #errorLongContent { + flex: 1; +} + +h1 { + padding: 1rem 0; + font-weight: 300; + border-bottom: 1px solid #e0e2e5; +} + +h2 { + font-size: small; + padding: 0; + margin: 0; +} + +p { + margin-top: 0; +} + +button { + width: 100%; + border: none; + padding: 1rem; + font-family: sans-serif; + background-color: #e0e2e5; + font-size: 1rem; /* Not sure why this has to be specified. See bug 892843. */ + font-weight: 300; + border-radius: 2px; + background-image: none; +} + +button + button { + margin-top: 1em; +} + +.certerror { + background-image: linear-gradient(-45deg, #f0d000, #f0d000 33%, + #fedc00 33%, #fedc00 66%, + #f0d000 66%, #f0d000); +} + +.blockedsite { + background-image: linear-gradient(-45deg, #9b2e2e, #9b2e2e 33%, + #a83232 33%, #a83232 66%, + #9b2e2e 66%, #9b2e2e); + background-color: #b14646; + color: white; +} + +#errorPageContainer { + /* If the page is greater than 550px center the content. + * This number should be kept in sync with the media query for tablets below */ + max-width: 550px; + margin-left: auto; + margin-right: auto; + padding-top: 1rem; + + min-height: calc(100% - 1rem); + display: flex; + flex-direction: column; +} + +/* Expanders have a structure of + *
Content
+ *