X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2FaboutNetError.css;h=bbaa0a8050fb5dd2bf9155ca71384dc5b1d7dce4;hp=c1c37d6af87e4c1acdbb9840d0be96fba4adbe5d;hb=1b1f3d099d79ff3f7e081b2702a1076c6cd627c4;hpb=e548e22ef811784415dcfea18c65f2acefa6ca28 diff --git a/LCARStrek/browser/aboutNetError.css b/LCARStrek/browser/aboutNetError.css index c1c37d6a..bbaa0a80 100644 --- a/LCARStrek/browser/aboutNetError.css +++ b/LCARStrek/browser/aboutNetError.css @@ -2,72 +2,158 @@ * 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; +} + +body.captiveportal .title { + background-image: url("wifi.svg"); +} + +body.certerror .title { + background-image: url("cert-error.svg"); } -ul, ol { - margin: 0; - padding: 0; - -moz-margin-start: 1em; +#errorContainer { + display: none; } -ul > li, ol > li { - margin-bottom: .5em; +/* 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 } -#errorContainer { +#advancedButton { display: none; } -@media (max-width: 675px) { - #errorTitleText { - padding-top: 0; - background-image: none; - -moz-padding-start: 0; - -moz-margin-start: 0; - } +body.captiveportal #returnButton { + 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 { +body:not(.captiveportal) #openPortalLoginPageButton { + display: none; +} + +#openPortalLoginPageButton { + margin-inline-start: 0; +} + +body:not(.neterror) #advancedButton { + display: block; +} + +#certificateErrorReporting { + display: none; +} + +#advancedPanelContainer { + position: absolute; + width: 100%; + left: 0; +} + +.advanced-panel { + /* Hidden until the link is clicked */ + display: none; + 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 { + font-weight: bold; +} + +#automaticallyReportInFuture { cursor: pointer; } + +#errorCode:not([href]) { + color: var(--in-content-page-color); + cursor: text; + text-decoration: none; +} + +#errorCode[href] { + white-space: nowrap; +} + +#badCertTechnicalInfo { + margin: 3em; + overflow: auto; + white-space: pre-wrap; +} + +#certificateErrorReporting { + display: none; +} + +#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; + +} + +#certificateErrorText { + font-family: monospace; + white-space: pre-wrap; + padding: 1em 0; +} + +#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; +}