mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
This commit is contained in:
parent
0749e4f7d8
commit
f9cb13709f
@ -1,7 +1,6 @@
|
|||||||
/* ::::: Hide the link toolbar if it is set to autohide and has no items. ::::: */
|
/* ::::: Hide the link toolbar if it is set to autohide and has no items. ::::: */
|
||||||
|
|
||||||
#linktoolbar[hidden="maybe"][hasitems="false"]
|
#linktoolbar[hidden="maybe"][hasitems="false"] {
|
||||||
{
|
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,8 +22,6 @@ Contributor(s): ______________________________________. -->
|
|||||||
|
|
||||||
|
|
||||||
<?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?>
|
<?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?>
|
||||||
<!-- XXX - the placement of this include could be temporary -->
|
|
||||||
<?xml-stylesheet href="chrome://communicator/skin/bookmarks/bookmarksToolbar.css" type="text/css"?>
|
|
||||||
|
|
||||||
<?xul-overlay href="chrome://navigator/content/navigatorOverlay.xul"?>
|
<?xul-overlay href="chrome://navigator/content/navigatorOverlay.xul"?>
|
||||||
<?xul-overlay href="chrome://navigator/content/navExtraOverlay.xul"?>
|
<?xul-overlay href="chrome://navigator/content/navExtraOverlay.xul"?>
|
||||||
@ -89,8 +87,6 @@ Contributor(s): ______________________________________. -->
|
|||||||
<stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
|
<stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
|
||||||
</stringbundleset>
|
</stringbundleset>
|
||||||
|
|
||||||
<resourcebundle id="resource_bundle_navigator" />
|
|
||||||
|
|
||||||
<commandset id="commands">
|
<commandset id="commands">
|
||||||
<commandset id="globalEditMenuItems"/>
|
<commandset id="globalEditMenuItems"/>
|
||||||
<commandset id="selectEditMenuItems"/>
|
<commandset id="selectEditMenuItems"/>
|
||||||
@ -160,40 +156,41 @@ Contributor(s): ______________________________________. -->
|
|||||||
|
|
||||||
<hbox id="fullscreen-extra-buttons" hidden="true">
|
<hbox id="fullscreen-extra-buttons" hidden="true">
|
||||||
<toolbarbutton id="fullscreen-exit-button" class="toolbarbutton-1"
|
<toolbarbutton id="fullscreen-exit-button" class="toolbarbutton-1"
|
||||||
label="&exitFullScreenButton.label;" crop="right"
|
label="&exitFullScreenButton.label;"
|
||||||
oncommand="BrowserFullScreenExit();"
|
oncommand="BrowserFullScreenExit();"
|
||||||
tooltiptext="&exitFullScreenButton.tooltip;"/>
|
tooltiptext="&exitFullScreenButton.tooltip;"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
|
|
||||||
<hbox id="nav-bar-inner" flex="1">
|
<hbox id="nav-bar-inner" flex="1">
|
||||||
<hbox id="urlbar-group" class="box-toolbar-group chromeclass-location" flex="1">
|
<textbox id="urlbar" class="chromeclass-location" flex="1"
|
||||||
<hbox flex="1" id="urlbar-container">
|
type="autocomplete" searchSessions="history"
|
||||||
<textbox id="urlbar" class="plain" flex="1"
|
timeout="50" maxrows="6" alwaysopenpopup="true"
|
||||||
type="autocomplete" searchSessions="history"
|
disablehistory="false"
|
||||||
timeout="50" maxrows="6" alwaysOpenPopup="true"
|
defaultSearchEngine="true" tabScrolling="true"
|
||||||
defaultSearchEngine="true" tabScrolling="true"
|
showCommentColumn="true"
|
||||||
showCommentColumn="true"
|
tooltiptext="&locationBar.tooltip;"
|
||||||
tooltiptext="&locationBar.tooltip;"
|
oninput="window.XULBrowserWindow.userTyped.value=true;"
|
||||||
oninput="window.XULBrowserWindow.userTyped.value=true;"
|
ontextcommand="return handleURLBarCommand(eventParam);"
|
||||||
ontextcommand="return handleURLBarCommand(userAction);"
|
ontextrevert="return handleURLBarRevert();"
|
||||||
ontextrevert="return handleURLBarRevert();"
|
onfocus="URLBarFocusHandler(event);"
|
||||||
onfocus="URLBarFocusHandler(event);"
|
onblur="URLBarBlurHandler(event);">
|
||||||
onblur="URLBarBlurHandler(event);">
|
<deck id="page-proxy-deck">
|
||||||
<deck id="page-proxy-deck">
|
<image id="page-proxy-button"
|
||||||
<image id="page-proxy-button"
|
ondraggesture="PageProxyDragGesture(event);"/>
|
||||||
ondraggesture="PageProxyDragGesture(event);"/>
|
<image id="page-proxy-favicon" validate="never"
|
||||||
<image id="page-proxy-favicon" validate="never"
|
ondraggesture="PageProxyDragGesture(event);"
|
||||||
ondraggesture="PageProxyDragGesture(event);"
|
onload="this.parentNode.selectedIndex = 1;
|
||||||
onload="this.parentNode.selectedIndex = 1; event.stopPropagation(); event.preventBubble(); HandleBookmarkIcon(this.src, true);"
|
event.stopPropagation();
|
||||||
onerror="gBrowser.addToMissedIconCache(this.src); HandleBookmarkIcon(this.src, false);"/>
|
event.preventBubble();
|
||||||
</deck>
|
HandleBookmarkIcon(this.src, true);"
|
||||||
<menupopup id="ubhist-popup" class="autocomplete-history-popup"
|
onerror="gBrowser.addToMissedIconCache(this.src); HandleBookmarkIcon(this.src, false);"/>
|
||||||
popupalign="topleft" popupanchor="bottomleft"
|
</deck>
|
||||||
onpopupshowing="createUBHistoryMenu(event.target);"
|
|
||||||
oncommand="executeUrlBarHistoryCommand(event.target);"/>
|
<menupopup id="ubhist-popup" class="autocomplete-history-popup"
|
||||||
</textbox>
|
popupalign="topleft" popupanchor="bottomleft"
|
||||||
</hbox>
|
onpopupshowing="createUBHistoryMenu(event.target);"
|
||||||
</hbox>
|
oncommand="executeUrlBarHistoryCommand(event.target);"/>
|
||||||
|
</textbox>
|
||||||
|
|
||||||
<button id="go-button" class="button-toolbar chromeclass-location"
|
<button id="go-button" class="button-toolbar chromeclass-location"
|
||||||
label="&goButton.label;" hidden="true" persist="hidden"
|
label="&goButton.label;" hidden="true" persist="hidden"
|
||||||
@ -318,7 +315,7 @@ Contributor(s): ______________________________________. -->
|
|||||||
status="rdf:http://home.netscape.com/WEB-rdf#status"
|
status="rdf:http://home.netscape.com/WEB-rdf#status"
|
||||||
rdf:type="http://home.netscape.com/NC-rdf#Bookmark"
|
rdf:type="http://home.netscape.com/NC-rdf#Bookmark"
|
||||||
tooltiptext="rdf:http://home.netscape.com/NC-rdf#URL"
|
tooltiptext="rdf:http://home.netscape.com/NC-rdf#URL"
|
||||||
label="rdf:http://home.netscape.com/NC-rdf#Name" crop="right"/>
|
label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
<rule iscontainer="true" isempty="true"
|
<rule iscontainer="true" isempty="true"
|
||||||
@ -390,11 +387,11 @@ Contributor(s): ______________________________________. -->
|
|||||||
<statusbar id="status-bar" class="chromeclass-status"
|
<statusbar id="status-bar" class="chromeclass-status"
|
||||||
ondragover="nsDragAndDrop.dragOver(event, contentAreaDNDObserver);"
|
ondragover="nsDragAndDrop.dragOver(event, contentAreaDNDObserver);"
|
||||||
ondragdrop="nsDragAndDrop.drop(event, contentAreaDNDObserver);">
|
ondragdrop="nsDragAndDrop.drop(event, contentAreaDNDObserver);">
|
||||||
<hbox id="component-bar"/>
|
<statusbarpanel id="component-bar"/>
|
||||||
<statusbarpanel id="statusbar-display" label="&statusText.label;" crop="right" flex="1"/>
|
<statusbarpanel id="statusbar-display" label="&statusText.label;" flex="1"/>
|
||||||
<progressmeter class="progressmeter-statusbar" statusbar="true" id="statusbar-icon" mode="normal" value="0"/>
|
<progressmeter class="progressmeter-statusbar" id="statusbar-icon" mode="normal" value="0"/>
|
||||||
<statusbarpanel class="statusbarpanel-icononly" id="offline-status"/>
|
<statusbarpanel class="statusbarpanel-iconic" id="offline-status"/>
|
||||||
<statusbarpanel class="statusbarpanel-icononly" id="security-button"/>
|
<statusbarpanel class="statusbarpanel-iconic" id="security-button"/>
|
||||||
</statusbar>
|
</statusbar>
|
||||||
|
|
||||||
<data id="fullScreenElementChanges">
|
<data id="fullScreenElementChanges">
|
||||||
|
@ -22,8 +22,7 @@
|
|||||||
- Blake Ross <blake@netscape.com> (Original Author)
|
- Blake Ross <blake@netscape.com> (Original Author)
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
|
<?xml-stylesheet href="chrome://communicator/skin/dialogs.css" type="text/css"?>
|
||||||
<?xml-stylesheet href="chrome://navigator/skin/turbo.css" type="text/css"?>
|
|
||||||
|
|
||||||
<!DOCTYPE window [
|
<!DOCTYPE window [
|
||||||
<!ENTITY % turboDialogDTD SYSTEM "chrome://navigator/locale/turboDialog.dtd" >
|
<!ENTITY % turboDialogDTD SYSTEM "chrome://navigator/locale/turboDialog.dtd" >
|
||||||
|
@ -53,12 +53,11 @@
|
|||||||
</binding>
|
</binding>
|
||||||
|
|
||||||
<binding id="autocomplete-result-popup" extends="chrome://global/content/autocomplete.xml#autocomplete-result-popup">
|
<binding id="autocomplete-result-popup" extends="chrome://global/content/autocomplete.xml#autocomplete-result-popup">
|
||||||
<content menugenerated="true" orient="vertical">
|
<content>
|
||||||
<xul:box class="autocomplete-result-box" flex="1">
|
<xul:outliner anonid="outliner" class="autocomplete-outliner" flex="1">
|
||||||
<xul:outliner anonid="outliner" class="autocomplete-outliner" flex="1">
|
<xul:outlinercols anonid="outlinercols"/>
|
||||||
<xul:outlinerbody anonid="outlinerbody" class="autocomplete-outlinerbody" flex="1"/>
|
<xul:outlinerbody anonid="outlinerbody" class="autocomplete-outlinerbody" flex="1"/>
|
||||||
</xul:outliner>
|
</xul:outliner>
|
||||||
</xul:box>
|
|
||||||
<xul:box role="search-box" class="autocomplete-search-box"/>
|
<xul:box role="search-box" class="autocomplete-search-box"/>
|
||||||
</content>
|
</content>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user