classic skin work for 46613, a=johng

This commit is contained in:
ben%netscape.com 2000-07-27 07:11:14 +00:00
parent f51b0f7194
commit 3879af701e
34 changed files with 301 additions and 247 deletions

View File

@ -246,6 +246,6 @@
</box><!-- status-bar -->
</box> <!-- appcontent -->
</box><!-- sidebar-parent -->
<toolbox id="taskbar" class="toolbox-bottom"/>
<box id="taskbar" class="toolbox-bottom"/>
</window>

View File

@ -279,7 +279,7 @@ Rights Reserved.
</box>
<toolbox id="taskbar" class="toolbox-bottom"/>
<box id="taskbar" class="toolbox-bottom"/>
</window>

View File

@ -789,6 +789,6 @@ Rights Reserved.
</box>
<statusbarpanel id="security-button"/>
</statusbar>
<toolbox id="taskbar" class="chromeclass-extrachrome toolbox-bottom"/>
<box id="taskbar" class="chromeclass-extrachrome toolbox-bottom"/>
</overlay>

View File

@ -87,6 +87,6 @@ Rights Reserved.
<statusbar id="status-bar" class="chromeclass-status"/>
<toolbox id="taskbar" class="toolbox-bottom"/>
<box id="taskbar" class="toolbox-bottom"/>
</window>

View File

@ -358,7 +358,7 @@ Rights Reserved.
</box>
</box>
<toolbox id="taskbar" class="toolbox-bottom"/>
<box id="taskbar" class="toolbox-bottom"/>
</window>

View File

@ -509,40 +509,43 @@ function ShowMessageHeaderPane()
if (gViewAllHeaders)
{
HideMessageHeaderPane();
msgPaneData.ViewAllHeadersToolbar.removeAttribute("hide");
msgPaneData.ViewAllHeadersToolbar.removeAttribute("hidden");
msgPaneData.ViewAllHeadersBox.removeAttribute("collapsed");
}
else
{
msgPaneData.ViewAllHeadersToolbar.setAttribute("hide", "true");
msgPaneData.ViewAllHeadersToolbar.setAttribute("hidden", "true");
msgPaneData.ViewAllHeadersBox.setAttribute("collapsed", "true");
var node = document.getElementById("headerPart1");
if (node)
node.removeAttribute("hide");
node.removeAttribute("hidden");
node = document.getElementById("headerPart2");
if (node)
node.removeAttribute("hide");
node.removeAttribute("hidden");
/*
node = document.getElementById("headerPart3");
if (node)
node.removeAttribute("hide");
node.removeAttribute("hidden");
*/
}
}
function HideMessageHeaderPane()
{
msgPaneData.ViewAllHeadersToolbar.setAttribute("hide", "true");
msgPaneData.ViewAllHeadersToolbar.setAttribute("hidden", "true");
msgPaneData.ViewAllHeadersBox.setAttribute("collapsed", "true");
var node = document.getElementById("headerPart1");
if (node)
node.setAttribute("hide", "true");
node.setAttribute("hidden", "true");
node = document.getElementById("headerPart2");
if (node)
node.setAttribute("hide", "true");
node.setAttribute("hidden", "true");
node = document.getElementById("headerPart3");
if (node)
node.setAttribute("hide", "true");
node.setAttribute("hidden", "true");
}

View File

@ -31,12 +31,12 @@ Rights Reserved.
<script src="chrome://messenger/content/mime.js"/>
<toolbox id="msgHeaderView">
<toolbar id="viewAllHeadersToolbar" hide="true">
<toolbar id="viewAllHeadersToolbar" hidden="true">
<box id="viewAllHeadersBox" class="header-part1" align="vertical" flex="1" collapsed="true">
</box>
</toolbar>
<toolbar id="headerPart1" hide="true">
<toolbar id="headerPart1" hidden="true">
<box class="header-splitter" align="horizontal" flex="1">
<box class="header-part1" align="vertical" flex="1">
<box id="SubjectBox" class="headerBox" align="horizontal" collapsed="true">
@ -71,7 +71,7 @@ Rights Reserved.
</box>
</toolbar>
<toolbar id="headerPart2" hide="true">
<toolbar id="headerPart2" hidden="true">
<box class="header-part2" align="vertical" flex="1">
<box id="ToBox" class="headerBox" align="horizontal" collapsed="true">
<text class="headerdisplayname" value="&toField.label;" popup="allHeadersPopup"/>
@ -106,7 +106,7 @@ Rights Reserved.
</box>
</toolbar>
<toolbar id="headerPart3" hide="true">
<toolbar id="headerPart3" hidden="true">
<box class="header-part3" align="vertical" flex="1">
<box id="UserAgentBox" class="headerBox" align="horizontal" collapsed="true">
<text class="headerdisplayname" value="&userAgentField.label;" popup="allHeadersPopup"/>

