author | Katia Saurfelt <katia.saurfelt@logilab.fr> |
Tue, 19 May 2009 14:31:42 +0200 | |
branch | stable |
changeset 1868 | af1ae863606d |
parent 1412 | f3361e29d91f |
child 2999 | 0bf6c52447d0 |
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; |
|
1412
f3361e29d91f
give more space to labels in forms
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
1077
diff
changeset
|
59 |
padding: 0.8em 1.2em; |
f3361e29d91f
give more space to labels in forms
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
1077
diff
changeset
|
60 |
width: 100%; |
0 | 61 |
} |
62 |
||
63 |
fieldset.subentity table td { |
|
64 |
padding: 2px; |
|
65 |
vertical-align: top; |
|
66 |
} |
|
67 |
||
68 |
fieldset.subentity table.attributeForm { |
|
69 |
border: none; |
|
70 |
padding: 0em; |
|
71 |
} |
|
72 |
||
73 |
.attributeForm, |
|
74 |
.attributeForm th, |
|
75 |
.attributeForm td { |
|
76 |
border-collapse: separate; |
|
77 |
} |
|
78 |
||
79 |
table.attributeForm th, |
|
80 |
table.attributeForm td { |
|
1412
f3361e29d91f
give more space to labels in forms
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
1077
diff
changeset
|
81 |
padding : .7em 2px; |
0 | 82 |
} |
83 |
||
84 |
table.attributeForm th { |
|
1412
f3361e29d91f
give more space to labels in forms
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
1077
diff
changeset
|
85 |
text-align: left; |
f3361e29d91f
give more space to labels in forms
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
1077
diff
changeset
|
86 |
width: 12em; |
0 | 87 |
} |
88 |
||
89 |
table.attributeForm div#comfirmPsw { |
|
90 |
} |
|
91 |
||
92 |
table.attributeForm input, |
|
93 |
table.attributeForm textarea, |
|
94 |
table.attributeForm select { |
|
95 |
border: 1px solid #E4EAD8; /*#b7b6a3*/ |
|
96 |
} |
|
97 |
||
98 |
table.attributeForm textarea { |
|
99 |
font: 100% normal Courier, monospace; |
|
100 |
width: 100%; |
|
101 |
} |
|
102 |
||
103 |
table.attributeForm label, |
|
104 |
.entityForm .label { |
|
1412
f3361e29d91f
give more space to labels in forms
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
1077
diff
changeset
|
105 |
padding : 0.2em 1em 0.2em 0; |
0 | 106 |
} |
107 |
||
108 |
table.attributeForm label.required { |
|
109 |
background: url("required.png") 100% 50% no-repeat; |
|
110 |
} |
|
111 |
||
112 |
.entityForm input.validateButton { |
|
113 |
margin: 5px 10px 5px 0px; |
|
114 |
} |
|
115 |
||
116 |
a.addEntity { |
|
117 |
display:block ; |
|
118 |
margin-bottom:1em ; |
|
119 |
padding-left:0.2em ; |
|
120 |
font-weight: bold ; |
|
121 |
} |
|
122 |
||
123 |
table#relatedEntities { |
|
124 |
margin: 10px 0px; |
|
125 |
border-collapse: separate; |
|
126 |
} |
|
127 |
||
128 |
table#relatedEntities th, |
|
129 |
table#relatedEntities td { |
|
130 |
padding : 0px 2px; |
|
131 |
} |
|
132 |
||
133 |
table#relatedEntities tr.separator { |
|
134 |
border-bottom: none; |
|
135 |
text-align: center; |
|
136 |
} |
|
137 |
||
138 |
table#relatedEntities th { |
|
139 |
text-align: right; |
|
140 |
width:200em; |
|
141 |
} |
|
142 |
||
143 |
table#relatedEntities th.warning { |
|
144 |
border: none; |
|
145 |
text-align: center; |
|
146 |
} |
|
147 |
||
148 |
table#relatedEntities td span { |
|
149 |
display: inline; |
|
150 |
} |
|
151 |
||
152 |
table#relatedEntities ul { |
|
153 |
margin: 0px; |
|
154 |
padding: 0px; |
|
155 |
} |
|
156 |
||
157 |
table#relatedEntities td { |
|
158 |
width: 100%; |
|
159 |
} |
|
160 |
||
161 |
a.handle { |
|
162 |
font-family: Courier; |
|
163 |
font-size: 120%; |
|
164 |
} |
|
165 |
||
166 |
a.editionPending { |
|
167 |
color: #557755; |
|
168 |
font-weight: bold; |
|
169 |
} |
|
170 |
||
171 |
div.pendingDelete { |
|
172 |
text-decoration: line-through; |
|
173 |
} |
|
174 |
||
175 |
div.notransform { |
|
176 |
text-transform: none; |
|
177 |
} |
|
178 |
||
179 |
div.inlinedform { |
|
180 |
margin-left: 2em; |
|
181 |
} |
|
182 |
||
850
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
183 |
/*FIXME inlineedit not used ?*/ |
1077 | 184 |
/* |
850
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
185 |
div.inlineedit { |
1077 | 186 |
display: none; |
187 |
} |
|
188 |
*/ |
|
850
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
189 |
|
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
190 |
div.editableField { |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
191 |
display: inline; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
192 |
} |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
193 |
|
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
194 |
div.editableField:hover, |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
195 |
div.editableField p:hover { |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
196 |
background-color: #eeedd9; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
197 |
} |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
198 |
|
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
199 |
input.error { |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
200 |
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
|
201 |
} |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
202 |
|
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
203 |
span.error { |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
204 |
display: block; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
205 |
font-weight: bold; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
206 |
color: #ed0d0d; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
207 |
} |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
208 |
|
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
209 |
option.separator { |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
210 |
font-weight: bold; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
211 |
background: #ccc; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
212 |
text-align: center; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
213 |
} |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
214 |
|
0 | 215 |
div.trame_grise { |
216 |
background: url("bg_trame_grise.png") left top repeat-x; |
|
217 |
} |
|
218 |
||
219 |
div.notice { |
|
220 |
display: none; |
|
221 |
font-style: italic; |
|
222 |
font-size: 110%; |
|
223 |
padding-left: 2em; |
|
224 |
background : #f8f8ee url("information.png") 5px center no-repeat ; |
|
225 |
} |
|
850
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
226 |
|
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
227 |
.helper{ |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
228 |
font-size: 96%; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
229 |
color: #555544; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
230 |
} |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
231 |
|
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
232 |
.helper:hover { |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
233 |
color: #000; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
234 |
cursor: default; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
235 |
} |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
236 |
|
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
237 |
input.validateButton { |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
238 |
margin: 1em 1em 0px 0px; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
239 |
border: 1px solid #edecd2; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
240 |
border-color:#edecd2 #cfceb7 #cfceb7 #edecd2; |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
241 |
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
|
242 |
} |
b747f1a1ced0
Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
0
diff
changeset
|
243 |