home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Complet / thunderbird / res / ua.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-02-07  |  5.3 KB  |  219 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://gre/res/html.css);
  38. @import url(chrome://global/content/xul.css);
  39. @import url(resource://gre/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:focus {
  120.   -moz-outline: 1px dotted invert;
  121. }
  122.  
  123. /* Miscellaneous */
  124.  
  125. *|*::-moz-anonymous-block, *|*::-moz-cell-content {
  126.   display: block !important;
  127. }
  128.  
  129. *|*::-moz-viewport, *|*::-moz-viewport-scroll, *|*::-moz-canvas {
  130.   display: block !important;
  131.   background-color: inherit;
  132. }
  133.  
  134. *|*::-moz-viewport-scroll {
  135.   overflow: auto;
  136. }
  137.  
  138. *|*::-moz-scrolled-content { 
  139.   /* e.g., text inputs, select boxes */
  140.   padding: inherit;
  141.   display: inherit;
  142.   -moz-box-orient: inherit;
  143.   -moz-counter-reset: inherit;
  144. }
  145.  
  146. *|*::-moz-page, *|*::-moz-page-sequence {
  147.   display: block !important;
  148.   background: transparent;
  149. }
  150.  
  151. *|*::-moz-pagecontent {
  152.   display: block !important;
  153. }
  154.  
  155. *|*::-moz-pagebreak {
  156.   display: -moz-page-break !important;
  157. }
  158.  
  159. *|*::-moz-anonymous-positioned-block {
  160.   display: block !important;
  161.   position: relative;
  162.   top: inherit; 
  163.   left: inherit;
  164.   bottom: inherit;
  165.   right: inherit;
  166.   z-index: inherit;
  167.   clip: inherit;
  168.   -moz-opacity: inherit;
  169. }
  170.  
  171. *|*::-moz-gc-wrapper-block {
  172.   display: block !important;
  173. }
  174.  
  175. /* Printing */
  176.  
  177. @media print {
  178.  
  179.   * {
  180.     cursor: default !important;
  181.   }
  182.  
  183.   *|*::-moz-viewport, *|*::-moz-viewport-scroll, *|*::-moz-canvas {
  184.     background-color: #737373 !important;
  185.   }
  186.  
  187.   *|*:-moz-any-link {
  188.     -moz-user-focus: none !important;
  189.   }
  190.  
  191. }
  192.  
  193. /* XML parse error reporting */
  194.  
  195. parsererror|parsererror {
  196.   display: block;
  197.   font-family: sans-serif;
  198.   font-weight: bold;
  199.   white-space: pre;
  200.   margin: 1em;
  201.   padding: 1em;
  202.   border-width: thin;
  203.   border-style: inset;
  204.   border-color: red;
  205.   font-size: 14pt;
  206.   background-color: lightyellow;
  207. }
  208.  
  209. parsererror|sourcetext {
  210.   display: block;
  211.   white-space: pre;
  212.   font-family: -moz-fixed;
  213.   margin-top: 2em;
  214.   margin-bottom: 1em;
  215.   color: red;
  216.   font-weight: bold;
  217.   font-size: 12pt;
  218. }
  219.