View File

@ -509,6 +509,6 @@ These also need to call goDoCommand(), not editor JS functions. - - smfr
</box>
<!-- /box -->
<toolbox id="taskbar" class="toolbox-bottom"/>
<box id="taskbar" class="toolbox-bottom"/>
</window>

View File

@ -10,3 +10,8 @@ unlock.gif
menubuttonBindings.xml
securityOverlay.css
smallheader-bg.gif
toolbar-bg.gif
toolbar-bg.png
search.gif
search-active.gif
search-hover.gif

View File

@ -40,6 +40,11 @@ EXPORT_RESOURCE = \
$(srcdir)/online.gif \
$(srcdir)/smallheader-bg.gif \
$(srcdir)/securityOverlay.css \
$(srcdir)/toolbar-bg.gif \
$(srcdir)/toolbar-bg.png \
$(srcdir)/search.gif \
$(srcdir)/search-active.gif \
$(srcdir)/search-hover.gif \
$(NULL)
DIRS = bookmarks directory profile regviewer related search sidebar unix wallet xpinstall

View File

@ -29,6 +29,8 @@ include <$(THEME_ROOT_DEPTH)\theme.mk>
install::
$(MAKE_INSTALL) navbar-endbox.gif $(DIST)\bin\chrome\skins\$(THEME)\communicator\skin
$(MAKE_INSTALL) toolbar-bg.gif $(DIST)\bin\chrome\skins\$(THEME)\communicator\skin
$(MAKE_INSTALL) toolbar-bg.png $(DIST)\bin\chrome\skins\$(THEME)\communicator\skin
$(MAKE_INSTALL) broken.gif $(DIST)\bin\chrome\skins\$(THEME)\communicator\skin
$(MAKE_INSTALL) lock.gif $(DIST)\bin\chrome\skins\$(THEME)\communicator\skin
$(MAKE_INSTALL) unlock.gif $(DIST)\bin\chrome\skins\$(THEME)\communicator\skin
@ -39,6 +41,9 @@ install::
$(MAKE_INSTALL) online.gif $(DIST)\bin\chrome\skins\$(THEME)\communicator\skin
$(MAKE_INSTALL) securityOverlay.css $(DIST)\bin\chrome\skins\$(THEME)\communicator\skin
$(MAKE_INSTALL) smallheader-bg.gif $(DIST)\bin\chrome\skins\$(THEME)\communicator\skin
$(MAKE_INSTALL) search.gif $(DIST)\bin\chrome\skins\$(THEME)\communicator\skin
$(MAKE_INSTALL) search-hover.gif $(DIST)\bin\chrome\skins\$(THEME)\communicator\skin
$(MAKE_INSTALL) search-active.gif $(DIST)\bin\chrome\skins\$(THEME)\communicator\skin
clobber::
rm -f $(DIST)\chrome\$(THEME)\communicator\skin\*.*

View File

