start 2.32 cycle
[themes.git] / EarlyBlue / editor / EditorDialog.css
index 9b8dfda33676c9c2d06a245ea12551cd42d933c1..270397f76fecfe9cb7fc918d49ee1c458cbab76c 100644 (file)
@@ -1,50 +1,9 @@
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: NPL 1.1/GPL 2.0/LGPL 2.1
- *
- * 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.org code.
- *
- * The Initial Developer of the Original Code is 
- * Netscape Communications Corporation.
- * Portions created by the Initial Developer are Copyright (C) 1998
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- *   Pete Collins, Ben Goodger
- *   Robert Kaiser <KaiRo@KaiRo.at>
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or 
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the NPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the NPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
-/* The defaults are WAY to big! */
-groupbox {
-  margin: 2px 5px /* 4px 5px */;
-  padding-top: 2px;
-  padding-bottom: 4px;
-}
-
 .MinWidth5em {
   min-width: 5em;
 }
@@ -53,10 +12,6 @@ groupbox {
   min-width: 10em;
 }
 
-.MinWidth15em {
-  min-width: 15em;
-}
-
 .MinWidth20em {
   min-width: 20em;
 }
@@ -85,14 +40,6 @@ groupbox {
   font-weight: bold;
 }
 
-/* Use this with groove-thin in dialogs 
-   to add margins to top and bottom
-*/
-.tb-margin {
-  margin-top: 6px;
-  margin-bottom: 6px;
-}
-
 .color-well {
   width: 20px;
   height: 12px; 
@@ -110,10 +57,6 @@ groupbox {
   margin: 2px;
 }
 
-.menu-list[focused="true"] {
-  color: white;
-}
-
 #ColorPicker {
   -moz-user-focus: normal;
 }
@@ -141,14 +84,6 @@ groupbox {
   -moz-margin-end: 2px;
 }
 
-/* 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;
-  /* use rows="#" in XUL to define height */
-}
-
 #ColorPreview {
   border: 1px inset #CCD0DD;
   -moz-margin-start: 10px;
@@ -158,11 +93,6 @@ tree.list {
   min-height: 50px;
 }
 
-#alignTypeSelect,
-label#alignLabel {
-  -moz-margin-start: 5px;
-}
-
 /* ::::: table properties dialog ::::: */
 
 #MoreFewerButton[more="0"] {
@@ -193,10 +123,6 @@ label#alignLabel {
 
 /* ::::: spelling dialog ::::: */
 
-#MisspelledWord {
-  font-weight: bold;
-}
-
 #ReplaceWordInput {
   min-width: 16em;
   width: 16em;
@@ -257,28 +183,29 @@ label#alignLabel {
   min-width: 16px;
 }
 
-#alignTypeSelect {
-  height: 34px;
+.align-menu > .menu-iconic-left > .menu-iconic-icon {
+  height: auto;
+  width: auto;
 }
 
 .align-menu[value="top"] {
-  list-style-image:url("chrome://editor/skin/icons/img-align-top.gif");
+  list-style-image:url("chrome://editor/skin/icons/img-align-top.gif") !important;
 }
 
 .align-menu[value="center"] {
-  list-style-image:url("chrome://editor/skin/icons/img-align-middle.gif");
+  list-style-image:url("chrome://editor/skin/icons/img-align-middle.gif") !important;
 }
 
 .align-menu[value="bottom"] {
-  list-style-image:url("chrome://editor/skin/icons/img-align-bottom.gif");
+  list-style-image:url("chrome://editor/skin/icons/img-align-bottom.gif") !important;
 }
 
 .align-menu[value="right"] {
-  list-style-image:url("chrome://editor/skin/icons/img-align-right.gif");
+  list-style-image:url("chrome://editor/skin/icons/img-align-right.gif") !important;
 }
 
 .align-menu[value="left"] {
-  list-style-image:url("chrome://editor/skin/icons/img-align-left.gif");
+  list-style-image:url("chrome://editor/skin/icons/img-align-left.gif") !important;
 }
 
 /* Don't change width/height of these without changing values in 
@@ -314,17 +241,13 @@ label#alignLabel {
 }
 
 /* styles for an attribute tree-table */
-tree.AttributesTree {
+.AttributesTree {
   min-width: 200px;
   min-height: 200px;
 }
 
 /* ::::: select edit dialog ::::: */
 
-#SelectTreeChildren::-moz-tree-cell(SelectSelCol, checked-false) {
-  background: url("chrome://global/skin/checkbox/cbox.gif") 50% 50% no-repeat;
-}
-
 #SelectTreeChildren::-moz-tree-cell(SelectSelCol, checked-true) {
   background: url("chrome://global/skin/checkbox/cbox-check.gif") 50% 50% no-repeat;
 }