Commits

tehfink committed 44856b3 Merge

merge from 2.X branch to default

Comments (0)

Files changed (320)

 *.textClipping
 .DS_Store
 project.xml
-*.db
 *.psd
 ~*
 *backup
+85800832507446f84e771bf6f935ba829ef3f91c cms-2.0.2
+85800832507446f84e771bf6f935ba829ef3f91c cms-2.0.2
+95b3056e6edd36cb2ebca2ee140cfd66d031da3f cms-2.0.2
 Download: http://bitbucket.org/tehfink/cmsplugin-photologue/
 
 Requirements:
-- django-photologue: 2.2
-- django-cms-2: 2.0.1
-- django: 1.1.1
-
-Last tested with:
-- django-photologue: rev 405
-- django-cms-2.0: rev 6dde6de4e3249bfc189c674d7f40375d6138be98
+- django-photologue: trunk
+- django-cms-2: 2.0.2
 - django: 1.1.1
 
 Setup
 - make sure requirements are installed and properly working
 - add cmsplugin_photologue to python path
 - add 'cmsplugin_photologue' to INSTALLED_APPS
-- add ('cmsplugin_photologue.urls', 'Photologue plugin app') to CMS_APPLICATIONS_URLS
-- add ('cmsplugin_photologue.navigation', 'Photologue plugin navigation') to CMS_APPLICATIONS_URLS
+- add ('cmsplugin_photologue.urls', 'Photologue app') to CMS_APPLICATIONS_URLS
+- add ('cmsplugin_photologue.navigation', 'Photologue app Navigation') to CMS_NAVIGATION_EXTENDERS
 - run `python manage.py syncdb` and, if you haven't already, photologue's `python manage.py plinit`
 - add plugins to pages, or attach 'Photologue plugin app' and 'Photologue plugin navigation' to a page (you may have to restart server process for urls to an attached page to work, something with how django-cms caches urls)
 
+Versioning:
+i'm going to _try_ and track the most recent django-cms release and the current trunk, starting with 2.0.2.
+- branches are named based on django-cms; eg: cms-2.X
+- releases are tagged based on django-cms; eg: cms-2.0.2
+
 Optional
-- recommended: install cms-context_processors (or your own), so {{ site }} will work in photologue pages attached to cms pages
-- define CMSPLUGIN_PHOTOLOGUE_SAMPLE_SIZE, CMSPLUGIN_PHOTOLOGUE_CSS_CHOICES in settings
+- the photologue default templates extend a 'base.html', while django-cms uses a default 'index.html'. quick solution: create a 'base.html' placeholder template which extends 'index.html'. see 'cmsplugin_photologue/templates/base.html' for an example.
+- recommended: install cms-context_processors (or your own), so {{ site }} will work in photologue pages attached to cms pages. NB: this should be fixed in latest django-cms trunk. does it work for anyone?
+- define CMSPLUGIN_PHOTOLOGUE_SAMPLE_SIZE, CMSPLUGIN_PHOTOLOGUE_CSS_CHOICES in settings.py
 - copy cmsplugin_photologue/templates/plugins/ to your project directory
 
 Todo:
 - create variable to control root view displayed when attaching app to cms page
 - define CMSPLUGIN_PHOTOLOGUE_SAMPLE_SIZE per plugin
+- cache navigation extenders
 
+Example Projects:
+- are stripped down, slightly modified versions of django-cms' example project for each relevant version
+- require a virtualenv with the requirements above installed
+- should work out of the box
+- username/password: admin/password
 
-Examples:
 
+Examples (settings.py):
 CMSPLUGIN_PHOTOLOGUE_CSS_CHOICES = (('0', ''),('1', 'left'),('2', 'right'),('3', 'center'),) )
 - adds an optional css class to the gallery or photo enclosing div in the plugin templates
 

cmsplugin_photologue/__init__.py

+<<<<<<< local
 VERSION = (0, 3, 0, 'beta')
+=======
+VERSION = (0, 2, 4, 'beta')
+>>>>>>> other
 __version__ = '.'.join(map(str, VERSION))

cmsplugin_photologue/navigation.py

     """ creates mptt style parent-child list for extending django-cms navigation (menu & breadcrumb); structured on photologue.urls """
 
     res = []                                                        #NavigationNode result list
-        
+
     for q in gallery_args, photo_args:                              #get public Galleries & Photos
         if q.has_key('queryset'):                                   #use photologue defaults
             queryset = q['queryset']
             try:                                                    #get the name of the queryset's model
                 model = q['queryset'][0].__class__.__name__.lower()
             except IndexError:                                      #abort if empty
-                return res                
+                return res
         else:
             return res
-        
-        years_done = []                                             #keeps track of published item years
-        months_done = []
-        days_done = []
-        slug_done = []
-        page_done = []
-    
+
+
         #create the base path of the URL ('gallery/' or 'photo/')
         base_node = NavigationNode(model, reverse('pl-%s-archive' % model,))
         base_node.childrens = []
 
         #create NavigationNodes for the queryset
         for item in queryset:
+
+            years_done = []                                             #keeps track of published item years
+            months_done = []
+            days_done = []
+            slug_done = []
+            page_done = []
+
             #get the date for this query object; 'date_added' called 'date published' in photologue admin
             date = item.date_added
-            
+
             if not date.year in years_done:                         #if this year is not in the years_done list
                 years_done.append(date.year)                        #add it to years_done list
                 #name the navigation node with the item's year, reverse to a named url, and pass the value captured by url regex
                 year_node = NavigationNode(date.year, reverse('pl-%s-archive-year' % model, kwargs=dict(year=date.year)))
                 year_node.childrens = []                            #create childrens sublist for this year
-                months_done = []                                    #keeps track of published item months for this year 
+                months_done = []                                    #keeps track of published item months for this year
                 base_node.childrens.append(year_node)                               #add this NavigationNode to the main list
