diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-03-19 06:34:46 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-27 11:56:47 +0200 |
commit | 0fb23389f51ef0f1faddd05975159e3be14181bc (patch) | |
tree | 624ecf5c5c40627a488673057e4bd3321502b6fb | |
parent | 7ba07f4a17944fc64607a0804df5df7220cf74a8 (diff) | |
download | UXP-0fb23389f51ef0f1faddd05975159e3be14181bc.tar UXP-0fb23389f51ef0f1faddd05975159e3be14181bc.tar.gz UXP-0fb23389f51ef0f1faddd05975159e3be14181bc.tar.lz UXP-0fb23389f51ef0f1faddd05975159e3be14181bc.tar.xz UXP-0fb23389f51ef0f1faddd05975159e3be14181bc.zip |
Revert "Issue #1445 - remove redundant nativeIndicator"
This reverts commit 2073a7f1c98d37b03648a4b33619e5b03f8dfeda.
-rw-r--r-- | toolkit/mozapps/extensions/content/extensions.css | 17 | ||||
-rw-r--r-- | toolkit/mozapps/extensions/content/extensions.xml | 4 |
2 files changed, 21 insertions, 0 deletions
diff --git a/toolkit/mozapps/extensions/content/extensions.css b/toolkit/mozapps/extensions/content/extensions.css index 51828d544..41c140565 100644 --- a/toolkit/mozapps/extensions/content/extensions.css +++ b/toolkit/mozapps/extensions/content/extensions.css @@ -152,6 +152,8 @@ setting[type="menulist"] { .addon:not([notification="info"]) .info, .addon:not([pending]) .pending, .addon:not([upgrade="true"]) .update-postfix, +.addon:not([native="true"]) .nativeAddon, +.addon:not([native="false"]) .compatAddon, .addon[active="true"] .disabled-postfix, .addon[pending="install"] .update-postfix, .addon[pending="install"] .disabled-postfix, @@ -264,6 +266,21 @@ richlistitem:not([selected]) * { display: none; } +/* Indicator style for extension target application */ +.addon[native] .nativeIndicator { + margin-left: 5pt; + padding-bottom: 1pt; +} +.addon[native][active="false"] .nativeIndicator { + opacity: 0.4; +} +.addon[native] .nativeAddon { + color: #3366FF; +} +.addon[native] .compatAddon { + color: #FF6600; +} + /* Translators for Language Pack details */ .translators > label { -moz-margin-start: 0px; diff --git a/toolkit/mozapps/extensions/content/extensions.xml b/toolkit/mozapps/extensions/content/extensions.xml index 097410fd2..513807e78 100644 --- a/toolkit/mozapps/extensions/content/extensions.xml +++ b/toolkit/mozapps/extensions/content/extensions.xml @@ -857,6 +857,10 @@ <xul:label anonid="name" class="name" crop="end" flex="1" xbl:inherits="value=name,tooltiptext=name"/> <xul:label anonid="version" class="version"/> +#ifdef MOZ_PHOENIX_EXTENSIONS + <xul:label class="nativeIndicator nativeAddon" value="" tooltiptext="&addon.nativeAddon;"/> + <xul:label class="nativeIndicator compatAddon" value="⚠️" tooltiptext="&addon.compatAddon;"/> +#endif <xul:label class="disabled-postfix" value="&addon.disabled.postfix;"/> <xul:label class="update-postfix" value="&addon.update.postfix;"/> <xul:spacer flex="5000"/> <!-- Necessary to make the name crop --> |