home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Complet / thunderbird / chrome / qute.jar / skin / classic / messenger / messageHeader.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2003-12-08  |  4.7 KB  |  220 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.  *
  22.  */
  23.  
  24. /* ===== messageHeader.css ==============================================
  25.   == Styles for the header toolbars of a mail message.
  26.   ======================================================================= */
  27.  
  28. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  29.  
  30. /* ::::: msg header toolbars ::::: */
  31.  
  32. #attachmentView,
  33. #collapsedHeaderView,
  34. #expandedHeaderView {
  35.   min-width: 1px;
  36. }
  37.  
  38. /* ::::: msg header buttons ::::: */
  39. .headerContainer
  40. {
  41.   border-bottom: 1px solid ThreeDDarkShadow;
  42.   min-width: 1px;
  43.   background-color: transparent;
  44. }
  45.  
  46. /* ::::: attachment view ::::: */
  47.  
  48. #attachmentList
  49. {
  50.   -moz-appearance: listbox; 
  51.   border: 2px solid;
  52.   -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
  53.   -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
  54.   -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
  55.   -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
  56.   background-color: -moz-Field;
  57.   color: -moz-FieldText;
  58.   margin: 5px 30px 5px 15px;
  59. }
  60.  
  61. /* XXX: Move all of the description attributes to the toolkit */
  62.  
  63. description[selectable="true"]
  64. {
  65.   margin              : 1px 5px 4px 5px;
  66. }
  67.  
  68. descriptionitem
  69. {
  70.   border: 1px solid transparent;
  71.   margin: 1px 1px 1px 1px;
  72. }
  73.  
  74. description[selectable="true"]:focus > descriptionitem[selected="true"][current="true"] 
  75. {
  76.   border: 1px dotted #F5DB95;
  77. }
  78.  
  79. descriptionitem[selected="true"] 
  80. {
  81.   background-color: -moz-Dialog;
  82.   color: -moz-DialogText;
  83. }
  84.  
  85. description[selectable="true"]:focus > descriptionitem[selected="true"] 
  86. {
  87.   background-color: Highlight;
  88.   color: HighlightText;
  89. }
  90.  
  91. .attachmentBox 
  92. {
  93.   width: 15em;
  94.   max-width: 10em;
  95.   text-align: left;
  96. }
  97.  
  98. .attachmentBox[largeView="true"]
  99. {
  100.   -moz-box-align: center;
  101.   -moz-box-pack: center;
  102. }
  103.  
  104. #attachmentView
  105. {
  106.   border-top: 1px solid ThreeDShadow;
  107.   border-bottom: none;
  108.   background-color: -moz-Dialog;
  109. }
  110.  
  111. /* ::::: msg header captions ::::: */
  112.  
  113. #msgHeaderView {
  114.   -moz-appearance: toolbox;
  115.   background-color: -moz-Dialog;
  116. }
  117.  
  118. .headerNameBox {
  119.   width: 7.7em;
  120.   background-color: transparent;
  121. }
  122.  
  123. .headerName {
  124.   margin: 0 .5em 0 0;
  125.   min-height: 18px;
  126.   font-weight: bold;
  127.   text-align: right;
  128.   background-color: transparent;
  129. }
  130.  
  131. .headerValue {
  132.   margin: 0 0 .25em 0;
  133.   min-width: 50px;
  134.   white-space: normal;
  135.   background-color: transparent;
  136. }
  137.  
  138. .subjectvalue {
  139.   font-weight: bold;
  140.   background-color: transparent;
  141. }
  142.  
  143. /* ::::: msg header email addresses ::::: */
  144.  
  145. .emailDisplayButton {
  146.   cursor: pointer;
  147.   color: #0000FF;
  148.   text-decoration: underline;
  149.   margin: 0;
  150.   background-color: transparent;
  151. }
  152.  
  153. .emailDisplayButton:hover {
  154.   color: #FF0000;
  155. }
  156.  
  157. .emailDisplayImage {
  158.   padding-left: 2px;
  159.   -moz-box-pack: end;
  160. }
  161.  
  162. /* ::::: email address twisty ::::: */
  163.  
  164. .addresstwisty {
  165.  
  166.   padding-right: 5px;
  167.  
  168.   padding-top: 4px;
  169.   list-style-image: url("chrome://global/skin/tree/twisty-clsd.gif");
  170. }
  171.  
  172. .addresstwisty[open] {
  173.   list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
  174. }
  175.  
  176. /* ::::: view expand and collapse twisties  ::::: */
  177.  
  178. .expandHeaderViewButton,
  179. .collapsedHeaderViewButton  {
  180.   margin: 4px .5em 0 .5em;
  181. }
  182.  
  183. .expandHeaderViewButton {
  184.   list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
  185. }
  186.  
  187. .collapsedHeaderViewButton  {
  188.   list-style-image: url("chrome://global/skin/tree/twisty-clsd.gif");
  189. }
  190.  
  191. /* ::::: collapsed view styles ::::: */
  192.  
  193. #collapseddateValue {
  194.   margin: 0 .5em;
  195.   text-align: right;
  196.   background-color: transparent;
  197. }
  198.  
  199. #collapsedfromBox {
  200.   width: 18em;
  201.   background-color: transparent;
  202. }
  203.  
  204. #collapseddateBox {
  205.   width: 12em;
  206.   background-color: transparent;
  207. }
  208.  
  209. .collapsedHeaderDisplayName { 
  210.   margin: 0 .5em 0 .8em;
  211.   min-height: 16px;
  212.   font-weight: bold;
  213.   background-color: transparent;
  214. }
  215.  
  216. .collapsedHeaderValue {
  217.   margin: 0;
  218.   background-color: transparent;
  219. }
  220.