-            
+
             if not date.month in months_done:
                 months_done.append(date.month)
                 month_node = NavigationNode(date.strftime('%b').lower(), reverse('pl-%s-archive-month' % model, kwargs=dict(year=date.year, month=date.strftime('%b').lower())))
                 month_node.childrens = []
                 days_done = []
                 year_node.childrens.append(month_node)
-            
+
             if not date.day in days_done:
                 days_done.append(date.day)
                 day_node = NavigationNode(date.day, reverse('pl-%s-archive-day' % model, kwargs=dict(year=date.year, month=date.strftime('%b').lower(), day=date.day)))
                 day_node.childrens = []
                 slug_done = []
                 month_node.childrens.append(day_node)
-                
+
             if not item.title_slug in slug_done:
                 slug_done.append(item.title_slug)
                 #one node child for the day node
                 base_node.childrens.append(item_node)
 
         res.append(base_node)
+
     return res

examples/cms-2.0.2/cmsplugin_photologue_example/__init__.py

Empty file added.

examples/cms-2.0.2/cmsplugin_photologue_example/cmsplugin_photologue_example.db

Binary file added.

examples/cms-2.0.2/cmsplugin_photologue_example/manage.py

+#!/usr/bin/env python
+import os, sys
+from django.core.management import execute_manager
+sys.path.insert(0, os.path.abspath('./..'))
+try:
+    import settings # Assumed to be in the same directory.
+except ImportError:
+    import sys
+    sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__)
+    sys.exit(1)
+
+if __name__ == "__main__":
+    execute_manager(settings)

examples/cms-2.0.2/cmsplugin_photologue_example/media/cms/css/change_form.css

+h1 span { font-size: 10px; color: #999; font-weight: normal;}
+h1 span.moderation-requires-approvement { color: #f60; }
+h1.moderation-approve-deletion { color: #c00; }
+div fieldset.module.hidden { position: absolute; left: -1000em; }
+
+
+/* Page form */
+
+
+ul#page_form_lang_tabs {
+    text-align: left;
+    margin: 0px;
+    font-size: 12px;
+    font-weight: bold;
+    border-bottom: 5px solid #C6DBEE;
+    list-style-type: none;
+    padding: 5px 10px 3px 0px;
+}
+
+ul#page_form_lang_tabs li {
+    display: inline;
+}
+
+
+ul#page_form_lang_tabs li a {
+    padding: 3px 4px;
+    margin-right: 0px;
+    text-decoration: none;
+
+    background-color: #fff;
+    color: #000;
+
+    border: 1px solid #d8d8e3;
+    border-bottom: 0px;
+}
+
+ul#page_form_lang_tabs li.active_tab a {
+    background-color: #C6DBEE;
+    color: #fff;
+}
+
+ul#page_form_lang_tabs a:hover {
+    background: #fff;
+}
+
+
+.language_button.selected { 
+    margin-bottom:-2px;
+    border-bottom:0px !important;
+    color:#fff;
+    background:#bcd2e9 !important;
+}
+
+.deletetranslation { margin-left: 30px; }

examples/cms-2.0.2/cmsplugin_photologue_example/media/cms/css/jquery.dialog.css

+/* This file skins dialog */
+
+.ui-dialog-overlay { background-color: black; filter:alpha(opacity=40); opacity:.4; }
+
+.ui-dialog,
+.ui-dialog {
+	background-color: white;
+	border: 1px solid #ccc; 
+}
+
+.ui-dialog .ui-dialog-titlebar,
+.ui-dialog .ui-dialog-titlebar {
+	border-bottom: 1px solid #ccc;
+	background: #7CA0C7 url(../images/jquery/default-bg.gif) repeat-x scroll left top;
+	padding: 0px;
+	height: 28px;
+	_height: 29px;
+}
+
+.ui-draggable .ui-dialog-titlebar,
+.ui-draggable .ui-dialog-titlebar {
+	cursor: move;
+}
+
+.ui-draggable-disabled .ui-dialog-titlebar,
+.ui-draggable-disabled .ui-dialog-titlebar {
+	cursor: default;
+}
+
+.ui-dialog .ui-dialog-titlebar-close,
+.ui-dialog .ui-dialog-titlebar-close {
+	width: 18px;
+	height: 18px;
+	background: url(../images/jquery/dialog-titlebar-close.png) no-repeat;
+	position:absolute;
+	top: 5px;
+	right: 7px;
+	cursor: default;
+}
+
+.ui-dialog .ui-dialog-titlebar-close span,
+.ui-dialog .ui-dialog-titlebar-close span {
+	display: none;
+}
+
+.ui-dialog .ui-dialog-titlebar-close-hover,
+.ui-dialog .ui-dialog-titlebar-close-hover {
+	background: url(../images/jquery/dialog-titlebar-close-hover.png) no-repeat;
+}
+
+.ui-dialog .ui-dialog-title,
+.ui-dialog .ui-dialog-title {
+	margin-left: 5px;
+	color: white;
+	font-weight: bold;
+	position: relative;
+	top: 7px;
+	left: 4px;
+}
+
+.ui-dialog .ui-dialog-content,
+.ui-dialog .ui-dialog-content {
+	margin: 1.2em;
+}
+
+.ui-dialog .ui-dialog-buttonpane,
+.ui-dialog .ui-dialog-buttonpane {
+	position: absolute;
+	bottom: 0px;
+	width: 100%;
+	text-align: right;
+	background: white url(../images/jquery/nav-bg.gif) repeat-x scroll 0 100%;
+	border-top: 1px solid #ccc;
+}
+
+.ui-dialog .ui-dialog-buttonpane button,
+.ui-dialog .ui-dialog-buttonpane button {
+	margin: 6px;
+	background: white url(../img/admin/nav-bg.gif) repeat-x scroll center bottom;
+	border-color: #ddd #aaa #aaa #ddd;
+	border-style: solid;
+	border-width: 1px;
+	color: black;
+	padding: 3px;
+}
+
+.ui-dialog .ui-dialog-buttonpane button.default {
+	background: #7CA0C7 url(../img/admin/default-bg.gif) repeat-x scroll center bottom;
+	border: 2px solid #5B80B2;
+	font-weight: bold;
+	color: white;
+}
+
+/* Dialog handle styles */
+.ui-dialog .ui-resizable-n,
+.ui-dialog .ui-resizable-n { cursor: n-resize; height: 6px; width: 100%; top: 0px; left: 0px; background: transparent url(../images/jquery/dialog-n.gif) repeat scroll center top; }
+
+.ui-dialog .ui-resizable-s,
+.ui-dialog .ui-resizable-s { cursor: s-resize; height: 8px; width: 100%; bottom: 0px; left: 0px; background: transparent url(../images/jquery/dialog-s.gif) repeat scroll center top; }
+
+.ui-dialog .ui-resizable-e,
+.ui-dialog .ui-resizable-e { cursor: e-resize; width: 7px; right: 0px; top: 0px; height: 100%; background: transparent url(../images/jquery/dialog-e.gif) repeat scroll right center; }
+
+.ui-dialog .ui-resizable-w,
+.ui-dialog .ui-resizable-w { cursor: w-resize; width: 7px; left: 0px; top: 0px; height: 100%; background: transparent url(../images/jquery/dialog-w.gif) repeat scroll right center; }
+
+.ui-dialog .ui-resizable-se,
+.ui-dialog .ui-resizable-se { cursor: se-resize; width: 9px; height: 9px; right: 0px; bottom: 0px; background: transparent url(../images/jquery/dialog-se.gif); }
+
+.ui-dialog .ui-resizable-sw,
+.ui-dialog .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: 0px; bottom: 0px; background: transparent url(../images/jquery/dialog-sw.gif); }
+
+.ui-dialog .ui-resizable-nw,
+.ui-dialog .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 29px; left: 0px; top: 0px; background: transparent url(../images/jquery/dialog-nw.gif); }
+
+.ui-dialog .ui-resizable-ne,
+.ui-dialog .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 29px; right: 0px; top: 0px; background: transparent url(../images/jquery/dialog-ne.gif); }
+
+
+.ui-dialog div.row {
+	margin-bottom: 6px;
+}
+
+.ui-dialog div.row input.wide {
+	width: 100%;
+}

