Bug 393718 - "Style searchbar splitter natively" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=Mano a=blocking-firefox3+ for M9]

This commit is contained in:
reed@reedloden.com 2007-10-24 14:58:42 -07:00
Родитель a7160bbfba
Коммит a3263afa23
3 изменённых файлов: 9 добавлений и 0 удалений

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

@ -343,6 +343,7 @@ function buildPalette()
templateNode = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
"splitter");
templateNode.id = "splitter";
templateNode.className = "toolbar-splitter";
wrapPaletteItem(templateNode, currentRow, null);
var rowSlot = 3;

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

@ -227,6 +227,7 @@
"splitter");
uniqueId = (new Date()).getTime()+this.childNodes.length;
newItem.id = "splitter" + uniqueId;
newItem.className = "toolbar-splitter";
} else if (this.parentNode.localName == "toolbox") {
// Attempt to locate an item with a matching id within palette.
var paletteItem = this.parentNode.palette.firstChild;

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

@ -56,6 +56,13 @@ splitter {
background-color: ThreeDFace;
}
.toolbar-splitter {
min-width: 3px;
margin: 3px 0;
border: none;
-moz-border-start: 2px dotted ThreeDShadow;
}
/* ::::: splitter (horizontal) ::::: */
splitter[orient="vertical"] {