зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
a7160bbfba
Коммит
a3263afa23
|
@ -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"] {
|
||||
|
|
Загрузка…
Ссылка в новой задаче