Bug 366797 - Revise the Location Bar. Patch by D��o Gottwald <dao@design-noir.de>. r=gavin.sharp, ui-r=beltzner

This commit is contained in:
sdwilsh%shawnwilsher.com 2007-11-07 05:12:53 +00:00
Родитель 96d07bce87
Коммит c79493c87d
1 изменённых файлов: 50 добавлений и 0 удалений

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

@ -25,6 +25,7 @@
* Dean Tessman (dean_tessman@hotmail.com)
* Blake Ross (blake@cs.stanford.edu)
* Pamela Greene (pamg.bugs@gmail.com)
* Dao Gottwald (dao@design-noir.de)
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
@ -870,6 +871,55 @@ 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 {
-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 {
-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 {
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;