home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 114 / CDRom114.iso / internet / temathun / Smoke.jar / messenger / messageHeader.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-08-10  |  4.6 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-right: 1px solid ThreeDShadow;
  107.   border-left: 1px solid ThreeDShadow;
  108.   border-top: 1px solid ThreeDShadow;
  109.   background-color: -moz-Dialog;
  110. }
  111.  
  112. /* ::::: msg header captions ::::: */
  113.  
  114. #msgHeaderView {
  115.   border-right: 1px solid ThreeDShadow;
  116.   border-left: 1px solid ThreeDShadow;
  117.   -moz-appearance: toolbox;
  118.   background-color: -moz-Dialog;
  119. }
  120.  
  121. .headerNameBox {
  122.   width: 7.7em;
  123.   background-color: transparent;
  124. }
  125.  
  126. .headerName {
  127.   margin: 0 .5em 0 0;
  128.   min-height: 18px;
  129.   font-weight: bold;
  130.   text-align: right;
  131.   background-color: transparent;
  132. }
  133.  
  134. .headerValue {
  135.   margin: 0 0 .25em 0;
  136.   min-width: 50px;
  137.   white-space: normal;
  138.   background-color: transparent;
  139. }
  140.  
  141. .subjectvalue {
  142.   font-weight: bold;
  143.   background-color: transparent;
  144. }
  145.  
  146. /* ::::: msg header email addresses ::::: */
  147.  
  148. .emailDisplayButton {
  149.   cursor: pointer;
  150.   color: moz-dialogtext;
  151.   text-decoration: underline;
  152.   margin: 0;
  153.   background-color: transparent;
  154. }
  155.  
  156. .emailDisplayButton:hover {
  157.   color: #FF0000;
  158. }
  159.  
  160. .emailDisplayImage {
  161.   padding-left: 2px;
  162.   -moz-box-pack: end;
  163. }
  164.  
  165. /* ::::: email address twisty ::::: */
  166.  
  167. .addresstwisty {
  168.   margin: 2px;
  169.   list-style-image: url("chrome://messenger/skin/icons/twisty-clsd.gif");
  170. }
  171.  
  172. .addresstwisty[open] {
  173.   list-style-image: url("chrome://messenger/skin/icons/twisty-open.gif");
  174. }
  175.  
  176. /* ::::: view expand and collapse twisties  ::::: */
  177.  
  178. .expandHeaderViewButton,
  179. .collapsedHeaderViewButton  {
  180.   margin: 2px .5em 0 .5em;
  181. }
  182.  
  183. .expandHeaderViewButton {
  184.   list-style-image: url("chrome://messenger/skin/icons/twisty-open.gif");
  185. }
  186.  
  187. .collapsedHeaderViewButton  {
  188.   list-style-image: url("chrome://messenger/skin/icons/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 .7em;
  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.