bug 53558. windows classic theme should not use threedface for borders. patch by shuehan liang <shliang@netscape.com> r=jag, sr=hewitt

This commit is contained in:
hewitt%netscape.com 2001-11-03 01:29:26 +00:00
parent 8f33fecae1
commit b3002f74bd
11 changed files with 38 additions and 29 deletions

View File

@ -1,3 +1,5 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/**
* Bookmarks tree
**/
@ -13,7 +15,7 @@
.bookmarks-window-tree > .tree-container-treerows
{
border-left : 1px solid ThreeDDarkShadow;
border-right : 1px solid ThreeDFace;
border-right : 1px solid ThreeDLightShadow;
}
.bookmarks-panel-tree, .bookmarks-panel-tree > .tree-container-treerows

View File

@ -26,6 +26,8 @@
in order to share with all users of editor
*/
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/********* image pre-cacheing ********/
#resource_bundle_editor{
-moz-binding : url('chrome://editor/skin/resources.xml#resource_bundle_editor')
@ -61,7 +63,7 @@
#ContentWindowDeck
{
border-left : 1px solid ThreeDDarkShadow;
border-right : 1px solid ThreeDFace;
border-right : 1px solid ThreeDLightShadow;
}
#status-bar
@ -74,8 +76,8 @@
#EditModeToolbar
{
border-left : 1px solid ThreeDDarkShadow;
border-right : 1px solid ThreeDFace;
border-bottom : 1px solid ThreeDFace !important;
border-right : 1px solid ThreeDLightShadow;
border-bottom : 1px solid ThreeDLightShadow !important;
}

View File

@ -30,7 +30,7 @@ textbox[type="autocomplete"]
border-top : 1px solid -moz-Dialog;
border-right : 1px solid ThreeDDarkShadow;
border-bottom : 1px solid ThreeDDarkShadow;
border-left : 1px solid ThreeDFace;
border-left : 1px solid ThreeDLightShadow;
background-color : ThreeDFace;
list-style-image : url("chrome://global/skin/scroll-down.gif");
}
@ -51,7 +51,7 @@ textbox[type="autocomplete"]
.autocomplete-history-button[open="true"] > .autocomplete-history-button-internal-box
{
border : 1px solid ThreeDFace;
border : 1px solid ThreeDLightShadow;
padding : 2px 0px 0px 2px;
}

View File

@ -1,3 +1,5 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* NEW WIDGET ANDING: <button> */
/** Default Button Styles (apply to usage of <button> without
@ -44,7 +46,7 @@
button[disabled="true"][default] > .button-box > .button-box-2,
button[disabled="true"]:hover:active > .button-box > .button-box-2
{
border : 1px solid ThreeDFace;
border : 1px solid ThreeDLightShadow;
}
button:hover:active,
@ -95,7 +97,7 @@
button[disabled]:focus > .button-box > .button-box-2 > .button-box-text
{
padding : 0px 3px 1px 2px;
border : 1px solid ThreeDFace;
border : 1px solid ThreeDLightShadow;
margin : 1px;
}

View File

@ -1,4 +1,5 @@
@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* outer frame */
menulist
@ -54,10 +55,10 @@
/* drop marker display frame */
.menulist-dropmarker-box-1
{
border-top : 1px solid ThreeDFace;
border-top : 1px solid ThreeDLightShadow;
border-right : 1px solid ThreeDDarkShadow;
border-bottom : 1px solid ThreeDDarkShadow;
border-left : 1px solid ThreeDFace;
border-left : 1px solid ThreeDLightShadow;
background-color : -moz-Dialog;
}
@ -87,7 +88,7 @@
menulist:hover:active > .menulist-internal-box > .menulist-dropmarker-box-1 > .menulist-dropmarker-box-2[open="true"]
{
border : 1px solid ThreeDFace;
border : 1px solid ThreeDLightShadow;
padding : 3px 0px 1px 2px;
}

View File

@ -1,4 +1,5 @@
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); /* set default namespace to XUL */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/********* XP Scrollbar *********/
@ -63,7 +64,7 @@ scrollbarbutton:hover:active
scrollbarbutton:hover:active > .scrollbarbutton-box
{
border : 1px solid ThreeDFace;
border : 1px solid ThreeDLightShadow;
padding : 2px 0px 0px 2px;
}