@ -71,8 +71,3 @@ treeitem[container="true"][open="true"][id="NC:SiteMapRoot"] > treerow > .treece
list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
}
.tree-cell-twisty
{
display : none;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

View File

@ -1,8 +1,12 @@
#sidebar-splitter
{
border-top : 1px solid threedhighlight;
}
#sidebar-box
{
border-left : 1px solid threedshadow;
border-top : 1px solid threedshadow;
border-right : 1px solid threedhighlight;
border-bottom : 1px solid threedhighlight;
background-color : appworkspace;
@ -27,7 +31,7 @@
border-bottom : 1px solid threedshadow;
background-color : threedface;
padding : 3px 5px 3px 6px;
background-image : url("chrome://communicator/skin/smallheader-bg.gif");
background-image : url("chrome://communicator/skin/toolbar-bg.gif");
}
.sidebar-header-text

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

View File

@ -2,10 +2,16 @@
.box-toolbar-group
{
behavior : url("chrome://global/skin/classicBindings.xml#double-box");
border-left : 1px solid threedshadow;
border-top : 1px solid threedshadow;
border-bottom : 1px solid threedhighlight;
border-right : 1px solid threedhighlight;
background-color : #FFFFFF;
-moz-border-radius : 5px;
padding : 3px 2px 2px 3px;
margin : 0px 10px 0px 5px;
margin : 0px;
}
.box-toolbar-group > .db-internal-box
{
border : 1px solid threeddarkshadow;
}

View File

@ -2,18 +2,13 @@
#navigator-throbber
{
behavior : url("chrome://global/content/xulBindings.xml#buttontop");
border : 1px solid threedface;
border : 1px solid threeddarkshadow;
list-style-image : url("chrome://global/skin/animthrob_single.gif");
margin : 0px;
margin : 0px 2px 0px 10px;
min-width : 0px;
cursor : pointer;
}
#navigator-throbber:hover
{
border : 1px solid threeddarkshadow;
}
#navigator-throbber > .button-internal-box
{
border-left : 1px solid threedhighlight;
@ -23,13 +18,18 @@
padding : 1px;
}
#navigator-throbber > .button-internal-box > .button-text-container
{
display : none;
}
#navigator-throbber:hover:active > .button-internal-box
{
border-left : 1px solid threedshadow;
border-top : 1px solid threedshadow;
border-right : 1px solid threedhighlight;
border-bottom : 1px solid threedhighlight;
padding : 2px 0xp 0xp 2px;
border-left : 1px solid threedshadow !important;
border-top : 1px solid threedshadow !important;
border-right : 1px solid threedhighlight !important;
border-bottom : 1px solid threedhighlight !important;
padding : 2px 0xp 0xp 2px !important;
}
#navigator-throbber[busy="true"]

View File

@ -5,30 +5,64 @@
/* outer frame */
.button-toolbar-1, .button-toolbar-2
{
background-color : none;
behavior : url("chrome://global/content/xulBindings.xml#buttontop");
min-width : 0px;
margin : 0px 1px 0px 1px;
margin : 0px;
border : 1px solid transparent;
}
.button-toolbar, .button-toolbar-4
.button-toolbar
{
background-color : none;
behavior : url("chrome://global/content/xulBindings.xml#buttonleft");
min-width : 0px;
margin : 1px;
margin : 2px 0px 2px 0px;
border : none;
}
/* taskbar buttons */
.button-toolbar-4
{
background-color : none;
behavior : url("chrome://global/content/xulBindings.xml#buttonleft");
min-width : 0px;
margin : 0px;
border : 1px solid transparent;
}
.button-toolbar-1:hover, .button-toolbar:hover, .button-toolbar-2:hover, .button-toolbar-4:hover
.button-toolbar-4 > .button-internal-box
{
padding : 0px;
border : 1px solid transparent;
vertical-align : middle;
text-align : center;
}
.button-toolbar-1:hover, .button-toolbar-2:hover, .button-toolbar-4:hover
{
border : 1px solid threeddarkshadow;
color : #0000FF;
}
.button-toolbar:hover
{
color : #0000FF;
text-decoration : underline;
cursor : pointer;
}
.button-toolbar:hover:active
{
color : #FF0000;
text-decoration : underline;
border : none;
}
.button-toolbar-1 > .button-internal-box,
.button-toolbar-2 > .button-internal-box
{
padding : 2px 8px 2px 7px;
padding : 2px 7px 2px 6px;
vertical-align : middle;
text-align : center;
border : 1px solid transparent;
@ -40,20 +74,16 @@
}
.button-toolbar > .button-internal-box,
.button-toolbar-4 > .button-internal-box
.button-toolbar:hover:active > .button-internal-box
{
padding : 1px 4px 1px 3px;
padding : 0px 4px 0px 3px;
vertical-align : middle;
text-align : center;
border : 1px solid transparent;
}
.button-toolbar-1[disabled="true"],
.button-toolbar-1[disabled="true"]:hover,
.button-toolbar-1[disabled="true"]:hover:active,
.button-toolbar[disabled="true"],
.button-toolbar[disabled="true"]:hover,
.button-toolbar[disabled="true"]:hover:active
.button-toolbar-2[disabled="true"],
.button-toolbar-2[disabled="true"]:hover,
.button-toolbar-2[disabled="true"]:hover:active,
@ -62,12 +92,17 @@
.button-toolbar-4[disabled="true"]:hover:active
{
border : 1px solid transparent;
}
.button-toolbar[disabled="true"],
.button-toolbar[disabled="true"]:hover,
.button-toolbar[disabled="true"]:hover:active
{
color : graytext;
}
/* internal frame */
.button-toolbar-1:hover > .button-internal-box,
.button-toolbar:hover > .button-internal-box,
.button-toolbar-2:hover > .button-internal-box,
.button-toolbar-4:hover > .button-internal-box
{
@ -80,17 +115,16 @@
.button-toolbar-1:hover:active > .button-internal-box,
.button-toolbar-2:hover:active > .button-internal-box
{
padding : 3px 7px 1px 8px;
padding : 3px 6px 1px 7px;
border-left : 1px solid threedshadow !important;
border-top : 1px solid threedshadow !important;
border-right : 1px solid threedhighlight !important;
border-bottom : 1px solid threedhighlight !important;
}
.button-toolbar:hover:active > .button-internal-box,
.button-toolbar-4:hover:active > .button-internal-box
{
padding : 1px 3px 0px 4px;
padding : 0px;
border-left : 1px solid threedshadow !important;
border-top : 1px solid threedshadow !important;
border-right : 1px solid threedhighlight !important;
@ -108,41 +142,69 @@
.button-toolbar-1[disabled="true"] > .button-internal-box,
.button-toolbar-1[disabled="true"]:hover > .button-internal-box,
.button-toolbar-1[disabled="true"]:hover:active > .button-internal-box,
.button-toolbar[disabled="true"] > .button-internal-box,
.button-toolbar[disabled="true"]:hover > .button-internal-box,
.button-toolbar[disabled="true"]:hover:active > .button-internal-box,
.button-toolbar-2[disabled="true"] > .button-internal-box,
.button-toolbar-2[disabled="true"]:hover > .button-internal-box,
.button-toolbar-2[disabled="true"]:hover:active > .button-internal-box,
.button-toolbar-2[disabled="true"]:hover:active > .button-internal-box
{
padding : 2px 7px 2px 6px !important;
border : 1px solid transparent !important;
}
.button-toolbar-4[disabled="true"] > .button-internal-box,
.button-toolbar-4[disabled="true"]:hover > .button-internal-box,
.button-toolbar-4[disabled="true"]:hover:active > .button-internal-box
{
padding : 2px 8px 2px 7px !important;
padding : 0px !important;
border : 1px solid transparent !important;
}
.button-toolbar[disabled="true"] > .button-internal-box,
.button-toolbar[disabled="true"]:hover > .button-internal-box,
.button-toolbar[disabled="true"]:hover:active > .button-internal-box,
{
padding : 2px 8px 2px 7px !important;
}
/** "Green" buttons, e.g. "Search"
* class="button-toolbar-3"
**/
.button-toolbar-3
{
margin : 0px 0px 0px 3px;
behavior : url("chrome://global/content/xulBindings.xml#buttonleft");
margin : 1px 1px 1px 4px !important;
font-weight : bold;
background-color : #99CCCC;
border : 0px;
background-color : threedface;
min-width : 0px;
}
.button-toolbar-3:hover, .button-toolbar-3:hover:active
{
margin : 0px 0px 0px 3px !important;
border : 1px solid threeddarkshadow;
}
.button-toolbar-3 > .button-internal-box
{
border : 1px outset #99CCCC;
padding : 1px;
border-left : 1px solid threedhighlight;
border-top : 1px solid threedhighlight;
border-right : 1px solid threedshadow;
border-bottom : 1px solid threedshadow;
padding : 1px 4px 1px 4px;
}
.button-toolbar-3:hover:active > .button-internal-box
{
border : 1px inset #99CCCC;
padding : 2px 0px 0px 2px;
border-left : 1px solid threedshadow !important;
border-top : 1px solid threedshadow !important;
border-bottom : 1px solid threedhighlight !important;
border-right : 1px solid threedhighlight !important;
padding : 2px 3px 0px 5px;
}
.button-toolbar-3 > .button-internal-box > .button-icon
{
margin-right : 5px;
}
/** Expanding Region Button **/

View File

@ -13,6 +13,7 @@
@import url(chrome://communicator/skin/brand.css);
@import url(chrome://communicator/skin/menubutton.css);
@import url(chrome://communicator/skin/formatting.css);
@import url(chrome://communicator/skin/toolbar.css);
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */

View File

@ -1,35 +1,3 @@
/** Styles applying to items in a button-toolbar-3 style menu
* menuitem class="button-toolbar-3"
**/
.button-toolbar-3 > .menubutton-icon-internal-box
{
border : 1px outset #99CCCC;
}
.button-toolbar-3[open="true"] > .menubutton-icon-internal-box,
.button-toolbar-3:hover:active > .menubutton-icon-internal-box
{
border : 1px inset #99CCCC;
}
menupopup.button-toolbar-3
{
border : 1px solid #000000;
}
menuitem.button-toolbar-3
{
font-weight : normal;
}
.button-toolbar-3[menuactive="true"]
{
background-color : #669999;
color : #FFFFFF;
font-weight : normal;
}
/** menubuttons on generic grey toolbars
* class="button-toolbar"
**/
@ -39,37 +7,35 @@
padding : 1px 3px 1px 3px;
}
.button-toolbar[open="true"] > .menubutton-internal-box,
.button-toolbar:hover:active > .menubutton-internal-box
{
border : none;
padding : 1px 3px 1px 3px;
}
.button-toolbar[open="true"]
{
border : 1px solid threedface;
}
/* toolbar menubuttons */
menubutton.button-toolbar, menubutton.button-toolbar-4
menubutton.button-toolbar-4
{
behavior : url("chrome://communicator/skin/menubuttonBindings.xml#menubutton-toolbar-single");
border : 1px solid threedface;
border : 1px solid transparent;
}
menubutton.button-toolbar:hover, menubutton.button-toolbar-4:hover
menubutton.button-toolbar
{
behavior : url("chrome://communicator/skin/menubuttonBindings.xml#menubutton-toolbar-single");
}
menubutton.button-toolbar-4:hover
{
border : 1px solid threeddarkshadow;
}
.menubutton-toolbar-single-internal-box
{
border : 1px solid threedface;
padding : 1px 4px 1px 4px;
border : 1px solid transparent;
padding : 0px 4px 0px 4px;
}
menubutton.button-toolbar > .menubutton-toolbar-single-internal-box
{
border : none;
padding : 0px 4px 0px 4px;
}
menubutton.button-toolbar:hover > .menubutton-toolbar-single-internal-box,
menubutton.button-toolbar-4:hover > .menubutton-toolbar-single-internal-box
{
border-left : 1px solid threedhighlight;
@ -78,8 +44,6 @@ menubutton.button-toolbar-4:hover > .menubutton-toolbar-single-internal-box
border-bottom : 1px solid threedshadow;
}
menubutton.button-toolbar:hover:active > .menubutton-toolbar-single-internal-box,
menubutton.button-toolbar[open="true"] > .menubutton-toolbar-single-internal-box,
menubutton.button-toolbar-4:hover:active > .menubutton-toolbar-single-internal-box,
menubutton.button-toolbar-4[open="true"] > .menubutton-toolbar-single-internal-box
{
@ -87,7 +51,7 @@ menubutton.button-toolbar-4[open="true"] > .menubutton-toolbar-single-internal-b
border-top : 1px solid threedshadow;
border-right : 1px solid threedhighlight;
border-bottom : 1px solid threedhighlight;
padding : 2px 3px 0px 5px;
padding : 0px 4px 0px 4px;
}
.menubutton-toolbar-single-dropmarker

View File

@ -48,14 +48,14 @@
list-style-image : url("chrome://global/skin/taskbar-composer-hover.gif");
}
#taskbar
{
margin-top : 2px;
}
.taskbutton
{
margin-right : 1em !important;
margin-right : 3px ! important;
}
.taskbutton > .button-internal-box > .button-text-container
{
display : none;
}
.taskbarspacer
@ -63,8 +63,3 @@
min-width : 0.3em;
width : 1em;
}
#taskbar-toolbar > toolbargrippy
{
display : none;
}

View File

@ -1,57 +1,10 @@
/******* ToolBox & ToolBar *******/
toolbar
/* comment out until we get the bg looking right
.toolbar-primary, menubar
{
background-color : #CCCCCC;
border-bottom : 1px solid #003366;
background-image : url("chrome://communicator/skin/toolbar-bg.gif");
}
toolbargrippy
{
background-image : url("chrome://global/skin/taskbar-tab-trans.gif");
background-repeat : no-repeat;
border-right : 1px solid #003366;
width : 10px;
height : 10px;
}
toolbar[collapsed="true"] > toolbargrippy
{
width : 30px;
}
toolbargrippy:hover
{
background-color : #99cccc !important;
background-image : url("chrome://global/skin/taskbar-tab-hover.gif") !important;
}
.toolbar-primary
{
background-image : url("chrome://global/skin/navbar-bg.gif");
background-color : #CCCCCC;
padding : 0px;
min-height : 47px;
border : none;
}
.toolbar-primary > toolbargrippy, .toolbar-standard > toolbargrippy
{
background-color : #003366;
background-image : url("chrome://global/skin/taskbar-tab.gif");
background-repeat : no-repeat;
}
.toolbar-standard
{
color : white;
background-color : #003366;
padding : 0px;
margin : 0px;
border : none;
min-height : 46px;
}
*/

View File

@ -16,9 +16,34 @@
#browser
{
border-left : 1px solid threedshadow;
border-top : 1px solid threedshadow;
border-right : 1px solid threedhighlight;
border-bottom : 1px solid threedhighlight;
}
#ubhist
{
margin : 0px;
background-color : threedface;
list-style-image : url("chrome://global/skin/scroll-down.gif");
}
#ubhist > .menubutton-icon-internal-box
{
border-left : 1px solid threedhighlight;
border-top : 1px solid threedhighlight;
border-right : 1px solid threedshadow;
border-bottom : 1px solid threedshadow;
}
#ubhist:hover:active > .menubutton-icon-internal-box,
#ubhist[open="true"] > .menubutton-icon-internal-box
{
border : 1px solid threedshadow;
}
#urlbar-container
{
padding : 3px 2px 2px 3px;
}
/*
@ -58,18 +83,22 @@ window[chromehidden~="extrachrome"] .chromeclass-extrachrome {
}
#back-button[disabled="true"],
#back-button[disabled="true"][buttonover="true"],
#back-button[disabled="true"][buttondown="true"]
#back-button[disabled="true"]:hover,
#back-button[disabled="true"]:hover:active,
#back-button[disabled="true"] > .classic-simplebutton-box > .classic-simplebutton:hover,
#back-button[disabled="true"] > .classic-simplebutton-box > .classic-simplebutton:hover:active
{
list-style-image : url("chrome://navigator/skin/back-disabled.gif");
}
#back-button[buttonover="true"]
#back-button:hover,
#back-button > .classic-simplebutton-box > .classic-simplebutton:hover
{
list-style-image : url("chrome://navigator/skin/back-hover.gif");
}
#back-button[buttondown="true"]
#back-button:hover:active,
#back-button > .classic-simplebutton-box > .classic-simplebutton:hover:active
{
list-style-image : url("chrome://navigator/skin/back-hover-active.gif");
}
@ -81,18 +110,22 @@ window[chromehidden~="extrachrome"] .chromeclass-extrachrome {
}
#forward-button[disabled="true"],
#forward-button[disabled="true"][buttonover="true"],
#forward-button[disabled="true"][buttondown="true"]
#forward-button[disabled="true"]:hover,
#forward-button[disabled="true"]:hover:active,
#forward-button[disabled="true"] > .classic-simplebutton-box > .classic-simplebutton:hover,
#forward-button[disabled="true"] > .classic-simplebutton-box > .classic-simplebutton:hover:active
{
list-style-image : url("chrome://navigator/skin/forward-disabled.gif");
}
#forward-button[buttonover="true"]
#forward-button:hover,
#forward-button > .classic-simplebutton-box > .classic-simplebutton:hover
{
list-style-image : url("chrome://navigator/skin/forward-hover.gif");
}
#forward-button[buttondown="true"]
#forward-button:hover:active,
#forward-button > .classic-simplebutton-box > .classic-simplebutton:hover:active
{
list-style-image : url("chrome://navigator/skin/forward-hover-active.gif");
}
@ -142,26 +175,12 @@ window[chromehidden~="extrachrome"] .chromeclass-extrachrome {
list-style-image : url("chrome://navigator/skin/reload.gif");
}
/*all the urlbar stuff*/
#page-proxy-button
{
list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
list-style-image : url("chrome://communicator/skin/bookmarks/location.gif");
cursor : grab;
}
#ubhist-keyword-popup
{
margin : 0px 4px 0px 0px;
width : 10px;
list-style-image : url("chrome://global/skin/scroll-down.gif");
}
#action-popup
{
list-style-image : url("chrome://global/skin/scroll-down.gif");
margin : 0px;
-moz-border-radius : 4px;
margin : 0px 2px 0px 0px;
}
#content-frame
@ -183,6 +202,17 @@ window[chromehidden~="extrachrome"] .chromeclass-extrachrome {
#search-button
{
margin-right : 1px;
list-style-image : url("chrome://communicator/skin/search.gif");
}
#search-button:hover
{
list-style-image : url("chrome://communicator/skin/search-hover.gif");
}
#search-button:hover:active
{
list-style-image : url("chrome://communicator/skin/search-active.gif");
}
#homebutton
@ -195,7 +225,3 @@ window[chromehidden~="extrachrome"] .chromeclass-extrachrome {
padding : 2px;
}
#statusbar-icon
{
margin-left : 0px;
}

View File

@ -1,6 +1,7 @@
#navigator-throbber
{
behavior : url("chrome://global/content/xulBindings.xml#buttontop");
background-image : url("chrome://communicator/skin/navbar-endbox.gif");
background-repeat : no-repeat;
list-style-image : url("chrome://global/skin/animthrob_single.gif");
@ -9,6 +10,7 @@
padding : 8px 8px 7px 16px;
margin : 0px;
cursor : pointer;
border : none;
}
#navigator-throbber[busy="true"]
@ -21,3 +23,15 @@
padding : 9px 7px 6px 17px;
}
#navigator-throbber > .button-internal-box
{
border : none;
padding : 0px;
margin : 0px;
}
#navigator-throbber > .button-internal-box > .button-text-container
{
display : none;
}

View File

@ -203,13 +203,13 @@
.button-toolbar-3 > .button-internal-box
{
border : 1px outset #99CCCC;
padding : 1px;
padding : 2px 4px 2px 4px;
}
.button-toolbar-3:hover:active > .button-internal-box
{
border : 1px inset #99CCCC;
padding : 2px 0px 0px 2px;
padding : 3px 3px 1px 5px;
}
/** Expanding Region Button **/

View File

@ -55,15 +55,17 @@
/**
* Navigation bar style menubuttons
**/
.toolbar.menubutton-dual,
.toolbar.menubutton-dual
.menubutton-dual.toolbar
{
behavior : url("chrome://communicator/skin/menubuttonBindings.xml#menubutton-dual-foo");
border : none ! important;
}
.button-toolbar-1.menubutton-dual-button
{
list-style-image : inherit;
min-height : 0px;
}
.button-toolbar-2.menubutton-dual-button

View File

@ -38,7 +38,6 @@ toolbargrippy:hover
background-image : url("chrome://global/skin/navbar-bg.gif");
background-color : #CCCCCC;
padding : 0px;
min-height : 47px;
border : none;
}
@ -56,7 +55,6 @@ toolbargrippy:hover
padding : 0px;
margin : 0px;
border : none;
min-height : 46px;
}

View File

@ -43,14 +43,12 @@ window[chromehidden~="extrachrome"] .chromeclass-extrachrome {
*/
#back-button
{
behavior : url("chrome://communicator/skin/menubuttonBindings.xml#menubutton-dual-foo");
list-style-image : url("chrome://navigator/skin/back.gif");
margin : 0px;
}
#forward-button
{
behavior : url("chrome://communicator/skin/menubuttonBindings.xml#menubutton-dual-foo");
list-style-image : url("chrome://navigator/skin/forward.gif");
margin : 0px;
}
@ -81,12 +79,11 @@ window[chromehidden~="extrachrome"] .chromeclass-extrachrome {
#ubhist
{
margin : 0px 2px 0px 0px;
margin : 3px 1px 3px 0px;
width : 10px;
list-style-image : url("chrome://global/skin/scroll-down.gif");
border : none;
border-right : 1px solid #336699;
padding : 0px 2px 0px 0px;
padding : 0px;
}
#ubhist-popup
@ -146,5 +143,3 @@ window[chromehidden~="extrachrome"] .chromeclass-extrachrome {
{
padding : 2px;
}
#

View File

@ -42,6 +42,10 @@
<script language="JavaScript">
<![CDATA[
var _elementIDs = ["mousewheelWithNoKeyAction", "mousewheelWithNoKeyNumlines", "mousewheelWithNoKeySysNumlines",
"mousewheelWithAltKeyAction", "mousewheelWithAltKeyNumlines", "mousewheelWithAltKeySysNumlines",
"mousewheelWithCtrlKeyAction", "mousewheelWithCtrlKeyNumlines", "mousewheelWithCtrlKeySysNumlines",
"mousewheelWithShiftKeyAction", "mousewheelWithShiftKeyNumlines", "mousewheelWithShiftKeySysNumlines"];
function switchPage( aElement )
{
@ -69,6 +73,15 @@
}
}
function enableField(aCheckbox, aNodeID)
{
var el = document.getElementById(aNodeID);
if (aCheckbox.checked)
el.setAttribute("disabled", "true");
else
el.removeAttribute("disabled");
}
]]>
</script>
@ -103,7 +116,7 @@
prefattribute="value"/>
<checkbox id="mousewheelWithNoKeySysNumlines" value="&useSystemDefault.label;" accesskey="&useSystemDefault.accesskey;"
pref="true" preftype="bool" prefstring="mousewheel.withnokey.sysnumlines"
prefattribute="checked"/>
prefattribute="checked" oncommand="enableField(this, 'mousewheelWithNoKeyNumlines');"/>
</box>
</box>
<radio group="mousewheelWithNoKeyAction" data="1" value="&scrollPgUpPgDn.label;" accesskey="&scrollPgUpPgDn.accesskey;"/>
@ -123,7 +136,7 @@
prefattribute="value"/>
<checkbox id="mousewheelWithAltKeySysNumlines" value="&useSystemDefault.label;" accesskey="&useSystemDefault.accesskey;"
pref="true" preftype="bool" prefstring="mousewheel.withaltkey.sysnumlines"
prefattribute="checked"/>
prefattribute="checked" oncommand="enableField(this, 'mousewheelWithAltKeyNumlines');"/>
</box>
</box>
<radio group="mousewheelWithAltKeyAction" data="1" value="&scrollPgUpPgDn.label;" accesskey="&scrollPgUpPgDn.accesskey;"/>
@ -143,7 +156,7 @@
prefattribute="value"/>
<checkbox id="mousewheelWithCtrlKeySysNumlines" value="&useSystemDefault.label;" accesskey="&useSystemDefault.accesskey;"
pref="true" preftype="bool" prefstring="mousewheel.withcontrolkey.sysnumlines"
prefattribute="checked"/>
prefattribute="checked" oncommand="enableField(this, 'mousewheelWithCtrlKeyNumlines');"/>
</box>
</box>
<radio group="mousewheelWithCtrlKeyAction" data="1" value="&scrollPgUpPgDn.label;" accesskey="&scrollPgUpPgDn.accesskey;"/>
@ -163,7 +176,7 @@
prefattribute="value"/>
<checkbox id="mousewheelWithShiftKeySysNumlines" value="&useSystemDefault.label;" accesskey="&useSystemDefault.accesskey;"
pref="true" preftype="bool" prefstring="mousewheel.withshiftkey.sysnumlines"
prefattribute="checked"/>
prefattribute="checked" oncommand="enableField(this, 'mousewheelWithShiftKeyNumlines');"/>
</box>
</box>
<radio group="mousewheelWithShiftKeyAction" data="1" value="&scrollPgUpPgDn.label;" accesskey="&scrollPgUpPgDn.accesskey;"/>

View File

@ -180,7 +180,14 @@
<![CDATA[
if (event.target != this || this.selectedItems.length != 1)
return;
this.selectedItems[0].close();
if (this.selectedItems[0].getAttribute("open") != "true") {
var el = this.selectedItems[0].parentNode.parentNode
if (el) this.selectItem(el);
}
else {
var el = this.selectedItems[0];
el.close();
}
]]>
</handler>
<handler type="keypress" keycode="vk_right">

View File

@ -219,10 +219,12 @@
</xul:box>
</content>
<interface>
<property name="progresstext" onset="return this.setAttribute('progresstext',val);"
<property name="progresstext" onset="this.setAttribute('progresstext',val); return val;"
onget="return this.getAttribute('progresstext');"/>
<property name="value" onset="return this.setAttribute('value',val);"
<property name="value" onset="this.setAttribute('value',val); return val;"
onget="return this.getAttribute('value');"/>
<property name="mode" onset="this.setAttribute('mode', val); return val;"
onget="return this.getAttribute('mode');"/>
</interface>
</binding>
@ -380,7 +382,7 @@
<binding id="toolbar">
<content>
<xul:toolbargrippy inherits="grippytooltiptext:tooltiptext,grippytooltip:tooltip"
<xul:toolbargrippy inherits="grippytooltiptext:tooltiptext,grippytooltip:tooltip,last-toolbar"
onclick="var v = parentNode;
var attr = v.getAttribute('collapsed');
if (attr == 'true') {
@ -398,9 +400,8 @@
parentNode.parentNode.collapseToolbar(parentNode);
}
catch(e) {}
}
"/>
<xul:box flex="1" class="toolbar-holder" inherits="collapsed">
}"/>
<xul:box flex="1" class="toolbar-holder" inherits="collapsed,last-toolbar" autostretch="never">
<children/>
</xul:box>
</content>