this is unused but probably still contains interesting stuff
[plewww.git] / planetlab / css / demo.css
1 /*
2    Add the following to your CSS file should you wish the cursor to
3    "wait" while the script is processing the sort
4 */
5
6 body.sort-active *
7         {
8         cursor:wait;
9         }
10
11 body
12         {
13         padding:0;
14         border:0;
15         margin:0;
16         text-align:center;
17         font-size:12px;
18         font-family: verdana,arial,sans-serif;
19         color:#545454;
20         min-width: 800px;
21         }
22 h2 span
23         {
24         font-variant:small-caps;
25         }
26 p a
27         {
28         font-weight:normal;
29         outline:none;
30         }
31 p a:link,
32 p a:visited
33         {
34         color:#333;
35         text-decoration:underline;
36         }
37 p a:hover
38         {
39         color:#fff;
40         text-decoration:none;
41         background:#000;
42         }
43 p a:active
44         {
45         color:#000;
46         text-decoration:underline;
47         }
48 code
49         {
50         font-family:'andale mono','lucida console','courier new',monospace;
51         font-size:1em;
52         }
53 p
54         {
55         line-height:1.6em;
56         margin:0 0 1em 0;
57         }
58 h1
59         {
60         font-weight:lighter;
61         font-family:georgia, times new roman, times, georgia, palatino, serif;
62         text-align:center;
63         margin-top:0.6em;
64         color:#000;
65         font-size:2em;
66         }
67 h2
68         {
69         font-weight:lighter;
70         font-family:verdana,arial,sans-serif;
71         text-align:center;
72         margin-top:1em;
73         color:#333;
74         text-transform:uppercase;
75         letter-spacing:1px;
76         font-size:1.2em;
77         }
78 h2 span
79         {
80         font-variant:small-caps;
81         text-transform:none;
82         }
83 .cs1
84         {
85         width:30em;
86         }
87 .cs2
88         {
89         width:20em;
90         }
91 .cs1 td,
92 .cs2 td,
93 #scientificNotation
94         {
95         text-align:right;
96         }
97 caption
98         {
99         padding: 0 0 5px 0;
100         margin:0 auto;
101         width:auto;
102         font: italic 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
103         text-align: right;
104         }
105 td.total
106         {
107         border-top: 0;
108         border-left: 0;
109         border-right: 1px solid #C1DAD7;
110         background: none;
111         text-align:right;
112         font-weight:bold;
113         text-transform:uppercase;
114         letter-spacing:1px;
115         }
116 th.sortable,
117 th.sortable-text,
118 th.sortable-date,
119 th.sortable-keep,
120 th.sortable-date-dmy,
121 th.sortable-numeric,
122 th.sortable-currency,
123 th.sortable-sortByTwelveHourTimestamp,
124 th.sortable-sortIPAddress,
125 th.sortable-sortEnglishLonghandDateFormat,
126 th.sortable-sortScientificNotation,
127 th.sortable-sortImage,
128 th.sortable-sortFileSize,
129 th.sortable-sortAlphaNumeric,
130 th.sortable-sortEnglishDateTime
131
132         {
133         cursor:pointer;
134         background: #CAE8EA url(../media/bg_header_sortable.jpg) no-repeat;
135         padding: 8px 12px 4px 16px;
136         }
137 th.forwardSort
138         {
139         background:#CAE8EA url(../media/bg_header_down.jpg) no-repeat 0 0;
140         }
141 th.reverseSort
142         {
143         background:#CAE8EA url(../media/bg_header_up.jpg) no-repeat 0 0;
144         }
145 table thead th.forwardSort a,
146 table thead th.reverseSort a
147         {
148         color:#000;
149         text-decoration:none;
150         }
151 /*
152 These styles should be added when very long tables are expected
153 th.sort-active
154         {
155         background:#CAE8EA url(../media/bg_header_sorting.jpg) no-repeat 0 0;
156         cursor:wait;
157         }
158 th.sort-active a
159         {
160         color:#a80000 !important;
161         cursor:wait;
162         }
163 */
164 th a
165         {
166         text-decoration:none;
167         color: #4f6b72;
168         background:transparent;
169         }
170 td a
171         {
172         text-decoration:none;
173         color:#239;
174         background:transparent;
175         }
176 td img
177         {
178         margin:0 auto;
179         border:3px solid #ddd;
180         }
181 td a:hover
182         {
183         color:#a84444;
184         border-bottom:1px dotted #a80000;
185         background:transparent;
186         }
187 td.lft
188         {
189         text-align:left;
190         }
191 tr.alt
192         {
193         background: #F5FAFA;
194         color: #797268;
195         }
196
197 /* Poor old Internet Explorer 6 has a bug that means we can't use background images for the table rows
198    as it trys to download the image each and every time that it is used (which means a 1000 row table
199    will produce 1000 http requests for the image in question) */
200 tr[class="alt"] td
201         {
202         background: #F5FAFA url(../media/td_alt.jpg) no-repeat;
203         }
204 td[class~="alt"]
205         {
206         background: #edf3f3 url(../media/col_alt.jpg) no-repeat !important;
207         }
208 /* Poor old Internet Explorer won't see the next two rules either as it doesn't get :first-child */
209 tbody tr.alt td:first-child
210         {
211         background: #F5FAFA url(../media/bullet2.gif) no-repeat;
212         font-weight:bold;
213         }
214 tbody tr td:first-child
215         {
216         background: #fff url(../media/bullet1.gif) no-repeat;
217         font-weight:bold;
218         }
219 /* Image free rules for Internet Explorer < 7 */
220 * html tr.alt td
221         {
222         background-color:#F5FAFA;
223         }
224 * html tr td.alt,
225 * html tr.alt td.alt
226         {
227         background-color:#edf3f3;
228         }