examples/cms-2.0.2/cmsplugin_photologue_example/media/cms/css/jquery.tooltip.css

+#tooltip {
+	position: absolute;
+	z-index: 3000;
+	border: 1px solid #111;
+	background-color: #eee;
+	padding: 5px;
+	opacity: 0.85;
+}
+#tooltip h3, #tooltip div { margin: 0; }

examples/cms-2.0.2/cmsplugin_photologue_example/media/cms/css/jquery/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png

Added
New image

examples/cms-2.0.2/cmsplugin_photologue_example/media/cms/css/jquery/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png

Added
New image

examples/cms-2.0.2/cmsplugin_photologue_example/media/cms/css/jquery/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png

Added
New image

examples/cms-2.0.2/cmsplugin_photologue_example/media/cms/css/jquery/cupertino/images/ui-bg_glass_50_3baae3_1x400.png

Added
New image

examples/cms-2.0.2/cmsplugin_photologue_example/media/cms/css/jquery/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png

Added
New image

examples/cms-2.0.2/cmsplugin_photologue_example/media/cms/css/jquery/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png

Added
New image

examples/cms-2.0.2/cmsplugin_photologue_example/media/cms/css/jquery/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png

Added
New image

examples/cms-2.0.2/cmsplugin_photologue_example/media/cms/css/jquery/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png

Added
New image

examples/cms-2.0.2/cmsplugin_photologue_example/media/cms/css/jquery/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png

Added
New image

examples/cms-2.0.2/cmsplugin_photologue_example/media/cms/css/jquery/cupertino/images/ui-icons_2694e8_256x240.png

Added
New image

examples/cms-2.0.2/cmsplugin_photologue_example/media/cms/css/jquery/cupertino/images/ui-icons_2e83ff_256x240.png

Added
New image

examples/cms-2.0.2/cmsplugin_photologue_example/media/cms/css/jquery/cupertino/images/ui-icons_3d80b3_256x240.png

Added
New image

examples/cms-2.0.2/cmsplugin_photologue_example/media/cms/css/jquery/cupertino/images/ui-icons_72a7cf_256x240.png

Added
New image

examples/cms-2.0.2/cmsplugin_photologue_example/media/cms/css/jquery/cupertino/images/ui-icons_ffffff_256x240.png

Added
New image

examples/cms-2.0.2/cmsplugin_photologue_example/media/cms/css/jquery/cupertino/jquery-ui.css

