X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2FaboutNetError.css;h=6f94c6587a4d330cfbd0a31c8519ede5b127c58a;hp=e4db78b3f48e4e41a27c288d97d5700773951b16;hb=13875a54c4ffb8d452d1dc3745fdbab3f906da8f;hpb=8c5bee4f41ec2cdc446d0b5c42385415c2b704f1 diff --git a/LCARStrek/browser/aboutNetError.css b/LCARStrek/browser/aboutNetError.css index e4db78b3..6f94c658 100644 --- a/LCARStrek/browser/aboutNetError.css +++ b/LCARStrek/browser/aboutNetError.css @@ -6,7 +6,7 @@ body { display: flex; - box-sizing: padding-box; + box-sizing: border-box; min-height: 100vh; padding: 0 48px; align-items: center; @@ -28,25 +28,32 @@ ul { } #errorPageContainer { + position: relative; min-width: 320px; 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 @@ -57,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; @@ -72,12 +81,53 @@ 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; + float: right; /* Align with the "Try Again" button */ - margin-top:24px; - margin-right:24px; + margin-top: 19px; + -moz-margin-end: 0; } div#certificateErrorReporting a, @@ -85,21 +135,26 @@ div#certificateErrorReportingPanel a { background-color: #C09070; color: #000000; border-radius: 300px; + padding: 1px 6px; } div#certificateErrorReporting a { -/* text-decoration: none; */ } div#certificateErrorReporting a:hover { -/* text-decoration: underline; */ + text-decoration: none; background-color: #FFCF00; } span.downArrow { - font-size: 0.9em; + display: inline-block; + vertical-align: middle; + font-size: 0.6em; + -moz-margin-start: 0.5em; + transform: scaleY(0.7); } +div#weakCryptoAdvancedPanel, div#certificateErrorReportingPanel { /* Hidden until the link is clicked */ display: none; @@ -108,11 +163,28 @@ div#certificateErrorReportingPanel { /* 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; + font-size: 0.9em; + position: absolute; width: 75%; + margin-top: 10px; +} + +div#certificateErrorReportingPanel:-moz-dir(ltr) { left: 34%; - font-size: 0.9em; - top: 8px; +} + +div#certificateErrorReportingPanel:-moz-dir(rtl) { + right: 0; +} + +#overrideWeakCryptoPanel, +#errorStatePanel { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-between; + align-content: space-between; + align-items: flex-start; } span#hostname { @@ -123,25 +195,18 @@ span#hostname { cursor: pointer; } -#reportingState { - padding-left: 150px; +#errorCode { + color: var(--in-content-page-color); + cursor: text; + text-decoration: none; } #reportSendingMessage { - position: relative; - display: none; + /* adjust the line-height to match the link */ + line-height: 22px; } #reportSentMessage { - position: relative; - display: none; -} - -button#reportCertificateError { - position: relative; -} - -button#reportCertificateErrorRetry { - position: relative; - display: none; + /* adjust the line-height to match the link */ + line-height: 22px; }