2001-09-28 20:14:13 +00:00
|
|
|
/* ***** BEGIN LICENSE BLOCK *****
|
2004-04-18 14:30:37 +00:00
|
|
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
1998-04-13 20:24:54 +00:00
|
|
|
*
|
2004-04-18 14:30:37 +00:00
|
|
|
* The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
* 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
* the License. You may obtain a copy of the License at
|
|
|
|
* http://www.mozilla.org/MPL/
|
2001-09-28 20:14:13 +00:00
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
* for the specific language governing rights and limitations under the
|
|
|
|
* License.
|
1998-04-13 20:24:54 +00:00
|
|
|
*
|
1999-11-06 03:40:37 +00:00
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
2004-04-18 14:30:37 +00:00
|
|
|
* The Initial Developer of the Original Code is
|
2001-09-28 20:14:13 +00:00
|
|
|
* Netscape Communications Corporation.
|
|
|
|
* Portions created by the Initial Developer are Copyright (C) 1998
|
|
|
|
* the Initial Developer. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
2011-06-22 18:11:47 +00:00
|
|
|
* Mats Palmgren <matspal@gmail.com>
|
2001-09-28 20:14:13 +00:00
|
|
|
*
|
|
|
|
* Alternatively, the contents of this file may be used under the terms of
|
2004-04-18 14:30:37 +00:00
|
|
|
* either of the GNU General Public License Version 2 or later (the "GPL"),
|
|
|
|
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
2001-09-28 20:14:13 +00:00
|
|
|
* in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
* of those above. If you wish to allow use of your version of this file only
|
|
|
|
* under the terms of either the GPL or the LGPL, and not to allow others to
|
2004-04-18 14:30:37 +00:00
|
|
|
* use your version of this file under the terms of the MPL, indicate your
|
2001-09-28 20:14:13 +00:00
|
|
|
* decision by deleting the provisions above and replace them with the notice
|
|
|
|
* and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
* the provisions above, a recipient may use your version of this file under
|
2004-04-18 14:30:37 +00:00
|
|
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
1999-11-06 03:40:37 +00:00
|
|
|
*
|
2001-09-28 20:14:13 +00:00
|
|
|
* ***** END LICENSE BLOCK ***** */
|
1998-04-13 20:24:54 +00:00
|
|
|
|
2009-10-12 19:31:50 +00:00
|
|
|
@import url(resource://gre-resources/html.css);
|
2000-05-29 04:36:15 +00:00
|
|
|
@import url(chrome://global/content/xul.css);
|
2000-09-21 10:20:23 +00:00
|
|
|
|
2002-03-12 22:17:18 +00:00
|
|
|
@namespace parsererror url(http://www.mozilla.org/newlayout/xml/parsererror.xml);
|
|
|
|
|
2002-11-25 23:40:58 +00:00
|
|
|
/* magic -- some of these rules are important to keep pages from overriding
|
|
|
|
them
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Tables */
|
|
|
|
|
2003-07-07 21:57:01 +00:00
|
|
|
*|*::-moz-table {
|
2002-11-25 23:40:58 +00:00
|
|
|
display: table !important;
|
|
|
|
-moz-box-sizing: border-box; /* XXX do we really want this? */
|
|
|
|
}
|
|
|
|
|
2007-01-27 18:36:57 +00:00
|
|
|
*|*::-moz-inline-table {
|
|
|
|
display: inline-table !important;
|
|
|
|
-moz-box-sizing: border-box; /* XXX do we really want this? */
|
|
|
|
}
|
|
|
|
|
2003-07-07 21:57:01 +00:00
|
|
|
*|*::-moz-table-outer {
|
2007-01-27 18:36:57 +00:00
|
|
|
display: inherit !important; /* table or inline-table */
|
Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
2006-12-08 05:38:33 +00:00
|
|
|
margin: 0 ! important;
|
|
|
|
padding: 0 ! important;
|
|
|
|
border: none ! important;
|
2002-11-25 23:40:58 +00:00
|
|
|
float: inherit;
|
|
|
|
clear: inherit;
|
|
|
|
position: inherit;
|
|
|
|
top: inherit;
|
|
|
|
right: inherit;
|
|
|
|
bottom: inherit;
|
|
|
|
left: inherit;
|
|
|
|
z-index: inherit;
|
|
|
|
page-break-before: inherit;
|
|
|
|
page-break-after: inherit;
|
2007-11-17 22:33:09 +00:00
|
|
|
vertical-align: inherit; /* needed for inline-table */
|
|
|
|
line-height: inherit; /* needed for vertical-align on inline-table */
|
2002-11-25 23:40:58 +00:00
|
|
|
}
|
|
|
|
|
2003-07-07 21:57:01 +00:00
|
|
|
*|*::-moz-table-row {
|
2002-11-25 23:40:58 +00:00
|
|
|
display: table-row !important;
|
|
|
|
}
|
|
|
|
|
2003-07-07 21:57:01 +00:00
|
|
|
/* The ::-moz-table-column pseudo-element is for extra columns at the end
|
2002-11-25 23:40:58 +00:00
|
|
|
of a table. */
|
2003-07-07 21:57:01 +00:00
|
|
|
*|*::-moz-table-column {
|
2002-11-25 23:40:58 +00:00
|
|
|
display: table-column !important;
|
|
|
|
}
|
|
|
|
|
2003-07-07 21:57:01 +00:00
|
|
|
*|*::-moz-table-column-group {
|
2002-11-25 23:40:58 +00:00
|
|
|
display: table-column-group !important;
|
|
|
|
}
|
|
|
|
|
2003-07-07 21:57:01 +00:00
|
|
|
*|*::-moz-table-row-group {
|
2002-11-25 23:40:58 +00:00
|
|
|
display: table-row-group !important;
|
|
|
|
}
|
|
|
|
|
2003-07-07 21:57:01 +00:00
|
|
|
*|*::-moz-table-cell {
|
2002-11-25 23:40:58 +00:00
|
|
|
display: table-cell !important;
|
|
|
|
white-space: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Lists */
|
|
|
|
|
2003-07-07 21:57:01 +00:00
|
|
|
*|*::-moz-list-bullet, *|*::-moz-list-number {
|
2002-11-25 23:40:58 +00:00
|
|
|
display: inline;
|
|
|
|
vertical-align: baseline;
|
2004-06-20 09:51:10 +00:00
|
|
|
-moz-margin-end: 8px;
|
2002-11-25 23:40:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Links */
|
|
|
|
|
|
|
|
*|*:-moz-any-link {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2010-04-21 14:53:42 +00:00
|
|
|
*|*:-moz-any-link:-moz-focusring {
|
2007-03-15 16:16:20 +00:00
|
|
|
/* Don't specify the outline-color, we should always use initial value. */
|
|
|
|
outline: 1px dotted;
|
2002-11-25 23:40:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Miscellaneous */
|
|
|
|
|
2006-06-12 04:27:10 +00:00
|
|
|
*|*::-moz-anonymous-block, *|*::-moz-cell-content {
|
2002-11-25 23:40:58 +00:00
|
|
|
display: block !important;
|
2006-06-06 23:13:15 +00:00
|
|
|
position: static !important;
|
2011-04-23 01:36:24 +00:00
|
|
|
unicode-bidi: inherit;
|
2011-06-22 18:11:47 +00:00
|
|
|
text-overflow: inherit;
|
2002-11-25 23:40:58 +00:00
|
|
|
}
|
|
|
|
|
2008-06-02 22:52:25 +00:00
|
|
|
*|*::-moz-anonymous-block, *|*::-moz-anonymous-positioned-block {
|
|
|
|
/* we currently inherit from the inline that is split */
|
|
|
|
outline: inherit;
|
2008-10-17 22:46:15 +00:00
|
|
|
outline-offset: inherit;
|
2008-09-11 00:24:16 +00:00
|
|
|
clip-path: inherit;
|
|
|
|
filter: inherit;
|
|
|
|
mask: inherit;
|
2011-06-17 03:36:07 +00:00
|
|
|
opacity: inherit;
|
2011-08-03 18:30:58 +00:00
|
|
|
text-decoration: inherit;
|
2008-12-07 18:11:30 +00:00
|
|
|
-moz-box-ordinal-group: inherit !important;
|
2008-06-02 22:52:25 +00:00
|
|
|
}
|
|
|
|
|
2007-10-25 23:30:49 +00:00
|
|
|
*|*::-moz-xul-anonymous-block {
|
|
|
|
display: block ! important;
|
|
|
|
position: static ! important;
|
|
|
|
float: none ! important;
|
2008-12-07 18:11:30 +00:00
|
|
|
-moz-box-ordinal-group: inherit !important;
|
2007-10-25 23:30:49 +00:00
|
|
|
}
|
|
|
|
|
2005-04-28 22:14:16 +00:00
|
|
|
*|*::-moz-scrolled-content, *|*::-moz-scrolled-canvas,
|
|
|
|
*|*::-moz-scrolled-page-sequence {
|
2002-11-25 23:40:58 +00:00
|
|
|
/* e.g., text inputs, select boxes */
|
|
|
|
padding: inherit;
|
2008-10-07 18:53:22 +00:00
|
|
|
/* The display doesn't affect the kind of frame constructed here. This just
|
|
|
|
affects auto-width sizing of the block we create. */
|
|
|
|
display: block;
|
2002-11-25 23:40:58 +00:00
|
|
|
-moz-box-orient: inherit;
|
2004-11-23 09:42:23 +00:00
|
|
|
/* make unicode-bidi inherit, otherwise it has no effect on text inputs and
|
|
|
|
blocks with overflow: scroll; */
|
|
|
|
unicode-bidi: inherit;
|
2011-06-22 18:11:47 +00:00
|
|
|
text-overflow: inherit;
|
2005-02-08 02:15:26 +00:00
|
|
|
-moz-column-count: inherit;
|
|
|
|
-moz-column-width: inherit;
|
|
|
|
-moz-column-gap: inherit;
|
2011-03-17 17:41:52 +00:00
|
|
|
-moz-column-rule: inherit;
|
2005-02-08 02:15:26 +00:00
|
|
|
/* Do not change these. nsCSSFrameConstructor depends on them to create a good
|
|
|
|
frame tree. */
|
|
|
|
position: static !important;
|
|
|
|
float: none !important;
|
2002-11-25 23:40:58 +00:00
|
|
|
}
|
|
|
|
|
2005-04-28 22:14:16 +00:00
|
|
|
*|*::-moz-viewport, *|*::-moz-viewport-scroll, *|*::-moz-canvas, *|*::-moz-scrolled-canvas {
|
|
|
|
display: block !important;
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
*|*::-moz-viewport-scroll {
|
|
|
|
overflow: auto;
|
2011-01-17 14:35:32 +00:00
|
|
|
%ifdef XP_WIN
|
|
|
|
resize: both;
|
|
|
|
%endif
|
2005-04-28 22:14:16 +00:00
|
|
|
}
|
|
|
|
|
2004-10-08 12:17:10 +00:00
|
|
|
*|*::-moz-column-content {
|
|
|
|
/* the column boxes inside a column-flowed block */
|
2004-11-23 09:42:23 +00:00
|
|
|
/* make unicode-bidi inherit, otherwise it has no effect on column boxes */
|
|
|
|
unicode-bidi: inherit;
|
2011-06-22 18:11:47 +00:00
|
|
|
text-overflow: inherit;
|
2005-02-01 01:21:25 +00:00
|
|
|
/* inherit the outer frame's display, otherwise we turn into an inline */
|
|
|
|
display: inherit !important;
|
|
|
|
/* Carry through our parent's height so that %-height children get
|
|
|
|
their heights set */
|
|
|
|
height: 100%;
|
2004-10-08 12:17:10 +00:00
|
|
|
}
|
|
|
|
|
2011-06-10 10:07:26 +00:00
|
|
|
*|*::-moz-page-sequence, *|*::-moz-scrolled-page-sequence {
|
|
|
|
/* Collection of pages in print/print preview. Visual styles may only appear
|
|
|
|
* in print preview. */
|
2002-11-25 23:40:58 +00:00
|
|
|
display: block !important;
|
2011-06-10 10:07:26 +00:00
|
|
|
background: -moz-linear-gradient(top, #606060, #8a8a8a) fixed;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
*|*::-moz-page {
|
|
|
|
/* Individual page in print/print preview. Visual styles may only appear
|
|
|
|
* in print preview. */
|
|
|
|
display: block !important;
|
|
|
|
background: white;
|
|
|
|
box-shadow: 5px 5px 8px #202020;
|
|
|
|
margin: 0.125in 0.25in;
|
2002-11-25 23:40:58 +00:00
|
|
|
}
|
|
|
|
|
2003-07-07 21:57:01 +00:00
|
|
|
*|*::-moz-pagecontent {
|
2002-11-25 23:40:58 +00:00
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
|
2003-07-07 21:57:01 +00:00
|
|
|
*|*::-moz-pagebreak {
|
2005-04-22 15:31:44 +00:00
|
|
|
display: block !important;
|
2002-11-25 23:40:58 +00:00
|
|
|
}
|
|
|
|
|
2003-07-07 21:57:01 +00:00
|
|
|
*|*::-moz-anonymous-positioned-block {
|
2002-11-25 23:40:58 +00:00
|
|
|
display: block !important;
|
|
|
|
position: relative;
|
|
|
|
top: inherit;
|
|
|
|
left: inherit;
|
|
|
|
bottom: inherit;
|
|
|
|
right: inherit;
|
|
|
|
z-index: inherit;
|
|
|
|
clip: inherit;
|
2005-02-18 16:33:02 +00:00
|
|
|
opacity: inherit;
|
2011-04-23 01:36:24 +00:00
|
|
|
unicode-bidi: inherit;
|
2011-06-22 18:11:47 +00:00
|
|
|
text-overflow: inherit;
|
2002-11-25 23:40:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Printing */
|
|
|
|
|
|
|
|
@media print {
|
|
|
|
|
|
|
|
* {
|
|
|
|
cursor: default !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/* XML parse error reporting */
|
|
|
|
|
2002-03-12 22:17:18 +00:00
|
|
|
parsererror|parsererror {
|
2000-09-21 10:20:23 +00:00
|
|
|
display: block;
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-weight: bold;
|
|
|
|
white-space: pre;
|
|
|
|
margin: 1em;
|
|
|
|
padding: 1em;
|
|
|
|
border-width: thin;
|
|
|
|
border-style: inset;
|
|
|
|
border-color: red;
|
|
|
|
font-size: 14pt;
|
|
|
|
background-color: lightyellow;
|
|
|
|
}
|
|
|
|
|
2002-03-12 22:17:18 +00:00
|
|
|
parsererror|sourcetext {
|
2000-09-21 10:20:23 +00:00
|
|
|
display: block;
|
|
|
|
white-space: pre;
|
2003-04-10 19:01:47 +00:00
|
|
|
font-family: -moz-fixed;
|
2000-09-21 10:20:23 +00:00
|
|
|
margin-top: 2em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
color: red;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 12pt;
|
|
|
|
}
|