*/
.box-texttab
{
- -moz-binding : url("chrome://communicator/content/sidebar/sidebarBindings.xml#texttab");
+ -moz-binding : url("chrome://communicator/skin/sidebar/sidebarBindings.xml#panelheader");
background-color : #CCD0DD;
- padding-top : 2px;
+/* padding-top : 2px; */
}
.box-texttab[selected="true"]
.box-texttab[top-panel="true"]
{
- background-color : #666699;
+/* background-color : #666699; */
}
.box-texttab[first-panel-after-selected="true"]
{
- background-color : #FFFFFF;
+/* background-color : #FFFFFF; */
}
+
+/*
.box-texttab-right-space
{
width : 30px;
{
list-style-image : url("chrome://global/skin/seltab-rightedge.gif");
}
+*/
- .box-texttab-text-container
+ .panelheader-text
{
- border-top : 1px solid #000000;
- background-color : #CCD0DD;
+ border-top : 1px outset #CCD0DD;
+ border-bottom : 1px outset #CCD0DD;
+ padding : 5px 3px 3px 3px;
+ color : #000000;
}
- .box-texttab[selected="true"] > .box-texttab-text-container
+ .box-texttab[selected="true"] > .panelheader-box > .panelheader-text
{
+ border-top : 1px solid transparent;
+ border-bottom : 1px solid transparent;
background-color : #FFFFFF;
font-weight : bold;
}
+
<?xml version="1.0"?>
-<bindings id="buttonBindings"
+<bindings id="sidebarBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
- <binding id="sidebar-panel-header">
+ <binding id="panelheader" extends="xul:button">
<content>
- <xul:box class="sidebar-panel-header-box" flex="1" autostretch="never" valign="middle">
- <xul:text class="sidebar-panel-header-text" inherits="value=label,accesskey,crop" crop="right"/>
+ <xul:box class="panelheader-box" inherits="selected" orient="vertical" flex="1">
+ <xul:text class="panelheader-text" inherits="value=label" crop="right"/>
</xul:box>
</content>
</binding>
</bindings>
+
*/
.box-texttab
{
- -moz-binding : url("chrome://communicator/content/sidebar/sidebarBindings.xml#texttab");
+ -moz-binding : url("chrome://communicator/skin/sidebar/sidebarBindings.xml#panelheader");
-moz-border-radius : 5px;
border-top : 3px solid black;
}
border-bottom : 3px solid black;
}
-/*
- .box-texttab[top-panel="true"]
- {
- background-color : #FF9F00;
- }
-
- .box-texttab[first-panel-after-selected="true"]
- {
- background-color : #FF9F00;
- }
-*/
-
.box-texttab-right-space
{
-moz-border-radius : 5px;
-/* width : 30px;
- border-bottom : 1px solid #000000; */
}
-/*
- .box-texttab[last-panel="true"] > .box-texttab-right-space
- {
- border-bottom : none;
- }
- .box-texttab[last-panel="true"][selected="true"] > .box-texttab-right-space
- {
- border-bottom : 1px solid #000000;
- }
-*/
-
-/*
- .box-texttab-left
- {
- list-style-image : url("chrome://global/skin/tab-leftedge.gif");
- }
-
- .box-texttab-right
- {
- list-style-image : url("chrome://global/skin/tab-rightedge.gif");
- }
-
- .box-texttab[selected="true"] > .box-texttab-left
- {
- list-style-image : url("chrome://global/skin/seltab-leftedge.gif");
- }
-
- .box-texttab[selected="true"] > .box-texttab-right
- {
- list-style-image : url("chrome://global/skin/seltab-rightedge.gif");
- }
-*/
-
- .box-texttab-text-container > .box-texttab-text
+ .panelheader-text
{
-moz-border-radius : 5px;
background-color : #FF9F00;
color : #000000;
}
- .box-texttab:hover > .box-texttab-text-container > .box-texttab-text,
- .box-texttab > .box-texttab-text-container:hover > .box-texttab-text,
- .box-texttab > .box-texttab-text-container > .box-texttab-text:hover
+ .box-texttab:hover > .panelheader-box > .panelheader-text,
+ .box-texttab > .panelheader-box > .panelheader-text:hover
{
background-color : #FFCF00;
color : #000000;
}
- .box-texttab[selected="true"] > .box-texttab-text-container > .box-texttab-text
+ .box-texttab > .panelheader-box[selected="true"] > .panelheader-text,
+ .box-texttab:hover > .panelheader-box[selected="true"] > .panelheader-text,
+ .box-texttab > .panelheader-box[selected="true"] > .panelheader-text:hover
{
background-color : #008484;
color : #FFCF00;
font-weight : bold;
}
-
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
- <binding id="sidebar-panel-header">
+ <binding id="panelheader" extends="xul:button">
<content>
- <xul:box class="sidebar-panel-header-box" flex="1" autostretch="never" valign="middle">
- <xul:text class="sidebar-panel-header-text" inherits="value=label,accesskey,crop" crop="right"/>
+ <xul:box class="panelheader-box" inherits="selected" orient="vertical" flex="1">
+ <xul:text class="panelheader-text" inherits="value=label" crop="right"/>
</xul:box>
</content>
</binding>
</bindings>
+