Bug 338378: When customizing toolbars, search box has grey text and I-beam cursor and is hard to drag, patch by Dave Townsend <mossop.bugzilla@blueprintit.co.uk>, r=me

This commit is contained in:
gavin%gavinsharp.com 2006-08-26 15:28:56 +00:00
parent aea42979a2
commit da7a582b5f
3 changed files with 12 additions and 5 deletions

View File

@ -100,6 +100,8 @@
<implementation implements="nsIObserver">
<constructor><![CDATA[
if (this.parentNode.parentNode.localName == "toolbarpaletteitem")
return;
setTimeout(function (a) { a.init(); }, 0, this);
]]></constructor>

View File

@ -41,6 +41,7 @@
@import url("chrome://global/skin/");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
#toolbar-menubar {
display: none;
@ -54,6 +55,10 @@
color: GrayText;
}
#wrapper-search-container #searchbar html|*.textbox-input {
visibility: hidden;
}
/* ::::: bookmark buttons ::::: */
.bookmark-item[container] {

View File

@ -42,6 +42,7 @@
@import url("chrome://global/skin/");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
#menubar-items {
-moz-box-orient: vertical; /* for flex hack */
@ -90,6 +91,10 @@
color: GrayText;
}
#wrapper-search-container #searchbar html|*.textbox-input {
visibility: hidden;
}
/* ::::: bookmark buttons ::::: */
toolbarbutton.bookmark-item {
@ -131,11 +136,6 @@ toolbarbutton.bookmark-item[open="true"] {
background: url("chrome://browser/skin/Bookmarks-folder.png") no-repeat !important;
}
#wrapper-search-container .searchbar-textbox {
-moz-user-input: disabled;
-moz-user-focus: normal;
}
.bookmarks-toolbar-customize {
display: none;
max-width: 15em !important;