make devtools, Sync prefs, and neterror pages work right up to current nightly
[themes.git] / LCARStrek / browser / aboutNetError.css
index 0ccc9c69dd25b6f08ea4557647fc8908e3558fc9..6f94c6587a4d330cfbd0a31c8519ede5b127c58a 100644 (file)
@@ -6,7 +6,7 @@
 
 body {
   display: flex;
-  box-sizing: padding-box;
+  box-sizing: border-box;
   min-height: 100vh;
   padding: 0 48px;
   align-items: center;
@@ -33,21 +33,27 @@ ul {
   max-width: 512px;
 }
 
-#errorTitleText {
+#errorTitle {
   background: url("aboutNetError_info.svg") left 0 no-repeat;
-  background-size: 1.2em;
-  -moz-margin-start: -2em;
-  -moz-padding-start: 2em;
+  background-size: 3em;
+  -moz-margin-start: -5em;
+  -moz-padding-start: 5em;
 }
 
-#errorTitleText[sslv3] {
-  background-image: url("aboutNetError_alert.svg");
+#errorTitleText {
+  border-bottom: 1px solid #A09090;
+  padding-bottom: 0.4em;
 }
 
 #errorTitleText:-moz-dir(rtl) {
   background-position: right 0;
 }
 
+#errorTitle[sslv3=true],
+#errorTitle[weakCrypto=true] {
+  background-image: url("cert-error.svg");
+}
+
 #errorTryAgain {
   margin-top: 1.2em;
   min-width: 150px
@@ -58,7 +64,9 @@ ul {
 }
 
 @media (max-width: 675px) {
-  #errorTitleText {
+  #errorTitle,
+  #errorTitle[sslv3=true],
+  #errorTitle[weakCrypto=true] {
     padding-top: 0;
     background-image: none;
     -moz-padding-start: 0;
@@ -73,6 +81,47 @@ button:disabled {
   cursor: pointer;
 }
 
+#learnMoreContainer {
+  display: none;
+}
+
+#buttonContainer {
+  display: none;
+  flex-flow: row wrap;
+}
+
+#buttonSpacer {
+  flex: 1;
+}
+
+#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 {
+  display: none;
+  min-width: 150px;
+}
+
+#certificateErrorReporting,
+#reportCertificateError,
+#reportSentMessage {
+  display: none;
+}
+
+div#weakCryptoAdvanced,
 div#certificateErrorReporting {
   display: none;
   float: right;
@@ -105,6 +154,7 @@ span.downArrow {
   transform: scaleY(0.7);
 }
 
+div#weakCryptoAdvancedPanel,
 div#certificateErrorReportingPanel {
   /* Hidden until the link is clicked */
   display: none;
@@ -127,6 +177,7 @@ div#certificateErrorReportingPanel:-moz-dir(rtl) {
   right: 0;
 }
 
+#overrideWeakCryptoPanel,
 #errorStatePanel {
   display: flex;
   flex-direction: row;
@@ -144,6 +195,12 @@ span#hostname {
   cursor: pointer;
 }
 
+#errorCode {
+  color: var(--in-content-page-color);
+  cursor: text;
+  text-decoration: none;
+}
+
 #reportSendingMessage {
   /* adjust the line-height to match the link */
   line-height: 22px;