X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fcontrolcenter%2Fpanel.css;h=36debc6653eb3edc8841d013d11a1ff62fa57b61;hp=f070fe51775b81669a3c0b86ced3e9c849041579;hb=7327c957c10aeaccf57a457a9950ac380a326f29;hpb=c9b0a39698caad3beaf5228ce051ec83042d4de9 diff --git a/LCARStrek/browser/controlcenter/panel.css b/LCARStrek/browser/controlcenter/panel.css index f070fe51..36debc66 100644 --- a/LCARStrek/browser/controlcenter/panel.css +++ b/LCARStrek/browser/controlcenter/panel.css @@ -11,6 +11,7 @@ /* Show the right elements for the right connection states. */ #identity-popup[connection=not-secure] [when-connection~=not-secure], +#identity-popup[connection=secure-cert-user-overridden] [when-connection~=secure-cert-user-overridden], #identity-popup[connection=secure-ev] [when-connection~=secure-ev], #identity-popup[connection=secure] [when-connection~=secure], #identity-popup[connection=chrome] [when-connection~=chrome], @@ -82,15 +83,9 @@ #identity-popup-multiView > .panel-viewcontainer > .panel-viewstack > .panel-subviews { background: var(--panel-arrowcontent-background); - border-bottom-right-radius: 3.5px; padding: 0; } -#identity-popup-multiView > .panel-viewcontainer > .panel-viewstack > .panel-subviews:-moz-locale-dir(rtl) { - border-bottom-right-radius: 0; - border-bottom-left-radius: 3.5px; -} - .identity-popup-section:not(:first-child) { border-top: 1px solid var(--panel-separator-color); } @@ -99,14 +94,19 @@ #identity-popup-security-content, #identity-popup-permissions-content, #tracking-protection-content { - padding: 0.5em 0 1em; - -moz-padding-start: calc(2em + 24px); - -moz-padding-end: 1em; background-repeat: no-repeat; background-position: 1em 1em; background-size: 24px auto; } +#identity-popup-security-content, +#identity-popup-permissions-content, +#tracking-protection-content { + padding: 0.5em 0 1em; + -moz-padding-start: calc(2em + 24px); + -moz-padding-end: 1em; +} + #identity-popup-securityView:-moz-locale-dir(rtl), #identity-popup-security-content:-moz-locale-dir(rtl), #identity-popup-permissions-content:-moz-locale-dir(rtl), @@ -136,6 +136,7 @@ transition: background-color 250ms ease-in; background-color: #008484; background-image: url("chrome://browser/skin/controlcenter/arrow-subview-back.svg"); + color: #000000; } .identity-popup-expander > .button-box, @@ -173,9 +174,10 @@ } .identity-popup-headline { - margin: 2px 0 4px; + margin: 3px 0 4px; font-size: 150%; } + .identity-popup-warning-gray { -moz-padding-start: 24px; background: url(chrome://browser/skin/controlcenter/warning-gray.svg) no-repeat 0 50%; @@ -212,7 +214,6 @@ /* SECURITY SUBVIEW */ #identity-popup-securityView { - padding-bottom: 2em; overflow: hidden; } @@ -221,51 +222,103 @@ background-image: url(chrome://browser/skin/controlcenter/conn-not-secure.svg); } -#identity-popup-securityView.verifiedDomain, -#identity-popup-securityView.verifiedIdentity, -#identity-popup-security-content.verifiedDomain, -#identity-popup-security-content.verifiedIdentity { +#identity-popup[connection=chrome] #identity-popup-securityView, +#identity-popup[connection=chrome] #identity-popup-security-content { + background-image: url(chrome://branding/content/icon48.png); +} + +#identity-popup[connection^=secure] #identity-popup-securityView, +#identity-popup[connection^=secure] #identity-popup-security-content { background-image: url(chrome://browser/skin/controlcenter/conn-secure.svg); } -#identity-popup-securityView.mixedActiveContent, -#identity-popup-security-content.mixedActiveContent { +/* Use [isbroken] to make sure we don't show a lock on an http page. See Bug 1192162. */ +#identity-popup[ciphers=weak] #identity-popup-securityView, +#identity-popup[ciphers=weak] #identity-popup-security-content, +#identity-popup[mixedcontent~=passive-loaded][isbroken] #identity-popup-securityView, +#identity-popup[mixedcontent~=passive-loaded][isbroken] #identity-popup-security-content { + background-image: url(chrome://browser/skin/controlcenter/conn-degraded.svg); +} + +#identity-popup[connection=secure-cert-user-overridden] #identity-popup-securityView, +#identity-popup[connection=secure-cert-user-overridden] #identity-popup-security-content { + background-image: url(chrome://browser/skin/identity-mixed-passive-loaded.svg); +} + +#identity-popup[loginforms=insecure] #identity-popup-securityView, +#identity-popup[loginforms=insecure] #identity-popup-security-content, +#identity-popup[mixedcontent~=active-loaded][isbroken] #identity-popup-securityView, +#identity-popup[mixedcontent~=active-loaded][isbroken] #identity-popup-security-content { background-image: url(chrome://browser/skin/controlcenter/mcb-disabled.svg); } +#identity-popup-security-descriptions > description { + margin-top: 6px; + color: #A09090; +} + +#identity-popup-securityView-header, +#identity-popup-securityView-body { + -moz-margin-start: calc(2em + 24px); + -moz-margin-end: 1em; +} + #identity-popup-securityView-header { + margin-top: 0.5em; border-bottom: 1px solid var(--panel-separator-color); padding-bottom: 1em; - margin-bottom: 1em; } -#identity-popup-content-owner { - font-weight: 700; +#identity-popup-securityView-body { + -moz-padding-end: 1em; +} + +#identity-popup-securityView-footer { + margin-top: 1em; + background-color: #402000; +} + +#identity-popup-securityView-footer > button { } -#identity-popup-content-verifier { +#identity-popup-securityView-footer > button:hover, +#identity-popup-securityView-footer > button:focus { +} + +#identity-popup-securityView-footer > button:hover:active { +} + +#identity-popup-content-verifier ~ description { + margin-top: 1em; color: #A09090; } -#identity-popup-content-owner, -#identity-popup-securityView > #identity-popup-securityView-connection.identity-popup-text { +description#identity-popup-content-verified-by, +description#identity-popup-content-owner, +description#identity-popup-content-verifier, +#identity-popup-securityView-body > button { margin-top: 1em; } +#identity-popup-securityView-body > button { + margin-inline-start: 0; + margin-inline-end: 0; +} + /* TRACKING PROTECTION */ #tracking-protection-content { background-image: url("chrome://browser/skin/controlcenter/tracking-protection.svg"); } -#tracking-protection-content[state="loaded-tracking-content"], -#tracking-protection-content[block-disabled] { +#tracking-protection-content[state="loaded-tracking-content"] { background-image: url("chrome://browser/skin/controlcenter/tracking-protection-disabled.svg"); } #tracking-action-block, #tracking-action-unblock, -#tracking-action-unblock-private { +#tracking-action-unblock-private, +#identity-popup-securityView-body > button { margin: 1em 0 0; } @@ -277,15 +330,7 @@ #tracking-protection-content:not([state="blocked-tracking-content"]) #tracking-action-unblock-private, #tracking-protection-content:not([state="loaded-tracking-content"]) > #tracking-loaded, #tracking-protection-content:not([state="loaded-tracking-content"]) #tracking-action-block, -#tracking-protection-content:not([state]) > #tracking-actions, - -#tracking-protection-content[block-active] > #tracking-not-detected, -#tracking-protection-content[block-disabled] > #tracking-not-detected, -#tracking-protection-content:not([block-active]) > #tracking-blocked, -#tracking-protection-content:not([block-active]) #tracking-action-unblock, -#tracking-protection-content:not([block-disabled]) > #tracking-loaded, -#tracking-protection-content:not([block-disabled]) #tracking-action-block, -#tracking-protection-content:not([block-active]):not([block-disabled]) > #tracking-actions { +#tracking-protection-content:not([state]) > #tracking-actions { display: none; } @@ -295,31 +340,22 @@ background-image: url(chrome://browser/skin/controlcenter/permissions.svg); } -#identity-popup-permission-list { - margin-top: 5px; +#identity-popup-permission-list menulist { + min-width: 60px; } -.identity-popup-permission-label { - -moz-margin-start: 0; -} - -/* FOOTER BUTTONS */ - -#identity-popup-button-container { - background: #000000; - border-top: 1px solid #A09090; -} - -#identity-popup-more-info-button { +#identity-popup-permission-list:not(:empty) { margin-top: 5px; } -/* -#identity-popup-more-info-button:hover { + +#identity-popup-permission-list:not(:empty) + description { + display: none; } -#identity-popup-more-info-button:hover:active { +.identity-popup-permission-label { + -moz-margin-start: 0; + word-wrap: break-word; } -*/ /* === END panel.inc.css === */