accomodate recent XUL 1.0 changes
[themes.git] / EarlyBlue / editor / skin / EditorDialog.css
index 75679904332cf63d2ad3144ec945e31e2a50dc7d..499e18048a2b01ab4a27af7f40da249303386f93 100755 (executable)
-/* \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
- * Contributor(s): \r
- *   Pete Collins, Ben Goodger\r
- */\r
-\r
-/*\r
-   THIS FILE IS LOCKED DOWN.  YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR\r
-   CHANGES REVIEWED BY cmanske@netscape.com.\r
-*/\r
-/* Most should be moved to global files */\r
-\r
-/* The defaults are WAY to big! */\r
-titledbox {\r
-  margin:         2px 5px; 4px; 5px;\r
-  padding-top:    2px;\r
-  padding-bottom: 4px;\r
-}\r
-\r
-.MinWidth5em {\r
-  min-width: 5em;\r
-}\r
-\r
-.MinWidth10em {\r
-  min-width: 10em;\r
-}\r
-\r
-.MinWidth20em {\r
-  min-width: 20em;\r
-}\r
-\r
-.big-left-margin {\r
-  margin-left:    10px;\r
-}\r
-\r
-.middle {\r
-  vertical-align: middle:\r
-}\r
-\r
-.bold {\r
-  font-weight: bold;\r
-}\r
-\r
-.italic {\r
-  font-style: italic;\r
-}\r
-\r
-.larger {\r
-  font-size: 120%;\r
-}\r
-\r
-\r
-.narrow {\r
-  width: 3em;\r
-}\r
-\r
-.align-right {\r
-  text-align: right;\r
-}\r
-\r
-.wrap {\r
- width: 1em;\r
-}\r
-/* end of "should be in global.css" */\r
-\r
-.color-well {\r
-  width:20px;\r
-  height: 1em; \r
-  border: 1px inset #CCD0DD;\r
-  /* Background color is set at runtime */\r
-}\r
-\r
-.color-well[default="true"] {\r
-  border: 1px solid transparent;\r
-  background-color: inherit;\r
-}\r
-\r
-.popup-trigger {\r
-  list-style-image: url(chrome://global/skin/scroll-down.gif);\r
-}\r
-\r
-/* temporary -- we need a simple box-based list defined in XBL */\r
-tree.list {\r
-  border: 1px inset #CCD0DD;\r
-  /* same as in menulist.css */\r
-  margin: 1px 5px 2px 5px;\r
-  width: 10em;\r
-  height: 3em;\r
-  /* use rows="#" in XUL to define height */\r
-}\r
-\r
-#ColorPreview {\r
-  border: 1px inset #CCD0DD;\r
-  margin-left:    10px;\r
-  padding-left:    5px;\r
-  padding-right:   5px;\r
-  min-width:     100px;\r
-  min-height:     50px;\r
-}\r
-\r
-#alignTypeSelect,label#alignLabel {\r
-  margin-left: 5px;\r
-}\r
-\r
-#MoreFewerButton[more="0"] {\r
-  list-style-image: url(chrome://global/skin/scroll-down.gif);\r
-  /* bug 9459 - changing button text doesn't resize width.\r
-     This covers that problem, but we want this size anyway */\r
-  min-width: 10em;\r
-}\r
-\r
-#MoreFewerButton[more="1"] {\r
-  list-style-image: url(chrome://global/skin/scroll-up.gif);\r
-  min-width: 10em;\r
-}\r
-\r
-#PreviousButton {\r
-  list-style-image: url(chrome://global/skin/arrow-left.gif);\r
-}\r
-\r
-#NextButton {\r
-  list-style-image: url(chrome://global/skin/arrow-right.gif);\r
-}\r
-\r
-#PreviousButton[type="row"] {\r
-  list-style-image: url(chrome://global/skin/arrow-up.gif);\r
-}\r
-\r
-#NextButton[type="row"] {\r
-  list-style-image: url(chrome://global/skin/arrow-down.gif);\r
-}\r
-\r
-#MisspelledWord {\r
-  font-weight: bold;\r
-}\r
-\r
-/* For a column of right-aligned text before \r
-   a column of input fields, e.g., InsertTable dialog\r
-*/\r
-.right {\r
-  /* doesn't work yet! must use align="right" in <text> */\r
-  text-align:   right;\r
-}\r
-\r
-/* use outset shape for a button look */\r
-.colorpicker {\r
-  border: 1px outset #CCD0DD;\r
-  /* This should be the same as for textfield */\r
-  margin-left: 4px;\r
-  /* For a little extra space between buttons */\r
-  margin-bottom: 2px;\r
-}\r
-\r
-\r
-.colorpicker:active {\r
-  border: 1px inset #CCD0DD;\r
-}\r
-\r
-/* THIS SHOULD BE IN GLOBAL.CSS */\r
-.smallspacer {\r
-  width:  3px;\r
-  height: 3px;\r
-  min-width:  3px;\r
-  min-height: 3px;\r
-}\r
-\r
-.spacer {\r
-  width:  5px;\r
-  height: 5px;\r
-  min-width:  5px;\r
-  min-height: 5px;\r
-}\r
-\r
-.bigspacer {\r
-  width:  10px;\r
-  height: 10px;\r
-  min-width:  10px;\r
-  min-height: 10px;\r
-}\r
-\r
-#img-align-top {\r
-       list-style-image:url("chrome://editor/skin/images/img-align-top.gif");\r
-}\r
-#img-align-middle {\r
-       list-style-image:url("chrome://editor/skin/images/img-align-middle.gif");\r
-}\r
-#img-align-bottom {\r
-       list-style-image:url("chrome://editor/skin/images/img-align-bottom.gif");\r
-}\r
-#img-align-right {\r
-       list-style-image:url("chrome://editor/skin/images/img-align-right.gif");\r
-}\r
-#img-align-left {\r
-       list-style-image:url("chrome://editor/skin/images/img-align-left.gif");\r
-}\r
-\r
-/* Rest are from Ben Goodger for Advanced Edit dialog \r
-   These need reviewing and eliminate all but essential attributes */\r
-/* Have made some mods and eliminated some unnecessary portions. \r
-   hope to merge most of the treecell formatting into global as some of \r
-   this "property list" style treecell formatting is used by cookie/signon \r
-   viewers. */\r
-\r
-\r
-#tagLabel {\r
-  font-weight: bold;\r
-}\r
-\r
-/* styles for an attribute tree-table */\r
-tree.AttributesTree {\r
-  min-width : 200px;\r
-  min-height: 200px;\r
-}\r
-\r
-tree.AttributesTree > treechildren > treeitem > treerow > treecell.value {\r
-    padding-left    : 0px;\r
-    padding-top     : 0px;\r
-    padding-bottom  : 0px;\r
-    padding-right   : 0px;\r
-    margin-left     : 0px;\r
-}\r
-\r
-input.AttributesCell {\r
-  border: none;\r
-  width: 100%;\r
-  background-color: #FFFFFF;\r
-  font-weight: normal;\r
-  border: none;\r
-  outline: none;\r
-  margin: 0px;\r
-  width: 100%;\r
-}\r
-\r
-treecell > input {\r
-  margin: 0px;\r
-  background-color: #E5E5E5 ! important;\r
-}\r
-\r
+/* 
+ * 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.
+ * 
+ * Contributor(s): 
+ *   Pete Collins, Ben Goodger
+ */
+
+/*
+   THIS FILE IS LOCKED DOWN.  YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR
+   CHANGES REVIEWED BY cmanske@netscape.com.
+*/
+/* Most should be moved to global files */
+
+/* The defaults are WAY to big! */
+titledbox {
+  margin:         2px 5px; 4px; 5px;
+  padding-top:    2px;
+  padding-bottom: 4px;
+}
+
+.MinWidth5em {
+  min-width: 5em;
+}
+
+.MinWidth10em {
+  min-width: 10em;
+}
+
+.MinWidth20em {
+  min-width: 20em;
+}
+
+.big-left-margin {
+  margin-left:    10px;
+}
+
+.middle {
+  -moz-box-align: center:
+}
+
+.bold {
+  font-weight: bold;
+}
+
+.italic {
+  font-style: italic;
+}
+
+.larger {
+  font-size: 120%;
+}
+
+
+.narrow {
+  width: 3em;
+}
+
+.align-right {
+  -moz-box-pack: end;
+}
+
+.wrap {
+ width: 1em;
+}
+/* end of "should be in global.css" */
+
+.color-well {
+  width:20px;
+  height: 1em; 
+  border: 1px inset #CCD0DD;
+  /* Background color is set at runtime */
+}
+
+.color-well[default="true"] {
+  border: 1px solid transparent;
+  background-color: inherit;
+}
+
+.popup-trigger {
+  list-style-image: url(chrome://global/skin/scroll-down.gif);
+}
+
+/* temporary -- we need a simple box-based list defined in XBL */
+tree.list {
+  border: 1px inset #CCD0DD;
+  /* same as in menulist.css */
+  margin: 1px 5px 2px 5px;
+  width: 10em;
+  height: 3em;
+  /* use rows="#" in XUL to define height */
+}
+
+#ColorPreview {
+  border: 1px inset #CCD0DD;
+  margin-left:    10px;
+  padding-left:    5px;
+  padding-right:   5px;
+  min-width:     100px;
+  min-height:     50px;
+}
+
+#alignTypeSelect,label#alignLabel {
+  margin-left: 5px;
+}
+
+#MoreFewerButton[more="0"] {
+  list-style-image: url(chrome://global/skin/scroll-down.gif);
+  /* bug 9459 - changing button text doesn't resize width.
+     This covers that problem, but we want this size anyway */
+  min-width: 10em;
+}
+
+#MoreFewerButton[more="1"] {
+  list-style-image: url(chrome://global/skin/scroll-up.gif);
+  min-width: 10em;
+}
+
+#PreviousButton {
+  list-style-image: url(chrome://global/skin/arrow-left.gif);
+}
+
+#NextButton {
+  list-style-image: url(chrome://global/skin/arrow-right.gif);
+}
+
+#PreviousButton[type="row"] {
+  list-style-image: url(chrome://global/skin/arrow-up.gif);
+}
+
+#NextButton[type="row"] {
+  list-style-image: url(chrome://global/skin/arrow-down.gif);
+}
+
+#MisspelledWord {
+  font-weight: bold;
+}
+
+/* For a column of right-aligned text before 
+   a column of input fields, e.g., InsertTable dialog
+*/
+.right {
+  /* doesn't work yet! must use align="right" in <text> */
+  text-align:   right;
+}
+
+/* use outset shape for a button look */
+.colorpicker {
+  border: 1px outset #CCD0DD;
+  /* This should be the same as for textfield */
+  margin-left: 4px;
+  /* For a little extra space between buttons */
+  margin-bottom: 2px;
+}
+
+
+.colorpicker:active {
+  border: 1px inset #CCD0DD;
+}
+
+/* THIS SHOULD BE IN GLOBAL.CSS */
+.smallspacer {
+  width:  3px;
+  height: 3px;
+  min-width:  3px;
+  min-height: 3px;
+}
+
+.spacer {
+  width:  5px;
+  height: 5px;
+  min-width:  5px;
+  min-height: 5px;
+}
+
+.bigspacer {
+  width:  10px;
+  height: 10px;
+  min-width:  10px;
+  min-height: 10px;
+}
+
+#img-align-top {
+       list-style-image:url("chrome://editor/skin/images/img-align-top.gif");
+}
+#img-align-middle {
+       list-style-image:url("chrome://editor/skin/images/img-align-middle.gif");
+}
+#img-align-bottom {
+       list-style-image:url("chrome://editor/skin/images/img-align-bottom.gif");
+}
+#img-align-right {
+       list-style-image:url("chrome://editor/skin/images/img-align-right.gif");
+}
+#img-align-left {
+       list-style-image:url("chrome://editor/skin/images/img-align-left.gif");
+}
+
+/* Rest are from Ben Goodger for Advanced Edit dialog 
+   These need reviewing and eliminate all but essential attributes */
+/* Have made some mods and eliminated some unnecessary portions. 
+   hope to merge most of the treecell formatting into global as some of 
+   this "property list" style treecell formatting is used by cookie/signon 
+   viewers. */
+
+
+#tagLabel {
+  font-weight: bold;
+}
+
+/* styles for an attribute tree-table */
+tree.AttributesTree {
+  min-width : 200px;
+  min-height: 200px;
+}
+
+tree.AttributesTree > treechildren > treeitem > treerow > treecell.value {
+    padding-left    : 0px;
+    padding-top     : 0px;
+    padding-bottom  : 0px;
+    padding-right   : 0px;
+    margin-left     : 0px;
+}
+
+input.AttributesCell {
+  border: none;
+  width: 100%;
+  background-color: #FFFFFF;
+  font-weight: normal;
+  border: none;
+  outline: none;
+  margin: 0px;
+  width: 100%;
+}
+
+treecell > input {
+  margin: 0px;
+  background-color: #E5E5E5 ! important;
+}