зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1782088, part 1 - Create draft doorhanger for FedCM account choice, r=pbz,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D158778
This commit is contained in:
Родитель
720e6a2cb3
Коммит
21b507a43c
|
@ -73,6 +73,7 @@
|
|||
<link rel="localization" href="browser/protectionsPanel.ftl"/>
|
||||
<link rel="localization" href="browser/appmenu.ftl"/>
|
||||
<link rel="localization" href="browser/panelUI.ftl"/>
|
||||
<link rel="localization" href="preview/identityCredentialNotification.ftl"/>
|
||||
<link rel="localization" href="preview/interventions.ftl"/>
|
||||
<link rel="localization" href="browser/sidebarMenu.ftl"/>
|
||||
<link rel="localization" href="browser/allTabsMenu.ftl"/>
|
||||
|
|
|
@ -302,6 +302,8 @@
|
|||
data-l10n-id="urlbar-midi-notification-anchor"/>
|
||||
<image id="webauthn-notification-icon" class="notification-anchor-icon" role="button"
|
||||
data-l10n-id="urlbar-web-authn-anchor"/>
|
||||
<image id="identity-credential-notification-icon" class="notification-anchor-icon" role="button"
|
||||
data-l10n-id="urlbar-identity-credential-anchor"/>
|
||||
<image id="storage-access-notification-icon" class="notification-anchor-icon storage-access-icon" role="button"
|
||||
data-l10n-id="urlbar-storage-access-anchor"/>
|
||||
</box>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
noautofocus="true"
|
||||
role="alert"/>
|
||||
|
||||
<popupnotification id="webRTC-shareDevices-notification" hidden="true"
|
||||
<popupnotification id="webRTC-shareDevices-notification" hidden="true"
|
||||
descriptionid="webRTC-shareDevices-notification-description">
|
||||
<popupnotificationcontent id="webRTC-selectCamera" orient="vertical">
|
||||
<label id="webRTC-selectCamera-label"
|
||||
|
@ -167,3 +167,26 @@
|
|||
</vbox>
|
||||
</popupnotificationfooter>
|
||||
</popupnotification>
|
||||
|
||||
<popupnotification id="identity-credential-notification" hidden="true">
|
||||
<popupnotificationcontent id="identity-credential-provider" orient="vertical">
|
||||
<html:div id="identity-credential-provider-selector-container">
|
||||
</html:div>
|
||||
<description class="popup-notification-description" id="credential-provider-explanation" data-l10n-id="credential-description-provider-explanation"/>
|
||||
<html:template id="template-credential-provider-list-item">
|
||||
<toolbarbutton class="credential-provider-list-item subviewbutton-nav subviewbutton" align="center" wrap="true">
|
||||
<label flex="1" class="credential-provider-list-item-label"></label>
|
||||
</toolbarbutton>
|
||||
</html:template>
|
||||
</popupnotificationcontent>
|
||||
<popupnotificationcontent id="identity-credential-account" orient="vertical" hidden="true">
|
||||
<html:div id="identity-credential-account-selector-container">
|
||||
</html:div>
|
||||
<description class="popup-notification-description" id="credential-account-explanation"/>
|
||||
<html:template id="template-credential-account-list-item">
|
||||
<toolbarbutton class="credential-account-list-item subviewbutton-nav subviewbutton" align="center" wrap="true">
|
||||
<label flex="1" class="credential-account-list-item-label"></label>
|
||||
</toolbarbutton>
|
||||
</html:template>
|
||||
</popupnotificationcontent>
|
||||
</popupnotification>
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
# 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/.
|
||||
|
||||
## Credential panel
|
||||
## $host (String): the hostname of the site that is being displayed.
|
||||
|
||||
credential-header-providers = Sign in to { $host }.
|
||||
credential-header-accounts = Pick a { $host } account.
|
||||
# Identity providers are websites you use to log into another website, for example: Google when you Log in with Google.
|
||||
credential-description-provider-explanation = These are the identity providers that would like to help you log in.
|
||||
credential-description-account-explanation = Picking an account here shares that identity with { $host }.
|
||||
urlbar-identity-credential-anchor =
|
||||
.tooltiptext = Open federated login panel
|
||||
credential-cancel-label = Cancel
|
||||
credential-cancel-accesskey = C
|
|
@ -14,6 +14,7 @@
|
|||
preview/firefoxSuggest.ftl (../components/urlbar/content/firefoxSuggest.ftl)
|
||||
preview/originControls.ftl (../components/extensions/originControls.ftl)
|
||||
preview/unifiedExtensions.ftl (../components/extensions/unifiedExtensions.ftl)
|
||||
preview/identityCredentialNotification.ftl (../components/credentialmanager/identityCredentialNotification.ftl)
|
||||
browser (%browser/**/*.ftl)
|
||||
|
||||
@AB_CD@.jar:
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
@import url("chrome://browser/skin/identity-block/identity-block.css");
|
||||
@import url("chrome://browser/skin/notification-icons.css");
|
||||
@import url("chrome://browser/skin/addon-notification.css");
|
||||
@import url("chrome://browser/skin/identity-credential-notification.css");
|
||||
@import url("chrome://browser/skin/urlbarView.css");
|
||||
@import url("chrome://browser/skin/translation/infobar.css");
|
||||
@import url("chrome://browser/skin/autocomplete.css");
|
||||
|
|
|
@ -1078,6 +1078,7 @@ panelview .toolbarbutton-1,
|
|||
|
||||
#protections-popup-mainView .subviewbutton-nav:not(.notFound)::after,
|
||||
#identity-popup-mainView .subviewbutton-nav::after,
|
||||
#identity-credential-notification .subviewbutton-nav::after,
|
||||
.widget-overflow-list .subviewbutton-nav::after,
|
||||
.PanelUI-subView .subviewbutton-nav::after {
|
||||
-moz-context-properties: fill, fill-opacity;
|
||||
|
@ -1089,6 +1090,7 @@ panelview .toolbarbutton-1,
|
|||
|
||||
#protections-popup-mainView .subviewbutton-nav:not(.notFound):-moz-locale-dir(rtl)::after,
|
||||
#identity-popup-mainView .subviewbutton-nav:-moz-locale-dir(rtl)::after,
|
||||
#identity-credential-notification .subviewbutton-nav:-moz-locale-dir(rtl)::after,
|
||||
.widget-overflow-list .subviewbutton-nav:-moz-locale-dir(rtl)::after,
|
||||
.PanelUI-subView .subviewbutton-nav:-moz-locale-dir(rtl)::after {
|
||||
content: url(chrome://global/skin/icons/arrow-left.svg);
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
/* 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/. */
|
||||
|
||||
#identity-credential-notification .subviewbutton {
|
||||
width: 100%;
|
||||
margin-inline: 0;
|
||||
}
|
||||
|
||||
#credential-provider-explanation,
|
||||
#credential-account-explanation {
|
||||
margin-top: 1em;
|
||||
}
|
|
@ -17,6 +17,7 @@
|
|||
skin/classic/browser/blockedSite.css (../shared/blockedSite.css)
|
||||
skin/classic/browser/browser-shared.css (../shared/browser-shared.css)
|
||||
skin/classic/browser/ctrlTab.css (../shared/ctrlTab.css)
|
||||
skin/classic/browser/identity-credential-notification.css (../shared/identity-credential-notification.css)
|
||||
skin/classic/browser/light-dark-overrides.css (../shared/light-dark-overrides.css)
|
||||
skin/classic/browser/menupanel.css (../shared/menupanel.css)
|
||||
skin/classic/browser/notification-icons.css (../shared/notification-icons.css)
|
||||
|
|
|
@ -198,6 +198,10 @@
|
|||
list-style-image: url(chrome://browser/skin/fingerprint.svg);
|
||||
}
|
||||
|
||||
#identity-credential-notification-icon {
|
||||
list-style-image: url(chrome://browser/skin/fingerprint.svg);
|
||||
}
|
||||
|
||||
#permission-popup-menulist {
|
||||
margin-inline-end: 0;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче