source: trunk/template/yoga/default-colors.css @ 1491

Last change on this file since 1491 was 1491, checked in by chrisaga, 18 years ago

fix bugs 244: different display of checkbox in IE/firefox and 484: Missing onfocus/onblur

in some user section *.tpl and many admin section *.tpl
handle FORM elements with a behaviour (inputfix.htc) in IE
the behaviour sets onfocus and onblur events too (no longer needed in *.tpl)
other browsers use css selector :focus and [type=_]

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 KB
Line 
1/* $Id: default-colors.css 1491 2006-07-22 09:21:40Z chrisaga $ */
2
3/* others */
4.pleaseNote {
5    background: #9c9c9c;
6    color: #ffff99;
7    padding: 1ex;
8    font-weight: bold;
9}
10
11#imageToolBar * {
12    background: inherit;
13}
14
15/* So that non-links are slightly greyed out */
16#content .navigationBar {
17    color: #696969;
18}
19#content .pageNumberSelected {
20    color: #000000;
21}
22
23/* Tables & forms */
24
25/* IE <= 6 is so bad with this that you can't merge with the following rule */
26INPUT[type="text"], INPUT[type="password"], INPUT[type="button"],
27INPUT[type="submit"], INPUT[type="reset"], INPUT[type="file"] {
28  color:black;
29  background-color: #d3d3d3;    /* lightgrey */
30}
31
32INPUT.text, INPUT.password, INPUT.button,
33INPUT.submit, INPUT.reset, INPUT.file,
34SELECT, TEXTAREA {
35  color:black;
36  background-color: #d3d3d3;    /* lightgrey */
37}
38/*INPUT.text.focus, INPUT.password.focus, INPUT.button.focus,
39INPUT.submit.focus, INPUT.reset.focus, INPUT.file.focus,*/
40INPUT:focus, SELECT:focus, TEXTAREA:focus, INPUT.focus, FORM .focus {
41  background-color: #f5f5f5;            /* whitesmoke */
42}
43
44.errors { /* Errors display */
45  color: red;
46  background-color: #ffe1e1;
47  font-weight: bold;
48  text-align: left;
49  margin: 5px;
50  border: 1px solid red;
51  background-image: url(icon/admin/errors.png);
52  background-repeat: no-repeat;
53  background-position: top right;
54  padding: 10px 50px 10px 10px;
55}
56
57.errors UL LI
58{
59  font-weight: normal;
60}
61
62/**
63 * Informations box in administration
64 */
65.infos {
66  text-align: left;
67  background-color: palegreen;
68  background-image: url(icon/admin/infos.png);
69  background-repeat: no-repeat;
70  background-position: top right;
71  color: darkgreen;
72  font-weight: bold;
73  margin: 5px;
74  padding: 10px 50px 10px 10px;
75}
76
77/**
78 * Header message like upgrade or adviser mode
79 */
80.header_msgs {
81  text-align:center;
82  font-weight: bold;
83  color:#696969;        /* dimgray */
84  background-color: #d3d3d3;
85  margin: 1px;
86  padding: 1px;
87}
88
89LEGEND {
90  font-style: italic;
91}
Note: See TracBrowser for help on using the repository browser.