[Checkins] SVN: gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/
Minor enhancements to the visual look. Added banner shadow.
Moved design-credits into the colophon. Made link color in
portlets easier to read.
Kevin Teague
kevin at bud.ca
Sun Nov 18 18:43:39 EST 2007
Log message for revision 81926:
Minor enhancements to the visual look. Added banner shadow. Moved design-credits into the colophon. Made link color in portlets easier to read.
Changed:
U gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/browser/configure.zcml
U gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/browser/credits.pt
D gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/browser/viewlets.py
D gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/profiles/default/viewlets.xml
A gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/skins/smash_custom_images/arrowLeft.gif
A gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/skins/smash_custom_images/arrowRight.gif
A gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/skins/smash_custom_images/linkOpaque.gif
U gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/skins/smash_images/Banner_shadow.jpg
U gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/skins/smash_styles/gzo.plonesmashtheme.css.dtml
-=-
Modified: gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/browser/configure.zcml
===================================================================
--- gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/browser/configure.zcml 2007-11-18 22:54:32 UTC (rev 81925)
+++ gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/browser/configure.zcml 2007-11-18 23:43:39 UTC (rev 81926)
@@ -9,12 +9,13 @@
name="Grok Smash Theme"
/>
- <!-- Design credits viewlet -->
+ <!-- Colophon viewlet -->
<browser:viewlet
- name="plonetheme.credits"
+ name="plone.colophon"
+ for="*"
manager="plone.app.layout.viewlets.interfaces.IPortalFooter"
- class=".viewlets.CreditsViewlet"
layer=".interfaces.IThemeSpecific"
+ template="credits.pt"
permission="zope2.View"
/>
Modified: gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/browser/credits.pt
===================================================================
--- gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/browser/credits.pt 2007-11-18 22:54:32 UTC (rev 81925)
+++ gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/browser/credits.pt 2007-11-18 23:43:39 UTC (rev 81926)
@@ -1,16 +1,20 @@
-<div id="design-credits"
- i18n:domain="grok">
+<div id="portal-colophon" metal:define-macro="colophon" i18n:domain="plone">
- <div style="text-align: center;">
- <a href="http://www.zope.org" style="border-width: 0">
- <img src="#" tal:attributes="src string: ${here/portal_url}/LogoZope.jpg">
- </a>
- <a href="http://www.python.org" style="border-width: 0">
- <img src="#" tal:attributes="src string: ${here/portal_url}/LogoPython.jpg">
- </a>
- </div>
+ <metal:slot define-slot="colophon" />
- <p id="copyright">
- © Copyright 2007, The Grok Community</p>
+ <div class="colophonWrapper">
+
+ <div style="text-align: center;">
+ <a href="http://www.zope.org" style="border-width: 0">
+ <img src="#" tal:attributes="src string: ${here/portal_url}/LogoZope.jpg">
+ </a>
+ <a href="http://www.python.org" style="border-width: 0">
+ <img src="#" tal:attributes="src string: ${here/portal_url}/LogoPython.jpg">
+ </a>
+ </div>
-</div>
+ <p id="copyright">© Copyright 2007, The Grok Community</p>
+
+ </div>
+
+</div>
\ No newline at end of file
Deleted: gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/browser/viewlets.py
===================================================================
--- gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/browser/viewlets.py 2007-11-18 22:54:32 UTC (rev 81925)
+++ gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/browser/viewlets.py 2007-11-18 23:43:39 UTC (rev 81926)
@@ -1,13 +0,0 @@
-from zope.component import getMultiAdapter
-from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
-from plone.app.layout.viewlets.common import ViewletBase
-
-from gzo.plonesmashtheme.config import DESIGNER
-
-class CreditsViewlet(ViewletBase):
- render = ViewPageTemplateFile('credits.pt')
-
- def update(self):
- # set here the values that you need to grab from the template.
- # stupid example:
- self.designer = DESIGNER
Deleted: gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/profiles/default/viewlets.xml
===================================================================
--- gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/profiles/default/viewlets.xml 2007-11-18 22:54:32 UTC (rev 81925)
+++ gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/profiles/default/viewlets.xml 2007-11-18 23:43:39 UTC (rev 81926)
@@ -1,32 +0,0 @@
-<?xml version="1.0"?>
-
-<object>
-
- <!-- Viewlets keep the same ordering than the default skin ('Plone Default'
- out of the box).
- You can specify skinname="*" if you want changes apply for all skins.
- Using "True"" for the 'make-default' parameter will make the 'skinname'
- value set as default skinname. Means the name of the skin that would be
- used in case the viewlets ordering was not specified for the currently
- used skin.
- The 'based-on' attribute lets you inherit the viewlets ordering from an
- existing skin.
- -->
- <order manager="plone.portalfooter" skinname="Grok Smash Theme"
- based-on="Plone Default">
- <!-- The definition of a viewlet accepts these parameters:
- - name: quite self explanatory, the name of the viewlet.
- - insert-before: name of the viewlet before which it must be added or
- moved.
- - insert-after: name of the viewlet after which it must be added
- or moved.
- - remove: supported but rarely needed, removes the viewlet from the
- ordering list (doesn't mean that it hides the viewlet).
- Note: insert-before and -after accept the value "*" which means
- "all".
- -->
- <viewlet name="plonetheme.credits"
- insert-after="*" />
- </order>
-
-</object>
Added: gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/skins/smash_custom_images/arrowLeft.gif
===================================================================
(Binary files differ)
Property changes on: gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/skins/smash_custom_images/arrowLeft.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/skins/smash_custom_images/arrowRight.gif
===================================================================
(Binary files differ)
Property changes on: gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/skins/smash_custom_images/arrowRight.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/skins/smash_custom_images/linkOpaque.gif
===================================================================
(Binary files differ)
Property changes on: gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/skins/smash_custom_images/linkOpaque.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/skins/smash_images/Banner_shadow.jpg
===================================================================
(Binary files differ)
Modified: gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/skins/smash_styles/gzo.plonesmashtheme.css.dtml
===================================================================
--- gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/skins/smash_styles/gzo.plonesmashtheme.css.dtml 2007-11-18 22:54:32 UTC (rev 81925)
+++ gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/skins/smash_styles/gzo.plonesmashtheme.css.dtml 2007-11-18 23:43:39 UTC (rev 81926)
@@ -23,8 +23,7 @@
#portal-searchbox,
#portal-globalnav,
#portal-breadcrumbs,
-#portal-footer,
-#portal-colophon {
+#portal-footer {
display: none;
}
@@ -205,6 +204,10 @@
/* Portal Personal Tools */
+#portal-personaltools-wrapper {
+ background: transparent url(&dtml-portal_url;/Banner_shadow.jpg) repeat-x;
+}
+
#portal-personaltools {
font-size: 0.8em;
line-height:1.6em;
@@ -275,7 +278,7 @@
}
.portlet a {
- color: #F7DA4A;
+ color: #436976;
}
.portletHeader {
@@ -621,4 +624,16 @@
font-size: 80%;
}
+.tutorialAbout {
+ display: none !important;
+}
+
+/* Unorganized CSS tweaks - clean me up */
+
+.listingNext {
+ text-align: right;
+ float: right;
+ margin-left: 1em;
+}
+
/* </dtml-with> (please do not molest the dtml) */
More information about the Checkins
mailing list