home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 October / PCWorld_2003-10_cd.bin / Komunik / Thunderbird / thunderbird-0.2-win32.exe / thunderbird / res / ua.css < prev    next >
Cascading Style Sheet File  |  2003-09-01  |  5KB  |  223 lines

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Version: NPL 1.1/GPL 2.0/LGPL 2.1
  3.  *
  4.  * The contents of this file are subject to the Netscape Public License
  5.  * Version 1.1 (the "License"); you may not use this file except in
  6.  * compliance with the License. You may obtain a copy of the License at
  7.  * http://www.mozilla.org/NPL/
  8.  *
  9.  * Software distributed under the License is distributed on an "AS IS" basis,
  10.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11.  * for the specific language governing rights and limitations under the
  12.  * License.
  13.  *
  14.  * The Original Code is mozilla.org code.
  15.  *
  16.  * The Initial Developer of the Original Code is 
  17.  * Netscape Communications Corporation.
  18.  * Portions created by the Initial Developer are Copyright (C) 1998
  19.  * the Initial Developer. All Rights Reserved.
  20.  *
  21.  * Contributor(s):
  22.  *
  23.  * Alternatively, the contents of this file may be used under the terms of
  24.  * either the GNU General Public License Version 2 or later (the "GPL"), or 
  25.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  26.  * in which case the provisions of the GPL or the LGPL are applicable instead
  27.  * of those above. If you wish to allow use of your version of this file only
  28.  * under the terms of either the GPL or the LGPL, and not to allow others to
  29.  * use your version of this file under the terms of the NPL, indicate your
  30.  * decision by deleting the provisions above and replace them with the notice
  31.  * and other provisions required by the GPL or the LGPL. If you do not delete
  32.  * the provisions above, a recipient may use your version of this file under
  33.  * the terms of any one of the NPL, the GPL or the LGPL.
  34.  *
  35.  * ***** END LICENSE BLOCK ***** */
  36.  
  37. @import url(resource:/res/html.css);
  38. @import url(chrome://global/content/xul.css);
  39. @import url(resource:/res/quirk.css);
  40.  
  41. @namespace parsererror url(http://www.mozilla.org/newlayout/xml/parsererror.xml);
  42.  
  43. /* magic -- some of these rules are important to keep pages from overriding
  44.             them
  45. */
  46.  
  47. /* Tables */
  48.  
  49. *|*::-moz-table {
  50.   display: table !important;
  51.   -moz-box-sizing: border-box; /* XXX do we really want this? */
  52. }
  53.  
  54. *|*::-moz-table-outer {
  55.   display: table !important;
  56.   margin: 0;
  57.   padding: 0;
  58.   width: 0;
  59.   height: 0;
  60.   float: inherit;
  61.   clear: inherit;
  62.   position: inherit;
  63.   top: inherit;
  64.   right: inherit;
  65.   bottom: inherit;
  66.   left: inherit;
  67.   z-index: inherit;
  68.   clip: inherit;
  69.   /* background and border should be inherited so that computed style
  70.    * (which uses the outer frame) will get the right values for these
  71.    * properties.  Since the outer frame does not paint, inheriting
  72.    * these is OK.
  73.    */
  74.   background: inherit;
  75.   border: inherit;
  76.   -moz-opacity: inherit;
  77.   page-break-before: inherit;
  78.   page-break-after: inherit;
  79. }
  80.  
  81. *|*::-moz-table-row {
  82.   display: table-row !important;
  83. }
  84.  
  85. /* The ::-moz-table-column pseudo-element is for extra columns at the end 
  86.    of a table. */
  87. *|*::-moz-table-column {
  88.   display: table-column !important;
  89. }
  90.  
  91. *|*::-moz-table-column-group {
  92.   display: table-column-group !important;
  93. }
  94.  
  95. *|*::-moz-table-row-group {
  96.   display: table-row-group !important;
  97. }
  98.  
  99. *|*::-moz-table-cell {
  100.   display: table-cell !important;
  101.   white-space: inherit;
  102. }
  103.  
  104. /* Lists */
  105.  
  106. *|*::-moz-list-bullet, *|*::-moz-list-number {
  107.   display: inline;
  108.   vertical-align: baseline;
  109.   margin-right: 8px;
  110. }
  111.  
  112. /* Links */
  113.  
  114. *|*:-moz-any-link {
  115.   cursor: pointer;
  116.   -moz-user-focus: normal;
  117. }
  118.  
  119. *|*:-moz-any-link:active {
  120.   color: red;
  121. }
  122.  
  123. *|*:-moz-any-link:focus {
  124.   -moz-outline: 1px dotted invert;
  125. }
  126.  
  127. /* Miscellaneous */
  128.  
  129. *|*::-moz-anonymous-block, *|*::-moz-cell-content {
  130.   display: block !important;
  131. }
  132.  
  133. *|*::-moz-viewport, *|*::-moz-viewport-scroll, *|*::-moz-canvas {
  134.   display: block !important;
  135.   background-color: inherit;
  136. }
  137.  
  138. *|*::-moz-viewport-scroll {
  139.   overflow: auto;
  140. }
  141.  
  142. *|*::-moz-scrolled-content { 
  143.   /* e.g., text inputs, select boxes */
  144.   background: inherit;
  145.   padding: inherit;
  146.   display: inherit;
  147.   -moz-box-orient: inherit;
  148. }
  149.  
  150. *|*::-moz-page, *|*::-moz-page-sequence {
  151.   display: block !important;
  152.   background: transparent;
  153. }
  154.  
  155. *|*::-moz-pagecontent {
  156.   display: block !important;
  157. }
  158.  
  159. *|*::-moz-pagebreak {
  160.   display: -moz-page-break !important;
  161. }
  162.  
  163. *|*::-moz-anonymous-positioned-block {
  164.   display: block !important;
  165.   position: relative;
  166.   top: inherit; 
  167.   left: inherit;
  168.   bottom: inherit;
  169.   right: inherit;
  170.   z-index: inherit;
  171.   clip: inherit;
  172.   -moz-opacity: inherit;
  173. }
  174.  
  175. *|*::-moz-gc-wrapper-block {
  176.   display: block !important;
  177. }
  178.  
  179. /* Printing */
  180.  
  181. @media print {
  182.  
  183.   * {
  184.     cursor: default !important;
  185.   }
  186.  
  187.   *|*::-moz-viewport, *|*::-moz-viewport-scroll, *|*::-moz-canvas {
  188.     background-color: #737373 !important;
  189.   }
  190.  
  191.   *|*:-moz-any-link {
  192.     -moz-user-focus: none !important;
  193.   }
  194.  
  195. }
  196.  
  197. /* XML parse error reporting */
  198.  
  199. parsererror|parsererror {
  200.   display: block;
  201.   font-family: sans-serif;
  202.   font-weight: bold;
  203.   white-space: pre;
  204.   margin: 1em;
  205.   padding: 1em;
  206.   border-width: thin;
  207.   border-style: inset;
  208.   border-color: red;
  209.   font-size: 14pt;
  210.   background-color: lightyellow;
  211. }
  212.  
  213. parsererror|sourcetext {
  214.   display: block;
  215.   white-space: pre;
  216.   font-family: -moz-fixed;
  217.   margin-top: 2em;
  218.   margin-bottom: 1em;
  219.   color: red;
  220.   font-weight: bold;
  221.   font-size: 12pt;
  222. }
  223.