home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Complet / thunderbird / chrome / qute.jar / skin / classic / editor / EditorDialog.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2003-09-16  |  6.9 KB  |  329 lines

  1. /* 
  2.  * The contents of this file are subject to the Netscape Public
  3.  * License Version 1.1 (the "License"); you may not use this file
  4.  * except in compliance with the License. You may obtain a copy of
  5.  * the License at http://www.mozilla.org/NPL/
  6.  *  
  7.  * Software distributed under the License is distributed on an "AS
  8.  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  9.  * implied. See the License for the specific language governing
  10.  * rights and limitations under the License.
  11.  *  
  12.  * The Original Code is Mozilla Communicator client code, released
  13.  * March 31, 1998.
  14.  * 
  15.  * The Initial Developer of the Original Code is Netscape
  16.  * Communications Corporation. Portions created by Netscape are
  17.  * Copyright (C) 1998-1999 Netscape Communications Corporation. All
  18.  * Rights Reserved.
  19.  * 
  20.  * Contributor(s): 
  21.  *   Pete Collins, Ben Goodger
  22.  */
  23.  
  24. /*
  25.    THIS FILE IS LOCKED DOWN.  YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR
  26.    CHANGES REVIEWED BY cmanske@netscape.com.
  27. */
  28.  
  29. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  30.  
  31. /* The defaults are WAY to big! */
  32. groupbox {
  33.   margin:         2px 5px /* 4px 5px */;
  34.   padding-top:    2px;
  35.   padding-bottom: 4px;
  36. }
  37.  
  38. .MinWidth5em {
  39.   min-width: 5em;
  40. }
  41.  
  42. .MinWidth10em {
  43.   min-width: 10em;
  44. }
  45.  
  46. .MinWidth15em {
  47.   min-width: 15em;
  48. }
  49.  
  50. .MinWidth20em {
  51.   min-width: 20em;
  52. }
  53.  
  54. .bold {
  55.   font-weight: bold;
  56. }
  57.  
  58. .italic {
  59.   font-style: italic;
  60. }
  61.  
  62. .larger {
  63.   font-size: 120%;
  64. }
  65.  
  66. .narrow {
  67.   width: 3em;
  68. }
  69.  
  70. .wrap {
  71.  width: 1em;
  72. }
  73.  
  74. .menuitem-highlight-1 {
  75.   font-weight : bold;
  76. }
  77.  
  78. /* Use this with groove-thin in dialogs 
  79.    to add margins to top and bottom
  80. */
  81. .tb-margin {
  82.   margin-top    : 6px;
  83.   margin-bottom : 6px;
  84. }
  85.  
  86. .color-well {
  87.   width: 20px;
  88.   height: 12px; 
  89.   border: 1px inset #CCCCCC;
  90. }
  91.  
  92. .color-well[default="true"] {
  93.   border: 1px solid transparent;
  94.   background-color: inherit;
  95. }
  96.  
  97. .color-button {
  98.   /* override large default min-width */
  99.   min-width : 0px;
  100.   margin: 2px;
  101. }
  102.  
  103. .menu-list[focused="true"] {
  104.   color: white;
  105. }
  106.  
  107. #ColorPicker {
  108.   -moz-user-focus: normal;
  109. }
  110.  
  111. #ColorPickerSwatch {
  112.   border : 2px outset #CCCCCC;
  113.   width: 25px;
  114.   height: 20px;
  115.   margin: 0px 3px 0px 0px;
  116. }
  117.  
  118. #ColorPickerSwatch[default="true"] {
  119.   border : 2px solid transparent;
  120.   background-color: inherit;
  121. }
  122.  
  123. #LastPickedColor {
  124.   width: 17px;
  125.   height: 13px; 
  126.   border: 1px inset #CCCCCC;
  127.   margin: 1px 2px 2px 4px;
  128. }
  129.  
  130. /* temporary -- we need a simple box-based list defined in XBL */
  131. tree.list {
  132.   border: 1px inset #CCCCCC;
  133.   /* same as in menulist.css */
  134.   margin: 1px 5px 2px 5px;
  135.   /* use rows="#" in XUL to define height */
  136. }
  137.  
  138. #ColorPreview {
  139.   border: 1px inset #CCCCCC;
  140.   margin-left:    10px;
  141.   padding-left:    5px;
  142.   padding-right:   5px;
  143.   min-width:     100px;
  144.   min-height:     50px;
  145. }
  146.  
  147. #alignTypeSelect,label#alignLabel {
  148.   margin-left: 5px;
  149. }
  150.  
  151. /* ::::: table properties dialog ::::: */
  152.  
  153. #MoreFewerButton[more="0"] {
  154.   list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
  155.   min-width: 12em;
  156. }
  157.  
  158. #MoreFewerButton[more="1"] {
  159.   list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
  160.   min-width: 12em;
  161. }
  162.  
  163. #PreviousButton {
  164.   list-style-image: url("chrome://global/skin/arrow/arrow-lft.gif");
  165. }
  166.  
  167. #NextButton {
  168.   list-style-image: url("chrome://global/skin/arrow/arrow-rit.gif");
  169. }
  170.  
  171. #PreviousButton[type="row"] {
  172.   list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
  173. }
  174.  
  175. #NextButton[type="row"] {
  176.   list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
  177. }
  178.  
  179. /* ::::: spelling dialog ::::: */
  180.  
  181. #MisspelledWord {
  182.   font-weight: bold;
  183. }
  184.  
  185. #ReplaceWordInput {
  186.   min-width: 16em;
  187.   width: 16em;
  188. }
  189.  
  190. .spell-check {
  191.   min-width: 8em;
  192. }
  193.  
  194. /* ::::: color picker ::::: */
  195.  
  196. /* use outset shape for a button look */
  197. .colorpicker {
  198.   border: 1px outset #CCCCCC;
  199.   /* This should be the same as for textbox */
  200.   margin-left: 4px;
  201.   /* For a little extra space between buttons */
  202.   margin-bottom: 2px;
  203. }
  204.  
  205.  
  206. .colorpicker:active {
  207.   border: 1px inset #CCCCCC;
  208. }
  209.  
  210. .smallspacer {
  211.   width:  3px;
  212.   height: 3px;
  213.   min-width:  3px;
  214.   min-height: 3px;
  215. }
  216.  
  217. .spacer {
  218.   width:  5px;
  219.   height: 5px;
  220.   min-width:  5px;
  221.   min-height: 5px;
  222. }
  223.  
  224. .bigspacer {
  225.   width:  10px;
  226.   height: 10px;
  227.   min-width:  10px;
  228.   min-height: 10px;
  229. }
  230.  
  231. /* These should be the width of the checkbox and radio button images + margin + padding
  232.    Used to indent below those to the level of the text label next to image 
  233. */
  234. .checkbox-spacer {
  235.   width: 2em;
  236.   min-width: 2em;
  237. }
  238.  
  239. .radio-spacer {
  240.   width: 2em;
  241.   min-width: 2em;
  242. }
  243.  
  244. #alignTypeSelect {
  245.   height: 34px;
  246. }
  247.  
  248. .align-menu[value="top"] {
  249.   list-style-image:url("chrome://editor/skin/icons/img-align-top.gif");
  250. }
  251.  
  252. .align-menu[value="middle"] {
  253.   list-style-image:url("chrome://editor/skin/icons/img-align-middle.gif");
  254. }
  255.  
  256. .align-menu[value="bottom"] {
  257.   list-style-image:url("chrome://editor/skin/icons/img-align-bottom.gif");
  258. }
  259.  
  260. .align-menu[value="right"] {
  261.   list-style-image:url("chrome://editor/skin/icons/img-align-right.gif");
  262. }
  263.  
  264. .align-menu[value="left"] {
  265.   list-style-image:url("chrome://editor/skin/icons/img-align-left.gif");
  266. }
  267.  
  268. /* Don't change width/height of these without changing values in 
  269.   GetOriginalWidth(), EdImageProps.js
  270. */    
  271. #preview-image-box {
  272.   border: 1px inset #CCCCCC;
  273.   width      : 82px;
  274.   max-width  : 82px;
  275.   min-width  : 82px;
  276.   height     : 52px;
  277.   max-height : 52px;
  278.   min-height : 52px;
  279.   margin     : 6px 5px 6px 5px;
  280.   overflow   : -moz-hidden-unscrollable;
  281. }
  282.  
  283. #preview-image-holder {
  284.   padding : 0px;
  285.   margin  : 0px;
  286. }
  287.  
  288. /* Rest are from Ben Goodger for Advanced Edit dialog 
  289.    These need reviewing and eliminate all but essential attributes */
  290. /* Have made some mods and eliminated some unnecessary portions. 
  291.    hope to merge most of the treecell formatting into global as some of 
  292.    this "property list" style treecell formatting is used by cookie/signon 
  293.    viewers. */
  294.  
  295.  
  296. #tagLabel {
  297.   font-weight: bold;
  298. }
  299.  
  300. /* styles for an attribute tree-table */
  301. tree.AttributesTree {
  302.   min-width : 200px;
  303.   min-height: 200px;
  304. }
  305.  
  306. /* ::::: select edit dialog ::::: */
  307.  
  308. #SelectTreeChildren::-moz-tree-cell(SelectSelCol, checked-false) {
  309.   background: url("chrome://global/skin/checkbox/cbox.gif") 50% 50% no-repeat;
  310. }
  311.  
  312. #SelectTreeChildren::-moz-tree-cell(SelectSelCol, checked-true) {
  313.   background: url("chrome://global/skin/checkbox/cbox-check.gif") 50% 50% no-repeat;
  314. }
  315.  
  316. /* ::::: Publishing Progress ::::: */
  317.  
  318. .progressitem[progress="busy"] {
  319.     list-style-image: url("chrome://editor/skin/icons/progress-busy.gif");
  320. }
  321.  
  322. .progressitem[progress="done"] {
  323.     list-style-image: url("chrome://editor/skin/icons/progress-done.gif");
  324. }
  325.  
  326. .progressitem[progress="failed"] {
  327.     list-style-image: url("chrome://editor/skin/icons/progress-failed.gif");
  328. }
  329.