From f91d15f91d7b10bc5547886bf9915247909add95 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Tue, 17 May 2016 16:23:16 +0200 Subject: [PATCH] make identity box work correctly --- LCARStrek/browser/browser.css | 92 +---------------------------------- 1 file changed, 1 insertion(+), 91 deletions(-) diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index 3418f254..ba7c7eab 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -2117,7 +2117,7 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder, } #notification-popup-box:not([hidden]) + #identity-box { - padding-inline-start: 10px !important; + padding-inline-start: 10px; border-radius: 0; } @@ -2147,96 +2147,6 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-but padding-inline-start: 2.01px; } -/* TRACKING PROTECTION ICON */ - -#tracking-protection-icon { - width: 16px; - height: 16px; - margin-inline-start: 0; - list-style-image: url("chrome://browser/skin/tracking-protection-16.svg"); - opacity: 1; -} - -#tracking-protection-icon[state="loaded-tracking-content"] { - list-style-image: url("chrome://browser/skin/tracking-protection-disabled-16.svg"); -} - -#tracking-protection-icon[animate] { - transition: margin-left 200ms ease-out, margin-right 200ms ease-out; -} - -#tracking-protection-icon:not([state]) { - margin-inline-start: -18px; - pointer-events: none; - opacity: 0; - /* Only animate the shield in, when it disappears hide it immediately. */ - transition: none; -} - -#urlbar[pageproxystate="invalid"] > #identity-box > #identity-icons > #tracking-protection-icon { - visibility: collapse; -} - -/* MAIN IDENTITY ICON */ - -#page-proxy-favicon { - width: 16px; - height: 16px; - list-style-image: url("chrome://browser/skin/identity-not-secure.svg"); - margin: 2px; -} - -.chromeUI > #identity-icons > #page-proxy-favicon[pageproxystate="valid"] { - list-style-image: url("chrome://branding/content/identity-icons-brand.svg"); -} - -.verifiedDomain > #identity-icons > #page-proxy-favicon[pageproxystate="valid"], -.verifiedIdentity > #identity-icons > #page-proxy-favicon[pageproxystate="valid"] { - list-style-image: url("chrome://browser/skin/identity-secure.svg"); -} - -.insecureLoginForms > #identity-icons > #page-proxy-favicon[pageproxystate="valid"], -.mixedActiveContent > #identity-icons > #page-proxy-favicon[pageproxystate="valid"] { - list-style-image: url("chrome://browser/skin/identity-mixed-active-loaded.svg"); -} - -.weakCipher > #identity-icons > #page-proxy-favicon[pageproxystate="valid"], -.mixedDisplayContent > #identity-icons > #page-proxy-favicon[pageproxystate="valid"], -.mixedDisplayContentLoadedActiveBlocked > #identity-icons > #page-proxy-favicon[pageproxystate="valid"] { - list-style-image: url("chrome://browser/skin/identity-mixed-passive-loaded.svg"); -} - -.mixedActiveBlocked > #identity-icons > #page-proxy-favicon[pageproxystate="valid"] { - list-style-image: url("chrome://browser/skin/identity-mixed-active-blocked.svg"); -} - -#page-proxy-favicon[pageproxystate="invalid"] { - opacity: 0.3; -} - -#identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon { - list-style-image: url("chrome://branding/content/icon64.png"); -} - -#identity-popup-brandName { - font-weight: bold; - font-size: 1.25em; - margin-top: .5em; - margin-bottom: .5em; -} - -#identity-popup-content-box { - max-width: 50ch; -} - -#urlbar[actiontype="searchengine"] > #identity-box > #identity-icons > #page-proxy-favicon { - -moz-image-region: inherit; - list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon); - width: 16px; - height: 16px; - opacity: 1; -} - /* MAIN IDENTITY ICON */ #identity-icon { -- 2.43.0