mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1332267
- Rename the "host" and "hostless" classes to be more distinctive. r=jkt
MozReview-Commit-ID: 1fjd1upFTeM --HG-- extra : rebase_source : 866b4697dc3706d08782460a74bc0d836f018c7e
This commit is contained in:
parent
a3efd41d68
commit
5d0a680586
@ -6682,7 +6682,7 @@ var gIdentityHandler = {
|
||||
},
|
||||
get _identityPopupContentHosts() {
|
||||
delete this._identityPopupContentHosts;
|
||||
let selector = ".identity-popup-headline.host";
|
||||
let selector = ".identity-popup-host";
|
||||
return this._identityPopupContentHosts = [
|
||||
...this._identityPopupMultiView._mainView.querySelectorAll(selector),
|
||||
...document.querySelectorAll(selector)
|
||||
@ -6690,7 +6690,7 @@ var gIdentityHandler = {
|
||||
},
|
||||
get _identityPopupContentHostless() {
|
||||
delete this._identityPopupContentHostless;
|
||||
let selector = ".identity-popup-headline.hostless";
|
||||
let selector = ".identity-popup-hostless";
|
||||
return this._identityPopupContentHostless = [
|
||||
...this._identityPopupMultiView._mainView.querySelectorAll(selector),
|
||||
...document.querySelectorAll(selector)
|
||||
|
@ -22,8 +22,8 @@
|
||||
<hbox id="identity-popup-security" class="identity-popup-section">
|
||||
<vbox id="identity-popup-security-content" flex="1">
|
||||
<label class="plain">
|
||||
<label class="identity-popup-headline host"></label>
|
||||
<label class="identity-popup-headline hostless" crop="end"/>
|
||||
<label class="identity-popup-headline identity-popup-host"></label>
|
||||
<label class="identity-popup-headline identity-popup-hostless" crop="end"/>
|
||||
</label>
|
||||
<description class="identity-popup-connection-not-secure"
|
||||
when-connection="not-secure secure-cert-user-overridden">&identity.connectionNotSecure;</description>
|
||||
@ -97,8 +97,8 @@
|
||||
<panelview id="identity-popup-securityView" flex="1">
|
||||
<vbox id="identity-popup-securityView-header">
|
||||
<label class="plain">
|
||||
<label class="identity-popup-headline host"></label>
|
||||
<label class="identity-popup-headline hostless" crop="end"/>
|
||||
<label class="identity-popup-headline identity-popup-host"></label>
|
||||
<label class="identity-popup-headline identity-popup-hostless" crop="end"/>
|
||||
</label>
|
||||
<description class="identity-popup-connection-not-secure"
|
||||
when-connection="not-secure secure-cert-user-overridden">&identity.connectionNotSecure;</description>
|
||||
|
@ -103,7 +103,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;
|
||||
}
|
||||
@ -182,7 +182,7 @@
|
||||
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 */
|
||||
|
Loading…
Reference in New Issue
Block a user