[43] | 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 | * * |
---|
[160] | 7 | * This doc is outdated now, don't read it!!! * |
---|
| 8 | * * |
---|
[43] | 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 | |
---|
[502] | 30 | /*---------- QUINTAGROUP PLONE TABS LAYOUT ----------*/ |
---|
| 31 | .qPloneTabs ul { |
---|
| 32 | list-style-type:none; |
---|
| 33 | list-style-image:none; |
---|
[518] | 34 | margin-left:18px; |
---|
[502] | 35 | } |
---|
| 36 | .kssTabsActive ul { |
---|
| 37 | margin-left:0; |
---|
| 38 | } |
---|
[506] | 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, |
---|
[873] | 51 | .kssTabsActive #autogeneration_controls, |
---|
| 52 | .editcancel, |
---|
| 53 | #buttoncancel { |
---|
[506] | 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, |
---|
[873] | 71 | .kssTabsActive #app #addaction.adding .error-container, |
---|
| 72 | .kssTabsActive .editcancel, |
---|
| 73 | .kssTabsActive #buttoncancel { |
---|
[506] | 74 | display:inline; |
---|
| 75 | } |
---|
[160] | 76 | |
---|
[502] | 77 | /*----- Items List Section -----*/ |
---|
| 78 | #tabslist li { |
---|
[518] | 79 | clear:left; |
---|
[502] | 80 | margin:0.1em 6.5em 0.1em 0; |
---|
| 81 | position:relative; |
---|
| 82 | width:35em; |
---|
[483] | 83 | } |
---|
[502] | 84 | .kssTabsActive #tabslist li { |
---|
[518] | 85 | margin-left:-12px; |
---|
[483] | 86 | } |
---|
[502] | 87 | #tabslist li span { |
---|
| 88 | display:block; |
---|
[483] | 89 | } |
---|
[502] | 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; |
---|
[483] | 98 | } |
---|
[502] | 99 | .qPloneTabs .editing form { |
---|
| 100 | margin:0 0 0 30px; |
---|
[483] | 101 | } |
---|
[502] | 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; |
---|
[530] | 121 | //text-indent:0; |
---|
[502] | 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 | } |
---|
[43] | 138 | |
---|
[502] | 139 | /*--- Title Wrapper ---*/ |
---|
| 140 | .titleWrapper { |
---|
[530] | 141 | background-color:#fff; |
---|
[502] | 142 | margin-left:30px; |
---|
[518] | 143 | overflow:hidden; |
---|
[502] | 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 { |
---|
[483] | 154 | float:left; |
---|
| 155 | min-width:35%; |
---|
| 156 | padding-right:0.5em; |
---|
| 157 | position:relative; |
---|
| 158 | z-index:1; |
---|
| 159 | } |
---|
[502] | 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 | } |
---|
[483] | 169 | |
---|
[502] | 170 | /*--- Bridge ---*/ |
---|
| 171 | .qPloneTabs .bridge { |
---|
| 172 | left:-1.5em; |
---|
[530] | 173 | //left:-1.7em; |
---|
[502] | 174 | position:absolute; |
---|
| 175 | top:0.2em; |
---|
| 176 | width:3em; |
---|
| 177 | } |
---|
| 178 | .kssTabsActive .qPloneTabs .bridge { |
---|
| 179 | left:0; |
---|
| 180 | width:30px; |
---|
| 181 | } |
---|
[518] | 182 | /* IE need this to remove the padding around the check box */ |
---|
| 183 | .kssTabsActive .qPloneTabs .bridge input { |
---|
[530] | 184 | height:13px; |
---|
| 185 | width:13px; |
---|
[518] | 186 | } |
---|
[502] | 187 | .drag-handle { |
---|
| 188 | cursor:move; |
---|
| 189 | float:left; |
---|
[530] | 190 | margin-right:0.2em; |
---|
| 191 | //margin-top:0.2em; |
---|
[502] | 192 | } |
---|
[483] | 193 | |
---|
[502] | 194 | /*----- Edit Item Section -----*/ |
---|
[43] | 195 | #app dl.collapseAdvanced { |
---|
[502] | 196 | line-height:1em; |
---|
| 197 | position:relative; |
---|
| 198 | } |
---|
[43] | 199 | #app dl.collapseAdvanced dt.headerAdvanced { |
---|
[502] | 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 | } |
---|
[43] | 215 | #app dl.collapseAdvanced dd.contentAdvanced { |
---|
[502] | 216 | background-color:#dee7ec; |
---|
| 217 | padding:1px 1.5em 0.5em; |
---|
[530] | 218 | zoom:1; |
---|
[502] | 219 | } |
---|
[48] | 220 | #app dl.expandedBlock dd.contentAdvanced { |
---|
[502] | 221 | display: block; |
---|
| 222 | } |
---|
[48] | 223 | |
---|
[502] | 224 | /*----- Add Action Section -----*/ |
---|
| 225 | #addaction { |
---|
[518] | 226 | margin-left:18px; |
---|
[502] | 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 { |
---|
[518] | 251 | left:-18px; |
---|
[502] | 252 | top:0; |
---|
| 253 | } |
---|
| 254 | |
---|
| 255 | /*----- Autogenerated Section -----*/ |
---|
| 256 | #autogeneration_section { |
---|
| 257 | margin-top:1em; |
---|
| 258 | } |
---|
| 259 | #roottabs { |
---|
[518] | 260 | margin-left:0; |
---|
[502] | 261 | } |
---|
| 262 | #roottabs li { |
---|
| 263 | margin:0.1em 6.5em 0.1em 0; |
---|
[518] | 264 | padding-left:18px; |
---|
[502] | 265 | position:relative; |
---|
| 266 | width:35em; |
---|
| 267 | } |
---|
| 268 | #roottabs li:hover { |
---|
| 269 | background-color:#FFD; |
---|
| 270 | cursor:default; |
---|
| 271 | } |
---|
[518] | 272 | #roottabs .bridge { |
---|
| 273 | left:0; |
---|
| 274 | } |
---|
[502] | 275 | #roottabs li:hover .bridge { |
---|
| 276 | display:block; |
---|
| 277 | } |
---|
[518] | 278 | #autogeneration_controls { |
---|
| 279 | padding-left:18px; |
---|
| 280 | } |
---|
[530] | 281 | .qPloneTabs .visibility { |
---|
| 282 | height:13px; |
---|
| 283 | width:13px; |
---|
| 284 | } |
---|
[48] | 285 | |
---|
[502] | 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; |
---|
[518] | 307 | width:102.4%; |
---|
| 308 | } |
---|
| 309 | .qPloneTabs .contentAdvanced dl.error input[type="text"] { |
---|
[502] | 310 | width:102.5%; |
---|
| 311 | } |
---|
| 312 | #addaction.adding .error #actaction { |
---|
| 313 | width:26.4em; |
---|
| 314 | } |
---|
[43] | 315 | |
---|
[733] | 316 | #kssPortalMessage { |
---|
| 317 | float: right; |
---|
| 318 | } |
---|
| 319 | |
---|
[43] | 320 | /* </dtml-with> (do not remove this either :) */ |
---|