home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / phoenx05.zip / phoenix / res / ua.css < prev    next >
Cascading Style Sheet File  |  2002-12-10  |  5KB  |  220 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.   padding: 1px;
  102.   white-space: inherit;
  103. }
  104.  
  105. /* Lists */
  106.  
  107. *|*:-moz-list-bullet, *|*:-moz-list-number {
  108.   display: inline;
  109.   vertical-align: baseline;
  110.   margin-right: 8px;
  111. }
  112.  
  113. /* Links */
  114.  
  115. *|*:-moz-any-link {
  116.   cursor: pointer;
  117.   -moz-user-focus: normal;
  118. }
  119.  
  120. *|*:-moz-any-link:active {
  121.   color: red;
  122. }
  123.  
  124. *|*:-moz-any-link:focus {
  125.   -moz-outline: 1px dotted invert;
  126. }
  127.  
  128. /* Miscellaneous */
  129.  
  130. *|*:-moz-anonymous-block, *|*:-moz-cell-content {
  131.   display: block !important;
  132. }
  133.  
  134. *|*:-moz-viewport, *|*:-moz-viewport-scroll, *|*:-moz-canvas {
  135.   display: block !important;
  136.   background-color: inherit;
  137. }
  138.  
  139. *|*:-moz-scrolled-content { 
  140.   /* e.g., text inputs, select boxes */
  141.   background: inherit;
  142.   padding: inherit;
  143.   display: inherit;
  144.   -moz-box-orient: inherit;
  145. }
  146.  
  147. *|*:-moz-page, *|*:-moz-page-sequence {
  148.   display: block !important;
  149.   background: transparent;
  150. }
  151.  
  152. *|*:-moz-pagecontent {
  153.   display: block !important;
  154. }
  155.  
  156. *|*:-moz-pagebreak {
  157.   display: -moz-page-break !important;
  158. }
  159.  
  160. *|*:-moz-anonymous-positioned-block {
  161.   display: block !important;
  162.   position: relative;
  163.   top: inherit; 
  164.   left: inherit;
  165.   bottom: inherit;
  166.   right: inherit;
  167.   z-index: inherit;
  168.   clip: inherit;
  169.   -moz-opacity: inherit;
  170. }
  171.  
  172. *|*:-moz-gc-wrapper-block {
  173.   display: block !important;
  174. }
  175.  
  176. /* Printing */
  177.  
  178. @media print {
  179.  
  180.   * {
  181.     cursor: default !important;
  182.   }
  183.  
  184.   *|*:-moz-viewport, *|*:-moz-viewport-scroll, *|*:-moz-canvas {
  185.     background-color: #737373 !important;
  186.   }
  187.  
  188.   *|*:-moz-any-link {
  189.     -moz-user-focus: none !important;
  190.   }
  191.  
  192. }
  193.  
  194. /* XML parse error reporting */
  195.  
  196. parsererror|parsererror {
  197.   display: block;
  198.   font-family: sans-serif;
  199.   font-weight: bold;
  200.   white-space: pre;
  201.   margin: 1em;
  202.   padding: 1em;
  203.   border-width: thin;
  204.   border-style: inset;
  205.   border-color: red;
  206.   font-size: 14pt;
  207.   background-color: lightyellow;
  208. }
  209.  
  210. parsererror|sourcetext {
  211.   display: block;
  212.   white-space: pre;
  213.   font-family: Courier;
  214.   margin-top: 2em;
  215.   margin-bottom: 1em;
  216.   color: red;
  217.   font-weight: bold;
  218.   font-size: 12pt;
  219. }
  220.