+/*
+* jQuery UI CSS Framework
+* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
+* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
+*/
+
+/* Layout helpers
+----------------------------------*/
+.ui-helper-hidden { display: none; }
+.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
+.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
+.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
+.ui-helper-clearfix { display: inline-block; }
+/* required comment for clearfix to work in Opera \*/
+* html .ui-helper-clearfix { height:1%; }
+.ui-helper-clearfix { display:block; }
+/* end clearfix */
+.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
+
+
+/* Interaction Cues
+----------------------------------*/
+.ui-state-disabled { cursor: default !important; }
+
+
+/* Icons
+----------------------------------*/
+
+/* states and images */
+.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
+
+
+/* Misc visuals
+----------------------------------*/
+
+/* Overlays */
+.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
+
+
+
+/*
+* jQuery UI CSS Framework
+* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
+* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
+* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Lucida%20Grande,%20Lucida%20Sans,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=6px&bgColorHeader=deedf7&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=100&borderColorHeader=aed0ea&fcHeader=222222&iconColorHeader=72a7cf&bgColorContent=f2f5f7&bgTextureContent=04_highlight_hard.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=362b36&iconColorContent=72a7cf&bgColorDefault=d7ebf9&bgTextureDefault=02_glass.png&bgImgOpacityDefault=80&borderColorDefault=aed0ea&fcDefault=2779aa&iconColorDefault=3d80b3&bgColorHover=e4f1fb&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=74b2e2&fcHover=0070a3&iconColorHover=2694e8&bgColorActive=3baae3&bgTextureActive=02_glass.png&bgImgOpacityActive=50&borderColorActive=2694e8&fcActive=ffffff&iconColorActive=ffffff&bgColorHighlight=ffef8f&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=25&borderColorHighlight=f9dd34&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=cd0a0a&bgTextureError=01_flat.png&bgImgOpacityError=15&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffffff&bgColorOverlay=eeeeee&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=90&opacityOverlay=80&bgColorShadow=000000&bgTextureShadow=04_highlight_hard.png&bgImgOpacityShadow=70&opacityShadow=30&thicknessShadow=7px&offsetTopShadow=-7px&offsetLeftShadow=-7px&cornerRadiusShadow=8px
+*/
+
+
+/* Component containers
+----------------------------------*/
+.ui-widget { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1.1em; }
+.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1em; }
+.ui-widget-content { border: 1px solid #dddddd; background: #f2f5f7 url(images/ui-bg_highlight-hard_100_f2f5f7_1x100.png) 50% top repeat-x; color: #362b36; }
+.ui-widget-content a { color: #362b36; }
+.ui-widget-header { border: 1px solid #aed0ea; background: #deedf7 url(images/ui-bg_highlight-soft_100_deedf7_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; }
+.ui-widget-header a { color: #222222; }
+
+/* Interaction states
+----------------------------------*/
+.ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #aed0ea; background: #d7ebf9 url(images/ui-bg_glass_80_d7ebf9_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #2779aa; outline: none; }
+.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #2779aa; text-decoration: none; outline: none; }
+.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #74b2e2; background: #e4f1fb url(images/ui-bg_glass_100_e4f1fb_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #0070a3; outline: none; }
+.ui-state-hover a, .ui-state-hover a:hover { color: #0070a3; text-decoration: none; outline: none; }
+.ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #2694e8; background: #3baae3 url(images/ui-bg_glass_50_3baae3_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #ffffff; outline: none; }
+.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #ffffff; outline: none; text-decoration: none; }
+
+/* Interaction Cues
+----------------------------------*/
+.ui-state-highlight, .ui-widget-content .ui-state-highlight {border: 1px solid #f9dd34; background: #ffef8f url(images/ui-bg_highlight-soft_25_ffef8f_1x100.png) 50% top repeat-x; color: #363636; }
+.ui-state-highlight a, .ui-widget-content .ui-state-highlight a { color: #363636; }
+.ui-state-error, .ui-widget-content .ui-state-error {border: 1px solid #cd0a0a; background: #cd0a0a url(images/ui-bg_flat_15_cd0a0a_40x100.png) 50% 50% repeat-x; color: #ffffff; }
+.ui-state-error a, .ui-widget-content .ui-state-error a { color: #ffffff; }
+.ui-state-error-text, .ui-widget-content .ui-state-error-text { color: #ffffff; }
+.ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
+.ui-priority-primary, .ui-widget-content .ui-priority-primary { font-weight: bold; }
+.ui-priority-secondary, .ui-widget-content .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
+
+/* Icons
+----------------------------------*/
+
+/* states and images */
+.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_72a7cf_256x240.png); }
+.ui-widget-content .ui-icon {background-image: url(images/ui-icons_72a7cf_256x240.png); }
+.ui-widget-header .ui-icon {background-image: url(images/ui-icons_72a7cf_256x240.png); }
+.ui-state-default .ui-icon { background-image: url(images/ui-icons_3d80b3_256x240.png); }
+.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_2694e8_256x240.png); }
+.ui-state-active .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }
+.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
+.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }
+
+/* positioning */
+.ui-icon-carat-1-n { background-position: 0 0; }
+.ui-icon-carat-1-ne { background-position: -16px 0; }
+.ui-icon-carat-1-e { background-position: -32px 0; }
+.ui-icon-carat-1-se { background-position: -48px 0; }
+.ui-icon-carat-1-s { background-position: -64px 0; }
+.ui-icon-carat-1-sw { background-position: -80px 0; }
+.ui-icon-carat-1-w { background-position: -96px 0; }
+.ui-icon-carat-1-nw { background-position: -112px 0; }
+.ui-icon-carat-2-n-s { background-position: -128px 0; }
+.ui-icon-carat-2-e-w { background-position: -144px 0; }
+.ui-icon-triangle-1-n { background-position: 0 -16px; }
+.ui-icon-triangle-1-ne { background-position: -16px -16px; }
+.ui-icon-triangle-1-e { background-position: -32px -16px; }
+.ui-icon-triangle-1-se { background-position: -48px -16px; }
+.ui-icon-triangle-1-s { background-position: -64px -16px; }
+.ui-icon-triangle-1-sw { background-position: -80px -16px; }
+.ui-icon-triangle-1-w { background-position: -96px -16px; }
+.ui-icon-triangle-1-nw { background-position: -112px -16px; }
+.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
+.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
+.ui-icon-arrow-1-n { background-position: 0 -32px; }
+.ui-icon-arrow-1-ne { background-position: -16px -32px; }
+.ui-icon-arrow-1-e { background-position: -32px -32px; }
+.ui-icon-arrow-1-se { background-position: -48px -32px; }
+.ui-icon-arrow-1-s { background-position: -64px -32px; }
+.ui-icon-arrow-1-sw { background-position: -80px -32px; }
+.ui-icon-arrow-1-w { background-position: -96px -32px; }
+.ui-icon-arrow-1-nw { background-position: -112px -32px; }
+.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
+.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
+.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
+.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
+.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
+.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
+.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
+.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
+.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
+.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
+.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
+.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
+.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
+.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
+.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
+.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
+.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
+.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
+.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
+.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
+.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
+.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
+.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
+.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
+.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
+.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
+.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
+.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
+.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
+.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
+.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
+.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
+.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
+.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
+.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
+.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
+.ui-icon-arrow-4 { background-position: 0 -80px; }
+.ui-icon-arrow-4-diag { background-position: -16px -80px; }
+.ui-icon-extlink { background-position: -32px -80px; }
+.ui-icon-newwin { background-position: -48px -80px; }
+.ui-icon-refresh { background-position: -64px -80px; }
+.ui-icon-shuffle { background-position: -80px -80px; }
+.ui-icon-transfer-e-w { background-position: -96px -80px; }
+.ui-icon-transferthick-e-w { background-position: -112px -80px; }
+.ui-icon-folder-collapsed { background-position: 0 -96px; }
+.ui-icon-folder-open { background-position: -16px -96px; }
+.ui-icon-document { background-position: -32px -96px; }
+.ui-icon-document-b { background-position: -48px -96px; }
+.ui-icon-note { background-position: -64px -96px; }
+.ui-icon-mail-closed { background-position: -80px -96px; }
+.ui-icon-mail-open { background-position: -96px -96px; }
+.ui-icon-suitcase { background-position: -112px -96px; }
+.ui-icon-comment { background-position: -128px -96px; }
+.ui-icon-person { background-position: -144px -96px; }
+.ui-icon-print { background-position: -160px -96px; }
+.ui-icon-trash { background-position: -176px -96px; }
+.ui-icon-locked { background-position: -192px -96px; }
+.ui-icon-unlocked { background-position: -208px -96px; }
+.ui-icon-bookmark { background-position: -224px -96px; }
+.ui-icon-tag { background-position: -240px -96px; }
+.ui-icon-home { background-position: 0 -112px; }
+.ui-icon-flag { background-position: -16px -112px; }
+.ui-icon-calendar { background-position: -32px -112px; }
+.ui-icon-cart { background-position: -48px -112px; }
+.ui-icon-pencil { background-position: -64px -112px; }
+.ui-icon-clock { background-position: -80px -112px; }
+.ui-icon-disk { background-position: -96px -112px; }
+.ui-icon-calculator { background-position: -112px -112px; }
+.ui-icon-zoomin { background-position: -128px -112px; }
+.ui-icon-zoomout { background-position: -144px -112px; }
+.ui-icon-search { background-position: -160px -112px; }
+.ui-icon-wrench { background-position: -176px -112px; }
+.ui-icon-gear { background-position: -192px -112px; }
+.ui-icon-heart { background-position: -208px -112px; }
+.ui-icon-star { background-position: -224px -112px; }
+.ui-icon-link { background-position: -240px -112px; }
+.ui-icon-cancel { background-position: 0 -128px; }
+.ui-icon-plus { background-position: -16px -128px; }
+.ui-icon-plusthick { background-position: -32px -128px; }
+.ui-icon-minus { background-position: -48px -128px; }
+.ui-icon-minusthick { background-position: -64px -128px; }
+.ui-icon-close { background-position: -80px -128px; }
+.ui-icon-closethick { background-position: -96px -128px; }
+.ui-icon-key { background-position: -112px -128px; }
+.ui-icon-lightbulb { background-position: -128px -128px; }
+.ui-icon-scissors { background-position: -144px -128px; }
+.ui-icon-clipboard { background-position: -160px -128px; }
+.ui-icon-copy { background-position: -176px -128px; }
+.ui-icon-contact { background-position: -192px -128px; }
+.ui-icon-image { background-position: -208px -128px; }
+.ui-icon-video { background-position: -224px -128px; }
+.ui-icon-script { background-position: -240px -128px; }
+.ui-icon-alert { background-position: 0 -144px; }
+.ui-icon-info { background-position: -16px -144px; }
+.ui-icon-notice { background-position: -32px -144px; }
+.ui-icon-help { background-position: -48px -144px; }
+.ui-icon-check { background-position: -64px -144px; }
+.ui-icon-bullet { background-position: -80px -144px; }
+.ui-icon-radio-off { background-position: -96px -144px; }
+.ui-icon-radio-on { background-position: -112px -144px; }
+.ui-icon-pin-w { background-position: -128px -144px; }
+.ui-icon-pin-s { background-position: -144px -144px; }
+.ui-icon-play { background-position: 0 -160px; }
+.ui-icon-pause { background-position: -16px -160px; }
+.ui-icon-seek-next { background-position: -32px -160px; }
+.ui-icon-seek-prev { background-position: -48px -160px; }
+.ui-icon-seek-end { background-position: -64px -160px; }
+.ui-icon-seek-first { background-position: -80px -160px; }
+.ui-icon-stop { background-position: -96px -160px; }
+.ui-icon-eject { background-position: -112px -160px; }
+.ui-icon-volume-off { background-position: -128px -160px; }
+.ui-icon-volume-on { background-position: -144px -160px; }
+.ui-icon-power { background-position: 0 -176px; }
+.ui-icon-signal-diag { background-position: -16px -176px; }
+.ui-icon-signal { background-position: -32px -176px; }
+.ui-icon-battery-0 { background-position: -48px -176px; }
+.ui-icon-battery-1 { background-position: -64px -176px; }
+.ui-icon-battery-2 { background-position: -80px -176px; }
+.ui-icon-battery-3 { background-position: -96px -176px; }
+.ui-icon-circle-plus { background-position: 0 -192px; }
+.ui-icon-circle-minus { background-position: -16px -192px; }
+.ui-icon-circle-close { background-position: -32px -192px; }
+.ui-icon-circle-triangle-e { background-position: -48px -192px; }
+.ui-icon-circle-triangle-s { background-position: -64px -192px; }
+.ui-icon-circle-triangle-w { background-position: -80px -192px; }
+.ui-icon-circle-triangle-n { background-position: -96px -192px; }
+.ui-icon-circle-arrow-e { background-position: -112px -192px; }
+.ui-icon-circle-arrow-s { background-position: -128px -192px; }
+.ui-icon-circle-arrow-w { background-position: -144px -192px; }
+.ui-icon-circle-arrow-n { background-position: -160px -192px; }
+.ui-icon-circle-zoomin { background-position: -176px -192px; }
+.ui-icon-circle-zoomout { background-position: -192px -192px; }
+.ui-icon-circle-check { background-position: -208px -192px; }
+.ui-icon-circlesmall-plus { background-position: 0 -208px; }
+.ui-icon-circlesmall-minus { background-position: -16px -208px; }
+.ui-icon-circlesmall-close { background-position: -32px -208px; }
+.ui-icon-squaresmall-plus { background-position: -48px -208px; }
+.ui-icon-squaresmall-minus { background-position: -64px -208px; }
+.ui-icon-squaresmall-close { background-position: -80px -208px; }
+.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
+.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
+.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
+.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
+.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
+.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
+
+
+/* Misc visuals
+----------------------------------*/
+
+/* Corner radius */
+.ui-corner-tl { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; }
+.ui-corner-tr { -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; }
+.ui-corner-bl { -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; }
+.ui-corner-br { -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; }
+.ui-corner-top { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; }
+.ui-corner-bottom { -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; }
+.ui-corner-right {  -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; }
+.ui-corner-left { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; }
+.ui-corner-all { -moz-border-radius: 6px; -webkit-border-radius: 6px; }
+
+/* Overlays */
+.ui-widget-overlay { background: #eeeeee url(images/ui-bg_diagonals-thick_90_eeeeee_40x40.png) 50% 50% repeat; opacity: .80;filter:Alpha(Opacity=80); }
+.ui-widget-shadow { margin: -7px 0 0 -7px; padding: 7px; background: #000000 url(images/ui-bg_highlight-hard_70_000000_1x100.png) 50% top repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; }/* Accordion
+----------------------------------*/
+.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
+.ui-accordion .ui-accordion-li-fix { display: inline; }
+.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
+.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em 2.2em; }
+.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
+.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; }
+.ui-accordion .ui-accordion-content-active { display: block; }/* Datepicker
+----------------------------------*/
+.ui-datepicker { width: 17em; padding: .2em .2em 0; }
+.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
+.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
+.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
+.ui-datepicker .ui-datepicker-prev { left:2px; }
+.ui-datepicker .ui-datepicker-next { right:2px; }
+.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
+.ui-datepicker .ui-datepicker-next-hover { right:1px; }
+.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px;  }
+.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
+.ui-datepicker .ui-datepicker-title select { float:left; font-size:1em; margin:1px 0; }
+.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
+.ui-datepicker select.ui-datepicker-month, 
+.ui-datepicker select.ui-datepicker-year { width: 49%;}
+.ui-datepicker .ui-datepicker-title select.ui-datepicker-year { float: right; }
+.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
+.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0;  }
+.ui-datepicker td { border: 0; padding: 1px; }
+.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
+.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
+.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
+.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
+
+/* with multiple calendars */
+.ui-datepicker.ui-datepicker-multi { width:auto; }
+.ui-datepicker-multi .ui-datepicker-group { float:left; }
+.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
+.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
+.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
+.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
+.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
+.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
+.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
+.ui-datepicker-row-break { clear:both; width:100%; }
+
+/* RTL support */
+.ui-datepicker-rtl { direction: rtl; }
+.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
+.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
+.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
+.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
+.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
+.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
+.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
+.ui-datepicker-rtl .ui-datepicker-group { float:right; }
+.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
+.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
+
+/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
+.ui-datepicker-cover {
+    display: none; /*sorry for IE5*/
+    display/**/: block; /*sorry for IE5*/
+    position: absolute; /*must have*/
+    z-index: -1; /*must have*/
+    filter: mask(); /*must have*/
+    top: -4px; /*must have*/
+    left: -4px; /*must have*/
+    width: 200px; /*must have*/
+    height: 200px; /*must have*/
+}/* Dialog
+----------------------------------*/
+.ui-dialog { position: relative; padding: .2em; width: 300px; }
+.ui-dialog .ui-dialog-titlebar { padding: .5em .3em .3em 1em; position: relative;  }
+.ui-dialog .ui-dialog-title { float: left; margin: .1em 0 .2em; } 
+.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
+.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
+.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
+.ui-dialog .ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
+.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
+.ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; }
+.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
+.ui-draggable .ui-dialog-titlebar { cursor: move; }
+/* Progressbar
+----------------------------------*/
+.ui-progressbar { height:2em; text-align: left; }
+.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }/* Resizable
+----------------------------------*/
+.ui-resizable { position: relative;}
+.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;}
+.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
+.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0px; }
+.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0px; }
+.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0px; height: 100%; }
+.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0px; height: 100%; }
+.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
+.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
+.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
+.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* Slider
+----------------------------------*/
+.ui-slider { position: relative; text-align: left; }
+.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
+.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; }
+
+.ui-slider-horizontal { height: .8em; }
+.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
+.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
+.ui-slider-horizontal .ui-slider-range-min { left: 0; }
+.ui-slider-horizontal .ui-slider-range-max { right: 0; }
+
+.ui-slider-vertical { width: .8em; height: 100px; }
+.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
+.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
+.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
+.ui-slider-vertical .ui-slider-range-max { top: 0; }/* Tabs
+----------------------------------*/
+.ui-tabs { padding: .2em; zoom: 1; }
+.ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: .2em .2em 0; }
+.ui-tabs .ui-tabs-nav li { position: relative; float: left; border-bottom-width: 0 !important; margin: 0 .2em -1px 0; padding: 0; }
+.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .5em 1em; }
+.ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0; }
+.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
+.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
+.ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block; border-width: 0; background: none; }
+.ui-tabs .ui-tabs-hide { display: none !important; }

