1 /* Default monolith stylesheet. To use this, make sure you have configured
2 * rws to map the alias /ml-styles/ to /usr/share/rws/ml-styles
3 * (or wherever this stylesheet will be installed).
5 * $Id: default.css,v 1.27 2003/01/12 22:12:41 rich Exp $
8 /*----- GENERAL -----*/
10 body { /* Application background colour. */
11 background-color: white;
14 /*----- BUTTONS -----*/
16 a.ml_button { /* Enabled buttons. */
17 text-decoration: none;
20 padding: 3px 12px 3px 12px;
21 margin: 3px 3px 3px 3px;
27 span.ml_button { /* Disabled buttons. */
28 text-decoration: none;
30 padding: 3px 12px 3px 12px;
31 margin: 3px 3px 3px 3px;
37 a.ml_button_key { /* Enabled 'key' buttons. */
40 text-decoration: none;
43 padding: 3px 12px 3px 12px;
44 margin: 3px 3px 3px 3px;
50 span.ml_button_key { /* Disabled 'key' buttons. */
53 text-decoration: none;
55 padding: 3px 12px 3px 12px;
56 margin: 3px 3px 3px 3px;
62 a.ml_button_compact { /* Enabled 'compact' buttons. */
63 text-decoration: underline;
68 span.ml_button_compact { /* Disabled 'compact' buttons. */
69 text-decoration: none;
73 a.ml_button_link { /* Enabled 'link' buttons. */
74 text-decoration: underline;
79 span.ml_button_link { /* Disabled 'link' buttons. */
80 text-decoration: none;
84 /*----- TOGGLE BUTTONS -----*/
86 a.ml_toggle_button { /* Toggle buttons. */
87 text-decoration: none;
90 padding: 3px 12px 3px 12px;
91 margin: 3px 3px 3px 3px;
97 a.ml_toggle_button_key { /* Toggle 'key' buttons. */
100 text-decoration: none;
103 padding: 3px 12px 3px 12px;
104 margin: 3px 3px 3px 3px;
105 border-style: outset;
110 a.ml_toggle_button_pressed { /* Toggle buttons (pressed). */
111 text-decoration: none;
114 padding: 3px 12px 3px 12px;
115 margin: 3px 3px 3px 3px;
121 a.ml_toggle_button_key_pressed { /* Toggle 'key' buttons (pressed). */
124 text-decoration: none;
127 padding: 3px 12px 3px 12px;
128 margin: 3px 3px 3px 3px;
134 /*----- BOXES -----*/
136 span.ml_box { /* Box. */
142 padding: 6px 6px 6px 6px;
143 margin: 3px 3px 3px 3px;
146 /*----- FORMS -----*/
148 input.ml_form_text { /* Form input text field. */
149 text-decoration: none;
151 background-color: #eeeeff;
158 input.ml_form_password { /* Form input password field. */
159 text-decoration: none;
161 background-color: #eeeeff;
168 input.ml_form_radio { /* Form input radio button field. */
169 background-color: #eeeeff;
172 input.ml_form_checkbox { /* Form input tick box field. */
173 background-color: #eeeeff;
176 select.ml_form_select { /* Form input select box field. */
177 text-decoration: none;
179 background-color: #eeeeff;
180 // border-style: inset;
181 // border-color: black;
182 // border-width: thin;
186 textarea.ml_form_textarea { /* Form input text field. */
187 text-decoration: none;
189 background-color: #eeeeff;
196 input.ml_form_submit { /* Form submit button. */
197 text-decoration: none;
200 background-color: white;
201 padding: 3px 12px 3px 12px;
202 margin: 3px 3px 3px 3px;
203 border-style: outset;
208 /*----- HEADINGS -----*/
210 h1.ml_heading { /* Heading 1. */
215 h2.ml_heading { /* Heading 2. */
220 h3.ml_heading { /* Heading 3. */
225 h4.ml_heading { /* Heading 4. */
230 h5.ml_heading { /* Heading 5. */
235 h6.ml_heading { /* Heading 6. */
240 /*----- FORM LAYOUT -----*/
242 table.ml_form_layout { /* Forms. */
245 table.ml_form_layout th { /* Forms (left col). */
248 background-color: #eeeeff;
252 table.ml_form_layout td { /* Forms (right col). */
256 /*----- SELECT LAYOUT -----*/
258 table.ml_select_layout { /* Select layout (outer table). */
261 table.ml_select_layout_left { /* Select layout (inner left table). */
262 width: 100px; /* XXX */
265 table.ml_select_layout_left th { /* Select layout (selected item). */
267 background-color: #eeeeff;
271 table.ml_select_layout_left th a { /* Select layout (selected item). */
273 text-decoration: underline;
277 table.ml_select_layout_left td { /* Select layout (unselected item). */
282 table.ml_select_layout_left td a { /* Select layout (unselected item). */
284 text-decoration: underline;
288 /*----- MENUS -----*/
289 /* This CSS is adapted from:
290 * http://www.meyerweb.com/eric/css/edge/menus/demo.html
293 table.ml_menubar { /* Menubar along top of screen. */
294 border-style: outset;
300 td.ml_menubar_item { /* Menubar headings. */
303 padding: 3px 12px 3px 12px;
304 margin: 3px 3px 3px 3px
307 td.ml_menubar_item ul { /* Disable all menus to start. */
311 td.ml_menubar_item:hover > ul { /* On hover, enable menu. */
316 border-style: outset;
321 td.ml_menubar_item li:hover > ul { /* On hover, enable submenu. */
328 border-style: outset;
333 td.ml_menubar_item li { /* Menu item. */
334 list-style-type: none;
335 padding: 3px 12px 3px 12px;
336 margin: 3px 3px 3px -30px;
339 //td.ml_menubar_item li:hover { /* Menu item (hovering). */
340 // list-style-type: none;
341 // padding: 3px 12px 3px 12px;
342 // margin: 3px 3px 3px -30px;
343 // background-color: #eeeeff;
346 td.ml_menubar_item li a { /* Menu item (operational). */
349 text-decoration: none;
352 td.ml_menubar_item li span { /* Menu item (not operational). */
355 text-decoration: none;
358 /*----- STATS APPLICATION -----*/
360 table.ml_stats_table { /* Tables in stats appl. */
364 border-collapse: collapse;
367 table.ml_stats_table th { /* Tables in stats appl. */
369 background-color: #eeeeff;
376 table.ml_stats_table td { /* Tables in stats appl. */
384 /*----- DISCUSSION -----*/
386 table.ml_discussion { /* Discussion area. */
390 table.ml_discussion_posting { /* Discussion posting. */
392 margin-bottom: 0.5em;
395 th.ml_discussion_posting_read {
398 background-color: #eeeeff;
402 padding: 3px 3px 3px 3px;
405 th.ml_discussion_posting_unread {
408 background-color: #eeeeff;
412 padding: 3px 3px 3px 3px;
415 table.ml_discussion_panel { /* Discussion panel actions. */
419 table.ml_discussion_panel_actions { /* Discussion panel actions. */
423 /*----- CALENDAR -----*/
425 a.ml_calendar_day { /* Calendar day buttons. */
428 text-decoration: none;
437 a.ml_calendar_day_selected { /* Calendar day buttons. */
440 text-decoration: none;
452 a.ml_calendar_day_events { /* Calendar day buttons. */
455 text-decoration: none;
464 a.ml_calendar_day_events_selected { /* Calendar day buttons. */
467 text-decoration: none;
479 a.ml_calendar_hour { /* Calendar hour buttons. */
480 text-decoration: none;
486 a.ml_calendar_hour_off_peak { /* Calendar hour buttons (off peak). */
487 text-decoration: none;
491 background-color: #eeeeff;
494 table.ml_calendar_notes { /* Calendar notes. */
499 div.ml_calendar_notes { /* Calendar notes. */
505 /*----- BUG TRACKER -----*/
507 table.ml_bugtrack_bug { /* Bug tracking bug table. */
511 table.ml_bugtrack_bug th { /* Bug tracking bug table. */
513 background-color: #eeeeff;
517 table.ml_bugtrack_bug td { /* Bug tracking bug table. */
521 table.ml_bugtrack_comment { /* Bug tracking comment. */
526 table.ml_bugtrack_comment th { /* Bug tracking comment. */
533 span.ml_chat_time { /* Time field in chat window. */
537 span.ml_chat_username { /* Username field in chat window. */
541 span.ml_chat_enterleave { /* Enter/leave msgs in chat window. */
545 span.ml_chat_message { /* Message field in chat window. */