A
ZStyleSheet represents a cascading stylesheet in your ZOPE tree.
To add CSS rules to the
ZStyleSheet,
add a
ZSSRule. Each
ZSSRule can contain one or more
ZSSSelector and one or more
ZSSAttribute. You can also link to other
ZStyleSheets using a
ZSSLink.
A
ZSSLink allows you to link to another
ZStyleSheet. The main reason for this is that some browsers
do not support multiple <LINK... > tags in a document and
some do not even support proper cascading within stylesheets.
Some attempt is made to prevent you from rendering a closed loop
(A links to B, B links to C, C links to A...) but it does not stop
you from creating links like this.
The worst that should happen is
that you get one of the
ZStyleSheet rendered twice, which should not invalidate
the resulting style sheet.
A
ZSSSelector represents a cascading stylesheet selector in your
ZOPE tree. You add one or more
ZSSSelector(s) to a
ZSSRule to tell
the browser when to apply the
ZSSAttribute(s) in this rule
qU__ac_local_roles__q }q
Uahungateq]qUOwnerq
asUglobalsq}qU__name__qUZSSSelector_addFormqU_varsq}qu. S n((UZClasses.ZClassqUZClassqtqNt.}q(U_zclass_propertysheets_classqU RqQUidqUZSSRuleqU_zbasesq ]q
(cZClasses.ZClass
ZObject
qcZClasses.ObjectManager
ZObjectManager
qcProducts.Renderable
_ZClass_for_Renderable
q
eU__ac_local_roles__q}qUadrianq]qUOwnerqasU_zclass_qU PqQUtitleqU Upropertysheetsq(U TqU UqQtQu. {((UApp.FactoryqUFactoryqtqNt.}q(U_permissionMapperqcAccessControl.PermissionMapping
PM
qNRq}qU_Use_Factories_Permissionq U_Add_ZStyleSheets_Permissionq
sbUidqUZSSSelector_factoryqU__ac_local_roles__q
}qUahungateq]qUOwnerqasUinitialqUZSSSelector_addFormqU
permissionqUAdd ZStyleSheetsqUtitleqUZSSSelector factoryqUobject_typeqUZSSSelectorqu. Z (cExtensionClass
ExtensionClass
q(UZSSSelector_PropertySheetsClassq(cZClasses.ZClass
PersistentClass
qcZClasses.Property
ZInstanceSheets
qtq}q(UiconqU U
_p_changedqKU__doc__q UZSSSelector Property Sheetsq
U__propset_attrs__q(U
Propertiesqtq
U_p_oidqU ZqU
Propertiesq(U cq(UZClasses.PropertyqUZInstanceSheetqttQU
__module__qNU _p_serialqU1xȾqutqt.N. X (cExtensionClass
ExtensionClass
q(UZSSSelectorq(cZClasses.ZClass
PersistentClass
qcProducts.Renderable.Renderable
Renderable
qcOFS.SimpleItem
SimpleItem
qtq}q(UiconqU9Control_Panel/Products/ZStyleSheet/ZSSSelector/ziconImageq U
_p_changedq
KU__doc__qUZSSSelectorqU_p_oidq
U XqU meta_typeqUZSSSelectorqU _p_serialqU1܈eqUpropertysheetsq(U YqU ZqQtQUselectorqU Umanage_optionsq(}q(UlabelqUBasicqUactionqU propertysheets/Properties/managequ}q(hUViewqhUrenderqutq U
ziconImageq!(U eq"(U OFS.Imageq#UImageq$ttQUtitleq%U Urenderq&cZClasses.Method
MW
q'NRq(}q)U$_ZClassMethodPermissionMapperMethod_q*(U 1q+(UOFS.DTMLMethodq,U
DTMLMethodq-ttQsbU__ac_permissions__q.)U
__module__q/U*CiWizrffQrnWzHCz2zK2ag==q0utq1t.N. ] O(cExtensionClass
ExtensionClass
q(U ZSSSelector_ZPropertySheetsClassq(cZClasses.ZClass
PersistentClass
qcOFS.PropertySheets
PropertySheets
qcZClasses.ZClass
ZClassSheets
qcApp.PersistentExtra
Persistent
qtq}q(Uiconq U U
_p_changedq
K U__doc__qU ZSSSelector_ZPropertySheetsClassqU_p_oidq
U ]qU
__module__qNutqt.N. \ (U ]qQNt.}q(Ucommonq(U ^q(UZClasses.PropertyqUZInstanceSheetsSheetqttQUmethodsq(U _q(UZClasses.Methodq UZClassMethodsSheetq
ttQu. (cExtensionClass
ExtensionClass
q(UZStyleSheet_PropertySheetsClassq(cZClasses.ZClass
PersistentClass
qcZClasses.Property
ZInstanceSheets
qtq}q(UiconqU U
_p_changedqKU__doc__q UZStyleSheet Property Sheetsq
U__propset_attrs__q(U
Propertiesqtq
U_p_oidqU qU
Propertiesq(U (q(UZClasses.PropertyqUZInstanceSheetqttQU
__module__qNU _p_serialqU1HCqutqt.N. (cExtensionClass
ExtensionClass
q(UZStyleSheetq(cZClasses.ZClass
PersistentClass
qcZClasses.ObjectManager
ObjectManager
qcProducts.Renderable.Renderable
Renderable
qcOFS.SimpleItem
SimpleItem
qtq}q(Uiconq U9Control_Panel/Products/ZStyleSheet/ZStyleSheet/ziconImageq
U
_p_changedqKU__doc__qUZStyleSheetq
UpreviewqcZClasses.Method
MW
qNRq}qU$_ZClassMethodPermissionMapperMethod_q(U 'q(UOFS.DTMLMethodqU
DTMLMethodqttQsbU
meta_typesq(}q(U
permissionqUAdd ZStyleSheetsqUnameqUZSSRuleqUproductqUZStyleSheetqUactionqU-manage_addProduct/ZStyleSheet/ZSSRule_factoryqu}q (U
permissionq!UAdd ZStyleSheetsq"Unameq#UZSSLinkq$Uproductq%UZStyleSheetq&Uactionq'U-manage_addProduct/ZStyleSheet/ZSSLink_factoryq(utq)U_p_oidq*U q+U meta_typeq,UZStyleSheetq-Uchildrenq.hNRq/}q0U$_ZClassMethodPermissionMapperMethod_q1(U q2(hU
DTMLMethodq3ttQsbUpropertysheetsq4(U (q5U q6QtQU__ac_permissions__q7)U
index_htmlq8hNRq9}q:h(U )q;(hU
DTMLMethodq}q?h1(U q@(hU
DTMLMethodqAttQsbUmanage_optionsqB(}qC(UlabelqDUContentsqEUactionqFUmanage_mainqGu}qH(UlabelqIUBasicqJUactionqKU propertysheets/Properties/manageqLu}qM(hDUViewqNhFUpreviewqOu}qP(hDUSecurityqQhFU
manage_accessqRutqSU
ziconImageqT(U *qU(U OFS.ImageqVUImageqWttQUisPrincipiaFolderishqXUYUtitleqYU UrenderqZhNRq[}q\h(U +q](hU
DTMLMethodq^ttQsbU _p_serialq_U1 hLq`U
__module__qaU*ZNB4pug6iT1pCKnfeCtUuQ==qbutqct.N. , (cExtensionClass
ExtensionClass
q(U ZStyleSheet_ZPropertySheetsClassq(cZClasses.ZClass
PersistentClass
qcZClasses.ObjectManager
ZObjectManagerPropertySheets
qcOFS.PropertySheets
PropertySheets
qcZClasses.ZClass
ZClassSheets
qcApp.PersistentExtra
Persistent
qtq}q (Uiconq
U U
_p_changedqK U__doc__qU ZStyleSheet_ZPropertySheetsClassq
U
__module__qNU_p_oidqU Mqutqt.N. (U ,qQNt.}q(Ucommonq(U -q(UZClasses.PropertyqUZInstanceSheetsSheetqttqQUmethodsq(U .q (UZClasses.Methodq
UZClassMethodsSheetqtqtq
Qu. (cExtensionClass
ExtensionClass
q(UZSSLink_PropertySheetsClassq(cZClasses.ZClass
PersistentClass
qcZClasses.Property
ZInstanceSheets
qtq}q(UiconqU U
_p_changedqKU__doc__q UZSSLink Property Sheetsq
U__propset_attrs__q(U
Propertiesqtq
U_p_oidqU qU
Propertiesq(U q(UZClasses.PropertyqUZInstanceSheetqttQU
__module__qNU _p_serialqU1ɔHqutqt.N. 1(cExtensionClass
ExtensionClass
q(UZSSLinkq(cZClasses.ZClass
PersistentClass
qcProducts.Renderable.Renderable
Renderable
qcOFS.SimpleItem
SimpleItem
qtq}q(UiconqU5Control_Panel/Products/ZStyleSheet/ZSSLink/ziconImageq U
_p_changedq
KU__doc__qUZSSLinkqU_p_oidq
U qU meta_typeqUZSSLinkqU _p_serialqU1.gqUpropertysheetsq(U qU qQtQUmanage_optionsq(}q(UlabelqUBasicqUactionqU propertysheets/Properties/managequ}q(hUViewqhUrenderqutqU
ziconImageq (U q!(U OFS.Imageq"UImageq#ttQUtitleq$U Urenderq%cZClasses.Method
MW
q&NRq'}q(U$_ZClassMethodPermissionMapperMethod_q)(U q*(UOFS.DTMLMethodq+U
DTMLMethodq,ttQsbU__ac_permissions__q-((UAdd ZSSLinksq.)(UManagerq/tttq0Ulink_toq1U U
__module__q2U*nRQ/qNmFP+9m8PjW1tv1Yw==q3utq4t.N. G(cExtensionClass
ExtensionClass
q(UZSSLink_ZPropertySheetsClassq(cZClasses.ZClass
PersistentClass
qcOFS.PropertySheets
PropertySheets
qcZClasses.ZClass
ZClassSheets
qcApp.PersistentExtra
Persistent
qtq}q(Uiconq U U
_p_changedq
K U__doc__qUZSSLink_ZPropertySheetsClassqU_p_oidq
U qU
__module__qNutqt.N. (U qQNt.}q(Ucommonq(U q(UZClasses.PropertyqUZInstanceSheetsSheetqttQUmethodsq(U q(UZClasses.Methodq UZClassMethodsSheetq
ttQu. E (cExtensionClass
ExtensionClass
q(U ZSSAttribute_PropertySheetsClassq(cZClasses.ZClass
PersistentClass
qcZClasses.Property
ZInstanceSheets
qtq}q(UiconqU U
_p_changedqKU__doc__q UZSSAttribute Property Sheetsq
U__propset_attrs__q(U
Propertiesqtq
U_p_oidqU EqU
Propertiesq(U Kq(UZClasses.PropertyqUZInstanceSheetqttQU
__module__qNU _p_serialqU1T9zqutqt.N. C %(cExtensionClass
ExtensionClass
q(UZSSAttributeq(cZClasses.ZClass
PersistentClass
qcProducts.Renderable.Renderable
Renderable
qcOFS.SimpleItem
SimpleItem
qtq}q(UiconqU:Control_Panel/Products/ZStyleSheet/ZSSAttribute/ziconImageq U
_p_changedq
KU__doc__qUZSSAttributeqU_p_oidq
U CqU
attr_valueqU U meta_typeqUZSSAttributeqU _p_serialqU1WUqUpropertysheetsq(U DqU EqQtQUmanage_optionsq(}q(UlabelqUBasicqUactionqU propertysheets/Properties/managequ}q(hUViewqhUrenderqutq U
ziconImageq!(U Mq"(U OFS.Imageq#UImageq$ttQUtitleq%U Urenderq&cZClasses.Method
MW
q'NRq(}q)U$_ZClassMethodPermissionMapperMethod_q*(U 8q+(UOFS.DTMLMethodq,U
DTMLMethodq-ttQsbU__ac_permissions__q.)U
__module__q/U*T76sYRi0vwzx3jQKNNrlTQ==q0utq1t.N. H Q(cExtensionClass
ExtensionClass
q(U!ZSSAttribute_ZPropertySheetsClassq(cZClasses.ZClass
PersistentClass
qcOFS.PropertySheets
PropertySheets
qcZClasses.ZClass
ZClassSheets
qcApp.PersistentExtra
Persistent
qtq}q(Uiconq U U
_p_changedq
K U__doc__qU!ZSSAttribute_ZPropertySheetsClassqU_p_oidq
U HqU
__module__qNutqt.N. G (U HqQNt.}q(Ucommonq(U Iq(UZClasses.PropertyqUZInstanceSheetsSheetqttQUmethodsq(U Jq(UZClasses.Methodq UZClassMethodsSheetq
ttQu. R (cExtensionClass
ExtensionClass
q(UZSSRule_PropertySheetsClassq(cZClasses.ZClass
PersistentClass
qcZClasses.Property
ZInstanceSheets
qtq}q(UiconqU U
_p_changedqKU__doc__q UZSSRule Property Sheetsq
U__propset_attrs__q(U
Propertiesqtq
U_p_oidqU RqU
Propertiesq(U `q(UZClasses.PropertyqUZInstanceSheetqttQU
__module__qNU _p_serialqU1w8Gnqutqt.N. P r(cExtensionClass
ExtensionClass
q(UZSSRuleq(cZClasses.ZClass
PersistentClass
qcZClasses.ObjectManager
ObjectManager
qcProducts.Renderable.Renderable
Renderable
qcOFS.SimpleItem
SimpleItem
qtq}q(Uiconq U5Control_Panel/Products/ZStyleSheet/ZSSRule/ziconImageq
U
_p_changedqKU__doc__qUZSSRuleq
U
meta_typesq(}q(U
permissionqUAdd ZStyleSheetsqUnameqUZSSSelectorqUproductqUZStyleSheetqUactionqU1manage_addProduct/ZStyleSheet/ZSSSelector_factoryqu}q(hUAdd ZStyleSheetsqhUZSSAttributeqhhhU2manage_addProduct/ZStyleSheet/ZSSAttribute_factoryqutqU_p_oidqU PqU meta_typeqUZSSRuleq U _p_serialq!U1܃q"Upropertysheetsq#(U Qq$U Rq%QtQUmanage_optionsq&(}q'(Ulabelq(UContentsq)hUmanage_mainq*u}q+(h(UBasicq,hU propertysheets/Properties/manageq-u}q.(h(UViewq/hUrenderq0utq1U
ziconImageq2(U bq3(U OFS.Imageq4UImageq5ttQUisPrincipiaFolderishq6UYUtitleq7U Urenderq8cZClasses.Method
MW
q9NRq:}q;U$_ZClassMethodPermissionMapperMethod_q<(U ?q=(UOFS.DTMLMethodq>U
DTMLMethodq?ttQsbU__ac_permissions__q@)U
__module__qAU*qq41E4KfXbqz8Mhyw9h1iQ==qButqCt.N. U ~(cExtensionClass
ExtensionClass
q(UZSSRule_ZPropertySheetsClassq(cZClasses.ZClass
PersistentClass
qcZClasses.ObjectManager
ZObjectManagerPropertySheets
qcOFS.PropertySheets
PropertySheets
qcZClasses.ZClass
ZClassSheets
qcApp.PersistentExtra
Persistent
qtq}q (Uiconq
U U
_p_changedqK U__doc__qUZSSRule_ZPropertySheetsClassq
U_p_oidqU UqU
__module__qNutqt.N. T (U UqQNt.}q(Ucommonq(U Vq(UZClasses.PropertyqUZInstanceSheetsSheetqttQUmethodsq(U Wq(UZClasses.Methodq UZClassMethodsSheetq
ttQu. c ((UZClasses.PropertyqUZInstanceSheetqtqNt.}q(U_mdq}qU_baseq(U dq(hUZCommonSheetq ttQUidq
U
Propertiesqu. Y (U ZqQNt.}q. e <((U OFS.ImageqUImageqtqNt.}q(UsizeqMUdataqT GIF89a sssBZ) ! , @h H A"X0"hp` x@/j8Qbɑ%Kc4p` Ϝ(Ѵ4=ZQPFժ;ej
;qU__name__qU
ziconImageq Utitleq
U Ucontent_typeqU image/gifqUpreconditionq
U UwidthqU16qUheightqU16qu. 1 ((UOFS.DTMLMethodqU
DTMLMethodqtqNt.}q(UtitleqURender a ZSSSelectorqUrawqUqU__ac_local_roles__q }q
(Uahungateq]qUOwnerq
aUadrianq]qUOwnerqauUglobalsq}qU__name__qUrenderqU_varsq}qu. ^ ((UZClasses.PropertyqUZInstanceSheetsSheetqtqNt.}q(U
Propertiesq(U dq(hUZCommonSheetqttQU_objectsq(}q (U meta_typeq
UCommon Instance Property SheetqUidqU
Propertiesq
utu. _ ((UZClasses.MethodqUZClassMethodsSheetqtqNt.}q(U_mdq}qUidqUmethodsqU_objectsq (}q
(U meta_typeqUDTML MethodqhUrender q
utu. ( ((UZClasses.PropertyqUZInstanceSheetqtqNt.}q(U_mdq}qU_baseq(U )q(hUZCommonSheetq ttQUidq
U
Propertiesqu. ' ((UOFS.DTMLMethodqU
DTMLMethodqtqNt.}q(UtitleqUPreview the ZStyleSheetqUrawqT
ZStyleSheet Preview of ""