X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2FaboutNetError.css;h=eb06ff0b80e8208b9633c6a297e3bef9b8381ab2;hp=c1c37d6af87e4c1acdbb9840d0be96fba4adbe5d;hb=b336389b03be6c31afa4a33a56b2650dfd950dcb;hpb=e548e22ef811784415dcfea18c65f2acefa6ca28 diff --git a/LCARStrek/browser/aboutNetError.css b/LCARStrek/browser/aboutNetError.css index c1c37d6a..eb06ff0b 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,18 +28,24 @@ 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] { +#errorTitleText { + border-bottom: 1px solid #A09090; + padding-bottom: 0.4em; +} + +#errorTitle[sslv3] { background-image: url("aboutNetError_alert.svg"); } @@ -57,7 +63,7 @@ ul { } @media (max-width: 675px) { - #errorTitleText { + #errorTitle { padding-top: 0; background-image: none; -moz-padding-start: 0; @@ -71,3 +77,84 @@ ul { button:disabled { cursor: pointer; } + +div#certificateErrorReporting { + display: none; + float: right; + /* Align with the "Try Again" button */ + margin-top: 19px; + -moz-margin-end: 0; +} + +div#certificateErrorReporting a, +div#certificateErrorReportingPanel a { + background-color: #C09070; + color: #000000; + border-radius: 300px; + padding: 1px 6px; +} + +div#certificateErrorReporting a { +} + +div#certificateErrorReporting a:hover { + text-decoration: none; + background-color: #FFCF00; +} + +span.downArrow { + display: inline-block; + vertical-align: middle; + font-size: 0.6em; + -moz-margin-start: 0.5em; + transform: scaleY(0.7); +} + +div#certificateErrorReportingPanel { + /* 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; + font-size: 0.9em; + position: absolute; + width: 75%; + margin-top: 10px; +} + +div#certificateErrorReportingPanel:-moz-dir(ltr) { + left: 34%; +} + +div#certificateErrorReportingPanel:-moz-dir(rtl) { + right: 0; +} + +#errorStatePanel { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-between; + align-content: space-between; + align-items: flex-start; +} + +span#hostname { + font-weight: bold; +} + +#automaticallyReportInFuture { + cursor: pointer; +} + +#reportSendingMessage { + /* adjust the line-height to match the link */ + line-height: 22px; +} + +#reportSentMessage { + /* adjust the line-height to match the link */ + line-height: 22px; +}