bugs 28, 30, and partly fix for 29 -- all EarlyBlue only
authorrobert <robert>
Thu, 1 Feb 2001 20:57:18 +0000 (20:57 +0000)
committerrobert <robert>
Thu, 1 Feb 2001 20:57:18 +0000 (20:57 +0000)
EarlyBlue/communicator/skin/menubutton.css
EarlyBlue/global/skin/button.css
EarlyBlue/global/skin/scrollbars.css
EarlyBlue/global/skin/workaround.xml [new file with mode: 0644]
EarlyBlue/messenger/skin/messenger.css

index 2f87ff508229705006c1bc48391c3eae5adbe288..19ea271bbdbed5c60a384989a31b362ee7600670 100755 (executable)
-\r
-/** Styles applying to items in a button-toolbar-3 style menu\r
- *  menuitem class="button-toolbar-3"\r
- **/\r
-  .button-toolbar-3 > .menubutton-icon-internal-box\r
-    {\r
-      border                : 1px outset #9999CC;\r
-    }\r
-\r
-  .button-toolbar-3[open="true"] > .menubutton-icon-internal-box,\r
-  .button-toolbar-3:hover:active > .menubutton-icon-internal-box\r
-    {\r
-      border                : 1px inset #9999CC;\r
-    }\r
-  \r
-  menupopup.button-toolbar-3 \r
-    {\r
-      border                : none;\r
-    }\r
-  \r
-  menuitem.button-toolbar-3 \r
-    {\r
-      font-weight           : normal;\r
-    }\r
-   \r
-  .button-toolbar-3[menuactive="true"]\r
-    {\r
-      background-color      : #666699;\r
-      color                 : #FFFFFF;\r
-      font-weight           : normal;\r
-    } \r
-    \r
-/** menubuttons on generic grey toolbars\r
- *  class="button-toolbar"\r
- **/ \r
-  .button-toolbar > .menubutton-internal-box\r
-    {\r
-      border                : 1px solid transparent;\r
-      padding               : 1px 2px 1px 2px;\r
-    }\r
-\r
-\r
- .button-toolbar:hover > .menubutton-internal-box\r
-    {\r
-      border                : 1px outset #CCD0DD;\r
-      padding               : 1px 2px 1px 2px;\r
-    }\r
-\r
- .button-toolbar[open="true"] > .menubutton-internal-box,\r
- .button-toolbar:hover:active > .menubutton-internal-box\r
-    {\r
-      border                : 1px inset #CCD0DD;\r
-      padding               : 2px 1px 0px 3px;\r
-    }\r
-\r
-/** \r
- * Navigation bar style menubuttons \r
- **/\r
-\r
-.menubutton-dual.toolbar\r
-  {\r
-    font-size               : smaller;\r
-  }\r
-\r
-.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box > .button-text-container \r
-  {\r
-    padding-top             : 3px;\r
-    text-align              : center;\r
-  }\r
-\r
-.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box\r
-  {\r
-    border                  : 1px solid transparent;\r
-    padding                 : 1px;\r
-  }\r
-\r
-.menubutton-dual.toolbar:hover > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,\r
-.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button:hover > .button-internal-box\r
-  {\r
-    border                  : 1px outset #CCD0DD;\r
-    padding                 : 1px;\r
-  }\r
-\r
-.menubutton-dual.toolbar:hover:active > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,\r
-.menubutton-dual.toolbar[open="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,\r
-.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button:hover:active > .button-internal-box\r
-  {\r
-    border                  : 1px inset #CCD0DD;\r
-    padding                 : 2px 0px 0px 2px;\r
-  }\r
-\r
-\r
-.menubutton-dual.toolbar[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,\r
-.menubutton-dual.toolbar[disabled="true"]:hover:active > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,\r
-.menubutton-dual.toolbar[disabled="true"][open="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,\r
-.menubutton-dual.toolbar[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active > .button-internal-box\r
-  {\r
-    border                  : 1px solid transparent;\r
-    padding                 : 1px;\r
-  }\r
-\r
-.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-dropmarker-box\r
-  {\r
-    border                  : 1px solid transparent;\r
-    padding                 : 1px;\r
-  }\r
-\r
-.menubutton-dual.toolbar:hover > .menubutton-internal-box > .menubutton-dual-dropmarker-box\r
-  {\r
-    border                  : 1px outset #CCD0DD;\r
-    padding                 : 1px;\r
-  }\r
-\r
-.menubutton-dual.toolbar:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box,\r
-.menubutton-dual.toolbar[open="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box\r
-  {\r
-    border                  : 1px inset #CCD0DD;\r
-    padding                 : 2px 0px 0px 2px;\r
-  }\r
-\r
-\r
-.menubutton-dual.toolbar[disabled="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box,\r
-.menubutton-dual.toolbar[disabled="true"]:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box,\r
-.menubutton-dual.toolbar[disabled="true"][open="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box\r
-  {\r
-    border                  : 1px solid transparent;\r
-    padding                 : 1px;\r
-  }\r
-\r
-menubutton > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker\r
-  {\r
-/*    padding-bottom           : 17px;  */\r
-    padding-bottom           : 24px;  \r
-  }
\ No newline at end of file
+
+/** 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 #9999CC;
+    }
+
+  .button-toolbar-3[open="true"] > .menubutton-icon-internal-box,
+  .button-toolbar-3:hover:active > .menubutton-icon-internal-box
+    {
+      border                : 1px inset #9999CC;
+    }
+  
+  menupopup.button-toolbar-3 
+    {
+      border                : none;
+    }
+  
+  menuitem.button-toolbar-3 
+    {
+      font-weight           : normal;
+    }
+   
+  .button-toolbar-3[menuactive="true"]
+    {
+      background-color      : #666699;
+      color                 : #FFFFFF;
+      font-weight           : normal;
+    } 
+    
+/** menubuttons on generic grey toolbars
+ *  class="button-toolbar"
+ **/ 
+  .button-toolbar > .menubutton-internal-box
+    {
+      border                : 1px solid transparent;
+      padding               : 1px 2px 1px 2px;
+    }
+
+
+ .button-toolbar:hover > .menubutton-internal-box
+    {
+      border                : 1px outset #CCD0DD;
+      padding               : 1px 2px 1px 2px;
+    }
+
+ .button-toolbar[open="true"] > .menubutton-internal-box,
+ .button-toolbar[open="true"] > .button-internal-box,
+ .button-toolbar:hover:active > .menubutton-internal-box
+    {
+      border                : 1px inset #CCD0DD;
+      padding               : 2px 1px 0px 3px;
+    }
+
+/** 
+ * Navigation bar style menubuttons 
+ **/
+
+.menubutton-dual.toolbar
+  {
+    font-size               : smaller;
+  }
+
+.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box > .button-text-container 
+  {
+    padding-top             : 3px;
+    text-align              : center;
+  }
+
+.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box
+  {
+    border                  : 1px solid transparent;
+    padding                 : 1px;
+  }
+
+.menubutton-dual.toolbar:hover > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,
+.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button:hover > .button-internal-box
+  {
+    border                  : 1px outset #CCD0DD;
+    padding                 : 1px;
+  }
+
+.menubutton-dual.toolbar:hover:active > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,
+.menubutton-dual.toolbar[open="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,
+.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button:hover:active > .button-internal-box
+  {
+    border                  : 1px inset #CCD0DD;
+    padding                 : 2px 0px 0px 2px;
+  }
+
+
+.menubutton-dual.toolbar[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,
+.menubutton-dual.toolbar[disabled="true"]:hover:active > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,
+.menubutton-dual.toolbar[disabled="true"][open="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,
+.menubutton-dual.toolbar[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active > .button-internal-box
+  {
+    border                  : 1px solid transparent;
+    padding                 : 1px;
+  }
+
+.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-dropmarker-box
+  {
+    border                  : 1px solid transparent;
+    padding                 : 1px;
+  }
+
+.menubutton-dual.toolbar:hover > .menubutton-internal-box > .menubutton-dual-dropmarker-box
+  {
+    border                  : 1px outset #CCD0DD;
+    padding                 : 1px;
+  }
+
+.menubutton-dual.toolbar:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box,
+.menubutton-dual.toolbar[open="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box
+  {
+    border                  : 1px inset #CCD0DD;
+    padding                 : 2px 0px 0px 2px;
+  }
+
+
+.menubutton-dual.toolbar[disabled="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box,
+.menubutton-dual.toolbar[disabled="true"]:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box,
+.menubutton-dual.toolbar[disabled="true"][open="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box
+  {
+    border                  : 1px solid transparent;
+    padding                 : 1px;
+  }
+
+menubutton > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker
+  {
+/*    padding-bottom           : 17px;  */
+    padding-bottom           : 24px;  
+  }
index a151629e0d3776aa52cb702e99704f6e229f04a7..62b31d019d296794d4aa546deda62b00cf1a73ad 100755 (executable)
-/* NEW WIDGET ANDING: <button> */\r
-\r
-/** Default Button Styles (apply to usage of <button> without \r
- *  any applied class).\r
- **/\r
-\r
-/* outer frame */\r
-  button \r
-    {\r
-      border              : none;\r
-      margin              : 1px 5px 2px 5px;\r
-      background-color    : #CCD0DD;\r
-    }\r
-  \r
-  button[disabled="true"],\r
-  button[disabled="true"]:hover,\r
-  button[disabled="true"]:hover:active \r
-    {\r
-      border              : none;\r
-      color               : #999999;\r
-    }\r
-        \r
-/* internal frame */\r
-  button > .button-internal-box \r
-    {\r
-      vertical-align      : middle;\r
-      text-align          : center;\r
-      border              : 1px outset #CCD0DD;\r
-      padding             : 1px;\r
-    }\r
-    \r
-  button:hover:active > .button-internal-box \r
-    {\r
-      border              : 1px inset #CCD0DD;\r
-      padding             : 2px 0px 0px 2px;\r
-    }\r
-  \r
-  button[disabled="true"] > .button-internal-box,\r
-  button[disabled="true"]:hover > .button-internal-box,\r
-  button[disabled="true"]:hover:active > .button-internal-box \r
-    {\r
-      border              : 1px outset #CCD0DD;\r
-      padding             : 1px;\r
-    }\r
-\r
-/* text wrapping frame (hack because <text> does not support alignment) */\r
-  .button-text-container\r
-    {\r
-      text-align          : center;\r
-      vertical-align      : middle;\r
-    }\r
-\r
-/* text frame */\r
-  .button-text \r
-    {\r
-      padding             : 1px 2px 1px 2px;\r
-    }\r
-  \r
-  button[orient="vertical"] > .button-internal-box > .button-text-container > .button-text\r
-    {\r
-      padding             : 2px 2px 1px 2px;\r
-    }\r
-  \r
-/** Styles for "DEFAULT" buttons (usually 'OK' or equivalent in dialogs. \r
- *  To activate, set 'default' attribute on button.\r
- **/\r
\r
-/* outer frame */  \r
-  button[default] \r
-    {\r
-      /* XXX this is a HACK until 'orient' is supported in CSS! XXX */\r
-      /* strictly speaking not necessary because default for buttonright is \r
-       * to lay image out horizontally, but leaving here as a reminder to\r
-       * implement this feature */\r
-      -moz-binding        : url(chrome://global/content/xulBindings.xml#buttonright);\r
-      font-weight         : bold;\r
-           list-style-image    : url("chrome://global/skin/return.gif");\r
-    }\r
-  \r
-  button[default][disabled="true"]\r
-    {\r
-      list-style-image    : url("chrome://global/skin/return-disabled.gif");\r
-    }\r
-    \r
-/** Styles for 'dialog' buttons (usually any command button in a dialog)\r
- *  This class gives buttons 10px of padding on each side to increase the\r
- *  strike area and make buttons with small amounts of text (e.g. 'OK') \r
- *  look less silly.\r
- **/\r
-\r
-/* internal frame */\r
-  .button-dialog > .button-internal-box,\r
-  .button-dialog:hover > .button-internal-box\r
-    {\r
-      padding             : 2px 10px 2px 10px;\r
-    }\r
-  \r
-  .button-dialog:hover:hover:active > .button-internal-box \r
-    {\r
-      padding             : 3px 9px 1px 11px;\r
-    }\r
-\r
-/** Styles for grey toolbar buttons. These buttons are used in places like\r
- *  editor's formatting toolbar or toolbars wanting a button similar to a command\r
- *  button but without an initial outset frame.\r
- **/ \r
-  .button-borderless \r
-    {\r
-      border              : 1px solid #CCD0DD;\r
-    }\r
-  \r
-  .button-borderless:hover\r
-    {\r
-      border              : 1px solid #000000;\r
-    }\r
-    \r
-  .button-borderless > .button-internal-box \r
-    {\r
-      border              : 1px solid #CCD0DD;\r
-    }\r
-  \r
-  .button-borderless:hover > .button-internal-box \r
-    {\r
-      border              : 1px outset #CCD0DD;\r
-    }\r
-  \r
-  .button-borderless:hover:active > .button-internal-box \r
-    {\r
-      border              : 1px inset #CCD0DD;\r
-    }\r
-\r
-/** plain (raw) buttons, class="plain" **/\r
-\r
-  button.plain, button.plain:hover, button.plain:hover:active,\r
-  button.plain > .button-internal-box, \r
-  button.plain:hover:active > .button-internal-box,\r
-  button.plain > .button-internal-box:hover:active,\r
-  button.plain > .button-internal-box > .button-text-container, \r
-  button.plain > .button-internal-box > .button-text-container:hover:active,\r
-  button.plain > .button-internal-box > .button-text-container > .button-text, \r
-  button.plain > .button-internal-box > .button-text-container > .button.text:hover:active,\r
-  button-plain > .button-internal-box > .button-icon, \r
-  button.plain > .button-internal-box > .button.icon:hover:active\r
-    {\r
-      border              : 0px;\r
-      margin              : 0px;\r
-      padding             : 0px;\r
-    }\r
-\r
-\r
-/** \r
- * utility class for buttons with associated popup\r
- **/\r
-.button-popup \r
-  {\r
-         list-style-image      : url(chrome://global/skin/taskbar-popup-arrow.gif);\r
-  }\r
-    \r
-    \r
-    
\ No newline at end of file
+/* NEW WIDGET ANDING: <button> */
+
+/** Default Button Styles (apply to usage of <button> without 
+ *  any applied class).
+ **/
+
+/* outer frame */
+  button 
+    {
+      border              : none;
+      margin              : 1px 5px 2px 5px;
+      background-color    : #CCD0DD;
+    }
+  
+  button[disabled="true"],
+  button[disabled="true"]:hover,
+  button[disabled="true"]:hover:active 
+    {
+      border              : none;
+      color               : #999999;
+    }
+        
+/* internal frame */
+  button > .button-internal-box 
+    {
+      vertical-align      : middle;
+      text-align          : center;
+      border              : 1px outset #CCD0DD;
+      padding             : 1px;
+    }
+    
+  button:hover:active > .button-internal-box 
+    {
+      border              : 1px inset #CCD0DD;
+      padding             : 2px 0px 0px 2px;
+    }
+  
+  button[disabled="true"] > .button-internal-box,
+  button[disabled="true"]:hover > .button-internal-box,
+  button[disabled="true"]:hover:active > .button-internal-box 
+    {
+      border              : 1px outset #CCD0DD;
+      padding             : 1px;
+    }
+
+/* text wrapping frame (hack because <text> does not support alignment) */
+  .button-text-container
+    {
+      text-align          : center;
+      vertical-align      : middle;
+    }
+
+/* text frame */
+  .button-text 
+    {
+      padding             : 1px 2px 1px 2px;
+    }
+  
+  button[orient="vertical"] > .button-internal-box > .button-text-container > .button-text
+    {
+      padding             : 2px 2px 1px 2px;
+    }
+  
+/** Styles for "DEFAULT" buttons (usually 'OK' or equivalent in dialogs. 
+ *  To activate, set 'default' attribute on button.
+ **/
+/* outer frame */  
+  button[default] 
+    {
+      /* XXX this is a HACK until 'orient' is supported in CSS! XXX */
+      /* strictly speaking not necessary because default for buttonright is 
+       * to lay image out horizontally, but leaving here as a reminder to
+       * implement this feature */
+      -moz-binding        : url(chrome://global/content/xulBindings.xml#buttonright);
+      font-weight         : bold;
+           list-style-image    : url("chrome://global/skin/return.gif");
+    }
+  
+  button[default][disabled="true"]
+    {
+      list-style-image    : url("chrome://global/skin/return-disabled.gif");
+    }
+    
+/** Styles for 'dialog' buttons (usually any command button in a dialog)
+ *  This class gives buttons 10px of padding on each side to increase the
+ *  strike area and make buttons with small amounts of text (e.g. 'OK') 
+ *  look less silly.
+ **/
+
+/* internal frame */
+  .button-dialog > .button-internal-box,
+  .button-dialog:hover > .button-internal-box
+    {
+      padding             : 2px 10px 2px 10px;
+    }
+  
+  .button-dialog:hover:hover:active > .button-internal-box 
+    {
+      padding             : 3px 9px 1px 11px;
+    }
+
+/** Styles for grey toolbar buttons. These buttons are used in places like
+ *  editor's formatting toolbar or toolbars wanting a button similar to a command
+ *  button but without an initial outset frame.
+ **/ 
+  .button-borderless 
+    {
+      border              : 1px solid #CCD0DD;
+    }
+  
+  .button-borderless:hover
+    {
+      border              : 1px solid #000000;
+    }
+    
+  .button-borderless > .button-internal-box 
+    {
+      border              : 1px solid #CCD0DD;
+    }
+  
+  .button-borderless:hover > .button-internal-box 
+    {
+      border              : 1px outset #CCD0DD;
+    }
+  
+  .button-borderless:hover:active > .button-internal-box 
+    {
+      border              : 1px inset #CCD0DD;
+    }
+
+/** plain (raw) buttons, class="plain" **/
+
+  button.plain, button.plain:hover, button.plain:hover:active,
+  button.plain > .button-internal-box, 
+  button.plain:hover:active > .button-internal-box,
+  button.plain > .button-internal-box:hover:active,
+  button.plain > .button-internal-box > .button-text-container, 
+  button.plain > .button-internal-box > .button-text-container:hover:active,
+  button.plain > .button-internal-box > .button-text-container > .button-text, 
+  button.plain > .button-internal-box > .button-text-container > .button.text:hover:active,
+  button.plain > .button-internal-box > .button-icon, 
+  button.plain > .button-internal-box > .button.icon:hover:active
+    {
+      border              : 0px;
+      margin              : 0px;
+      padding             : 0px;
+    }
+
+
+/** 
+ * utility class for buttons with associated popup
+ **/
+.button-popup 
+  {
+         list-style-image      : url(chrome://global/skin/taskbar-popup-arrow.gif);
+  }
+    
+    
+    
index 0015009a34fa403ec9a1e7c8e458c96cf074d591..9ad63c75d6a9bb1cf8daddb9ca31d5f3507d02f2 100755 (executable)
@@ -1,86 +1,97 @@
-@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); /* set default namespace to XUL */\r
-\r
-/********* XP Scrollbar *********/\r
-\r
-scrollbar {\r
-   -moz-binding: url("chrome://global/content/xulBindings.xml#scrollbar");\r
-}\r
-\r
-/********* XP Scrollbar *********/\r
-\r
-thumb {\r
-  -moz-binding: url(chrome://global/content/xulBindings.xml#thumb);\r
-  background-color: #CCCCCC;\r
-  border: 1px outset #CCCCCC;\r
-  list-style-image: url("chrome://global/skin/scroll-thumb-horiz.gif")\r
-}\r
-\r
-thumb[disabled="true"] {\r
-   list-style-image: url("chrome://global/skin/scroll-thumb-horiz-disabled.gif");\r
-}\r
-\r
-thumb[align="vertical"] {\r
-   list-style-image: url("chrome://global/skin/scroll-thumb-vert.gif")\r
-}\r
-\r
-scrollbarbutton {\r
-  vertical-align: bottom;\r
-  cursor: default;\r
-\r
-  border: 1px outset white;\r
-  background-color: #CCCCCC;\r
-  color:black; \r
-\r
-  padding: 1px;\r
-}\r
-\r
-scrollbarbutton:active {\r
-  border-style: inset;\r
-\r
-  padding-left: 2px;\r
-  padding-right: 0px;\r
-  padding-top: 2px;\r
-  padding-bottom: 0px;\r
-}\r
-\r
-scrollbarbutton[type="decrement"] {\r
-   list-style-image: url("chrome://global/skin/scroll-left.gif")\r
-}\r
-\r
-scrollbarbutton[type="decrement"][disabled="true"] {\r
-   list-style-image: url("chrome://global/skin/scroll-left-disabled.gif") \r
-}\r
-\r
-scrollbarbutton[type="increment"] {\r
-   list-style-image: url("chrome://global/skin/scroll-right.gif")\r
-}\r
-\r
-\r
-scrollbarbutton[type="increment"][disabled="true"] {\r
-   list-style-image: url("chrome://global/skin/scroll-right-disabled.gif") \r
-}\r
-\r
-\r
-scrollbar[align="vertical"] scrollbarbutton[type="decrement"] {\r
-   list-style-image: url("chrome://global/skin/scroll-up.gif")\r
-}\r
-\r
-scrollbar[align="vertical"] scrollbarbutton[type="decrement"][disabled="true"] {\r
-   list-style-image: url("chrome://global/skin/scroll-up-disabled.gif") \r
-}\r
-\r
-scrollbar[align="vertical"] scrollbarbutton[type="increment"] {\r
-   list-style-image: url("chrome://global/skin/scroll-down.gif")\r
-}\r
-\r
-scrollbar[align="vertical"] scrollbarbutton[type="increment"][disabled="true"] {\r
-   list-style-image: url("chrome://global/skin/scroll-down-disabled.gif") \r
-}\r
-\r
-slider[align="vertical"] thumb:active {\r
-   background-color: #CCCCCC;\r
-}\r
-\r
-slider {\r
-   background-color: #999999;\r
-}\r
+@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); /* set default namespace to XUL */
+
+/********* XP Scrollbar *********/
+
+scrollbar {
+   -moz-binding: url("chrome://global/content/xulBindings.xml#scrollbar");
+}
+
+/********* XP Scrollbar *********/
+
+thumb {
+  -moz-binding: url(chrome://global/content/xulBindings.xml#thumb);
+  background-color: #CCCCCC;
+  border: 1px outset #CCCCCC;
+  list-style-image: url("chrome://global/skin/scroll-thumb-horiz.gif");
+  text-align: center;
+  vertical-align: middle;
+}
+
+thumb[disabled="true"] {
+   list-style-image: url("chrome://global/skin/scroll-thumb-horiz-disabled.gif");
+}
+
+scrollbar[align="vertical"] > slider > thumb {
+  -moz-binding: url(chrome://global/skin/workaround.xml#thumbv);
+   list-style-image: url("chrome://global/skin/scroll-thumb-vert.gif")
+}
+
+scrollbar[align="vertical"] > slider > thumb[disabled="true"] {
+   list-style-image: url("chrome://global/skin/scroll-thumb-vert-disabled.gif")
+}
+
+
+scrollbar[align="vertical"] > slider > thumb:active {
+   background-color: #DDDDDD;
+/*   background-color: #99CCFF; */
+}
+
+
+scrollbarbutton {
+  vertical-align: middle;
+  cursor: default;
+
+  border: 1px outset white;
+  background-color: #CCCCCC;
+  color:black; 
+
+  padding: 1px;
+}
+
+scrollbarbutton:active {
+  border-style: inset;
+
+  padding-left: 2px;
+  padding-right: 0px;
+  padding-top: 2px;
+  padding-bottom: 0px;
+}
+
+scrollbarbutton[type="decrement"] {
+   list-style-image: url("chrome://global/skin/scroll-left.gif")
+}
+
+scrollbarbutton[type="decrement"][disabled="true"] {
+   list-style-image: url("chrome://global/skin/scroll-left-disabled.gif") 
+}
+
+scrollbarbutton[type="increment"] {
+   list-style-image: url("chrome://global/skin/scroll-right.gif")
+}
+
+
+scrollbarbutton[type="increment"][disabled="true"] {
+   list-style-image: url("chrome://global/skin/scroll-right-disabled.gif") 
+}
+
+
+scrollbar[align="vertical"] > scrollbarbutton[type="decrement"] {
+   list-style-image: url("chrome://global/skin/scroll-up.gif")
+}
+
+scrollbar[align="vertical"] > scrollbarbutton[type="decrement"][disabled="true"] {
+   list-style-image: url("chrome://global/skin/scroll-up-disabled.gif") 
+}
+
+scrollbar[align="vertical"] > scrollbarbutton[type="increment"] {
+   list-style-image: url("chrome://global/skin/scroll-down.gif")
+}
+
+scrollbar[align="vertical"] > scrollbarbutton[type="increment"][disabled="true"] {
+   list-style-image: url("chrome://global/skin/scroll-down-disabled.gif") 
+}
+
+slider {
+   background-color: #999999;
+}
+
diff --git a/EarlyBlue/global/skin/workaround.xml b/EarlyBlue/global/skin/workaround.xml
new file mode 100644 (file)
index 0000000..adfe2da
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<!DOCTYPE window [
+<!ENTITY % textcontextDTD SYSTEM "chrome://global/locale/textcontext.dtd" >
+%textcontextDTD;
+]>
+
+<bindings id="workarounds"
+   xmlns="http://www.mozilla.org/xbl"
+   xmlns:html="http://www.w3.org/1999/xhtml"
+   xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+  
+  <binding id="thumbv" extends="xul:box">
+    <content align="vertical">
+      <xul:image inherits="src"/>
+    </content>
+  </binding>
+
+</bindings>
+
+
index b805d0a21efa15e11fbac13662f77c42e89dca48..6b193d6f7e3cd8a6b4df0653a658cfbc50d7d84c 100755 (executable)
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-\r
- * The contents of this file are subject to the Netscape Public\r
- * License Version 1.1 (the "License"); you may not use this file\r
- * except in compliance with the License. You may obtain a copy of\r
- * the License at http://www.mozilla.org/NPL/\r
- * \r
- * Software distributed under the License is distributed on an "AS\r
- * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
- * implied. See the License for the specific language governing\r
- * rights and limitations under the License.\r
- * \r
- * The Original Code is Mozilla Communicator client code, released\r
- * March 31, 1998.\r
- * \r
- * The Initial Developer of the Original Code is Netscape\r
- * Communications Corporation. Portions created by Netscape are\r
- * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
- * Rights Reserved.\r
- */\r
-\r
-@import url(chrome://communicator/skin/);\r
-@import url(chrome://communicator/skin/sidebar/sidebar.css);\r
-\r
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */\r
-@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */\r
-\r
-[hide] {\r
- display: none;\r
-} \r
-\r
-spring.spacer {\r
-    width: 5px;\r
-    height: 5px;\r
-}\r
-\r
-box.cleanborder {\r
-    margin: 10px;\r
-    padding: 10px;\r
-    border: 2px groove white;\r
-    width: 100%;\r
-}\r
-\r
-box.padded {\r
-    margin: 10px;\r
-    width: 100%;\r
-}\r
-\r
-iframe {\r
- min-width: 10px;\r
- min-height: 10px;\r
- width: 100px;\r
- height: 100px;\r
-}\r
-\r
-/**\r
- * boxes\r
- */\r
-#results_box {\r
-       border-left: 8px solid #CCCCCC;\r
-       min-width: 10px;\r
-}\r
-\r
-\r
\r
-/**\r
- * toolbar button images\r
- */\r
-\r
-#button-getmsg {\r
-       list-style-image:url("chrome://messenger/skin/getmsg.gif");\r
-}\r
-\r
-#button-getmsg[disabled="true"] {\r
-       list-style-image:url("chrome://messenger/skin/getmsg_dis.gif");\r
-}\r
-\r
-#button-newmsg {\r
-       list-style-image:url("chrome://messenger/skin/newmsg.gif");\r
-}\r
-\r
-#button-newmsg[disabled="true"] {\r
-       list-style-image:url("chrome://messenger/skin/newmsg_dis.gif");\r
-}\r
-\r
-#button-reply {\r
-       list-style-image:url("chrome://messenger/skin/reply.gif");\r
-}\r
-\r
-#button-reply[disabled="true"] {\r
-       list-style-image:url("chrome://messenger/skin/reply_dis.gif");\r
-}\r
-\r
-#button-replyall {\r
-       list-style-image:url("chrome://messenger/skin/replyall.gif");\r
-}\r
-\r
-#button-replyall[disabled="true"] {\r
-       list-style-image:url("chrome://messenger/skin/replyall_dis.gif");\r
-}\r
-\r
-#button-forward {\r
-       list-style-image:url("chrome://messenger/skin/forward.gif");\r
-}\r
-\r
-#button-forward[disabled="true"] {\r
-       list-style-image:url("chrome://messenger/skin/forward_dis.gif");\r
-}\r
-\r
-#button-file {\r
-       list-style-image:url("chrome://messenger/skin/file.gif");\r
-}\r
-\r
-#button-file[disabled="true"] {\r
-       list-style-image:url("chrome://messenger/skin/file_dis.gif");\r
-}\r
-\r
-#FileButtonMenu > button {\r
-        border: 1px solid transparent;\r
-}\r
-\r
-#FileButtonMenu:hover > button {\r
-        border: 1px outset #CCD0DD;\r
-}\r
-\r
-#FileButtonMenu[disabled="true"] > button,\r
-#FileButtonMenu[disabled="true"]:hover > button {\r
-        border: 1px solid transparent;\r
-}\r
-\r
-#FileButtonMenu[open="true"] > button {\r
-        border: 1px inset #CCD0DD;\r
-}\r
-\r
-#button-next {\r
-       list-style-image:url("chrome://messenger/skin/next.gif");\r
-}\r
-\r
-#button-next[disabled="true"] {\r
-       list-style-image:url("chrome://messenger/skin/next_dis.gif");\r
-}\r
-\r
-#button-delete {\r
-       list-style-image:url("chrome://messenger/skin/trash.gif");\r
-}\r
-\r
-#button-delete[disabled="true"] {\r
-       list-style-image:url("chrome://messenger/skin/trash_dis.gif");\r
-}\r
-\r
-#button-print \r
-  {\r
-         list-style-image      : url("chrome://global/skin/print.gif");\r
-  }\r
-\r
-#button-print[disabled="true"]\r
-  {\r
-         list-style-image      : url("chrome://global/skin/print_dis.gif");\r
-  }\r
-\r
-#button-stop {\r
-       list-style-image:url("chrome://global/skin/stop.gif");\r
-}\r
-\r
-#button-stop[disabled="true"] {\r
-       list-style-image:url("chrome://global/skin/stop_dis.gif");\r
-}\r
-\r
-\r
-.folderMenuItem > .menu-left {\r
- list-style-image: url("chrome://messenger/skin/folder-closed.gif");\r
-}\r
-\r
-\r
-.folderMenuItem[open="true"] > .menu-left {\r
- list-style-image: url("chrome://messenger/skin/folder-open.gif");\r
-}\r
-\r
-/* special folder */\r
-.folderMenuItem[SpecialFolder="Inbox"] > .menu-left {\r
- list-style-image: url("chrome://messenger/skin/folder-inbox.gif");\r
-}\r
-\r
-.folderMenuItem[SpecialFolder="Inbox"][open="true"] > .menu-left\r
-{\r
-    list-style-image: url("chrome://messenger/skin/folder-inbox.gif");\r
-}\r
-\r
-.folderMenuItem[SpecialFolder="Trash"] > .menu-left {\r
- list-style-image: url("chrome://messenger/skin/folder-trash.gif");\r
-}\r
-\r
-.folderMenuItem[SpecialFolder="Trash"][open="true"] > .menu-left {\r
- list-style-image: url("chrome://messenger/skin/folder-trash.gif");\r
-}\r
-\r
-.folderMenuItem[IsServer="true"] > .menu-left\r
-{\r
- list-style-image: url("chrome://messenger/skin/server-mail.gif");\r
-}\r
-\r
-.folderMenuItem[IsServer="true"][open="true"] > .menu-left\r
-{\r
- list-style-image: url("chrome://messenger/skin/server-mail.gif");\r
-}\r
-\r
-/* IMAP folders */\r
-\r
-.folderMenuItem[IsServer="true"][ServerType="imap"][IsSecure="true"] > .menu-left {\r
-    list-style-image: url("chrome://messenger/skin/server-remote-lock.gif");\r
-}\r
-\r
-/* Local Servers */\r
-.folderMenuItem[IsServer="true"][ServerType="none"] > .menu-left\r
-{\r
- list-style-image: url("chrome://messenger/skin/server-local.gif");\r
-}\r
-\r
-/* News folders */\r
-.folderMenuItem[ServerType="nntp"] > .menu-left {\r
-    list-style-image: url("chrome://messenger/skin/folder-newsgroup.gif");\r
-}\r
-\r
-.folderMenuItem[IsServer="true"][ServerType="nntp"][IsSecure="true"] > .menu-left {\r
-    list-style-image: url("chrome://messenger/skin/server-news-lock.gif");\r
-}\r
-\r
-.folderMenuItem[IsServer="true"][ServerType="nntp"] > .menu-left {\r
-    list-style-image: url("chrome://messenger/skin/server-news.gif");\r
-}\r
-\r
-\r
-menu.push {\r
-  border: 1px outset white;\r
-  padding: 2px;\r
-  margin: 2px;\r
-  text-align: center;\r
-  background-color:inherit;\r
-  background-image: inherit;\r
-}\r
-\r
-menu.push:hover {\r
-        border: 1px outset white;\r
-        color:#003366;\r
-        text-decoration:underline;\r
-        padding: 2px;\r
-}\r
-\r
-menu.push:hover:-moz-outline {\r
-   border : 1px solid black;\r
-   color:#003366;\r
-   padding: 2px;\r
-}\r
-\r
-menu.push:active {\r
-  text-decoration:none;\r
-  border: 1px inset;\r
-  padding-left: 3px;\r
-  padding-right: 1px;\r
-  padding-top: 3px;\r
-  padding-bottom: 1px;\r
-}\r
-\r
-menu.push[toggled="1"] {\r
-  border: 1px white inset;\r
-  padding-left: 3px;\r
-  padding-right: 1px;\r
-  padding-top: 3px;\r
-  padding-bottom: 1px;\r
-}\r
-\r
-menu.push[toggled="2"] {\r
-   background-color: lightgray;\r
-   border: 1px solid gray;\r
-}\r
-\r
-menu.push:active:-moz-outline {\r
-   border : 1px solid black;\r
-}\r
-\r
-menu.push[disabled="true"] {\r
-        background-color:inherit;\r
-        background-image: inherit;\r
-        border : 1px solid #999999;\r
-        color: #999999;\r
-        text-decoration: none;\r
-}\r
-\r
-menu.push[disabled="true"]:hover {\r
-        background-color:inherit;\r
-        background-image: inherit;\r
-        border : 1px solid #999999;\r
-        color: #999999;\r
-        text-decoration: none;\r
-}\r
-\r
-menu.push[disabled="true"]:active {\r
-        background-color:inherit;\r
-        background-image: inherit;\r
-        border : 1px solid #999999;\r
-        color: #999999;\r
-        text-decoration: none;\r
-}\r
-\r
-/**\r
- * Make sure the min height is small so we can \r
- * resize the pane vertically -EDV\r
- */\r
-box#messagepanebox\r
-{\r
-   min-height: 10px;\r
-   height: 0px;\r
-}\r
-\r
-\r
-/**\r
- * this belongs in the mail filter window\r
- */\r
-\r
-.enabledcol {\r
-  list-style-image: url("chrome://messenger/skin/readmail.gif");\r
-}\r
-\r
-.enabledcol[value="true"] {\r
-  list-style-image: url("chrome://messenger/skin/unreadmail.gif");\r
-}\r
-\r
-searchattribute {\r
-  -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchattribute);\r
-}\r
-\r
-searchoperator {\r
-  -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchoperator);\r
-}\r
-\r
-searchvalue {\r
- -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchvalue);\r
-}\r
-\r
-searchterm {\r
- -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchterm);\r
-}\r
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Netscape Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/NPL/
+ * 
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ * 
+ * The Original Code is Mozilla Communicator client code, released
+ * March 31, 1998.
+ * 
+ * The Initial Developer of the Original Code is Netscape
+ * Communications Corporation. Portions created by Netscape are
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All
+ * Rights Reserved.
+ */
+
+@import url(chrome://communicator/skin/);
+@import url(chrome://communicator/skin/sidebar/sidebar.css);
+
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */
+
+[hide] {
+ display: none;
+} 
+
+spring.spacer {
+    width: 5px;
+    height: 5px;
+}
+
+box.cleanborder {
+    margin: 10px;
+    padding: 10px;
+    border: 2px groove white;
+    width: 100%;
+}
+
+box.padded {
+    margin: 10px;
+    width: 100%;
+}
+
+iframe {
+ min-width: 10px;
+ min-height: 10px;
+ width: 100px;
+ height: 100px;
+}
+
+/**
+ * boxes
+ */
+#results_box {
+       border-left: 8px solid #CCCCCC;
+       min-width: 10px;
+}
+
+
+/**
+ * toolbar button images
+ */
+
+#button-getmsg {
+       list-style-image:url("chrome://messenger/skin/getmsg.gif");
+}
+
+#button-getmsg[disabled="true"] {
+       list-style-image:url("chrome://messenger/skin/getmsg_dis.gif");
+}
+
+#button-newmsg {
+       list-style-image:url("chrome://messenger/skin/newmsg.gif");
+}
+
+#button-newmsg[disabled="true"] {
+       list-style-image:url("chrome://messenger/skin/newmsg_dis.gif");
+}
+
+#button-reply {
+       list-style-image:url("chrome://messenger/skin/reply.gif");
+}
+
+#button-reply[disabled="true"] {
+       list-style-image:url("chrome://messenger/skin/reply_dis.gif");
+}
+
+#button-replyall {
+       list-style-image:url("chrome://messenger/skin/replyall.gif");
+}
+
+#button-replyall[disabled="true"] {
+       list-style-image:url("chrome://messenger/skin/replyall_dis.gif");
+}
+
+#button-forward {
+       list-style-image:url("chrome://messenger/skin/forward.gif");
+}
+
+#button-forward[disabled="true"] {
+       list-style-image:url("chrome://messenger/skin/forward_dis.gif");
+}
+
+#button-file {
+       list-style-image:url("chrome://messenger/skin/file.gif");
+}
+
+#button-file[disabled="true"] {
+       list-style-image:url("chrome://messenger/skin/file_dis.gif");
+}
+
+#button-file[open="true"] > .button-internal-box {
+       border: 1px inset #CCCCDD;
+        padding               : 2px 0px 0px 2px;
+}
+
+#button-file > .button-internal-box 
+{
+        vertical-align: middle;
+        text-align: center;
+}
+
+#button-file > .button-internal-box > .menubutton-single-text 
+{
+        padding-top         : 3px;
+        text-align          : center;
+}
+
+#button-next {
+       list-style-image:url("chrome://messenger/skin/next.gif");
+}
+
+#button-next[disabled="true"] {
+       list-style-image:url("chrome://messenger/skin/next_dis.gif");
+}
+
+#button-mark {
+       list-style-image:url("chrome://messenger/skin/mark.gif");
+}
+
+#button-mark[disabled="true"] {
+       list-style-image:url("chrome://messenger/skin/mark_dis.gif");
+}
+
+#button-delete {
+       list-style-image:url("chrome://messenger/skin/trash.gif");
+}
+
+#button-delete[disabled="true"] {
+       list-style-image:url("chrome://messenger/skin/trash_dis.gif");
+}
+
+#button-print 
+  {
+         list-style-image      : url("chrome://global/skin/print.gif");
+  }
+
+#button-print[disabled="true"]
+  {
+         list-style-image      : url("chrome://global/skin/print_dis.gif");
+  }
+
+#button-stop {
+       list-style-image:url("chrome://global/skin/stop.gif");
+}
+
+#button-stop[disabled="true"] {
+       list-style-image:url("chrome://global/skin/stop_dis.gif");
+}
+
+.folderMenuItem 
+  {
+    list-style-image      : url("chrome://messenger/skin/folder-closed.gif");
+  }
+
+.folderMenuItem[open="true"] 
+  {
+    list-style-image      : url("chrome://messenger/skin/folder-open.gif");
+  }
+
+/* special folder */
+.folderMenuItem[SpecialFolder="Inbox"] {
+ list-style-image: url("chrome://messenger/skin/folder-inbox.gif");
+}
+
+.folderMenuItem[SpecialFolder="Inbox"][open="true"]
+{
+    list-style-image: url("chrome://messenger/skin/folder-inbox.gif");
+}
+
+.folderMenuItem[SpecialFolder="Trash"] {
+ list-style-image: url("chrome://messenger/skin/folder-trash.gif");
+}
+
+.folderMenuItem[SpecialFolder="Trash"][open="true"] {
+ list-style-image: url("chrome://messenger/skin/folder-trash.gif");
+}
+
+.folderMenuItem[IsServer="true"]
+{
+ list-style-image: url("chrome://messenger/skin/server-mail.gif");
+}
+
+.folderMenuItem[IsServer="true"][open="true"]
+{
+ list-style-image: url("chrome://messenger/skin/server-mail.gif");
+}
+
+/* IMAP folders */
+
+.folderMenuItem[IsServer="true"][ServerType="imap"][IsSecure="true"] {
+    list-style-image: url("chrome://messenger/skin/server-remote-lock.gif");
+}
+
+/* Local Servers */
+.folderMenuItem[IsServer="true"][ServerType="none"]
+{
+ list-style-image: url("chrome://messenger/skin/server-local.gif");
+}
+
+/* News folders */
+.folderMenuItem[ServerType="nntp"] {
+    list-style-image: url("chrome://messenger/skin/folder-newsgroup.gif");
+}
+
+.folderMenuItem[IsServer="true"][ServerType="nntp"][IsSecure="true"] {
+    list-style-image: url("chrome://messenger/skin/server-news-lock.gif");
+}
+
+.folderMenuItem[IsServer="true"][ServerType="nntp"] {
+    list-style-image: url("chrome://messenger/skin/server-news.gif");
+}
+
+
+menu.push {
+  border: 1px outset white;
+  padding: 2px;
+  margin: 2px;
+  text-align: center;
+  background-color:inherit;
+  background-image: inherit;
+}
+
+menu.push:hover {
+        border: 1px outset white;
+        color:#003366;
+        text-decoration:underline;
+        padding: 2px;
+}
+
+menu.push:hover:-moz-outline {
+   border : 1px solid black;
+   color:#003366;
+   padding: 2px;
+}
+
+menu.push:active {
+  text-decoration:none;
+  border: 1px inset;
+  padding-left: 3px;
+  padding-right: 1px;
+  padding-top: 3px;
+  padding-bottom: 1px;
+}
+
+menu.push[toggled="1"] {
+  border: 1px white inset;
+  padding-left: 3px;
+  padding-right: 1px;
+  padding-top: 3px;
+  padding-bottom: 1px;
+}
+
+menu.push[toggled="2"] {
+   background-color: lightgray;
+   border: 1px solid gray;
+}
+
+menu.push:active:-moz-outline {
+   border : 1px solid black;
+}
+
+menu.push[disabled="true"] {
+        background-color:inherit;
+        background-image: inherit;
+        border : 1px solid #999999;
+        color: #999999;
+        text-decoration: none;
+}
+
+menu.push[disabled="true"]:hover {
+        background-color:inherit;
+        background-image: inherit;
+        border : 1px solid #999999;
+        color: #999999;
+        text-decoration: none;
+}
+
+menu.push[disabled="true"]:active {
+        background-color:inherit;
+        background-image: inherit;
+        border : 1px solid #999999;
+        color: #999999;
+        text-decoration: none;
+}
+
+/**
+ * Make sure the min height is small so we can 
+ * resize the pane vertically -EDV
+ */
+box#messagepanebox
+{
+   min-height: 10px;
+   height: 0px;
+}
+
+
+/**
+ * this belongs in the mail filter window
+ */
+
+.enabledcol {
+  list-style-image: url("chrome://messenger/skin/readmail.gif");
+}
+
+.enabledcol[value="true"] {
+  list-style-image: url("chrome://messenger/skin/unreadmail.gif");
+}
+
+searchattribute {
+  -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchattribute);
+}
+
+searchoperator {
+  -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchoperator);
+}
+
+searchvalue {
+ -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchvalue);
+}
+
+searchterm {
+ -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchterm);
+}
+
+