author | Sandrine Ribeau <sandrine.ribeau@logilab.fr> |
Wed, 22 Apr 2009 21:45:08 -0700 | |
changeset 1442 | db4e2508082b |
parent 1077 | fe26a0cda180 |
child 1412 | f3361e29d91f |
permissions | -rw-r--r-- |
0 | 1 |
/* styles for generated forms |
2 |
* |
|
3 |
* :organization: Logilab |
|
4 |
* :copyright: 2003-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
|
5 |
* :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
|
6 |
*/ |
|
7 |
||
8 |
div.formTitle { |
|
9 |
width: 100%; |
|
10 |
font-size : 160%; |
|
11 |
font-weight: bold; |
|
850
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
12 |
color: #ff4500; |
0 | 13 |
padding-bottom : 0.4em; |
14 |
text-transform: capitalize; |
|
15 |
background: url("bg_trame_grise.png") left bottom repeat-x; |
|
16 |
margin-bottom: 0.6em |
|
17 |
} |
|
18 |
||
19 |
div.formTitle span { |
|
20 |
padding: 4px 0px; |
|
21 |
display: block; |
|
22 |
} |
|
23 |
||
24 |
div.iformTitle { |
|
25 |
font-weight: bold; |
|
26 |
font-size: 110%; |
|
27 |
color: #222211; |
|
28 |
background: #e4ead8; |
|
29 |
border: 1px solid #E4EAD8; /*#b7b6a3 */ |
|
30 |
border-bottom: none; |
|
31 |
} |
|
32 |
||
33 |
div.iformTitle span { |
|
34 |
margin: 0.5em; |
|
35 |
} |
|
36 |
||
37 |
div.iformTitle span.icounter { |
|
38 |
margin: 0em; |
|
39 |
} |
|
40 |
||
41 |
div.iformTitle a { |
|
42 |
font-size: 80%; |
|
43 |
} |
|
44 |
||
45 |
div.formBody { |
|
46 |
width:100%; |
|
47 |
} |
|
48 |
||
49 |
fieldset.subentity { |
|
50 |
border: 1px solid #E4EAD8; |
|
51 |
display: block; |
|
52 |
margin-bottom: 1em; |
|
53 |
padding: 0.4em; |
|
54 |
} |
|
55 |
||
56 |
table.attributeForm { |
|
57 |
border: 1px solid #E4EAD8; |
|
58 |
margin-bottom: 1em; |
|
59 |
padding: 0.8em; |
|
60 |
} |
|
61 |
||
62 |
fieldset.subentity table td { |
|
63 |
padding: 2px; |
|
64 |
vertical-align: top; |
|
65 |
} |
|
66 |
||
67 |
fieldset.subentity table.attributeForm { |
|
68 |
border: none; |
|
69 |
padding: 0em; |
|
70 |
} |
|
71 |
||
72 |
.attributeForm, |
|
73 |
.attributeForm th, |
|
74 |
.attributeForm td { |
|
75 |
border-collapse: separate; |
|
76 |
} |
|
77 |
||
78 |
table.attributeForm th, |
|
79 |
table.attributeForm td { |
|
80 |
padding : 0px 2px; |
|
81 |
} |
|
82 |
||
83 |
table.attributeForm th { |
|
84 |
text-align: right; |
|
85 |
} |
|
86 |
||
87 |
table.attributeForm div#comfirmPsw { |
|
88 |
} |
|
89 |
||
90 |
table.attributeForm input, |
|
91 |
table.attributeForm textarea, |
|
92 |
table.attributeForm select { |
|
93 |
border: 1px solid #E4EAD8; /*#b7b6a3*/ |
|
94 |
} |
|
95 |
||
96 |
table.attributeForm textarea { |
|
97 |
font: 100% normal Courier, monospace; |
|
98 |
width: 100%; |
|
99 |
} |
|
100 |
||
101 |
table.attributeForm label, |
|
102 |
.entityForm .label { |
|
103 |
padding : 0.2em 10px 0.2em 0.4em; |
|
104 |
} |
|
105 |
||
106 |
table.attributeForm label.required { |
|
107 |
background: url("required.png") 100% 50% no-repeat; |
|
108 |
} |
|
109 |
||
110 |
.entityForm input.validateButton { |
|
111 |
margin: 5px 10px 5px 0px; |
|
112 |
} |
|
113 |
||
114 |
a.addEntity { |
|
115 |
display:block ; |
|
116 |
margin-bottom:1em ; |
|
117 |
padding-left:0.2em ; |
|
118 |
font-weight: bold ; |
|
119 |
} |
|
120 |
||
121 |
table#relatedEntities { |
|
122 |
margin: 10px 0px; |
|
123 |
border-collapse: separate; |
|
124 |
} |
|
125 |
||
126 |
table#relatedEntities th, |
|
127 |
table#relatedEntities td { |
|
128 |
padding : 0px 2px; |
|
129 |
} |
|
130 |
||
131 |
table#relatedEntities tr.separator { |
|
132 |
border-bottom: none; |
|
133 |
text-align: center; |
|
134 |
} |
|
135 |
||
136 |
table#relatedEntities th { |
|
137 |
text-align: right; |
|
138 |
width:200em; |
|
139 |
} |
|
140 |
||
141 |
table#relatedEntities th.warning { |
|
142 |
border: none; |
|
143 |
text-align: center; |
|
144 |
} |
|
145 |
||
146 |
table#relatedEntities td span { |
|
147 |
display: inline; |
|
148 |
} |
|
149 |
||
150 |
table#relatedEntities ul { |
|
151 |
margin: 0px; |
|
152 |
padding: 0px; |
|
153 |
} |
|
154 |
||
155 |
table#relatedEntities td { |
|
156 |
width: 100%; |
|
157 |
} |
|
158 |
||
159 |
a.handle { |
|
160 |
font-family: Courier; |
|
161 |
font-size: 120%; |
|
162 |
} |
|
163 |
||
164 |
a.editionPending { |
|
165 |
color: #557755; |
|
166 |
font-weight: bold; |
|
167 |
} |
|
168 |
||
169 |
div.pendingDelete { |
|
170 |
text-decoration: line-through; |
|
171 |
} |
|
172 |
||
173 |
div.notransform { |
|
174 |
text-transform: none; |
|
175 |
} |
|
176 |
||
177 |
div.inlinedform { |
|
178 |
margin-left: 2em; |
|
179 |
} |
|
180 |
||
850
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
181 |
/*FIXME inlineedit not used ?*/ |
1077 | 182 |
/* |
850
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
183 |
div.inlineedit { |
1077 | 184 |
display: none; |
185 |
} |
|
186 |
*/ |
|
850
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
187 |
|
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
188 |
div.editableField { |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
189 |
display: inline; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
190 |
} |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
191 |
|
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
192 |
div.editableField:hover, |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
193 |
div.editableField p:hover { |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
194 |
background-color: #eeedd9; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
195 |
} |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
196 |
|
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
197 |
input.error { |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
198 |
background: transparent url("error.png") 100% 50% no-repeat; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
199 |
} |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
200 |
|
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
201 |
span.error { |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
202 |
display: block; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
203 |
font-weight: bold; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
204 |
color: #ed0d0d; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
205 |
} |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
206 |
|
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
207 |
option.separator { |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
208 |
font-weight: bold; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
209 |
background: #ccc; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
210 |
text-align: center; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
211 |
} |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
212 |
|
0 | 213 |
div.trame_grise { |
214 |
background: url("bg_trame_grise.png") left top repeat-x; |
|
215 |
} |
|
216 |
||
217 |
div.notice { |
|
218 |
display: none; |
|
219 |
font-style: italic; |
|
220 |
font-size: 110%; |
|
221 |
padding-left: 2em; |
|
222 |
background : #f8f8ee url("information.png") 5px center no-repeat ; |
|
223 |
} |
|
850
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
224 |
|
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
225 |
.helper{ |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
226 |
font-size: 96%; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
227 |
color: #555544; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
228 |
} |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
229 |
|
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
230 |
.helper:hover { |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
231 |
color: #000; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
232 |
cursor: default; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
233 |
} |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
234 |
|
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
235 |
input.validateButton { |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
236 |
margin: 1em 1em 0px 0px; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
237 |
border: 1px solid #edecd2; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
238 |
border-color:#edecd2 #cfceb7 #cfceb7 #edecd2; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
239 |
background: #fffff8 url("button.png") bottom left repeat-x; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
240 |
} |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
241 |