aboutsummaryrefslogtreecommitdiff
path: root/arc-firefox-theme/chrome/browser/aboutCertError.css
diff options
context:
space:
mode:
authorHorst31802016-01-26 17:12:18 +0100
committerHorst31802016-01-26 17:12:18 +0100
commitf0c632a7b1bf1f46612280fdbd9201993f1c89c3 (patch)
treeb9ded11a19679f3d51d1981156e3ff89f6e5a780 /arc-firefox-theme/chrome/browser/aboutCertError.css
parent27ad834a8ec49d367db75e890a552d31c56260bf (diff)
parent95aff996e5d12f1af298d465ef3cd043207fa960 (diff)
downloadsolarc-firefox-theme-f0c632a7b1bf1f46612280fdbd9201993f1c89c3.tar.gz
solarc-firefox-theme-f0c632a7b1bf1f46612280fdbd9201993f1c89c3.tar.xz
solarc-firefox-theme-f0c632a7b1bf1f46612280fdbd9201993f1c89c3.zip
Merge branch 'firefox-44-beta'
Diffstat (limited to 'arc-firefox-theme/chrome/browser/aboutCertError.css')
-rw-r--r--arc-firefox-theme/chrome/browser/aboutCertError.css112
1 files changed, 69 insertions, 43 deletions
diff --git a/arc-firefox-theme/chrome/browser/aboutCertError.css b/arc-firefox-theme/chrome/browser/aboutCertError.css
index c7caf53..e406eec 100644
--- a/arc-firefox-theme/chrome/browser/aboutCertError.css
+++ b/arc-firefox-theme/chrome/browser/aboutCertError.css
@@ -2,71 +2,97 @@
* 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");
-html {
- background: -moz-Dialog;
+body {
+ display: flex;
+ box-sizing: border-box;
+ min-height: 100vh;
+ padding: 0 48px;
+ align-items: center;
+ justify-content: center;
}
-body {
- margin: 0;
- padding: 0 1em;
- color: -moz-FieldText;
- font: message-box;
+#errorPageContainer {
+ position: relative;
+ min-width: 320px;
+ max-width: 512px;
}
-h1 {
- margin: 0 0 .6em 0;
- border-bottom: 1px solid ThreeDLightShadow;
- font-size: 160%;
+#errorTitle {
+ background: url("chrome://browser/skin/cert-error.svg") left 0 no-repeat;
+ background-size: 3em;
+ margin-inline-start: -5em;
+ padding-inline-start: 5em;
}
-h2 {
- font-size: 130%;
+#errorTitle:-moz-dir(rtl) {
+ background-position: right 0;
}
-#errorPageContainer {
- position: relative;
- min-width: 13em;
- max-width: 52em;
- margin: 4em auto;
- border: 1px solid #FFBD09; /* pale yellow extracted from yellow passport icon */
- border-radius: 10px;
- padding: 3em;
- -moz-padding-start: 30px;
- background: url("chrome://global/skin/icons/sslWarning.png") left 0 no-repeat -moz-Field;
- background-origin: content-box;
+#errorTitleText {
+ border-bottom: 1px solid #C1C1C1;
+ padding-bottom: 0.4em;
}
-#errorPageContainer:-moz-dir(rtl) {
- background-position: right 0;
+@media (max-width: 675px) {
+ #errorTitle {
+ padding-top: 0;
+ background-image: none;
+ margin-inline-start: 0;
+ padding-inline-start: 0;
+ }
}
-#errorTitle {
- -moz-margin-start: 80px;
+#buttonContainer {
+ display: flex;
+ flex-flow: row wrap;
}
-#errorLongContent {
- -moz-margin-start: 80px;
+#buttonSpacer {
+ flex: 1;
}
-.expander > button {
- -moz-padding-start: 20px;
- -moz-margin-start: -20px;
- background: url("chrome://browser/skin/aboutCertError_sectionExpanded.png") left center no-repeat;
- border: none;
- font: inherit;
- color: inherit;
+/* 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. Remove this in Bug 1219861. */
+button:disabled {
cursor: pointer;
}
-.expander > button:-moz-dir(rtl) {
- background-position: right center;
+#returnButton {
+ background-color: var(--in-content-primary-button-background);
+ border: none;
+ color: var(--in-content-selected-text);
+ min-width: 250px;
+ margin-inline-start: 0;
+}
+
+#returnButton:hover {
+ background-color: var(--in-content-primary-button-background-hover) !important;
+}
+
+#returnButton:hover:active {
+ background-color: var(--in-content-primary-button-background-active) !important;
+}
+
+#advancedButton {
+ min-width: 150px;
}
-.expander[collapsed] > button {
- background-image: url("chrome://browser/skin/aboutCertError_sectionCollapsed.png");
+/* Advanced section is hidden via inline styles until the link is clicked */
+#advancedPanel {
+ background-color: white;
+ color: var(--in-content-text-color);
+ border: 1px lightgray solid;
+ /* Don't use top padding because the default p style has top padding, and it
+ * makes the overall div look uneven */
+ padding: 0 12px 10px;
+ margin-top: 10px;
+ box-shadow: 0 0 4px #ddd;
+ font-size: 0.9em;
}
-.expander[collapsed] > button:-moz-dir(rtl) {
- background-image: url("chrome://browser/skin/aboutCertError_sectionCollapsed-rtl.png");
+.hostname {
+ font-weight: bold;
}