X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2FaboutNetError.css;h=acb4e8a405581a46b694afa314b6ddd1b14b8851;hp=e4db78b3f48e4e41a27c288d97d5700773951b16;hb=d4dc8501cbf0073d6d4b9ccd1adf18823688d134;hpb=8c5bee4f41ec2cdc446d0b5c42385415c2b704f1 diff --git a/LCARStrek/browser/aboutNetError.css b/LCARStrek/browser/aboutNetError.css index e4db78b3..acb4e8a4 100644 --- a/LCARStrek/browser/aboutNetError.css +++ b/LCARStrek/browser/aboutNetError.css @@ -2,117 +2,121 @@ * 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; + background-image: linear-gradient(-45deg, #A09090, #A09090 33%, + #000000 33%, #000000 66%, + #A09090 66%, #A09090); +} + +body.certerror { + background-image: linear-gradient(-45deg, #FFCF00, #FFCF00 33%, + #000000 33%, #000000 66%, + #FFCF00 66%, #FFCF00); } -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"); +} + +#errorContainer { + display: none; +} + +/* 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; } -ul { - list-style: disc; +#prefChangeContainer { + display: none; } -#errorPageContainer { - min-width: 320px; - max-width: 512px; +#learnMoreContainer { + display: none; } -#errorTitleText { - background: url("aboutNetError_info.svg") left 0 no-repeat; - background-size: 1.2em; - -moz-margin-start: -2em; - -moz-padding-start: 2em; +#certErrorAndCaptivePortalButtonContainer { + display: none; } -#errorTitleText[sslv3] { - background-image: url("aboutNetError_alert.svg"); +body:not(.neterror) #certErrorAndCaptivePortalButtonContainer { + display: flex; } -#errorTitleText:-moz-dir(rtl) { - background-position: right 0; +body:not(.neterror) #netErrorAndCaptivePortalButtonContainer { + display: none; } #errorTryAgain { margin-top: 1.2em; - min-width: 150px + min-width: 150px; } -#errorContainer { - display: none; +#returnButton { + min-width: 250px; } -@media (max-width: 675px) { - #errorTitleText { - padding-top: 0; - background-image: none; - -moz-padding-start: 0; - -moz-margin-start: 0; - } +#advancedButton { + display: none; } -/* 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; +body.captiveportal #returnButton { + display: none; } -div#certificateErrorReporting { +body:not(.captiveportal) #openPortalLoginPageButton { display: none; - float:right; - /* Align with the "Try Again" button */ - margin-top:24px; - margin-right:24px; } -div#certificateErrorReporting a, -div#certificateErrorReportingPanel a { - background-color: #C09070; - color: #000000; - border-radius: 300px; +#openPortalLoginPageButton { + margin-inline-start: 0; } -div#certificateErrorReporting a { -/* text-decoration: none; */ +body:not(.neterror) #advancedButton { + display: block; } -div#certificateErrorReporting a:hover { -/* text-decoration: underline; */ - background-color: #FFCF00; +#certificateErrorReporting { + display: none; } -span.downArrow { - font-size: 0.9em; +.container { + position: relative; +} + +#advancedPanelContainer { + position: absolute; + padding: 24px 0; + width: 100%; } -div#certificateErrorReportingPanel { +.advanced-panel { /* Hidden until the link is clicked */ display: none; - background-color: #000000; - border: 1px #A09090 solid; + background-color: var(--in-content-box-background); + border: 1px var(--in-content-box-border-color) 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; +} + +#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 { @@ -121,27 +125,44 @@ span#hostname { #automaticallyReportInFuture { cursor: pointer; + display: inline-block; + padding-inline-start: 2.3em; + text-indent: -2.3em; + line-height: 16px } -#reportingState { - padding-left: 150px; +#errorCode:not([href]) { + color: var(--in-content-page-color); + cursor: text; + text-decoration: none; } -#reportSendingMessage { - position: relative; - display: none; +#errorCode[href] { + white-space: nowrap; } -#reportSentMessage { - position: relative; - display: none; +#badCertTechnicalInfo { + overflow: auto; + white-space: pre-wrap; } -button#reportCertificateError { - position: relative; +#certificateErrorReporting { + display: none; } -button#reportCertificateErrorRetry { - position: relative; +#certificateErrorDebugInformation { display: none; + background-color: var(--in-content-box-background) !important; + border-top: 1px solid var(--in-content-border-color); + position: absolute; + left: 0%; + top: 100%; + width: 65%; + padding: 1em 17.5%; +} + +#certificateErrorText { + font-family: monospace; + white-space: pre-wrap; + padding: 1em 0; }