From f8435a1f41db0b43aeacb387cbcf07d446a9edee Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Sun, 5 Jan 2003 04:36:26 +0000 Subject: [PATCH] Resizer widget should only use moz-appearance styling in the classic theme. Icon for modern by Grey Hodge , other changes by Tim Hill , r=jag, sr=bzbarsky --- themes/classic/global/win/global.css | 7 ++++++- themes/modern/global/global.css | 7 +++++++ themes/modern/global/icons/resizer.png | 0 themes/modern/jar.mn | 1 + xpfe/global/resources/content/bindings/general.xml | 2 +- 5 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 themes/modern/global/icons/resizer.png diff --git a/themes/classic/global/win/global.css b/themes/classic/global/win/global.css index b5844a3fccb..1af9a25b43b 100644 --- a/themes/classic/global/win/global.css +++ b/themes/classic/global/win/global.css @@ -134,7 +134,12 @@ statusbarpanel { .statusbarpanel-iconic { padding: 0px; -} +} + +resizer[dir="bottomright"] { + -moz-appearance: resizer; + cursor: se-resize; +} /* ::::: miscellaneous ::::: */ diff --git a/themes/modern/global/global.css b/themes/modern/global/global.css index 1ccf9581798..a6a48d29743 100644 --- a/themes/modern/global/global.css +++ b/themes/modern/global/global.css @@ -161,6 +161,13 @@ statusbarpanel { margin: 0px !important; } +resizer[dir="bottomright"] { + background-image: url("chrome://global/skin/icons/resizer.png"); + cursor: se-resize; + width: 15px; + height: 15px; +} + /* ::::: miscellaneous ::::: */ .toolbar-focustarget { diff --git a/themes/modern/global/icons/resizer.png b/themes/modern/global/icons/resizer.png new file mode 100644 index 00000000000..e69de29bb2d diff --git a/themes/modern/jar.mn b/themes/modern/jar.mn index b687b1c4685..e8ca79a8ec7 100644 --- a/themes/modern/jar.mn +++ b/themes/modern/jar.mn @@ -204,6 +204,7 @@ modern.jar: skin/modern/global/icons/tab-new-hov.gif (global/icons/tab-new-hov.gif) skin/modern/global/icons/tab-new-act.gif (global/icons/tab-new-act.gif) skin/modern/global/icons/closebox.gif (global/icons/closebox.gif) + skin/modern/global/icons/resizer.png (global/icons/resizer.png) skin/modern/global/menu/menu-arrow-dis.gif (global/menu/menu-arrow-dis.gif) skin/modern/global/menu/menu-arrow-hov.gif (global/menu/menu-arrow-hov.gif) skin/modern/global/menu/menu-arrow.gif (global/menu/menu-arrow.gif) diff --git a/xpfe/global/resources/content/bindings/general.xml b/xpfe/global/resources/content/bindings/general.xml index d918275def7..9f0e49d4013 100644 --- a/xpfe/global/resources/content/bindings/general.xml +++ b/xpfe/global/resources/content/bindings/general.xml @@ -223,7 +223,7 @@ - +