source: products/qPloneTabs/tags/0.2.2/skins/qPloneTabs/qplonetabs.css.dtml @ 1

Last change on this file since 1 was 1, checked in by myroslav, 19 years ago

Building directory structure

  • Property svn:eol-style set to native
File size: 8.6 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#app.viewing                        .reorder-controls,
29#app.sorting                        .sort-controls,
30#app.viewing li.editing             .editform,
31#app #addaction.adding              .field-visible,
32#app #addaction.adding              .field-name dt,
33#app #addaction.adding              .field-action,
34#app #addaction.adding              .field-action label,
35#app #addaction.adding              .advanced,
36#app #addaction.adding              .field-id,
37#app #addaction.adding              .field-condition,
38#app #addaction.adding              .add-controls    {display: block;}
39
40#app                                #busy,
41#app                                .reorder-controls,
42#app                                .sort-controls,
43#app.viewing li.editing             .url-helper,
44#app.viewing li.editing             .tab-title,
45#app                                .drag-handle,
46#app                                .delete,
47#app                                .visibility,
48#app                                .editform,
49#app.sorting                        #addaction,
50#app                                .field-visible,
51#app                                .field-name dt,
52#app                                .field-action,
53#app                                .advanced,
54#app                                .field-id,
55#app                                .field-condition,
56#app                                .add-controls    {display: none;}
57
58#app.working #busy,
59#app.viewing ul.csshover li:hover    .delete,
60#app.viewing ul.csshover li.onHover  .delete,
61#app.viewing ul.csshover li:hover    .visibility,
62#app.viewing ul.csshover li.onHover  .visibility,
63#app ul#roottabs.csshover li:hover   .visibility,
64#app ul#roottabs.csshover li.onHover .visibility,
65#app.sorting                         .drag-handle     {display: inline;}
66
67/**********************************************************/
68
69#app.sorting #tabslist img.drag-handle {cursor: move;}
70
71#app .invisible span.tab-title {color:#aaa;}
72
73/*common***************************************************/
74
75div.reorder-controls,
76div.sort-controls {
77    float:left;
78}
79
80.drag-handle {
81    float:left;
82    margin:0.5em 0.5em 0 0;
83}
84
85#app ul {
86    list-style-type: none;
87    list-style-image: none;
88    margin:2.5em 0 0 1.7em;
89}
90
91#app .delete {
92    background: url(&dtml-portal_url;/trash.gif) 12px 50% no-repeat;
93    padding: 0 0 0 25px;
94    line-height:1.8em;
95    font-size:80%;
96    border:0;
97    position:absolute;
98    right:0;
99    margin-right:-5.7em;
100    color: &dtml-linkColor; !important;
101}
102
103* html #app .delete {
104    margin-right:-4.7em;
105}
106
107#app ul.csshover li {
108    border: 1px &dtml-borderStyle; transparent;
109    border-right:0;
110    padding: 0 0.5em;
111    margin: 0.1em 0;
112    width:35em;
113    margin-right:6.5em;
114    line-height:1.5em;
115    clear:left;
116    position:relative;
117}
118
119* html #app ul.csshover li {
120    border-color:white;
121}
122
123#app ul.csshover li span {
124    display:block;
125}
126
127#app ul.csshover li span.url-helper {
128    position:absolute;
129    right:0;
130    padding-right:0.5em;
131    font-size:80%;
132    color:#aaa;
133}
134
135#app ul.csshover li.editing {
136    padding:0;
137    margin: 0;
138    width:36em;
139}
140
141#app.sorting ul.csshover li.editing {
142    padding: 0 0.5em;
143}
144
145#app li.editing form {
146    margin:-0.1em;
147}
148
149* html #app li.editing form {
150    margin: -0.2em 0 0 0;
151}
152
153#app dl {
154    margin:0;
155}
156
157#app dl label {
158    display:none;
159}
160
161#app dl dl label {
162    display:block;
163}
164
165#app dd {
166    margin:0;
167}
168
169#app dd dl {
170    margin:0.5em 0;
171}
172
173#app input[type="text"] {
174    width: 99.5%;
175}
176
177#app .bridge {
178    position:absolute;
179    left:-1.5em;
180    top:0.2em;
181    width:3em;
182}
183
184* html #app div.bridge {
185    top:0;
186    left:-2em;
187}
188
189#app input:focus {
190    border:  1px inset threedface !important;
191}
192
193* html #app input {
194    width:97.3%;
195    padding: 0.1em 0.4em;
196}
197
198#app form div {
199    line-height:1.4em;
200    margin-top:0.1em;
201    min-height:1.6em;
202}
203
204* html #app form div {
205    margin-top:-0.2em;
206    position:relative;
207    height:1%;
208}
209
210#app div input {
211    width:auto;
212    padding: 0.05em 0.5em;
213    float:left;
214    margin:0 0.1em 0 0;
215}
216
217* html #app div input {
218    padding: 0 0.3em;
219}
220
221div.field { margin-top:2em; }
222
223/*hover***************************************************/
224
225#app.viewing ul#tabslist.csshover li:hover,
226#app.viewing ul#tabslist.csshover li.onHover {
227    background-color: #FFFFDD;
228    border: 1px inset threedface;
229    cursor: text;
230}
231
232#app.viewing ul#tabslist.csshover li.editing {
233    background-color: &dtml-backgroundColor;;
234    border: 1px &dtml-borderStyle; white;
235    cursor: auto;
236}
237
238#app ul#roottabs.csshover li:hover,
239#app ul#roottabs.csshover li.onHover {
240    background-color: #FFFFDD;
241/*    border:  1px inset threedface;*/
242    cursor: default;
243}
244
245/*edit*****************************************************/
246
247#app dl.collapseAdvanced {
248    margin-top:0.15em;
249    position:relative;
250    padding:0;
251    border:0 !important;
252    height:auto;
253    line-height:1em;
254}
255
256#app dl.collapseAdvanced dt.headerAdvanced {
257    cursor: pointer;
258    font-size: 90%;
259    font-weight:normal;
260    position:absolute;
261    padding-right:0.5em;
262    display:block;
263    margin:0;
264    top:0;
265    right:0;
266    color: &dtml-globalFontColor;;
267    line-height:2em;
268    background-color:transparent;
269}
270
271#app dl.collapseAdvanced dd.contentAdvanced {
272    padding:1em 1.5em 0 1.5em;
273    border:0;
274    background-color:&dtml-globalBackgroundColor;;
275}
276
277dl.expandedBlock dt.headerAdvanced {
278    padding: 0 6px 0 22px;
279    background: url(treeExpanded.gif) no-repeat 6px 50%;
280}
281
282dl.collapsedBlock dt.headerAdvanced {
283    padding: 0 0 0 22px;
284    background: url(treeCollapsed.gif) no-repeat 6px 50%;
285 }
286
287#app dl.advanced {
288    clear: both;
289}
290
291/****************************************************************/
292
293#app #addaction {
294    margin-left:1.7em;
295    width:36.2em;
296    position:relative;
297}
298
299* html #app #addaction {
300    width:36.15em;
301}
302
303#app #addaction.adding .field-action label {
304    position:absolute;
305    line-height:2.1em;
306    font-size:80%;
307    color: &dtml-globalBorderColor;;
308    right:0.5em;
309    font-weight:normal;
310    background-color:transparent;
311}
312
313#app #addaction.adding .field-action input {
314    margin-top:0.1em;
315    padding-right:9em;
316    width:27em;
317}
318
319* html #app #addaction.adding .field-action input {
320    padding-right:0.5em;
321    width:96.8%;
322    margin-top:-0.05em;
323}
324
325#app #addaction .bridge {
326    left:-1.8em;
327    top:0em;
328}
329
330* html #app #addaction .bridge {
331    width:1.7em;
332    left:-2em;
333}
334
335
336/* </dtml-with> (do not remove this either :) */
Note: See TracBrowser for help on using the repository browser.