From cb8b9460bc32310392db13c6e78ded25229133c8 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 31 May 2015 19:52:59 +0200 Subject: [PATCH] third and last part of syncing LCARStrek with Firefox 39 windows theme changes --- LCARStrek/browser/aboutNetError.css | 30 ++++++++++------------ LCARStrek/global/in-content/common.css | 1 + LCARStrek/global/in-content/info-pages.css | 22 +++++++++++++--- 3 files changed, 33 insertions(+), 20 deletions(-) diff --git a/LCARStrek/browser/aboutNetError.css b/LCARStrek/browser/aboutNetError.css index dc7aedc6..0ccc9c69 100644 --- a/LCARStrek/browser/aboutNetError.css +++ b/LCARStrek/browser/aboutNetError.css @@ -127,6 +127,15 @@ 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; } @@ -135,25 +144,12 @@ span#hostname { cursor: pointer; } -#reportingState { - padding-left: 150px; -} - #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; } diff --git a/LCARStrek/global/in-content/common.css b/LCARStrek/global/in-content/common.css index d1bb5265..4643c066 100644 --- a/LCARStrek/global/in-content/common.css +++ b/LCARStrek/global/in-content/common.css @@ -680,6 +680,7 @@ xul|tree { -moz-appearance: none; font-size: 1em; border: 1px solid #c1c1c1; + margin: 0; } xul|tree:-moz-focusring, diff --git a/LCARStrek/global/in-content/info-pages.css b/LCARStrek/global/in-content/info-pages.css index b75ddd4a..3ad5e539 100644 --- a/LCARStrek/global/in-content/info-pages.css +++ b/LCARStrek/global/in-content/info-pages.css @@ -2,6 +2,7 @@ /* Body and container */ body { display: flex; + flex-direction: column; box-sizing: padding-box; min-height: 100vh; padding-top: 0; @@ -17,6 +18,13 @@ body { max-width: 52em; } +.container.flex { + display: flex; + flex-direction: column; + flex-grow: 1; + margin: 10vh 0; +} + /* Typography */ .title { background-image: url("chrome://browser/skin/aboutNetError_info.svg"); @@ -82,8 +90,16 @@ ul { } /* Trees */ -tree { - min-height: 12em; +.tree-container { margin-top: 1.2em; + flex-grow: 1; + min-height: 12em; +} + +.tree-container > tree { + height: 100%; +} + +tree { width: 100%; -} \ No newline at end of file +} -- 2.43.0