gecko/browser/themes/shared/aboutNetError.css
Gijs Kruitbosch 6614c6f64e Bug 1035536 - move CSS to themes directory, r=dao
--HG--
rename : browser/base/content/aboutneterror/netError.xhtml => browser/base/content/aboutNetError.xhtml
rename : browser/base/content/aboutneterror/info.svg => browser/themes/shared/aboutNetError_info.svg
extra : rebase_source : c78b55b877ded23ad05aa942ab7983516a688cd8
2014-09-05 15:14:27 +02:00

70 lines
1.3 KiB
CSS

/* 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/. */
@import url("chrome://global/skin/in-content/common.css");
body {
display: flex;
box-sizing: padding-box;
min-height: 100vh;
padding: 0 48px;
align-items: center;
justify-content: center;
}
ul, ol {
margin: 0;
padding: 0;
-moz-margin-start: 1em;
}
ul > li, ol > li {
margin-bottom: .5em;
}
ul {
list-style: disc;
}
#errorPageContainer {
min-width: 320px;
max-width: 512px;
}
#errorTitleText {
background: url("aboutNetError_info.svg") left 0 no-repeat;
background-size: 1.2em;
-moz-margin-start: -2em;
-moz-padding-start: 2em;
}
#errorTitleText:-moz-dir(rtl) {
background-position: right 0;
}
#errorTryAgain {
margin-top: 1.2em;
min-width: 150px
}
#errorContainer {
display: none;
}
@media (max-width: 675px) {
#errorTitleText {
padding-top: 0;
background-image: none;
-moz-padding-start: 0;
-moz-margin-start: 0;
}
}
/* Pressing the retry button will cause the cursor to flicker from a pointer to
* not-allowed. Override the disabled cursor behaviour since we will never show
* the button disabled as the initial state. */
button:disabled {
cursor: pointer;
}