examples/cms-2.0.2/cmsplugin_photologue_example/media/cms/css/pages.css

+/* specific CSS for the django page admin application */
+
+/* default icon */
+#sitemap li a.icon,
+#sitemap li span.icon,
+#sitemap li .col-moderator span.ui-checkbox {
+	width: 18px;
+	height: 18px;
+	display: inline-block;
+	background: url(../images/icons.png) 0px 0px no-repeat;
+	margin-top: 5px;
+}
+
+
+.change-list tr{
+    padding-left:1.5em;
+}
+
+.change-list .table-selected tr {
+    background:#ffffd0;
+}
+
+.change-list tr.selected {
+    background:#ffb;
+}
+
+.change-list table tr.target {
+    background:#fff;
+}
+
+td.actions a{
+	vertical-align:middle;
+}
+
+.placeholder-row textarea, .placeholder-row input {
+    float:left;
+}
+
+.placeholder-row .revisions {
+    float:left;
+    margin-left:2em;
+}
+
+.placeholder-row .revisions ul {
+    padding:0;
+    margin-left:0;
+}
+
+.revisions-list .selected {
+    font-weight:bold;
+}
+
+#status-row ul li {
+    list-style-type:none;
+}
+
+#site-selector {
+	float:left; 
+	margin-top:2px; 
+	margin-left:5px; 
+	margin-right:10px;
+}
+
+#traduction-helper-content {
+    margin-top:1em;
+    background:#ffc;
+    padding:1em;
+    display:none;
+    overflow:hidden;
+}
+
+a.collapse span{
+    font-family: monospace;
+}
+
+a.collapse span.collapsed{
+    display: none;
+}
+
+a.collapsed span{
+    display: none;
+}
+
+a.collapsed span.collapsed{
+    display: inline;
+}
+
+.clear {
+    clear: both;
+}
+
+.float-left {
+    float: left;
+    width: 60%;
+}
+
+.ac_results {
+    padding: 0px;
+    border: 1px solid #ccc;
+    background-color: white;
+    overflow: hidden;
+    z-index: 99999;
+}
+
+.ac_results ul {
+    width: 100%;
+    list-style-position: outside;
+    list-style: none;
+    padding: 0;
+    margin: 0;
+}
+
+.ac_results li {
+    margin: 0px;
+    padding: 2px 4px;
+    cursor: default;
+    display: block;
+    /*
+    if width will be 100% horizontal scrollbar will apear
+    when scroll mode will be used
+    */
+    /*width: 100%;*/
+    font: menu;
+    font-size: 11px;
+    /*
+    it is very important, if line-height not setted or setted
+    in relative units scroll will be broken in firefox
+    */
+    line-height: 14px;
+    overflow: hidden;
+}
+
+.ac_loading {
+    background: white url('../indicator.gif') right center no-repeat;
+}
+
+.ac_odd {
+    background-color: #eee;
+}
+
+.ac_over {
+    background-color: #999;
+    color: white;
+}
+
+
+
+/* Sitemap */
+div#sitemap {
+	margin:0px;
+	padding:0px 0px 5px 0px;
+}
+
+div#sitemap a{text-decoration:none; border:none; outline:none;}
+div#sitemap a:hover{text-decoration:underline;}
+div#sitemap li, div#sitemap ul{list-style-type: none;}
+#sitemap li, #sitemap ul{ display:block; }
+
+#sitemap li .cont{ display:block; background:url(../images/sitemap-li-bg.jpg) repeat-x 0px 0px; }
+#sitemap .cont:hover { background-position: 0px -100px !important; }
+
+#sitemap li .col1 .title, #sitemap li .col1 .success{
+	display:block;
+	float:left;
+	line-height:27px;
+	height:28px;
+	padding-left:20px;	
+}
+
+#sitemap li .col1 .title{
+	background: none;
+}
+
+#sitemap li.moveable .col1 .title{
+	background-repeat:no-repeat;
+	background:url(../images/sitemap-li-drag.gif) no-repeat 0px 0px;
+}
+
+#sitemap li .col1 .success{
+	padding-left:10px;
+	color:#666;
+}
+
+#sitemap li .col1 a.changelink{
+	margin-left:10px;
+	line-height:27px;
+	display:none;
+}
+
+#sitemap li .move-target-container{
+	display:none;
+	float:left;
+	line-height:27px;
+	margin-right:10px;
+}
+
+#sitemap li .col-softroot,
+#sitemap li .col-language,
+#sitemap li .col-actions,	
+#sitemap li .col-published,
+#sitemap li .col-navigation,
+#sitemap li .col-moderator,
+#sitemap li .col-lastchange,
+#sitemap li .col-draft,
+#sitemap li .col-creator{
+	border-left:1px solid #DEDEDC;
+	text-align:center;
+	height:28px;
+	width:auto;
+	line-height:28px;
+	float:left;
+	display:block;
+	background-color:#fff;
+	padding-left:3px;
+	padding-right:3px;
+	white-space:nowrap;
+	filter: alpha(opacity=70);
+	-moz-opacity: 0.70;
+	opacity: 0.70;
+}
+
+#sitemap li .col-softroot,
+#sitemap li .col-language{
+	background:none;
+	border:none;
+	width:auto;
+	text-align:right;
+	padding-right:5px;
+}
+
+#sitemap li .col-language a{text-transform:uppercase;}
+#sitemap li .col-language a:hover{text-decoration:underline;}
+
+#sitemap li .col-actions a{ vertical-align:middle}
+#sitemap li .col-published a, #sitemap li .col-published input, #sitemap li .col-published label{ vertical-align:middle;}
+#sitemap li .col-draft a, #sitemap li .col-draft span{vertical-align:middle; margin-top:0;}
+#sitemap li  .col-navigation img{vertical-align:middle;}
+
+
+/*
+#sitemap li .col-actions { width: 80px; }
+#sitemap li .col-published {width:100px;}
+#sitemap li .col-navigation { width: 65px; }
+#sitemap li .col-softroot { width: 20px; }
+#sitemap li .col-moderator  { width:80px; }
+#sitemap li .col-creator{width: 70px;}
+#sitemap li .col-draft{width:119px; text-align: right;}
+#sitemap li .col-lastchange { width:96px; text-align: left;}
+*/
+
+#sitemap li .col-draft {text-align: right;}
+#sitemap li .col-lastchange, 
+#sitemap li .col-published {text-align: left;}
+
+
+#sitemap li a.move {
+	width:18px;
+	height:18px;
+	display:inline-block;
+	background:url(../images/icons.png) -20px -20px no-repeat; 
+}
+#sitemap li a.move span{display:none;}
+
+#sitemap li a.copy {
+	width:15px;
+	height:15px;
+	margin-left:4px;
+	display:inline-block;
+	background:url(../images/copy.gif) 0px 0px no-repeat; 
+}
+
+#sitemap li a.copy span{display:none;}
+
+#sitemap li a.selector-add {
+	margin-left:4px;
+	background-position: -20px 0px;
+}
+
+#sitemap li .col-draft a.approve {
+	margin-left:4px;
+	background-position: -60px -80px;
+	margin-top:-4px;
+}
+
+#sitemap li a.selector-add span{display:none;}
+
+#sitemap li a.addlink, #sitemap li a.deletelink{
+	width:10px;
+	height:10px;
+	display:inline-block;
+	background-position:0 0px;
+	margin:0;
+	padding:0;	
+	margin-left:4px;
+}
+#sitemap li a.addlink span, #sitemap li a.deletelink span{display:none;}
+
+div#sitemap ul.header, div#sitemap ul.header li{
+	background:none;	
+	border:none;
+	list-style:none;
+	margin:0px;
+	padding:0px;
+}
+div#sitemap ul.header li{
+	background:#E1E1E1 url(../images/nav-bg.gif) repeat-x scroll left top;
+	border-bottom:1px solid #DDDDDD;
+	color:#666666;
+	font-size:11px;
+	padding:2px 0px 2px 5px;
+	font-weight:bold;
+	height:auto;
+}
+* html div#sitemap ul.header li{height:16px;}
+
+
+#sitemap ul.header li .cont{
+	background:none;
+	height:15px;
+	background:none;
+	border:none;
+}
+#sitemap ul.header li .col-language,
+#sitemap ul.header li .col-actions,	
+#sitemap ul.header li .col-published,
+#sitemap ul.header li .col-navigation,
+#sitemap ul.header li .col-softroot,
+#sitemap ul.header li .col-moderator,
+#sitemap ul.header li .col-lastchange,
+#sitemap ul.header li .col-draft,
+#sitemap ul.header li .col-creator{
+	height:auto;
+	border:none;
+	background:none;
+	line-height:14px;
+	text-align: center;
+}
+#sitemap ul.header li .cont:hover{}
+
+#sitemap .cont:hover a,
+#sitemap .cont:hover .col-language,
+#sitemap .cont:hover .col-language a{color:#fff;}
+
+#sitemap .cont:hover .col1 .title{ background-position:0px -40px;}
+#sitemap .cont:hover .col1 a.changelink{display:inline;}
+
+#sitemap li#dragged{
+	min-width:500px;
+}
+#sitemap li#dragged .cont{
+	border-top: 1px solid #DEDEDC;
+	border-right: 1px solid #DEDEDC;
+}
+#sitemap li#dragged .col2{
+	display:none;
+}
+#sitemap li#dragged .col1 .title{padding-right:10px;}
+
+.activ-filter #sitemap li, .activ-filter #sitemap ul{
+	background-image:none;
+}
+.activ-filter #sitemap .tree ul{margin-left:0px;}
+.activ-filter #sitemap .tree li{padding-left:0px;}
+.activ-filter #sitemap .tree li .cont{border-left:none;}
+.activ-filter #sitemap .tree li .col1 .title{background-image:none; padding-left:8px;}
+
+* html #sitemap ul.header{margin:0;height:21px;overflow:hidden;}
+* html #sitemap ul.header li{}
+
+#changelist{
+	width:auto;
+}
+/* changelist filter */
+#toolbar{height:23px;}
+#changelist-filter-button{
+	background:url(../images/changelist-filter-button-bg.jpg) no-repeat 0 0;
+	border-left:1px solid #DDDDDD;
+	margin:0;
+	position:absolute;
+	right:0;
+	top:0;
+	width:150px;
+	z-index:1000;
+	height:25px;
+	height:auto;
+	display:block;
+	line-height:30px;
+	padding-left:10px;	
+}
+* html #changelist-filter-button{margin-right:-1px;}
+* html #changelist #toolbar{height:23px;overflow:hidden;}
+
+#changelist-filter-button:hover{background-position:0px -50px;}
+.activ-filter #changelist-filter-button{background-position:0px -100px; color:#fff;}
+.activ-filter #changelist-filter-button:hover{background-position:0px -100px;}
+
+#changelist-filter{top:30px;}
+#changelist-filter h2{	display:none;}
+* html #changelist-filter{margin-right:-1px;}
+
+.change-list .filtered {background:#fff none repeat-y scroll right top !important;}
+
+.change-list #changelist .module{border:none;}
+
+/* special checkboxes */
+#sitemap li input.hidden {
+	position: absolute;
+	left: -999em;
+}
+
+/* moderator checkboxes */
+#sitemap li .col-moderator span.ui-checkbox-state-checked.page, 
+#sitemap li .col-moderator span.ui-checkbox-state-checked-hover.page {
+	background-position: 0px -20px;
+}
+
+
+#sitemap li .col-moderator span.ui-checkbox.children {
+	background-position: 0px -40px;
+}
+#sitemap li .col-moderator span.ui-checkbox-state-checked.children, 
+#sitemap li .col-moderator span.ui-checkbox-state-checked-hover.children {
+	background-position: 0px -60px;
+}
+
+#sitemap li .col-moderator span.ui-checkbox.descendants {
+	background-position: 0px -80px;
+}
+#sitemap li .col-moderator span.ui-checkbox-state-checked.descendants, 
+#sitemap li .col-moderator span.ui-checkbox-state-checked-hover.descendants {
+	background-position: 0px -100px;
+}
+
+
+/* moderation - last state */
+#sitemap li .col-lastchange .state-icon {
+	margin-right: -2px;
+}
+
+#sitemap li .col-lastchange .state-icon.add { background-position: -40px 0px; }
+#sitemap li .col-lastchange .state-icon.cha { background-position: -40px -20px; }
+#sitemap li .col-lastchange .state-icon.pub { background-position: -60px -20px; }
+#sitemap li .col-lastchange .state-icon.unp { background-position: -60px -40px; }