X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fcontrolcenter%2Fpanel.css;h=1c084af653cac7e6615471fb69a1c2a2f155022d;hp=159f203f306a8e372ff47785a05975d0d85431c4;hb=HEAD;hpb=dae4507500ac2bc6547a8303851bc9b0bcae5ddf diff --git a/LCARStrek/browser/controlcenter/panel.css b/LCARStrek/browser/controlcenter/panel.css index 159f203f..1c084af6 100644 --- a/LCARStrek/browser/controlcenter/panel.css +++ b/LCARStrek/browser/controlcenter/panel.css @@ -16,6 +16,7 @@ #identity-popup[connection=secure] [when-connection~=secure], #identity-popup[connection=chrome] [when-connection~=chrome], #identity-popup[connection=file] [when-connection~=file], +#identity-popup[connection=extension] [when-connection~=extension], /* Show insecure login forms messages when needed. */ #identity-popup[loginforms=insecure] [when-loginforms=insecure], /* Show weak cipher messages when needed. */ @@ -82,7 +83,7 @@ } #identity-popup-multiView > .panel-viewcontainer > .panel-viewstack > .panel-subviews { - background: var(--panel-arrowcontent-background); + background: var(--arrowpanel-background); padding: 0; } @@ -103,7 +104,7 @@ #identity-popup-permissions-content, #tracking-protection-content { padding: 0.5em 0 1em; - /* .identity-popup-headline.host depends on this width */ + /* .identity-popup-host depends on this width */ padding-inline-start: calc(2em + 24px); padding-inline-end: 1em; } @@ -121,11 +122,8 @@ margin: 0; min-width: auto; width: var(--identity-popup-expander-width); - background-image: url("chrome://browser/skin/controlcenter/arrow-subview.svg#arrow"); - background-size: 16px, auto; - background-position: center; - background-repeat: no-repeat; - background-color: transparent; + background: url("chrome://browser/skin/controlcenter/arrow-subview.svg") center no-repeat; + background-size: 16px; border-radius: 0 5px 5px 0; } @@ -152,34 +150,45 @@ .identity-popup-expander:hover { background-image: url("chrome://browser/skin/controlcenter/arrow-subview.svg#arrow-active"); - background-color: #FFCF00; + background-color: var(--arrowpanel-hover); +} + +.identity-popup-expander:hover > .button-box > .button-icon { + filter: url(chrome://global/skin/filters.svg#fill); + fill: #000000; } .identity-popup-expander:hover:active { background-image: url("chrome://browser/skin/controlcenter/arrow-subview.svg#arrow-active"); - background-color: #FF9F00; + background-color: var(--arrowpanel-active); } /* CONTENT */ +.identity-popup-permission-label, +.identity-popup-permission-state-label, #identity-popup-security-content > description, #identity-popup-security-descriptions > description, #identity-popup-securityView-header > description, #identity-popup-securityView-body > description, #identity-popup-permissions-content > description, -#tracking-protection-content > label, +#tracking-protection-content > description, .identity-popup-text { - white-space: pre-wrap; font-size: 110%; margin: 0; } +/* This element needs the pre-wrap because we add newlines to it in the code. */ +#identity-popup-content-supplemental { + white-space: pre-wrap; +} + .identity-popup-headline { margin: 3px 0 4px; font-size: 150%; } -.identity-popup-headline.host { +.identity-popup-host { word-wrap: break-word; /* 1em + 2em + 24px is #identity-popup-security-content padding * 30em is .panel-mainview:not([panelid="PanelUI-popup"]) width */ @@ -237,7 +246,7 @@ #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); + background-image: url(chrome://browser/skin/controlcenter/connection.svg#connection-secure); } /* Use [isbroken] to make sure we don't show a lock on an http page. See Bug 1192162. */ @@ -245,12 +254,14 @@ #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); + background-image: url(chrome://browser/skin/controlcenter/connection.svg#connection-degraded); } #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); + background-image: url(chrome://browser/skin/connection-mixed-passive-loaded.svg); + -moz-context-properties: fill; + fill: #A09090; } #identity-popup[loginforms=insecure] #identity-popup-securityView, @@ -260,6 +271,13 @@ background-image: url(chrome://browser/skin/controlcenter/mcb-disabled.svg); } +#identity-popup[connection=extension] #identity-popup-securityView, +#identity-popup[connection=extension] #identity-popup-security-content { + background-image: url(chrome://browser/skin/controlcenter/extension.svg); + -moz-context-properties: fill; + fill: #008484; +} + #identity-popup-security-descriptions > description { margin-top: 6px; color: #A09090; @@ -283,7 +301,7 @@ #identity-popup-securityView-footer { margin-top: 1em; - background-color: #402000; + background-color: var(--arrowpanel-dimmed); } #identity-popup-securityView-footer > button { @@ -316,11 +334,11 @@ description#identity-popup-content-verifier, /* TRACKING PROTECTION */ #tracking-protection-content { - background-image: url("chrome://browser/skin/controlcenter/tracking-protection.svg"); + background-image: url("chrome://browser/skin/controlcenter/tracking-protection.svg#enabled"); } #tracking-protection-content[state="loaded-tracking-content"] { - background-image: url("chrome://browser/skin/controlcenter/tracking-protection-disabled.svg"); + background-image: url("chrome://browser/skin/controlcenter/tracking-protection.svg#disabled"); } #tracking-action-block, @@ -346,23 +364,101 @@ description#identity-popup-content-verifier, #identity-popup-permissions-content { background-image: url(chrome://browser/skin/controlcenter/permissions.svg); + padding-bottom: 1.5em; } -#identity-popup-permission-list menulist { - min-width: 60px; +#identity-popup-permissions-headline { + /* Make sure the label is as tall as the icon so that the permission list + which is aligned with the icon doesn't cover it up. */ + min-height: 24px; +} + +#identity-popup-permission-list { + /* Offset the padding set on #identity-popup-permissions-content so that it + shows up just below the section. The permission icons are 16px wide and + should be right aligned with the section icon. */ + margin-inline-start: calc(-1em - 16px); +} + +.identity-popup-permission-item { + min-height: 24px; } #identity-popup-permission-list:not(:empty) { margin-top: 5px; } -#identity-popup-permission-list:not(:empty) + description { - display: none; +.identity-popup-permission-icon { + width: 16px; + height: 16px; +} + +.identity-popup-permission-icon.in-use { + -moz-context-properties: fill; + fill: #FF0000; + animation: 1.5s ease in-use-blink infinite; +} + +@keyframes in-use-blink { + 50% { opacity: 0; } +} + +.identity-popup-permission-label, +.identity-popup-permission-state-label { + /* We need to align the action buttons and permission icons with the text. + This is tricky because the icon height is defined in pixels, while the + font height can vary with platform and system settings, and at least on + Windows the default font metrics reserve more extra space for accents. + This value is a good compromise for different platforms and font sizes. */ + margin-top: -0.1em; } .identity-popup-permission-label { - margin-inline-start: 0; - word-wrap: break-word; + margin-inline-start: 1em; +} + +.identity-popup-permission-state-label { + margin-inline-end: 5px; + text-align: end; + color: #A09090; +} + +.identity-popup-permission-remove-button { + margin: 0; + border-width: 0; + border-radius: 50%; + min-width: 0; + padding: 2px; + background-color: transparent; +} + +.identity-popup-permission-remove-button > .button-box { + padding: 0; +} + +.identity-popup-permission-remove-button > .button-box > .button-icon { + margin: 0; + width: 16px; + height: 16px; + list-style-image: url(chrome://browser/skin/panel-icon-cancel.svg); + -moz-context-properties: fill; + fill: #A09090; +} + +.identity-popup-permission-remove-button > .button-box > .button-text { + display: none; +} + +.identity-popup-permission-remove-button:not(:-moz-focusring):hover { + background-color: #FFCF00; +} + +.identity-popup-permission-remove-button:not(:-moz-focusring):hover > .button-box > .button-icon { + fill: #000000; +} + +.identity-popup-permission-remove-button:not(:-moz-focusring):hover:active { + background-color: #FF9F00; } /* === END panel.inc.css === */