X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2FaboutCertError.css;h=1abab09e6c8448d313a89e8d1bc93612001580d7;hp=8d52a84682e899582dc093eeb75b860480571a3d;hb=f7d5404cec3e2433f0e7c3f0bac16aae1cfb061c;hpb=319c652960805bfc825e4c20087f0235b3cab27b diff --git a/LCARStrek/browser/aboutCertError.css b/LCARStrek/browser/aboutCertError.css index 8d52a846..1abab09e 100644 --- a/LCARStrek/browser/aboutCertError.css +++ b/LCARStrek/browser/aboutCertError.css @@ -1,122 +1,98 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * the Mozilla Foundation. - * Portions created by the Initial Developer are Copyright (C) 2008 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * William Price - * Steven Garrity - * Henrik Skupin - * Johnathan Nightingale - * Ehsan Akhgari - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - - -html { - background: #000000; -} +/* This Source Code Form is subject to the terms of the Mozilla Public + * 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"); body { - margin: 0; - padding: 0 1em; - color: #FF9F00; - font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; + display: flex; + box-sizing: border-box; + min-height: 100vh; + padding: 0 48px; + align-items: center; + justify-content: center; } -h1 { - margin: 0 0 .6em; - border-bottom: 1px solid #008484; - font-size: 160%; - color: #FF0000; +#errorPageContainer { + position: relative; + min-width: 320px; + max-width: 512px; } -h2 { - font-size: 130%; - background-color: #9C9CFF; - color: #000000; - border-radius: 8px; - -moz-padding-start: 10px; +#errorTitle { + background: url("chrome://browser/skin/cert-error.svg") left 0 no-repeat; + background-size: 3em; + margin-inline-start: -5em; + padding-inline-start: 5em; } -#errorPageContainer { - position: relative; - min-width: 13em; - max-width: 52em; - margin: 4em auto; - border: 2px solid #FFCF00; - border-radius: 10px; - padding: 3em; - -moz-padding-start: 30px; - background: url("chrome://global/skin/icons/sslWarning.png") left 0 no-repeat #000000; - background-origin: content-box; +#errorTitle:-moz-dir(rtl) { + background-position: right 0; } -body[dir="rtl"] #errorPageContainer { - background-position: right 0; +#errorTitleText { + border-bottom: 1px solid #A09090; + padding-bottom: 0.4em; } -#errorTitle { - -moz-margin-start: 80px; +@media (max-width: 675px) { + #errorTitle { + padding-top: 0; + background-image: none; + margin-inline-start: 0; + padding-inline-start: 0; + } +} + +#buttonContainer { + display: flex; + flex-flow: row wrap; } -#errorLongContent { - -moz-margin-start: 80px; +#buttonSpacer { + flex: 1; } -#technicalContent > h2, #expertContent > h2 { - -moz-padding-start: 20px; +/* 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. Remove this in Bug 1219861. */ +button:disabled { cursor: pointer; - background-image: url("chrome://global/skin/tree/twisty-open-selected.gif"); - background-position: 5px center; - background-repeat: no-repeat; } -#technicalContent > h2:hover, -#technicalContent > h2:hover:active, -#expertContent > h2:hover, -#expertContent > h2:hover:active { - background-color: #FFCF00; +#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; } -#technicalContent[collapsed] > h2, -#expertContent[collapsed] > h2 { - background-image: url("chrome://global/skin/tree/twisty-closed-selected.gif"); +#advancedButton { + min-width: 150px; } -#technicalContent[collapsed] > p, -#expertContent[collapsed] > div { - display: none; +/* Advanced section is hidden via inline styles until the link is clicked */ +#advancedPanel { + background-color: #000000; + color: var(--in-content-text-color); + 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 10px; + margin-top: 10px; +/* box-shadow: 0 0 4px #ddd;*/ + font-size: 0.9em; } -#technicalContentText { - overflow: auto; - white-space: pre-wrap; +.hostname { + font-weight: bold; }