Bug 1659115: Removed Icon from HTTPS-Only Mode section in about:preferences r=preferences-reviewers,Gijs

Differential Revision: https://phabricator.services.mozilla.com/D87295
This commit is contained in:
julianwels 2020-08-17 16:53:18 +00:00
parent cb5df95eba
commit 01a1e3a57e
4 changed files with 3 additions and 25 deletions

View File

@ -1018,14 +1018,9 @@
<!-- HTTPS-ONLY Mode -->
<groupbox id="httpsOnlyBox" data-category="panePrivacy" hidden="true" hidehttpsonly="true">
<label><html:h2 data-l10n-id="httpsonly-header"/></label>
<vbox data-subcategory="httpsonly">
<hbox align="start">
<image id="httpsOnlyShield"/>
<vbox flex="1">
<label id="httpsOnlyDescription" data-l10n-id="httpsonly-description"/>
<label id="httpsOnlyLearnMore" data-l10n-id="httpsonly-learn-more" class="learnMore" is="text-link"/>
</vbox>
</hbox>
<vbox data-subcategory="httpsonly" flex="1">
<label id="httpsOnlyDescription" data-l10n-id="httpsonly-description"/>
<label id="httpsOnlyLearnMore" data-l10n-id="httpsonly-learn-more" class="learnMore" is="text-link"/>
</vbox>
<vbox>
<!-- Please don't remove the wrapping hbox/vbox/box for these elements. It's used to properly compute the search tooltip position. -->

View File

@ -1,6 +0,0 @@
<!-- 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/. -->
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64" fill="context-fill" fill-opacity="context-fill-opacity">
<path d="M53.43,25.72h-3.2V19a17.76,17.76,0,0,0-35.49,0v6.72H11.62a3.1,3.1,0,0,0-3.1,3.09V59.65a3.1,3.1,0,0,0,3.1,3.1H53.43a3.1,3.1,0,0,0,3.1-3.1V28.81A3.1,3.1,0,0,0,53.43,25.72ZM41.58,44.9a2,2,0,0,1-2.85,0l-4.17-4.17v11.1a2,2,0,0,1-4.07,0V40.73L26.32,44.9a2,2,0,1,1-2.85-2.84h.05l7.61-7.61a2,2,0,0,1,2.83,0h0l7.6,7.61A2,2,0,0,1,41.58,44.9Zm.77-19.18H22.62V19a9.87,9.87,0,0,1,19.73,0Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 749 B

View File

@ -30,7 +30,6 @@
skin/classic/browser/controlcenter/etp-milestone.svg (../shared/controlcenter/etp-milestone.svg)
skin/classic/browser/controlcenter/fingerprinters.svg (../shared/controlcenter/fingerprinters.svg)
skin/classic/browser/controlcenter/fingerprinters-disabled.svg (../shared/controlcenter/fingerprinters-disabled.svg)
skin/classic/browser/controlcenter/https-only.svg (../shared/controlcenter/https-only.svg)
skin/classic/browser/controlcenter/socialblock.svg (../shared/controlcenter/socialblock.svg)
skin/classic/browser/controlcenter/socialblock-disabled.svg (../shared/controlcenter/socialblock-disabled.svg)
skin/classic/browser/controlcenter/tracker-image.svg (../shared/controlcenter/tracker-image.svg)

View File

@ -386,13 +386,3 @@
#httpsOnlyBox[hidehttpsonly] {
display: none;
}
#httpsOnlyShield {
list-style-image: url("chrome://browser/skin/controlcenter/https-only.svg");
-moz-context-properties: fill, fill-opacity;
fill: currentColor;
fill-opacity: 0.5;
width: 64px;
height: 64px;
margin-inline-end: 10px;
}