View File

@ -1,4 +1,4 @@
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/*============ tabpanels widget =============*/
@ -182,13 +182,13 @@ tabs > tab[selected="true"] {
}
tabs > tab[selected="true"] > .tab-box {
border-bottom: 1px solid ThreeDFace;
border-bottom: 1px solid ThreeDLightShadow;
padding-left: 5px !important;
padding-right: 4px !important;
}
tabs > tab[selected="true"][first-tab="true"] > .tab-box {
border-bottom: 1px solid ThreeDFace;
border-bottom: 1px solid ThreeDLightShadow;
padding-left: 5px !important;
padding-right: 4px !important;
}
@ -200,7 +200,7 @@ tabpanels + tabs > tab[selected="true"] {
}
tabpanels + tabs > tab[selected="true"] > .tab-box {
border-top: 1px solid ThreeDFace;
border-top: 1px solid ThreeDLightShadow;
border-bottom: 1px solid ThreeDShadow !important;
}
@ -211,13 +211,13 @@ tabbox[orient="horizontal"] > tabs[orient="vertical"] > tab[selected="true"] {
}
tabbox[orient="horizontal"] > tabs[orient="vertical"] > tab[selected="true"] > .tab-box {
border-right: 1px solid ThreeDFace;
border-right: 1px solid ThreeDLightShadow;
padding-top: 3px !important;
padding-bottom: 2px !important;
}
tabbox[orient="horizontal"] > tabs[orient="vertical"] > tab[selected="true"][first-tab="true"] > .tab-box {
border-right: 1px solid ThreeDFace;
border-right: 1px solid ThreeDLightShadow;
padding-top: 3px !important;
padding-bottom: 2px !important;
}
@ -228,7 +228,7 @@ tabbox[orient="horizontal"] > tabpanels + tabs[orient="vertical"] > tab[selected
}
tabbox[orient="horizontal"] > tabpanels + tabs[orient="vertical"] > tab[selected="true"] > .tab-box {
border-left: 1px solid ThreeDFace !important;
border-left: 1px solid ThreeDLightShadow !important;
border-right: 1px solid ThreeDShadow !important;
}

View File

@ -30,8 +30,8 @@
padding : 1px 2px 1px 2px;
border-left : 1px solid ThreeDDarkShadow;
border-top : 1px solid ThreeDDarkShadow;
border-right : 1px solid ThreeDFace;
border-bottom : 1px solid ThreeDFace;
border-right : 1px solid ThreeDLightShadow;
border-bottom : 1px solid ThreeDLightShadow;
}
/* internal text widget */

View File

@ -1,3 +1,4 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/******** Tree widget **********/
@ -166,7 +167,7 @@ tree:focus > treechildren treeitem[selected="true"][current="true"] > treerow
.treecell-header-sidebarpanel > .treecell-header-box
{
border : none !important;
border-right : 1px solid ThreeDFace !important;
border-right : 1px solid ThreeDLightShadow !important;
}
/** class="propertylist" ******************************************
@ -175,8 +176,8 @@ tree:focus > treechildren treeitem[selected="true"][current="true"] > treerow
treecell.propertylist
{
border-right : 1px solid ThreeDFace;
border-bottom : 1px solid ThreeDFace;
border-right : 1px solid ThreeDLightShadow;
border-bottom : 1px solid ThreeDLightShadow;
padding-left : 5px;
}

View File

@ -167,8 +167,8 @@ sidebarheader {
min-width: 150px;
border-left: 1px solid ThreeDDarkShadow;
border-top: 1px solid ThreeDDarkShadow;
border-bottom: 1px solid ThreeDFace;
border-right: 1px solid ThreeDFace;
border-bottom: 1px solid ThreeDLightShadow;
border-right: 1px solid ThreeDLightShadow;
background-color: #FFFFFF;
}

View File

@ -300,8 +300,8 @@ outlinerbody:-moz-outliner-image(remote-err)
{
border-left : 1px solid ThreeDDarkShadow;
border-top : 1px solid ThreeDDarkShadow;
border-right : 1px solid ThreeDFace;
border-bottom : 1px solid ThreeDFace;
border-right : 1px solid ThreeDLightShadow;
border-bottom : 1px solid ThreeDLightShadow;
}
#appcontent