second part of syncing LCARStrek with Firefox 55 browser windows theme changes
[themes.git] / LCARStrek / browser / aboutNetError.css
index 68d2a819dd466b5dc3c006018181af68abc326df..bbaa0a8050fb5dd2bf9155ca71384dc5b1d7dce4 100644 (file)
  * 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");
+@import url("chrome://browser/skin/error-pages.css");
 
-body {
-  display: flex;
-  box-sizing: padding-box;
-  min-height: 100vh;
-  padding: 0 48px;
-  align-items: center;
-  justify-content: center;
+:root {
+  --exception-button-container-background: #A09090;
 }
 
-ul, ol {
-  margin: 0;
-  padding: 0;
-  -moz-margin-start: 1em;
+body.captiveportal .title {
+  background-image: url("wifi.svg");
 }
 
-ul > li, ol > li {
-  margin-bottom: .5em;
+body.certerror .title {
+  background-image: url("cert-error.svg");
 }
 
-ul {
-  list-style: disc;
+#errorContainer {
+  display: none;
 }
 
-#errorPageContainer {
-  min-width: 320px;
-  max-width: 512px;
+/* 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;
 }
 
-#errorTitleText {
-  background: url("aboutNetError_info.svg") left 0 no-repeat;
-  background-size: 1.2em;
-  -moz-margin-start: -2em;
-  -moz-padding-start: 2em;
+#prefChangeContainer {
+  display: none;
 }
 
-#errorTitleText[sslv3] {
-  background-image: url("aboutNetError_alert.svg");
+#learnMoreContainer {
+  display: none;
 }
 
-#errorTitleText:-moz-dir(rtl) {
-  background-position: right 0;
+#certErrorAndCaptivePortalButtonContainer {
+  display: none;
 }
 
-#errorTryAgain {
-  margin-top: 1.2em;
-  min-width: 150px
+body:not(.neterror) #certErrorAndCaptivePortalButtonContainer {
+  display: flex;
 }
 
-#errorContainer {
+body:not(.neterror) #netErrorAndCaptivePortalButtonContainer {
   display: none;
 }
 
-@media (max-width: 675px) {
-  #errorTitleText {
-    padding-top: 0;
-    background-image: none;
-    -moz-padding-start: 0;
-    -moz-margin-start: 0;
-  }
+#errorTryAgain {
+  margin-top: 1.2em;
 }
 
-/* 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;
+#advancedButton {
+  display: none;
 }
 
-div#certificateErrorReporting {
+body.captiveportal #returnButton {
   display: none;
-  float:right;
-  /* Align with the "Try Again" button */
-  margin-top: 19px;
-  margin-right: 0;
 }
 
-div#certificateErrorReporting a,
-div#certificateErrorReportingPanel a {
-  background-color: #C09070;
-  color: #000000;
-  border-radius: 300px;
-  padding: 1px 6px;
+body:not(.captiveportal) #openPortalLoginPageButton {
+  display: none;
 }
 
-div#certificateErrorReporting a {
+#openPortalLoginPageButton {
+  margin-inline-start: 0;
 }
 
-div#certificateErrorReporting a:hover {
-  text-decoration: none;
-  background-color: #FFCF00;
+body:not(.neterror) #advancedButton {
+  display: block;
 }
 
-span.downArrow {
-  font-size: 0.9em;
+#certificateErrorReporting {
+  display: none;
 }
 
-div#certificateErrorReportingPanel {
+#advancedPanelContainer {
+  position: absolute;
+  width: 100%;
+  left: 0;
+}
+
+.advanced-panel {
   /* Hidden until the link is clicked */
   display: none;
-  background-color: #000000;
-  border: 1px #A09090 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 12px 12px;
-  position: relative;
-  width: 75%;
-  left: 34%;
-  font-size: 0.9em;
-  top: 8px;
+  background-color: var(--in-content-box-background);
+  border: 1px var(--in-content-box-border-color) solid;
+  margin: 48px auto;
+  min-width: var(--in-content-container-min-width);
+  max-width: var(--in-content-container-max-width);
+}
+
+#overrideWeakCryptoPanel {
+  display: none;
+  flex-direction: row;
+  flex-wrap: wrap;
+  justify-content: space-between;
+  align-content: space-between;
+  align-items: flex-start;
+  margin-top: 1em;
 }
 
 span#hostname {
@@ -123,25 +109,51 @@ span#hostname {
   cursor: pointer;
 }
 
-#reportingState {
-  padding-left: 150px;
+#errorCode:not([href]) {
+  color: var(--in-content-page-color);
+  cursor: text;
+  text-decoration: none;
 }
 
-#reportSendingMessage {
-  position: relative;
+#errorCode[href] {
+  white-space: nowrap;
+}
+
+#badCertTechnicalInfo {
+  margin: 3em;
+  overflow: auto;
+  white-space: pre-wrap;
+}
+
+#certificateErrorReporting {
   display: none;
 }
 
-#reportSentMessage {
-  position: relative;
+#certificateErrorDebugInformation {
   display: none;
+  background-color: var(--in-content-box-background) !important;
+  border-top: 1px solid var(--in-content-border-color);
+  position: absolute;
+  width: 100%;
+  padding: 1em 17.5%;
+  box-sizing: border-box;
+
 }
 
-button#reportCertificateError {
-  position: relative;
+#certificateErrorText {
+  font-family: monospace;
+  white-space: pre-wrap;
+  padding: 1em 0;
 }
 
-button#reportCertificateErrorRetry {
-  position: relative;
-  display: none;
+#cert_domain_link:not([href]) {
+  color: var(--in-content-page-color);
+  text-decoration: none;
+}
+
+.exceptionDialogButtonContainer {
+  background-color: var(--exception-button-container-background);
+  display: flex;
+  justify-content: end;
+  padding: 10px;
 }