]> git.pond.sub.org Git - eow/blob - static/dojo-release-1.1.1/dijit/themes/tundra/form/Common.css.commented.css
add Dojo 1.1.1
[eow] / static / dojo-release-1.1.1 / dijit / themes / tundra / form / Common.css.commented.css
1
2 /****
3                 dijit.form.TextBox
4                 dijit.form.ValidationTextBox
5                 dijit.form.SerializableTextBox
6                 dijit.form.RangeBoundTextBox
7                 dijit.form.NumberTextBox
8                 dijit.form.CurrencyTextBox
9                 dijit.form.NumberSpinner
10                 dijit.form.ComboBox (partial)
11  ****/
12
13 .tundra .dijitInputField INPUT,
14 .tundra .dijitTextBox,
15 .tundra .dijitComboBox,
16 .tundra .dijitSpinner {
17         margin: 0em 0.1em;
18 }
19
20 .tundra .dijitTextBox,
21 .tundra .dijitComboBox,
22 .tundra .dijitSpinner,
23 .tundra .dijitInlineEditor input {
24         /*      For all except dijit.form.NumberSpinner:  the actual input element.
25                 For TextBox, ComboBox, Spinner: the table that contains the input.
26                 Otherwise the actual input element.
27         */
28         background:#fff url("../images/validationInputBg.png") repeat-x top left;
29         #background:#fff url('../images/validationInputBg.gif') repeat-x top left;
30         border:1px solid #b3b3b3;
31         line-height: normal;
32 }
33
34 .tundra .dijitComboBox .dijitButtonNode {
35         padding: 0 0.2em;
36 }
37 .tundra .dijitComboBox .dijitButtonNode,
38 .tundra .dijitSpinner .dijitButtonNode {
39         /* line between the input area and the drop down button */
40         border-color: #9b9b9b;
41 }
42
43 .tundra .dijitTextBoxFocused,
44 .tundra .dijitComboBoxFocused,
45 .tundra .dijitSpinnerFocused {
46         /* input field when focused (ie: typing affects it) */
47         border-color:#406b9b;
48 }
49 .tundra .dijitComboBoxFocused .dijitButtonNode, .tundra .dijitSpinnerFocused .dijitButtonNode {
50         border-left-color:#366dba;
51 }
52 .tundra .dijitSpinnerFocused .dijitDownArrowButton {
53         border-top-color:#366dba;
54 }
55
56 .tundra .dijitError {
57         border-color:#f3d118;
58         background-color:#f9f7ba;
59         background-image:none;
60 }
61 .dj_ie6 .tundra .dijitError INPUT {
62         /* background-color: transparent on an <input> doesn't work on IE6 */
63         background-color:#f9f7ba !important;
64 }
65
66 .tundra .dijitErrorFocused {
67         background-color:#ff6;
68         background-image:none;
69 }
70 .dj_ie6 .tundra .dijitErrorFocused INPUT {
71         /* background-color: transparent on an <input> doesn't work on IE6 */
72         background-color:#ff6 !important;
73 }
74
75 /* Validation errors  */
76 .tundra .dijitValidationIcon {
77         /* prevent height change when widget goes from valid to invalid state */
78         width: 16px;
79         background: transparent url('../images/warning.png') no-repeat center center;
80 }
81
82
83
84 /* inline edit boxen */
85 .tundra .dijitInlineValue {
86         /* span around an inline-editable value when NOT in edit mode */
87         padding:3px;
88         margin:4px;
89 }
90
91
92 /* MOW: trying to get this to look like a mini-dialog.  Advised? */
93 .tundra .dijitInlineEditor {
94         /* fieldset surrounding an inlineEditor in edit mode */
95         display: inline-block;
96         display: -moz-inline-stack;
97         #display:inline;
98         /*
99         border-style: solid;
100         border-color: #7788a0 #344257 #344257 #7788a0;
101         border-width:1px 2px 2px 1px;
102         -moz-border-radius:0px 2px 0px 2px;     make BL and TR corners indent on Moz so it looks like we have a shadow
103         background-color:white;
104         */
105 }
106
107 .dijitInlineEditor .saveButton,
108 .dijitInlineEditor .cancelButton {
109         margin:3px 3px 3px 0px;
110 }
111
112 .RichTextEditable {
113         border:1px solid #bfbfbf;
114         border-top:0;
115 }
116
117 /*
118  * IE6: can't display PNG images with gradient transparency.
119  * Want to use filter property for those images, but then need to specify a path relative
120  * to the main page, rather than relative to this file... using gifs for now
121  */
122
123 .dj_ie6 .tundra .dijitInputField
124 {
125         background: url("../images/validationInputBg.gif") repeat-x top left #fff;
126 }