source: products/quintagroup.plonetabs/trunk/quintagroup/plonetabs/browser/resources/plonetabs.css @ 872

Last change on this file since 872 was 733, checked in by piv, 17 years ago

release 0.1.0

File size: 7.7 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*   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  display:none;
53  }
54.kssTabsActive .titleWrapper,
55.kssTabsActive li.editing .edit-fields-wrapper,
56.kssTabsActive .adding .bridge,
57.adding .field-action,
58.adding .collapseAdvanced,
59.kssTabsActive .headerAdvanced,
60.kssTabsActive #addaction.adding .headerAdvanced,
61.adding .add-controls,
62.kssTabsActive .expandedBlock .contentAdvanced,
63.kssTabsActive .field-action label {
64  display:block;
65  }
66.kssTabsActive li:hover .bridge,
67.kssTabsActive li:hover .delete,
68.kssTabsActive li:hover .drag-handle,
69.kssTabsActive #app #addaction.adding      .error-container {
70  display:inline;
71  }
72
73/*----- Items List Section -----*/
74#tabslist li {
75  clear:left;
76  margin:0.1em 6.5em 0.1em 0;
77  position:relative;
78  width:35em;
79  }
80.kssTabsActive #tabslist li {
81  margin-left:-12px;
82  }
83#tabslist li span {
84  display:block;
85  }
86.qPloneTabs .delete {
87  background:url(++resource++trash.gif) 5px 50% no-repeat;
88  border:0;
89  font-size:80%;
90  left:100%;
91  line-height:1.8em;
92  padding:0 0 0 18px;
93  position:absolute;
94  }
95.qPloneTabs .editing form {
96  margin:0 0 0 30px;
97  }
98.qPloneTabs dl {
99  margin:0;
100  padding:0;
101  }
102.qPloneTabs dl label {
103  display:none;
104  }
105.qPloneTabs dl dl label {
106  display:block;
107  } 
108.qPloneTabs dd {
109  margin:0;
110  }
111.qPloneTabs dd dl {
112  margin:0.5em 0;
113  }
114.qPloneTabs input[type="text"] {
115  padding:2px 0;
116  text-indent:3px;
117  //text-indent:0;
118  width:99.5%;
119  }
120.qPloneTabs input:focus {
121  border:1px inset threedface !important;
122  }
123.qPloneTabs form div {
124  line-height:1.4em;
125  }
126.qPloneTabs div input {
127  margin:0 0.1em 0 0;
128  width:auto;
129  }
130.edit-controls,
131.add-controls {
132  margin:0.25em 0;
133  }
134
135/*--- Title Wrapper ---*/
136.titleWrapper {
137  background-color:#fff;
138  margin-left:30px;
139  overflow:hidden;
140  padding:1px 5px;
141  white-space:nowrap;
142  }
143.titleWrapper:hover {
144  background-color:#FFFFDD;
145  border:1px inset threedface;
146  cursor:text;
147  padding:0 4px;
148  }
149.tab-title {
150  float:left;
151  min-width:35%;
152  padding-right:0.5em;
153  position:relative;
154  z-index:1;
155  }
156#app .invisible span.tab-title {
157  color:#aaa;
158  }
159.url-helper {
160  color:#aaa;
161  font-size:80%;
162  overflow:hidden;
163  padding-right:0.5em;
164  }
165
166/*--- Bridge ---*/
167.qPloneTabs .bridge {
168  left:-1.5em;
169  //left:-1.7em;
170  position:absolute;
171  top:0.2em;
172  width:3em;
173  }
174.kssTabsActive .qPloneTabs .bridge {
175  left:0;
176  width:30px;
177  }
178/* IE need this to remove the padding around the check box */
179.kssTabsActive .qPloneTabs .bridge input {
180  height:13px;
181  width:13px;
182  }
183.drag-handle {
184  cursor:move;
185  float:left;
186  margin-right:0.2em;
187  //margin-top:0.2em;
188  }
189
190/*----- Edit Item Section -----*/
191#app dl.collapseAdvanced {
192  line-height:1em;
193  position:relative;
194  }
195#app dl.collapseAdvanced dt.headerAdvanced {
196  background:url(++resource++treeCollapsed.gif) no-repeat 6px 50%;
197  color:#436976;
198  cursor:pointer;
199  font-size: 90%;
200  font-weight:normal;
201  line-height:2em;
202  margin:0;
203  padding: 0 6px 0 22px;
204  position:absolute;
205  right:0;
206  top:0;
207  }
208#app dl.expandedBlock dt.headerAdvanced {
209  background-image:url(++resource++treeExpanded.gif);
210  }
211#app dl.collapseAdvanced dd.contentAdvanced {
212  background-color:#dee7ec;
213  padding:1px 1.5em 0.5em;
214  zoom:1;
215  }
216#app dl.expandedBlock dd.contentAdvanced {
217  display: block;
218  }
219
220/*----- Add Action Section -----*/
221#addaction {
222  margin-left:18px;
223  position:relative;
224  width:35em;
225  }
226.kssTabsActive #addaction {
227  width:32.5em;
228  }
229#addaction .field-action {
230  position:relative;
231  }
232#addaction .field-action label {
233  bottom:0;
234  color: #8cacbb;
235  font-size:80%;
236  font-weight:normal;
237  line-height:2.1em;
238  position:absolute;
239  right:0.5em;
240  }
241#addaction.adding .field-action input {
242  margin-top:0.1em; 
243  padding-right:9em;
244  width:23.3em;
245  }
246#addaction .bridge {
247  left:-18px;
248  top:0;
249  }
250 
251/*----- Autogenerated Section -----*/
252#autogeneration_section {
253  margin-top:1em;
254  }
255#roottabs {
256  margin-left:0;
257  }
258#roottabs li {
259  margin:0.1em 6.5em 0.1em 0;
260  padding-left:18px;
261  position:relative;
262  width:35em;
263  }
264#roottabs li:hover {
265  background-color:#FFD;
266  cursor:default;
267  }
268#roottabs .bridge {
269  left:0; 
270  }
271#roottabs li:hover .bridge {
272  display:block;
273  }
274#autogeneration_controls {
275  padding-left:18px;
276  }
277.qPloneTabs .visibility {
278  height:13px;
279  width:13px;
280  }
281
282/*----- Error Messeges -----*/
283.qPloneTabs dl.error {
284  border:1px solid #D80;
285  font-size:0.91em;
286  margin:2px 0 0;
287  }
288.collapseAdvanced dl.error {
289  margin-top:2em !important; 
290  }
291.qPloneTabs dl.error dt {
292  color:#fff;
293  float:left;
294  line-height:1.5em;
295  margin-right:0.5em;
296  padding:0 0.5em;
297  }
298.qPloneTabs dl.error dd {
299  padding:0 0.5em;
300  }
301.qPloneTabs dl.error input[type="text"] {
302  margin:0 -0.5em;
303  width:102.4%;
304  }
305.qPloneTabs .contentAdvanced dl.error input[type="text"] {
306  width:102.5%;
307  }
308#addaction.adding .error #actaction {
309  width:26.4em;
310  }
311
312#kssPortalMessage {
313    float: right;
314}
315
316/* </dtml-with> (do not remove this either :) */
Note: See TracBrowser for help on using the repository browser.