Imported from SVN by Bitbucket
This commit is contained in:
BIN
caotek/zidol_theme/skins/caotek_zidol_images/bg.png
Executable file
BIN
caotek/zidol_theme/skins/caotek_zidol_images/bg.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 924 B |
BIN
caotek/zidol_theme/skins/caotek_zidol_images/favicon.ico
Executable file
BIN
caotek/zidol_theme/skins/caotek_zidol_images/favicon.ico
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
2
caotek/zidol_theme/skins/caotek_zidol_images/logo-zidol.metadata
Executable file
2
caotek/zidol_theme/skins/caotek_zidol_images/logo-zidol.metadata
Executable file
@@ -0,0 +1,2 @@
|
||||
[default]
|
||||
title=Dien Dan logo
|
||||
BIN
caotek/zidol_theme/skins/caotek_zidol_images/logo-zidol.png
Executable file
BIN
caotek/zidol_theme/skins/caotek_zidol_images/logo-zidol.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
BIN
caotek/zidol_theme/skins/caotek_zidol_images/logo-zidol.xcf
Executable file
BIN
caotek/zidol_theme/skins/caotek_zidol_images/logo-zidol.xcf
Executable file
Binary file not shown.
BIN
caotek/zidol_theme/skins/caotek_zidol_images/rss.png
Executable file
BIN
caotek/zidol_theme/skins/caotek_zidol_images/rss.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
51
caotek/zidol_theme/skins/caotek_zidol_styles/base_properties.props
Executable file
51
caotek/zidol_theme/skins/caotek_zidol_styles/base_properties.props
Executable file
@@ -0,0 +1,51 @@
|
||||
title:string=In here JUST to override logoName
|
||||
|
||||
plone_skin:string=Sunburst Theme
|
||||
|
||||
logoName:string=logo-zidol.png
|
||||
|
||||
fontFamily:string="Helvetica Neue", Arial, FreeSans, sans-serif;
|
||||
linkColor:string=#205c90
|
||||
editBarColor:string=#75ad0a
|
||||
|
||||
compatibilityClassic:string=The below values are copied directly from the old Plone theme to make sure that products that rely on them don't break.
|
||||
|
||||
fontBaseSize:string=69%
|
||||
fontColor:string=Black
|
||||
fontSmallSize:string=90%
|
||||
|
||||
backgroundColor:string=White
|
||||
|
||||
linkActiveColor:string=Red
|
||||
linkVisitedColor:string=Purple
|
||||
|
||||
borderWidth:string=1px
|
||||
borderStyle:string=solid
|
||||
borderStyleAnnotations:string=solid
|
||||
|
||||
globalBorderColor:string=#8cacbb
|
||||
globalBackgroundColor:string=#dee7ec
|
||||
globalFontColor:string=#436976
|
||||
|
||||
headingFontFamily:string="Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif
|
||||
|
||||
contentViewBorderColor:string=#74ae0b
|
||||
contentViewBackgroundColor:string=#cde2a7
|
||||
contentViewFontColor:string=#578308
|
||||
|
||||
inputFontColor:string=Black
|
||||
|
||||
textTransform:string=none
|
||||
|
||||
evenRowBackgroundColor:string=#eef3f5
|
||||
oddRowBackgroundColor:string=transparent
|
||||
|
||||
notifyBorderColor:string=#ffa500
|
||||
notifyBackgroundColor:string=#ffce7b
|
||||
|
||||
discreetColor:string=#76797c
|
||||
helpBackgroundColor:string=#ffffe1
|
||||
|
||||
portalMinWidth:string=70em
|
||||
columnOneWidth:string=16em
|
||||
columnTwoWidth:string=16em
|
||||
187
caotek/zidol_theme/skins/caotek_zidol_styles/folder_listing_sans_desc.pt
Executable file
187
caotek/zidol_theme/skins/caotek_zidol_styles/folder_listing_sans_desc.pt
Executable file
@@ -0,0 +1,187 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
|
||||
xmlns:tal="http://xml.zope.org/namespaces/tal"
|
||||
xmlns:metal="http://xml.zope.org/namespaces/metal"
|
||||
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
|
||||
lang="en"
|
||||
metal:use-macro="context/main_template/macros/master"
|
||||
i18n:domain="plone">
|
||||
|
||||
<body>
|
||||
|
||||
<metal:content-core fill-slot="content-core">
|
||||
<metal:block define-macro="content-core"
|
||||
tal:define="kssClassesView context/@@kss_field_decorator_view;
|
||||
getKssClasses nocall:kssClassesView/getKssClassesInlineEditable;
|
||||
templateId template/getId">
|
||||
|
||||
<div metal:define-macro="text-field-view"
|
||||
id="parent-fieldname-text" class="stx"
|
||||
tal:define="kss_class python:getKssClasses('text',
|
||||
templateId=templateId, macro='text-field-view');
|
||||
has_text exists:context/aq_explicit/getText;
|
||||
text python:has_text and here.getText() or ''"
|
||||
tal:condition="text"
|
||||
tal:attributes="class python:test(context.Format() in ('text/structured',
|
||||
'text/x-rst', ), 'stx' + kss_class, 'plain' + kss_class)">
|
||||
<div metal:define-slot="inside" tal:replace="structure text">The body</div>
|
||||
</div>
|
||||
|
||||
<metal:listingmacro define-macro="listing">
|
||||
<tal:foldercontents define="contentFilter contentFilter|request/contentFilter|nothing;
|
||||
contentFilter python:contentFilter and dict(contentFilter) or {};
|
||||
limit_display limit_display|request/limit_display|nothing;
|
||||
limit_display python:limit_display and int(limit_display) or None;
|
||||
more_url more_url|request/more_url|string:folder_contents;
|
||||
is_a_topic python:context.portal_type=='Topic';
|
||||
friendly_types context/@@plone_portal_state/friendly_types;
|
||||
dummy python:not is_a_topic and contentFilter.setdefault('portal_type', friendly_types);
|
||||
folderContents folderContents|nothing; folderContents python:folderContents or is_a_topic and context.queryCatalog(batch=True, **contentFilter) or context.getFolderContents(contentFilter, batch=True, b_size=limit_display or 100);
|
||||
site_properties context/portal_properties/site_properties;
|
||||
use_view_action site_properties/typesUseViewActionInListings|python:();
|
||||
Batch python:modules['Products.CMFPlone'].Batch;
|
||||
b_start python:request.get('b_start', 0);
|
||||
batch python:isinstance(folderContents, Batch) and folderContents or Batch(folderContents, limit_display or 100, int(b_start), orphan=1);
|
||||
isAnon context/@@plone_portal_state/anonymous;
|
||||
normalizeString nocall: context/plone_utils/normalizeString;
|
||||
toLocalizedTime nocall: context/@@plone/toLocalizedTime;
|
||||
show_about python:not isAnon or site_properties.allowAnonymousViewAbout;
|
||||
navigation_root_url context/@@plone_portal_state/navigation_root_url;
|
||||
pas_member context/@@pas_member;
|
||||
plone_view context/@@plone;">
|
||||
<tal:listing condition="batch">
|
||||
|
||||
<dl metal:define-slot="entries">
|
||||
<tal:entry tal:repeat="item batch" metal:define-macro="entries">
|
||||
<tal:block tal:define="item_url item/getURL|item/absolute_url;
|
||||
item_id item/getId|item/id;
|
||||
item_title_or_id item/pretty_title_or_id;
|
||||
item_description item/Description;
|
||||
item_type item/portal_type;
|
||||
item_type_title item/Type;
|
||||
item_modified item/ModificationDate;
|
||||
item_created item/CreationDate;
|
||||
item_icon python:plone_view.getIcon(item);
|
||||
item_type_class python:'contenttype-' + normalizeString(item_type);
|
||||
item_wf_state item/review_state|python: context.portal_workflow.getInfoFor(item, 'review_state', '');
|
||||
item_wf_state_class python:'state-' + normalizeString(item_wf_state);
|
||||
item_creator item/Creator;
|
||||
item_start item/start|item/StartDate|nothing;
|
||||
item_end item/end|item/EndDate|nothing;
|
||||
item_sametime python: item_start == item_end;
|
||||
item_samedate python: (item_end - item_start < 1) if item_type == 'Event' else False">
|
||||
<metal:block define-slot="entry">
|
||||
<dt metal:define-macro="listitem"
|
||||
tal:attributes="class python:test(item_type == 'Event', 'vevent', '')">
|
||||
|
||||
<span class="summary">
|
||||
<img tal:replace="structure item_icon/html_tag" />
|
||||
<a href="#"
|
||||
tal:attributes="href python:test(item_type in use_view_action, item_url+'/view', item_url);
|
||||
class string:$item_type_class $item_wf_state_class url"
|
||||
tal:content="item_title_or_id">
|
||||
Item Title
|
||||
</a>
|
||||
</span>
|
||||
|
||||
<span class="documentByLine">
|
||||
<span tal:condition="python: item_type == 'Event' and item_sametime"
|
||||
i18n:translate="label_event_byline_onlyfrom">
|
||||
<abbr class="dtstart"
|
||||
tal:attributes="title python:item_start"
|
||||
tal:content="python:toLocalizedTime(item_start,long_format=1)"
|
||||
i18n:name="start">from date</abbr>
|
||||
</span>
|
||||
<span tal:condition="python: item_type == 'Event' and item_samedate and not item_sametime"
|
||||
i18n:translate="label_event_byline_samedate">
|
||||
<abbr class="dtstart"
|
||||
tal:attributes="title python:item_start"
|
||||
tal:content="python:toLocalizedTime(item_start)"
|
||||
i18n:name="start">from date</abbr> from
|
||||
<abbr class="dtstart"
|
||||
tal:attributes="title python:item_start"
|
||||
tal:content="python:toLocalizedTime(item_start,time_only=1)"
|
||||
i18n:name="starttime">from time</abbr> to
|
||||
<abbr class="dtend"
|
||||
tal:attributes="title python:item_end"
|
||||
tal:content="python:toLocalizedTime(item_end,time_only=1)"
|
||||
i18n:name="end">to time</abbr>
|
||||
</span>
|
||||
<span tal:condition="python: item_type == 'Event' and not item_samedate and not item_sametime"
|
||||
i18n:translate="label_event_byline">
|
||||
from
|
||||
<abbr class="dtstart"
|
||||
tal:attributes="title python:item_start"
|
||||
tal:content="python:toLocalizedTime(item_start,long_format=1)"
|
||||
i18n:name="start">from date</abbr> to
|
||||
<abbr class="dtend"
|
||||
tal:attributes="title python:item_end"
|
||||
tal:content="python:toLocalizedTime(item_end,long_format=1)"
|
||||
i18n:name="end">to date</abbr>
|
||||
</span>
|
||||
<span tal:condition="python: item_type == 'Event' and item.location"
|
||||
i18n:translate="label_event_byline_location">—
|
||||
<span tal:content="string:${item/location}"
|
||||
class="location"
|
||||
i18n:name="location">Oslo</span>,
|
||||
</span>
|
||||
<tal:byline condition="show_about">
|
||||
-
|
||||
|
||||
<tal:name tal:condition="item_creator"
|
||||
tal:define="author python:pas_member.info(item_creator);">
|
||||
<span tal:content="author/name_or_id">
|
||||
Bob Dobalina
|
||||
</span>
|
||||
</tal:name>
|
||||
|
||||
<tal:modified condition="python: item_type != 'Event'">
|
||||
—
|
||||
<tal:mod i18n:translate="box_last_modified">
|
||||
last modified
|
||||
</tal:mod>
|
||||
<span tal:replace="python:toLocalizedTime(item_modified,long_format=0)">
|
||||
August 16, 2001 at 23:35:59
|
||||
</span>
|
||||
</tal:modified>
|
||||
|
||||
<metal:description define-slot="description_slot">
|
||||
<tal:comment replace="nothing">
|
||||
Place custom listing info for custom types here
|
||||
</tal:comment>
|
||||
</metal:description>
|
||||
</tal:byline>
|
||||
</span>
|
||||
|
||||
</dt>
|
||||
<!--
|
||||
<dd tal:condition="item_description">
|
||||
<span class="description"
|
||||
tal:content="item_description">
|
||||
description
|
||||
</span>
|
||||
</dd>
|
||||
-->
|
||||
</metal:block>
|
||||
</tal:block>
|
||||
</tal:entry>
|
||||
</dl>
|
||||
|
||||
<div metal:use-macro="context/batch_macros/macros/navigation" />
|
||||
|
||||
</tal:listing>
|
||||
<metal:empty metal:define-slot="no_items_in_listing">
|
||||
<p class="discreet"
|
||||
tal:condition="not: folderContents"
|
||||
i18n:translate="description_no_items_in_folder">
|
||||
There are currently no items in this folder.
|
||||
</p>
|
||||
</metal:empty>
|
||||
|
||||
</tal:foldercontents>
|
||||
</metal:listingmacro>
|
||||
|
||||
</metal:block>
|
||||
</metal:content-core>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
193
caotek/zidol_theme/skins/caotek_zidol_styles/folder_listing_with_about.pt
Executable file
193
caotek/zidol_theme/skins/caotek_zidol_styles/folder_listing_with_about.pt
Executable file
@@ -0,0 +1,193 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
|
||||
xmlns:tal="http://xml.zope.org/namespaces/tal"
|
||||
xmlns:metal="http://xml.zope.org/namespaces/metal"
|
||||
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
|
||||
lang="en"
|
||||
metal:use-macro="context/main_template/macros/master"
|
||||
i18n:domain="plone">
|
||||
|
||||
<body>
|
||||
|
||||
<metal:content-core fill-slot="content-core">
|
||||
<metal:block define-macro="content-core"
|
||||
tal:define="kssClassesView context/@@kss_field_decorator_view;
|
||||
getKssClasses nocall:kssClassesView/getKssClassesInlineEditable;
|
||||
templateId template/getId">
|
||||
|
||||
<div metal:define-macro="text-field-view"
|
||||
id="parent-fieldname-text" class="stx"
|
||||
tal:define="kss_class python:getKssClasses('text',
|
||||
templateId=templateId, macro='text-field-view');
|
||||
has_text exists:context/aq_explicit/getText;
|
||||
text python:has_text and here.getText() or ''"
|
||||
tal:condition="text"
|
||||
tal:attributes="class python:test(context.Format() in ('text/structured',
|
||||
'text/x-rst', ), 'stx' + kss_class, 'plain' + kss_class)">
|
||||
<div metal:define-slot="inside" tal:replace="structure text">The body</div>
|
||||
</div>
|
||||
|
||||
<metal:listingmacro define-macro="listing">
|
||||
<tal:foldercontents define="contentFilter contentFilter|request/contentFilter|nothing;
|
||||
contentFilter python:contentFilter and dict(contentFilter) or {};
|
||||
limit_display limit_display|request/limit_display|nothing;
|
||||
limit_display python:limit_display and int(limit_display) or None;
|
||||
more_url more_url|request/more_url|string:folder_contents;
|
||||
is_a_topic python:context.portal_type=='Topic';
|
||||
friendly_types context/@@plone_portal_state/friendly_types;
|
||||
dummy python:not is_a_topic and contentFilter.setdefault('portal_type', friendly_types);
|
||||
folderContents folderContents|nothing; folderContents python:folderContents or is_a_topic and context.queryCatalog(batch=True, **contentFilter) or context.getFolderContents(contentFilter, batch=True, b_size=limit_display or 100);
|
||||
site_properties context/portal_properties/site_properties;
|
||||
use_view_action site_properties/typesUseViewActionInListings|python:();
|
||||
Batch python:modules['Products.CMFPlone'].Batch;
|
||||
b_start python:request.get('b_start', 0);
|
||||
batch python:isinstance(folderContents, Batch) and folderContents or Batch(folderContents, limit_display or 100, int(b_start), orphan=1);
|
||||
isAnon context/@@plone_portal_state/anonymous;
|
||||
normalizeString nocall: context/plone_utils/normalizeString;
|
||||
toLocalizedTime nocall: context/@@plone/toLocalizedTime;
|
||||
show_about python:not isAnon or site_properties.allowAnonymousViewAbout;
|
||||
navigation_root_url context/@@plone_portal_state/navigation_root_url;
|
||||
pas_member context/@@pas_member;
|
||||
plone_view context/@@plone;">
|
||||
<tal:listing condition="batch">
|
||||
|
||||
<dl metal:define-slot="entries">
|
||||
<tal:entry tal:repeat="item batch" metal:define-macro="entries">
|
||||
<tal:block tal:define="item_url item/getURL|item/absolute_url;
|
||||
item_id item/getId|item/id;
|
||||
item_title_or_id item/pretty_title_or_id;
|
||||
item_description item/Description;
|
||||
item_type item/portal_type;
|
||||
item_type_title item/Type;
|
||||
item_modified item/ModificationDate;
|
||||
item_created item/CreationDate;
|
||||
item_icon python:plone_view.getIcon(item);
|
||||
item_type_class python:'contenttype-' + normalizeString(item_type);
|
||||
item_wf_state item/review_state|python: context.portal_workflow.getInfoFor(item, 'review_state', '');
|
||||
item_wf_state_class python:'state-' + normalizeString(item_wf_state);
|
||||
item_creator item/Creator;
|
||||
item_start item/start|item/StartDate|nothing;
|
||||
item_end item/end|item/EndDate|nothing;
|
||||
item_sametime python: item_start == item_end;
|
||||
item_samedate python: (item_end - item_start < 1) if item_type == 'Event' else False">
|
||||
<metal:block define-slot="entry">
|
||||
<dt metal:define-macro="listitem"
|
||||
tal:attributes="class python:test(item_type == 'Event', 'vevent', '')">
|
||||
|
||||
<span class="summary">
|
||||
<img tal:replace="structure item_icon/html_tag" />
|
||||
<a href="#"
|
||||
tal:attributes="href python:test(item_type in use_view_action, item_url+'/view', item_url);
|
||||
class string:$item_type_class $item_wf_state_class url"
|
||||
tal:content="item_title_or_id">
|
||||
Item Title
|
||||
</a>
|
||||
</span>
|
||||
|
||||
<span class="documentByLine">
|
||||
<span tal:condition="python: item_type == 'Event' and item_sametime"
|
||||
i18n:translate="label_event_byline_onlyfrom">
|
||||
<abbr class="dtstart"
|
||||
tal:attributes="title python:item_start"
|
||||
tal:content="python:toLocalizedTime(item_start,long_format=1)"
|
||||
i18n:name="start">from date</abbr>
|
||||
</span>
|
||||
<span tal:condition="python: item_type == 'Event' and item_samedate and not item_sametime"
|
||||
i18n:translate="label_event_byline_samedate">
|
||||
<abbr class="dtstart"
|
||||
tal:attributes="title python:item_start"
|
||||
tal:content="python:toLocalizedTime(item_start)"
|
||||
i18n:name="start">from date</abbr> from
|
||||
<abbr class="dtstart"
|
||||
tal:attributes="title python:item_start"
|
||||
tal:content="python:toLocalizedTime(item_start,time_only=1)"
|
||||
i18n:name="starttime">from time</abbr> to
|
||||
<abbr class="dtend"
|
||||
tal:attributes="title python:item_end"
|
||||
tal:content="python:toLocalizedTime(item_end,time_only=1)"
|
||||
i18n:name="end">to time</abbr>
|
||||
</span>
|
||||
<span tal:condition="python: item_type == 'Event' and not item_samedate and not item_sametime"
|
||||
i18n:translate="label_event_byline">
|
||||
from
|
||||
<abbr class="dtstart"
|
||||
tal:attributes="title python:item_start"
|
||||
tal:content="python:toLocalizedTime(item_start,long_format=1)"
|
||||
i18n:name="start">from date</abbr> to
|
||||
<abbr class="dtend"
|
||||
tal:attributes="title python:item_end"
|
||||
tal:content="python:toLocalizedTime(item_end,long_format=1)"
|
||||
i18n:name="end">to date</abbr>
|
||||
</span>
|
||||
<span tal:condition="python: item_type == 'Event' and item.location"
|
||||
i18n:translate="label_event_byline_location">—
|
||||
<span tal:content="string:${item/location}"
|
||||
class="location"
|
||||
i18n:name="location">Oslo</span>,
|
||||
</span>
|
||||
|
||||
<!-- <tal:byline condition="show_about"> -->
|
||||
-
|
||||
|
||||
<tal:name tal:condition="item_creator"
|
||||
tal:define="author python:pas_member.info(item_creator);">
|
||||
<span tal:content="author/name_or_id">
|
||||
Bob Dobalina
|
||||
</span>
|
||||
</tal:name>
|
||||
|
||||
<tal:modified condition="python: item_type != 'Event'">
|
||||
—
|
||||
<tal:mod i18n:translate="box_last_modified">
|
||||
last modified
|
||||
</tal:mod>
|
||||
<span tal:replace="python:toLocalizedTime(item_modified,long_format=0)">
|
||||
August 16, 2001 at 23:35:59
|
||||
</span>
|
||||
</tal:modified>
|
||||
|
||||
<metal:description define-slot="description_slot">
|
||||
<tal:comment replace="nothing">
|
||||
Place custom listing info for custom types here
|
||||
</tal:comment>
|
||||
</metal:description>
|
||||
<!-- </tal:byline> -->
|
||||
</span>
|
||||
|
||||
</dt>
|
||||
|
||||
<dd tal:condition="item_description">
|
||||
<span class="description"
|
||||
tal:content="item_description">
|
||||
description
|
||||
</span>
|
||||
</dd>
|
||||
<dd tal:condition="python: not item_description">
|
||||
<span class="description">
|
||||
|
||||
</span>
|
||||
</dd>
|
||||
|
||||
</metal:block>
|
||||
</tal:block>
|
||||
</tal:entry>
|
||||
</dl>
|
||||
|
||||
<div metal:use-macro="context/batch_macros/macros/navigation" />
|
||||
|
||||
</tal:listing>
|
||||
<metal:empty metal:define-slot="no_items_in_listing">
|
||||
<p class="discreet"
|
||||
tal:condition="not: folderContents"
|
||||
i18n:translate="description_no_items_in_folder">
|
||||
There are currently no items in this folder.
|
||||
</p>
|
||||
</metal:empty>
|
||||
|
||||
</tal:foldercontents>
|
||||
</metal:listingmacro>
|
||||
|
||||
</metal:block>
|
||||
</metal:content-core>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
54
caotek/zidol_theme/skins/caotek_zidol_styles/getFolderContents.py
Executable file
54
caotek/zidol_theme/skins/caotek_zidol_styles/getFolderContents.py
Executable file
@@ -0,0 +1,54 @@
|
||||
## Script (Python) "getFolderContents"
|
||||
##bind container=container
|
||||
##bind context=context
|
||||
##bind namespace=
|
||||
##bind script=script
|
||||
##bind subpath=traverse_subpath
|
||||
##parameters=contentFilter=None,batch=False,b_size=100,full_objects=False
|
||||
##title=wrapper method around to use catalog to get folder contents
|
||||
##
|
||||
|
||||
# Modifié par Cao pour changer l'ordre de tri du dossier
|
||||
|
||||
mtool = context.portal_membership
|
||||
cur_path = '/'.join(context.getPhysicalPath())
|
||||
path = {}
|
||||
|
||||
if not contentFilter:
|
||||
contentFilter = {}
|
||||
else:
|
||||
contentFilter = dict(contentFilter)
|
||||
|
||||
# Modification : ordre descendant de la date de publication
|
||||
contentFilter['sort_on'] = "effective"
|
||||
contentFilter['sort_order'] = "descending"
|
||||
if not contentFilter.get('sort_on', None):
|
||||
contentFilter['sort_on'] = 'getObjPositionInParent'
|
||||
|
||||
if contentFilter.get('path', None) is None:
|
||||
path['query'] = cur_path
|
||||
path['depth'] = 1
|
||||
contentFilter['path'] = path
|
||||
|
||||
show_inactive = mtool.checkPermission('Access inactive portal content', context)
|
||||
|
||||
# Provide batching hints to the catalog
|
||||
b_start = int(context.REQUEST.get('b_start', 0))
|
||||
contentFilter['b_start'] = b_start
|
||||
if batch:
|
||||
contentFilter['b_size'] = b_size
|
||||
|
||||
# Evaluate in catalog context because some containers override queryCatalog
|
||||
# with their own unrelated method (Topics)
|
||||
contents = context.portal_catalog.queryCatalog(contentFilter, show_all=1,
|
||||
show_inactive=show_inactive, )
|
||||
|
||||
if full_objects:
|
||||
contents = [b.getObject() for b in contents]
|
||||
|
||||
if batch:
|
||||
from Products.CMFPlone import Batch
|
||||
batch = Batch(contents, b_size, b_start, orphan=0)
|
||||
return batch
|
||||
|
||||
return contents
|
||||
109
caotek/zidol_theme/skins/caotek_zidol_styles/styles.css
Executable file
109
caotek/zidol_theme/skins/caotek_zidol_styles/styles.css
Executable file
@@ -0,0 +1,109 @@
|
||||
/************************
|
||||
Word Plone Day 2011 Theme
|
||||
*************************/
|
||||
|
||||
body {background: #ede7db url(bg.png) repeat-x fixed;}
|
||||
|
||||
div.row {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
#visual-portal-wrapper {
|
||||
width: 1216px;
|
||||
margin: 0 auto 15px auto;
|
||||
background-color: white;
|
||||
border-radius: 0px 0px 10px 10px;
|
||||
-moz-border-radius: 0px 0px 10px 10px;
|
||||
-webkit-border-bottom-right-radius: 10px;
|
||||
-webkit-border-bottom-left-radius: 10px;
|
||||
-webkit-box-shadow: 0px 5px 20px ;
|
||||
-moz-box-shadow: 0px 5px 20px ;
|
||||
box-shadow: 0px 5px 20px ;
|
||||
}
|
||||
|
||||
#searchGadget {
|
||||
border-radius: 10px;
|
||||
-moz-border-radius: 10px;
|
||||
-webkit-border-radius: 10px;
|
||||
border: 1px solid #C3C3C3;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
/* sections */
|
||||
#portal-globalnav {
|
||||
clear: both;
|
||||
font-size: 100%;
|
||||
background: #0c7cae;
|
||||
/* ensure top navigation dont touches portlets, content etc.. #10491 */
|
||||
margin: 0 0 1em 0;
|
||||
}
|
||||
#portal-globalnav li a {
|
||||
min-width: 4.5em;
|
||||
background-color: #0c7cae;
|
||||
color: #fff;}
|
||||
|
||||
#portal-globalnav li a:hover,
|
||||
#portal-globalnav li.selected a,
|
||||
#portal-globalnav li.selected a:hover {background-color: #ff6600;}
|
||||
|
||||
#collage .listingBar {display:none;}
|
||||
#collage .collage-item .documentByLine {
|
||||
display: block;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: Times New Roman, Palatino, serif;
|
||||
font-weight: bold;
|
||||
line-height: normal;
|
||||
letter-spacing: normal;
|
||||
color: #227496;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 160%;
|
||||
color: #990000;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 150%;
|
||||
color: #ff6600;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 125%;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 110%;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
h1 a,
|
||||
h2 a,
|
||||
h3 a,
|
||||
h4 a,
|
||||
h5 a,
|
||||
h6 a {
|
||||
color: #227496; ! important;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
table.invisible {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
table.invisible td,
|
||||
table.invisible th {
|
||||
padding: 1em;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user