source: products/qPloneTabs/branches/quintagroup.plonetabs/trunk/quintagroup/plonetabs/browser/resources/plonetabs.css @ 155

Last change on this file since 155 was 155, checked in by chervol, 18 years ago

fixed private/publish states

File size: 10.9 KB
Line 
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*   There are two global self-excluding classes: 'viewing' and 'sorting',                         *
8*   one local class 'editing' for menu items which are expanded for editing,                      *
9*   and one more local class 'adding' for adding form when it's in open state.                    *
10*                                                                                                 *
11*   Reorder action are always available and it TEMPORARY stop other actions on the form:          *
12*       editing items                                                                             *
13*       deleting items                                                                            *
14*       toggling item visibility                                                                  *
15*       adding item                                                                               *
16*                                                                                                 *
17*   After returning to 'viewing' class from 'sorting' all items become to the same state they     *
18*   were before sorting (in editing state or not).                                                *
19*                                                                                                 *
20*   And the same behaviour for adding form: form state ('adding' or not) become the same it was   *
21*   before sorting.                                                                               *
22*                                                                                                 *
23*   All actions except reordering could be done at any time in relationship to each other.        *
24*                                                                                                 *
25***************************************************************************************************
26*/
27
28.kssTabsActive #app.viewing         .reorder-controls,
29.kssTabsActive #app.sorting         .sort-controls,
30/* #app.viewing li.editing          .editform, */
31#app.viewing li.editing             .edit-fields-wrapper,
32#app #addaction.adding              .field-visible,
33#app #addaction.adding              .field-name dt,
34#app #addaction.adding              .field-action,
35/* fix for 'non js' version
36#app #addaction.adding              .field-action label,*/
37#app #addaction                     .field-action label,
38.kssTabsActive #app #addaction.adding              .collapseAdvanced,
39#app #addaction.adding              .field-id,
40#app #addaction.adding              .field-condition,
41#app #addaction.adding              .add-controls,
42.kssTabsActive #app.viewing #tabslist li      .url-helper,
43.kssTabsActive #app.viewing #tabslist li      .tab-title,
44.kssTabsActive #app                           .editcancel {
45    display: block;
46}
47
48#app                                #busy,
49#app.viewing                        .noitems,
50#app                                .reorder-controls,
51#app                                .sort-controls,
52
53/* fix for 'non js' version */
54#app.viewing #tabslist li           .url-helper,
55#app.viewing #tabslist li           .tab-title,
56.kssTabsActive #app.viewing #tabslist li.editing      .url-helper,
57.kssTabsActive #app.viewing #tabslist li.editing      .tab-title,
58
59#app                                .drag-handle,
60#app                                .delete,
61.kssTabsActive #app                 .visibility,
62/* .kssTabsActive #app                 .editform, */
63.kssTabsActive #app                 .edit-fields-wrapper,
64.kssTabsActive #app                 .editdelete,
65.kssTabsActive #app                 .editreset,
66#app.sorting                        #addaction,
67.kssTabsActive #app                 .field-visible,
68.kssTabsActive #app                 .field-name dt,
69.kssTabsActive #app                 .field-action,
70.kssTabsActive #app #addaction                 .collapseAdvanced,
71.kssTabsActive #app                 .field-id,
72.kssTabsActive #app                 .field-condition,
73.kssTabsActive #app                 .add-controls,
74.kssTabsActive #app                 .change-button,
75#app                                .editcancel {
76    display: none;
77}
78
79#app.working #busy,
80.kssTabsActive #app.viewing ul.csshover li:hover    .delete,
81.kssTabsActive #app.viewing ul.csshover li.onHover  .delete,
82#app.viewing ul.csshover li:hover    .visibility,
83#app.viewing ul.csshover li.onHover  .visibility,
84.kssTabsActive #app.viewing ul.csshover li:hover    .drag-handle,
85.kssTabsActive #app.viewing ul.csshover li.onHover  .drag-handle,
86#app ul#roottabs.csshover li:hover   .visibility,
87#app ul#roottabs.csshover li.onHover .visibility
88/* #app.sorting                         .drag-handle*/ {
89    display: inline;
90}
91
92/**********************************************************/
93/* Additional style for functionality withou javascript   */
94.kssTabsActive #autogeneration_controls {
95    display: none;
96}
97
98#app dl.collapseAdvanced dt.headerAdvanced {
99    display: none;
100}
101
102.kssTabsActive #app dl.collapseAdvanced dt.headerAdvanced {
103    display: block;
104}
105
106#app input#buttoncancel {
107    display: none;
108}
109
110.kssTabsActive #app #buttoncancel {
111    display: block;
112}
113
114/**********************************************************/
115
116#app #tabslist img.drag-handle {
117    cursor: move;
118}
119
120#app .invisible span.tab-title {
121    color:#aaa;
122}
123
124/*common***************************************************/
125
126#app input.change-button {
127    float: none;
128}
129
130#app #autogeneration_section {
131    margin-top: 1em;
132}
133
134div.reorder-controls,
135div.sort-controls {
136    float:left;
137}
138
139.drag-handle {
140    float:left;
141/*    margin:0.5em 0.5em 0 0; */
142    margin-right: 0.2em;
143}
144
145#app ul {
146    list-style-type: none;
147    list-style-image: none;
148    margin:2.5em 0 0 1.7em;
149}
150
151#app .delete {
152    background: url(++resource++trash.gif) 12px 50% no-repeat;
153    padding: 0 0 0 25px;
154    line-height:1.8em;
155    font-size:80%;
156    border:0;
157    position:absolute;
158    right:0;
159    margin-right:-5.7em;
160    color: #436976 !important;
161}
162
163* html #app .delete {
164    margin-right:-4.7em;
165}
166
167/* Up & Down arrows */
168#app .up-arrow {
169    line-height: 1.8em;
170    font-size: 80%;
171    border: 0;
172    position: absolute;
173    right: 0;
174    margin-right: -6.7em;
175    color: #436976 !important;
176}
177
178#app .down-arrow {
179    line-height: 1.8em;
180    font-size: 80%;
181    border: 0;
182    position: absolute;
183    right: 0;
184    margin-right: -7.7em;
185    color: #436976 !important;
186}
187
188#app ul.csshover li {
189    border: 1px solid transparent;
190    border-right:0;
191    padding: 0 0.5em;
192    margin: 0.1em 0;
193    width:35em;
194    margin-right:6.5em;
195    line-height:1.5em;
196    clear:left;
197    position:relative;
198}
199
200* html #app ul.csshover li {
201    border-color:white;
202}
203
204#app ul.csshover li span {
205    display:block;
206}
207
208#app ul.csshover li span.url-helper {
209    position:absolute;
210    right:0;
211    margin-left:20%;
212    padding-right:0.5em;
213    overflow:hidden;
214    font-size:80%;
215    color:#aaa;
216    text-align: right;
217    width: 80%;
218
219}
220
221#app ul.csshover li.editing {
222    padding:0;
223    margin: 0;
224    width:36em;
225}
226
227#app.sorting ul.csshover li.editing {
228    padding: 0 0.5em;
229}
230
231#app li.editing form {
232    margin:-0.1em;
233}
234
235* html #app li.editing form {
236    margin: -0.2em 0 0 0;
237}
238
239#app dl {
240    margin:0;
241}
242
243#app dl label {
244    display:none;
245}
246
247#app dl dl label {
248    display:block;
249} 
250
251#app dd {
252    margin:0;
253}
254
255#app dd dl {
256    margin:0.5em 0;
257}
258
259#app input[type="text"] {
260    width: 99.5%;
261}
262
263#app .bridge {
264    position:absolute;
265    left:-1.5em;
266    top:0.2em;
267    width:3em;
268}
269
270.kssTabsActive #app .bridge {
271    left: -3.5em;
272    width: 3.5em;
273}
274
275* html #app div.bridge {
276    top:0;
277    left:-2em;
278}
279
280#app input:focus {
281    border:  1px inset threedface !important;
282}
283
284* html #app input {
285    width:97.3%;
286    padding: 0.1em 0.4em;
287}
288
289#app form div {
290    line-height:1.4em;
291    margin-top:0.1em;
292    min-height:1.6em;
293}
294
295* html #app form div {
296    margin-top:-0.2em;
297    position:relative;
298    height:1%;
299}
300
301#app div input {
302    width:auto;
303    padding: 0.05em 0.5em;
304    float:left;
305    margin:0 0.1em 0 0;
306}
307
308* html #app div input {
309    padding: 0 0.3em;
310}
311
312div.field { margin-top:2em; }
313
314/*hover***************************************************/
315
316.kssTabsActive #app.viewing ul#tabslist.csshover li:hover,
317.kssTabsActive #app.viewing ul#tabslist.csshover li.onHover {
318    background-color: #FFFFDD;
319    border: 1px inset threedface;
320    cursor: text;
321}
322
323.kssTabsActive #app.viewing ul#tabslist.csshover li.editing {
324    background-color: White;
325    border: 1px solid white;
326    cursor: auto;
327}
328
329#app ul#roottabs.csshover li:hover,
330#app ul#roottabs.csshover li.onHover {
331    background-color: #FFFFDD;
332/*    border:  1px inset threedface;*/
333    cursor: default;
334}
335
336/*edit*****************************************************/
337
338#app dl.collapseAdvanced {
339    margin-top:0.15em;
340    position:relative;
341    padding:0;
342    border:0 !important;
343    height:auto;
344    line-height:1em;
345}
346
347#app dl.collapseAdvanced dt.headerAdvanced {
348    cursor: pointer;
349    font-size: 90%;
350    font-weight:normal;
351    position:absolute;
352    padding-right:0.5em;
353/*     display:block; */
354    margin:0;
355    top:0;
356    right:0;
357    color: #436976;
358    line-height:2em;
359    background-color:transparent;
360}
361
362#app dl.collapseAdvanced dd.contentAdvanced {
363    padding:1em 1.5em 0 1.5em;
364    border:0;
365    background-color:#dee7ec;
366}
367
368#app dl.expandedBlock dt.headerAdvanced {
369    padding: 0 6px 0 22px;
370    background: transparent url(++resource++treeExpanded.gif) no-repeat 6px 50%;
371}
372
373#app dl.collapsedBlock dt.headerAdvanced {
374    padding: 0 0 0 22px;
375    background: transparent url(++resource++treeCollapsed.gif) no-repeat 6px 50%;
376 }
377
378#app dl.collapseAdvanced { 
379    clear: both;
380}
381
382#app dl.expandedBlock dd.contentAdvanced {
383    display: block;
384}
385
386.kssTabsActive #app dl.collapsedBlock dd.contentAdvanced {
387    display: none;
388}
389
390/****************************************************************/
391
392#app #addaction {
393    margin-left:1.7em;
394    width:36.2em;
395    position:relative;
396}
397
398* html #app #addaction {
399    width:36.15em;
400}
401
402/* fixed for work in 'without js' version
403   removed .adding class from selector
404#app #addaction.adding .field-action label {  */
405
406#app #addaction .field-action label {
407    position:absolute;
408    line-height:2.1em;
409    font-size:80%;
410    color: #8cacbb;
411    right:0.5em;
412    font-weight:normal;
413    background-color:transparent;
414}
415
416#app #addaction.adding .field-action input {
417    margin-top:0.1em; 
418    padding-right:9em;
419    width:27em;
420}
421
422* html #app #addaction.adding .field-action input {
423    padding-right:0.5em;
424    width:96.8%;
425    margin-top:-0.05em;
426}
427
428#app #addaction .bridge {
429    left:-1.8em;
430    top:0em;
431}
432
433* html #app #addaction .bridge {
434    width:1.7em;
435    left:-2em;
436}
437
438
439/* </dtml-with> (do not remove this either :) */
Note: See TracBrowser for help on using the repository browser.