Bug 387077 - Rename some class names of the new Location bar. Patch by Dão Gottwald <dao@design-noir.de>. r=gavin.sharp.

This commit is contained in:
kherron@fmailbox.com 2007-07-14 07:57:59 -07:00
Родитель 0c6bd69b22
Коммит c62bb23cdd
3 изменённых файлов: 74 добавлений и 81 удалений

Просмотреть файл

@ -58,20 +58,20 @@
flex="1" allowevents="true"
xbl:inherits="tooltiptext=inputtooltiptext,onfocus,onblur,value,type,maxlength,disabled,size,readonly,userAction"/>
</xul:hbox>
<xul:hbox anonid="presentation-box" class="textbox-presentation-box" flex="1"
<xul:hbox anonid="presentation-box" class="formatted-url" flex="1"
onmousedown="focus();" hidden="true">
<xul:scrollbox anonid="presentation" class="textbox-presentation" flex="1"
<xul:scrollbox anonid="presentation" class="formatted-url-contents" flex="1"
onoverflow="_contentIsCropped = true;"
onunderflow="_contentIsCropped = false;">
<xul:hbox anonid="prePath" class="textbox-presentation-prePath">
<xul:label anonid="protocol" class="textbox-presentation-protocol"/>
<xul:label anonid="subdomain" class="textbox-presentation-subdomain"/>
<xul:label anonid="domain" class="textbox-presentation-domain"/>
<xul:label anonid="port" class="textbox-presentation-port"/>
<xul:hbox anonid="prePath" class="formatted-url-prePath">
<xul:label anonid="protocol" class="formatted-url-protocol"/>
<xul:label anonid="subdomain" class="formatted-url-subdomain"/>
<xul:label anonid="domain" class="formatted-url-domain"/>
<xul:label anonid="port" class="formatted-url-port"/>
</xul:hbox>
<xul:label anonid="path" class="textbox-presentation-path"/>
<xul:label anonid="path" class="formatted-url-path"/>
</xul:scrollbox>
<xul:label anonid="overflow-ellipsis" class="textbox-overflow-ellipsis"
<xul:label anonid="overflow-ellipsis" class="formatted-url-ellipsis"
value="&#8230;" hidden="true"/>
</xul:hbox>
</xul:stack>

Просмотреть файл

@ -866,55 +866,51 @@ toolbar[iconsize="small"] #paste-button:hover:active {
font: icon !important;
}
.textbox-presentation-box ,
.textbox-presentation-box > * ,
.textbox-presentation > * ,
.textbox-presentation-prePath > * {
margin: 0;
padding: 0;
cursor: text;
}
.textbox-overflow-ellipsis {
-moz-margin-start: .3em;
}
.textbox-presentation-box {
.formatted-url {
-moz-box-align: center;
margin: 0 3px;
/*XXX Gecko 1.9 quirk*/
-moz-padding-start: 1px;
}
#urlbar[protocolhidden="true"] .textbox-presentation-prePath > .textbox-presentation-slash ,
#urlbar[protocolhidden="true"] .textbox-presentation-prePath > .textbox-presentation-subdomain {
.formatted-url * {
margin: 0;
padding: 0;
cursor: text;
}
.formatted-url-contents {
color: graytext;
}
.formatted-url-domain {
color: -moz-fieldtext;
}
#urlbar[level="high"] .formatted-url-contents ,
#urlbar[level="low"] .formatted-url-contents {
color: rgb(150, 150, 130);
}
#urlbar[level="low"] .formatted-url-domain ,
#urlbar[level="high"] .formatted-url-domain {
color: black;
}
.formatted-url-ellipsis {
-moz-margin-start: .3em;
}
#urlbar[protocolhidden="true"] .formatted-url-prePath > .formatted-url-subdomain {
-moz-box-flex: 1;
text-align: right;
}
#urlbar[chromedir="rtl"][protocolhidden="true"] .textbox-presentation-prePath > .textbox-presentation-slash ,
#urlbar[chromedir="rtl"][protocolhidden="true"] .textbox-presentation-prePath > .textbox-presentation-subdomain {
#urlbar[protocolhidden="true"] .formatted-url-prePath > .formatted-url-port {
-moz-box-flex: 1;
text-align: left;
}
.textbox-presentation {
color: graytext;
}
.textbox-presentation-domain {
color: -moz-fieldtext;
}
#urlbar[level="high"] .textbox-presentation ,
#urlbar[level="low"] .textbox-presentation {
color: rgb(150, 150, 130);
}
#urlbar[level="low"] .textbox-presentation-domain ,
#urlbar[level="high"] .textbox-presentation-domain {
color: black;
}
#urlbar[level="high"] > .autocomplete-textbox-container,
#urlbar[level="low"] > .autocomplete-textbox-container
{

Просмотреть файл

@ -871,55 +871,52 @@ toolbar[iconsize="small"] #paste-button:not([disabled="true"]):hover:active {
border: 1px solid;
}
.textbox-presentation-box ,
.textbox-presentation-box > * ,
.textbox-presentation > * ,
.textbox-presentation-prePath > * {
margin: 0;
padding: 0;
cursor: text;
}
.textbox-overflow-ellipsis {
-moz-margin-start: .3em;
}
.textbox-presentation-box {
.formatted-url {
-moz-box-align: center;
margin: 0 3px;
/*XXX Gecko 1.9 quirk*/
-moz-padding-start: 1px;
}
#urlbar[protocolhidden="true"] .textbox-presentation-prePath > .textbox-presentation-slash ,
#urlbar[protocolhidden="true"] .textbox-presentation-prePath > .textbox-presentation-subdomain {
.formatted-url * {
margin: 0;
padding: 0;
cursor: text;
}
.formatted-url-contents {
color: graytext;
}
.formatted-url-domain {
color: -moz-fieldtext;
}
#urlbar[level="high"] .formatted-url-contents ,
#urlbar[level="low"] .formatted-url-contents {
color: rgb(150, 150, 130);
}
#urlbar[level="low"] .formatted-url-domain ,
#urlbar[level="high"] .formatted-url-domain {
color: black;
}
.formatted-url-ellipsis {
-moz-margin-start: .3em;
}
#urlbar[protocolhidden="true"] .formatted-url-prePath > .formatted-url-subdomain ,
#urlbar[protocolhidden="true"] .formatted-url-prePath > .formatted-url-port {
-moz-box-flex: 1;
text-align: right;
}
#urlbar[chromedir="rtl"][protocolhidden="true"] .textbox-presentation-prePath > .textbox-presentation-slash ,
#urlbar[chromedir="rtl"][protocolhidden="true"] .textbox-presentation-prePath > .textbox-presentation-subdomain {
#urlbar[chromedir="rtl"][protocolhidden="true"] .formatted-url-prePath > .formatted-url-subdomain ,
#urlbar[chromedir="ltr"][protocolhidden="true"] .formatted-url-prePath > .formatted-url-port {
text-align: left;
}
.textbox-presentation {
color: graytext;
}
.textbox-presentation-domain {
color: -moz-fieldtext;
}
#urlbar[level="high"] .textbox-presentation ,
#urlbar[level="low"] .textbox-presentation {
color: rgb(150, 150, 130);
}
#urlbar[level="low"] .textbox-presentation-domain ,
#urlbar[level="high"] .textbox-presentation-domain {
color: black;
}
#urlbar-container {
-moz-box-orient: horizontal;
-moz-box-align: stretch;