1
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/* ***** BEGIN LICENSE BLOCK *****
3
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
5
* The contents of this file are subject to the Netscape Public License
6
* Version 1.1 (the "License"); you may not use this file except in
7
* compliance with the License. You may obtain a copy of the License at
8
* http://www.mozilla.org/NPL/
10
* Software distributed under the License is distributed on an "AS IS" basis,
11
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12
* for the specific language governing rights and limitations under the
15
* The Original Code is mozilla.org code.
17
* The Initial Developer of the Original Code is
18
* Netscape Communications Corporation.
19
* Portions created by the Initial Developer are Copyright (C) 1998
20
* the Initial Developer. All Rights Reserved.
24
* Alternatively, the contents of this file may be used under the terms of
25
* either the GNU General Public License Version 2 or later (the "GPL"), or
26
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27
* in which case the provisions of the GPL or the LGPL are applicable instead
28
* of those above. If you wish to allow use of your version of this file only
29
* under the terms of either the GPL or the LGPL, and not to allow others to
30
* use your version of this file under the terms of the NPL, indicate your
31
* decision by deleting the provisions above and replace them with the notice
32
* and other provisions required by the GPL or the LGPL. If you do not delete
33
* the provisions above, a recipient may use your version of this file under
34
* the terms of any one of the NPL, the GPL or the LGPL.
36
* ***** END LICENSE BLOCK ***** */
43
background: #FF9; /* pale yellow */
47
/* only does anything for calendar */
48
table { width: 100%; }
50
box#tabs { padding: 1px; }
52
#0 0x40b20926 in nsSelectControlFrame::SetProperty ()
53
#1 0x40ade441 in nsHTMLSelectElement::SetSelectedIndex ()
54
#2 0x403d30cf in NS_NewScriptHTMLScriptElement ()
55
#3 0x40446433 in js_SetProperty ()
56
box#main { overflow: scroll; }
58
box#main { overflow: auto; }
61
/* XXX Interesting... */
62
/* window { overflow: scroll; } */
64
window[debug] { background: yellow; }
65
window[debug] box { background: red; }
66
window[debug] div { background: green; }
68
/* XXX: Bug: Problems - increases height; should center the table - happens
69
if any margin is auto */
79
/* XXX Doesn't work: */
80
box#outer { overflow: scroll; }
83
* BUTTONS AND TABS: Used in schedule and pick windows.
87
#ApptTable { overflow: scroll; }
90
button, td[class~="button"], td[class~="tab"] {
92
vertical-align: middle;
94
border: 1px outset #FF9;
100
td[class~="button"]:active, td[class~="tab"]:active {
102
padding: 2px 0px 0px 2px;
106
td[class~="tab"][class~="disable"] {
110
td[class~="tab"][class~="disable"]:active {
111
/* back to default */
115
td[id="DateOutput"], td[id="MonthOutput"] {
116
vertical-align: middle;
125
/* XXX XUL Bug?? tr[id] without the tbody matches the row in the thead too */
126
table[class~="data"] tbody[id="ApptTable"] tr {
130
/* Problem with bug 5693
131
table[class~="data"] tbody#ApptTable tr:hover {
133
text-decoration: underline; /* really a nonstandard use */
137
table[class~="data"] th, table[class~="data"] td {
139
vertical-align: baseline;
159
/* the numbers in the calendar, including those below */
161
td[class~="caldate"] {
164
border: 1px solid transparent;
167
/* the number in the calendar for the date now being shown (overrides above) */
169
td[class~="caldate"][class~="nowshowing"] {
174
/* the number in the calendar for today's date (overrides above) */
176
td[class~="caldate"][class~="today"] {
177
border: 1px solid black;
178
/* font-weight: bold; */