зеркало из https://github.com/mozilla/pjs.git
46613, more classic skin work
This commit is contained in:
Родитель
912e3ab780
Коммит
6c596c00b4
|
@ -138,5 +138,13 @@
|
|||
</xul:box>
|
||||
</content>
|
||||
</binding>
|
||||
|
||||
<binding id="splitter-hack" extends="xul:splitter">
|
||||
<content>
|
||||
<xul:box class="splitter-hack-box" flex="1" autostretch="never">
|
||||
<children/>
|
||||
</xul:box>
|
||||
</content>
|
||||
</binding>
|
||||
|
||||
</bindings>
|
||||
|
|
|
@ -153,4 +153,37 @@
|
|||
.wizard-box
|
||||
{
|
||||
padding : 20px 44px 10px 44px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Double Border Boxes */
|
||||
|
||||
/* top only */
|
||||
.double-box-top
|
||||
{
|
||||
behavior : url("chrome://global/skin/classicBindings.xml#double-box");
|
||||
border-top : 1px solid threedshadow;
|
||||
background-color : #FFFFFF;
|
||||
margin : 0px;
|
||||
}
|
||||
|
||||
.double-box-top > .db-internal-box
|
||||
{
|
||||
border-top : 1px solid threeddarkshadow;
|
||||
}
|
||||
|
||||
/* all round */
|
||||
.double-box
|
||||
{
|
||||
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;
|
||||
margin : 0px;
|
||||
}
|
||||
|
||||
.double-box > .db-internal-box
|
||||
{
|
||||
border : 1px solid threeddarkshadow;
|
||||
}
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
grippy:hover
|
||||
{
|
||||
background-color : #CCCCFF;
|
||||
background-color : #CCCCFF;
|
||||
}
|
||||
|
||||
splitter[state="collapsed"] > grippy
|
||||
|
@ -45,15 +45,21 @@
|
|||
background-image : url("chrome://global/skin/splitter-drag-bg.gif");
|
||||
}
|
||||
|
||||
rows > splitter,
|
||||
rows > splitter
|
||||
{
|
||||
cursor : n-resize;
|
||||
}
|
||||
|
||||
window[orient="vertical"] > splitter,
|
||||
box[orient="vertical"] > splitter,
|
||||
window[align="vertical"] > splitter,
|
||||
box[align="vertical"] > splitter
|
||||
{
|
||||
cursor : n-resize;
|
||||
behavior : url("chrome://global/skin/classicBindings.xml#splitter-hack");
|
||||
border-top : 1px solid threedhighlight;
|
||||
}
|
||||
|
||||
|
||||
/* Grippy alignment */
|
||||
splitter[autostretch="never"]
|
||||
{
|
||||
|
@ -70,8 +76,17 @@
|
|||
box > splitter > grippy
|
||||
{
|
||||
list-style-image : url("chrome://global/skin/grippy-horizontal-before.gif");
|
||||
border-left : none;
|
||||
border-right : none;
|
||||
}
|
||||
|
||||
window > splitter > grippy > .grippy-box,
|
||||
box > splitter > grippy > .grippy-box
|
||||
{
|
||||
border-left : none;
|
||||
border-right : none;
|
||||
}
|
||||
|
||||
window > splitter[state="collapsed"] > grippy,
|
||||
box > splitter[state="collapsed"] > grippy
|
||||
{
|
||||
|
@ -96,8 +111,21 @@
|
|||
box[orient="vertical"] > splitter > grippy
|
||||
{
|
||||
list-style-image : url("chrome://global/skin/grippy-vertical-before.gif");
|
||||
border-left : 1px solid threedshadow;
|
||||
border-right : 1px solid threedhighlight;
|
||||
border-top : none;
|
||||
border-bottom : none;
|
||||
}
|
||||
|
||||
window[orient="vertical"] > splitter > grippy > .grippy-box,
|
||||
box[orient="vertical"] > splitter > grippy > .grippy-box
|
||||
{
|
||||
border-left : 1px solid threedhighlight;
|
||||
border-right : 1px solid threedshadow;
|
||||
border-top : none;
|
||||
border-bottom : none;
|
||||
}
|
||||
|
||||
window[orient="vertical"] > splitter[state="collapsed"] > grippy,
|
||||
box[orient="vertical"] > splitter[state="collapsed"] > grippy
|
||||
{
|
||||
|
|
|
@ -57,6 +57,23 @@ treecell
|
|||
padding : 0px;
|
||||
}
|
||||
|
||||
/* slimline sidebar treeheaders */
|
||||
.treecell-header.treecell-header-sidebarpanel,
|
||||
.treecell-inset-header.treecell-header-sidebarpanel
|
||||
{
|
||||
border-left : none !important;
|
||||
border-top : 1px solid threedhighlight !important;
|
||||
border-bottom : 1px solid threedshadow !important;
|
||||
border-right : none !important;
|
||||
padding : 0px 0px 0px 3px;
|
||||
}
|
||||
|
||||
.treecell-header-sidebarpanel > .treecell-header-box
|
||||
{
|
||||
border : none !important;
|
||||
border-right : 1px solid threedface !important;
|
||||
}
|
||||
|
||||
.treecell-header-image
|
||||
{
|
||||
behavior : url("chrome://global/skin/treeBindings.xml#treecell-header-image");
|
||||
|
|
Загрузка…
Ссылка в новой задаче