зеркало из https://github.com/mozilla/pjs.git
Bug 393718 - "Style searchbar splitter nicely" [p=dao@mozilla.com (Dão Gottwald) r=Mano ui-r=faaborg a=blocking-firefox3+]
This commit is contained in:
Родитель
929b48fbb2
Коммит
b3ea76d694
|
@ -2016,7 +2016,7 @@ function UpdateUrlbarSearchSplitterState()
|
|||
splitter.id = "urlbar-search-splitter";
|
||||
splitter.setAttribute("resizebefore", "flex");
|
||||
splitter.setAttribute("resizeafter", "flex");
|
||||
splitter.className = "toolbar-splitter chromeclass-toolbar-additional";
|
||||
splitter.className = "chromeclass-toolbar-additional";
|
||||
}
|
||||
urlbar.parentNode.insertBefore(splitter, ibefore);
|
||||
} else if (splitter)
|
||||
|
|
|
@ -768,6 +768,21 @@ toolbar[iconsize="small"] #paste-button[disabled="true"] {
|
|||
visibility: collapse;
|
||||
}
|
||||
|
||||
#urlbar-search-splitter {
|
||||
-moz-appearance: none;
|
||||
width: 8px;
|
||||
-moz-margin-start: -4px;
|
||||
}
|
||||
|
||||
/*XXX The first two selectors are there because adjacent selectors aren't
|
||||
working reliably (bug 229915). */
|
||||
#search-container + #urlbar-container > #urlbar ,
|
||||
#urlbar-container + #search-container > #searchbar > .searchbar-textbox ,
|
||||
#urlbar-search-splitter + #urlbar-container > #urlbar ,
|
||||
#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
|
||||
-moz-margin-start: 0;
|
||||
}
|
||||
|
||||
#wrapper-urlbar-container #urlbar {
|
||||
-moz-user-input: disabled;
|
||||
cursor: -moz-grab;
|
||||
|
|
|
@ -864,6 +864,21 @@ toolbar[iconsize="small"] #paste-button:hover:active {
|
|||
background: url("chrome://browser/skin/Secure-background.gif") #FFFED8 repeat-x;
|
||||
}
|
||||
|
||||
#urlbar-search-splitter {
|
||||
min-width: 8px;
|
||||
-moz-margin-start: -4px;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/*XXX The first two selectors are there because adjacent selectors aren't
|
||||
working reliably (bug 229915). */
|
||||
#search-container + #urlbar-container > #urlbar ,
|
||||
#urlbar-container + #search-container > #searchbar > .searchbar-textbox ,
|
||||
#urlbar-search-splitter + #urlbar-container > #urlbar ,
|
||||
#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
|
||||
-moz-margin-start: 0;
|
||||
}
|
||||
|
||||
#wrapper-urlbar-container #urlbar {
|
||||
-moz-user-input: disabled;
|
||||
cursor: -moz-grab;
|
||||
|
|
|
@ -854,6 +854,22 @@ toolbar[iconsize="small"] #paste-button:not([disabled="true"]):hover:active {
|
|||
visibility: collapse;
|
||||
}
|
||||
|
||||
#urlbar-search-splitter {
|
||||
min-width: 8px;
|
||||
-moz-margin-start: -4px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/*XXX The first two selectors are there because adjacent selectors aren't
|
||||
working reliably (bug 229915). */
|
||||
#search-container + #urlbar-container > #urlbar ,
|
||||
#urlbar-container + #search-container > #searchbar > .searchbar-textbox ,
|
||||
#urlbar-search-splitter + #urlbar-container > #urlbar ,
|
||||
#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
|
||||
-moz-margin-start: 0;
|
||||
}
|
||||
|
||||
#wrapper-urlbar-container #urlbar {
|
||||
-moz-user-input: disabled;
|
||||
cursor: -moz-grab;
|
||||
|
|
|
@ -56,13 +56,6 @@ 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"] {
|
||||
|
|
Загрузка…
Ссылка в новой задаче