1 | /* <dtml-with base_properties> (do not remove this :) */ |
---|
2 | /* <dtml-call "REQUEST.set('portal_url', portal_url())"> (not this either :) */ |
---|
3 | |
---|
4 | /* |
---|
5 | *************************************************************************************************** |
---|
6 | * * |
---|
7 | * This doc is outdated now, don't read it!!! * |
---|
8 | * * |
---|
9 | * There are two global self-excluding classes: 'viewing' and 'sorting', * |
---|
10 | * one local class 'editing' for menu items which are expanded for editing, * |
---|
11 | * and one more local class 'adding' for adding form when it's in open state. * |
---|
12 | * * |
---|
13 | * Reorder action are always available and it TEMPORARY stop other actions on the form: * |
---|
14 | * editing items * |
---|
15 | * deleting items * |
---|
16 | * toggling item visibility * |
---|
17 | * adding item * |
---|
18 | * * |
---|
19 | * After returning to 'viewing' class from 'sorting' all items become to the same state they * |
---|
20 | * were before sorting (in editing state or not). * |
---|
21 | * * |
---|
22 | * And the same behaviour for adding form: form state ('adding' or not) become the same it was * |
---|
23 | * before sorting. * |
---|
24 | * * |
---|
25 | * All actions except reordering could be done at any time in relationship to each other. * |
---|
26 | * * |
---|
27 | *************************************************************************************************** |
---|
28 | */ |
---|
29 | |
---|
30 | /*---------- QUINTAGROUP PLONE TABS LAYOUT ----------*/ |
---|
31 | .qPloneTabs ul { |
---|
32 | list-style-type:none; |
---|
33 | list-style-image:none; |
---|
34 | margin-left:18px; |
---|
35 | } |
---|
36 | .kssTabsActive ul { |
---|
37 | margin-left:0; |
---|
38 | } |
---|
39 | .titleWrapper, |
---|
40 | .kssTabsActive .editing .titleWrapper, |
---|
41 | .qPloneTabs .delete, |
---|
42 | .kssTabsActive .edit-fields-wrapper, |
---|
43 | .kssTabsActive .bridge, |
---|
44 | .qPloneTabs .drag-handle, |
---|
45 | .kssTabsActive .field-action, |
---|
46 | .kssTabsActive .collapsedBlock .contentAdvanced, |
---|
47 | #addaction .headerAdvanced, |
---|
48 | .qPloneTabs .headerAdvanced, |
---|
49 | .kssTabsActive .add-controls, |
---|
50 | .kssTabsActive .kssHidden, |
---|
51 | .kssTabsActive #autogeneration_controls, |
---|
52 | .editcancel, |
---|
53 | #buttoncancel { |
---|
54 | display:none; |
---|
55 | } |
---|
56 | .kssTabsActive .titleWrapper, |
---|
57 | .kssTabsActive li.editing .edit-fields-wrapper, |
---|
58 | .kssTabsActive .adding .bridge, |
---|
59 | .adding .field-action, |
---|
60 | .adding .collapseAdvanced, |
---|
61 | .kssTabsActive .headerAdvanced, |
---|
62 | .kssTabsActive #addaction.adding .headerAdvanced, |
---|
63 | .adding .add-controls, |
---|
64 | .kssTabsActive .expandedBlock .contentAdvanced, |
---|
65 | .kssTabsActive .field-action label { |
---|
66 | display:block; |
---|
67 | } |
---|
68 | .kssTabsActive li:hover .bridge, |
---|
69 | .kssTabsActive li:hover .delete, |
---|
70 | .kssTabsActive li:hover .drag-handle, |
---|
71 | .kssTabsActive #app #addaction.adding .error-container, |
---|
72 | .kssTabsActive .editcancel, |
---|
73 | .kssTabsActive #buttoncancel { |
---|
74 | display:inline; |
---|
75 | } |
---|
76 | |
---|
77 | /*----- Items List Section -----*/ |
---|
78 | #tabslist li { |
---|
79 | clear:left; |
---|
80 | margin:0.1em 6.5em 0.1em 0; |
---|
81 | position:relative; |
---|
82 | width:35em; |
---|
83 | } |
---|
84 | .kssTabsActive #tabslist li { |
---|
85 | margin-left:-12px; |
---|
86 | } |
---|
87 | #tabslist li span { |
---|
88 | display:block; |
---|
89 | } |
---|
90 | .qPloneTabs .delete { |
---|
91 | background:url(++resource++trash.gif) 5px 50% no-repeat; |
---|
92 | border:0; |
---|
93 | font-size:80%; |
---|
94 | left:100%; |
---|
95 | line-height:1.8em; |
---|
96 | padding:0 0 0 18px; |
---|
97 | position:absolute; |
---|
98 | } |
---|
99 | .qPloneTabs .editing form { |
---|
100 | margin:0 0 0 30px; |
---|
101 | } |
---|
102 | .qPloneTabs dl { |
---|
103 | margin:0; |
---|
104 | padding:0; |
---|
105 | } |
---|
106 | .qPloneTabs dl label { |
---|
107 | display:none; |
---|
108 | } |
---|
109 | .qPloneTabs dl dl label { |
---|
110 | display:block; |
---|
111 | } |
---|
112 | .qPloneTabs dd { |
---|
113 | margin:0; |
---|
114 | } |
---|
115 | .qPloneTabs dd dl { |
---|
116 | margin:0.5em 0; |
---|
117 | } |
---|
118 | .qPloneTabs input[type="text"] { |
---|
119 | padding:2px 0; |
---|
120 | text-indent:3px; |
---|
121 | //text-indent:0; |
---|
122 | width:99.5%; |
---|
123 | } |
---|
124 | .qPloneTabs input:focus { |
---|
125 | border:1px inset threedface !important; |
---|
126 | } |
---|
127 | .qPloneTabs form div { |
---|
128 | line-height:1.4em; |
---|
129 | } |
---|
130 | .qPloneTabs div input { |
---|
131 | margin:0 0.1em 0 0; |
---|
132 | width:auto; |
---|
133 | } |
---|
134 | .edit-controls, |
---|
135 | .add-controls { |
---|
136 | margin:0.25em 0; |
---|
137 | } |
---|
138 | |
---|
139 | /*--- Title Wrapper ---*/ |
---|
140 | .titleWrapper { |
---|
141 | background-color:#fff; |
---|
142 | margin-left:30px; |
---|
143 | overflow:hidden; |
---|
144 | padding:1px 5px; |
---|
145 | white-space:nowrap; |
---|
146 | } |
---|
147 | .titleWrapper:hover { |
---|
148 | background-color:#FFFFDD; |
---|
149 | border:1px inset threedface; |
---|
150 | cursor:text; |
---|
151 | padding:0 4px; |
---|
152 | } |
---|
153 | .tab-title { |
---|
154 | float:left; |
---|
155 | min-width:35%; |
---|
156 | padding-right:0.5em; |
---|
157 | position:relative; |
---|
158 | z-index:1; |
---|
159 | } |
---|
160 | #app .invisible span.tab-title { |
---|
161 | color:#aaa; |
---|
162 | } |
---|
163 | .url-helper { |
---|
164 | color:#aaa; |
---|
165 | font-size:80%; |
---|
166 | overflow:hidden; |
---|
167 | padding-right:0.5em; |
---|
168 | } |
---|
169 | |
---|
170 | /*--- Bridge ---*/ |
---|
171 | .qPloneTabs .bridge { |
---|
172 | left:-1.5em; |
---|
173 | //left:-1.7em; |
---|
174 | position:absolute; |
---|
175 | top:0.2em; |
---|
176 | width:3em; |
---|
177 | } |
---|
178 | .kssTabsActive .qPloneTabs .bridge { |
---|
179 | left:0; |
---|
180 | width:30px; |
---|
181 | } |
---|
182 | /* IE need this to remove the padding around the check box */ |
---|
183 | .kssTabsActive .qPloneTabs .bridge input { |
---|
184 | height:13px; |
---|
185 | width:13px; |
---|
186 | } |
---|
187 | .drag-handle { |
---|
188 | cursor:move; |
---|
189 | float:left; |
---|
190 | margin-right:0.2em; |
---|
191 | //margin-top:0.2em; |
---|
192 | } |
---|
193 | |
---|
194 | /*----- Edit Item Section -----*/ |
---|
195 | #app dl.collapseAdvanced { |
---|
196 | line-height:1em; |
---|
197 | position:relative; |
---|
198 | } |
---|
199 | #app dl.collapseAdvanced dt.headerAdvanced { |
---|
200 | background:url(++resource++treeCollapsed.gif) no-repeat 6px 50%; |
---|
201 | color:#436976; |
---|
202 | cursor:pointer; |
---|
203 | font-size: 90%; |
---|
204 | font-weight:normal; |
---|
205 | line-height:2em; |
---|
206 | margin:0; |
---|
207 | padding: 0 6px 0 22px; |
---|
208 | position:absolute; |
---|
209 | right:0; |
---|
210 | top:0; |
---|
211 | } |
---|
212 | #app dl.expandedBlock dt.headerAdvanced { |
---|
213 | background-image:url(++resource++treeExpanded.gif); |
---|
214 | } |
---|
215 | #app dl.collapseAdvanced dd.contentAdvanced { |
---|
216 | background-color:#dee7ec; |
---|
217 | padding:1px 1.5em 0.5em; |
---|
218 | zoom:1; |
---|
219 | } |
---|
220 | #app dl.expandedBlock dd.contentAdvanced { |
---|
221 | display: block; |
---|
222 | } |
---|
223 | |
---|
224 | /*----- Add Action Section -----*/ |
---|
225 | #addaction { |
---|
226 | margin-left:18px; |
---|
227 | position:relative; |
---|
228 | width:35em; |
---|
229 | } |
---|
230 | .kssTabsActive #addaction { |
---|
231 | width:32.5em; |
---|
232 | } |
---|
233 | #addaction .field-action { |
---|
234 | position:relative; |
---|
235 | } |
---|
236 | #addaction .field-action label { |
---|
237 | bottom:0; |
---|
238 | color: #8cacbb; |
---|
239 | font-size:80%; |
---|
240 | font-weight:normal; |
---|
241 | line-height:2.1em; |
---|
242 | position:absolute; |
---|
243 | right:0.5em; |
---|
244 | } |
---|
245 | #addaction.adding .field-action input { |
---|
246 | margin-top:0.1em; |
---|
247 | padding-right:9em; |
---|
248 | width:23.3em; |
---|
249 | } |
---|
250 | #addaction .bridge { |
---|
251 | left:-18px; |
---|
252 | top:0; |
---|
253 | } |
---|
254 | |
---|
255 | /*----- Autogenerated Section -----*/ |
---|
256 | #autogeneration_section { |
---|
257 | margin-top:1em; |
---|
258 | } |
---|
259 | #roottabs { |
---|
260 | margin-left:0; |
---|
261 | } |
---|
262 | #roottabs li { |
---|
263 | margin:0.1em 6.5em 0.1em 0; |
---|
264 | padding-left:18px; |
---|
265 | position:relative; |
---|
266 | width:35em; |
---|
267 | } |
---|
268 | #roottabs li:hover { |
---|
269 | background-color:#FFD; |
---|
270 | cursor:default; |
---|
271 | } |
---|
272 | #roottabs .bridge { |
---|
273 | left:0; |
---|
274 | } |
---|
275 | #roottabs li:hover .bridge { |
---|
276 | display:block; |
---|
277 | } |
---|
278 | #autogeneration_controls { |
---|
279 | padding-left:18px; |
---|
280 | } |
---|
281 | .qPloneTabs .visibility { |
---|
282 | height:13px; |
---|
283 | width:13px; |
---|
284 | } |
---|
285 | |
---|
286 | /*----- Error Messeges -----*/ |
---|
287 | .qPloneTabs dl.error { |
---|
288 | border:1px solid #D80; |
---|
289 | font-size:0.91em; |
---|
290 | margin:2px 0 0; |
---|
291 | } |
---|
292 | .collapseAdvanced dl.error { |
---|
293 | margin-top:2em !important; |
---|
294 | } |
---|
295 | .qPloneTabs dl.error dt { |
---|
296 | color:#fff; |
---|
297 | float:left; |
---|
298 | line-height:1.5em; |
---|
299 | margin-right:0.5em; |
---|
300 | padding:0 0.5em; |
---|
301 | } |
---|
302 | .qPloneTabs dl.error dd { |
---|
303 | padding:0 0.5em; |
---|
304 | } |
---|
305 | .qPloneTabs dl.error input[type="text"] { |
---|
306 | margin:0 -0.5em; |
---|
307 | width:102.4%; |
---|
308 | } |
---|
309 | .qPloneTabs .contentAdvanced dl.error input[type="text"] { |
---|
310 | width:102.5%; |
---|
311 | } |
---|
312 | #addaction.adding .error #actaction { |
---|
313 | width:26.4em; |
---|
314 | } |
---|
315 | |
---|
316 | #kssPortalMessage { |
---|
317 | float: right; |
---|
318 | } |
---|
319 | |
---|
320 | /* </dtml-with> (do not remove this either :) */ |
---|