[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/styleguide/ Added styleguide package files

Roger Ineichen roger at projekt01.ch
Thu Feb 17 15:42:31 EST 2005


Log message for revision 29183:
  Added styleguide package files

Changed:
  A   Zope3/trunk/src/zope/app/styleguide/README.txt
  A   Zope3/trunk/src/zope/app/styleguide/TODO.txt
  A   Zope3/trunk/src/zope/app/styleguide/__init__.py
  A   Zope3/trunk/src/zope/app/styleguide/configure.zcml
  A   Zope3/trunk/src/zope/app/styleguide/styleguide.css

-=-
Added: Zope3/trunk/src/zope/app/styleguide/README.txt
===================================================================
--- Zope3/trunk/src/zope/app/styleguide/README.txt	2005-02-17 20:41:59 UTC (rev 29182)
+++ Zope3/trunk/src/zope/app/styleguide/README.txt	2005-02-17 20:42:31 UTC (rev 29183)
@@ -0,0 +1,5 @@
+============
+Style Guides
+============
+
+In this package you can find several styleguides for zope3.


Property changes on: Zope3/trunk/src/zope/app/styleguide/README.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Added: Zope3/trunk/src/zope/app/styleguide/TODO.txt
===================================================================
--- Zope3/trunk/src/zope/app/styleguide/TODO.txt	2005-02-17 20:41:59 UTC (rev 29182)
+++ Zope3/trunk/src/zope/app/styleguide/TODO.txt	2005-02-17 20:42:31 UTC (rev 29183)
@@ -0,0 +1,51 @@
+====
+TODO
+====
+
+- Decide where we should place the style guides. I think the source zope.app 
+  is the right place, because we can include it in the onlinehelp.
+
+- fix ther onlinehelp template. Make it work that the tree box and 
+  the topic are next to each other and not below.
+  
+- Chechout if the online help works and include it in a own section
+  like 'skins.???'
+
+- Remove CSS test skin
+
+  Test skin "CSS" (just for prototyping) is located in src.css.browser
+  You can call it like::
+
+  http://localhost:8080/++skin++CSS
+
+  I've added a temporary test skin "CSS" in ./skin. We will remove it
+  after defining the style sheet. The new style sheet will be used in the
+  Rotterdam skin or the replacement of the Rotterdam later.
+
+  The default (Rotterdam) skin should use the zope3.css file in this
+  package. This way we can support one place where we have to update.
+
+  That's also the reason why this pakage is here and not in the 
+  zope.doc.
+
+- Search for used styles and add it to the following files:
+
+  o samples.html
+  o zope3.css
+  
+  We can copy paste it form the rotterdam skin. But check each
+  css tag. Perhaps we have obsolate tags in the rotterdam css
+  since we never did take care on it
+
+- Review text and correct Roger's swiss-german-english typos
+
+Bugs (seen in Rotterdam skin)
+-----------------------------
+
+- Fix resizing of left navigation, the navigation cuts long words
+
+- Fix long menues (zmi_actions), they get lost on the white background if
+  they get rendered in a second line below the blue bar
+
+- Fix colors in zope3.css
+  Don't use short colors like #369, they are not useable all graphic tools


Property changes on: Zope3/trunk/src/zope/app/styleguide/TODO.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Added: Zope3/trunk/src/zope/app/styleguide/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/styleguide/__init__.py	2005-02-17 20:41:59 UTC (rev 29182)
+++ Zope3/trunk/src/zope/app/styleguide/__init__.py	2005-02-17 20:42:31 UTC (rev 29183)
@@ -0,0 +1,17 @@
+##############################################################################
+#
+# Copyright (c) 2002 - 2005 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Zope3 styleguide
+
+$Id$
+"""


Property changes on: Zope3/trunk/src/zope/app/styleguide/__init__.py
___________________________________________________________________
Name: svn:eol-style
   + native

Added: Zope3/trunk/src/zope/app/styleguide/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/styleguide/configure.zcml	2005-02-17 20:41:59 UTC (rev 29182)
+++ Zope3/trunk/src/zope/app/styleguide/configure.zcml	2005-02-17 20:42:31 UTC (rev 29183)
@@ -0,0 +1,22 @@
+<configure
+    xmlns="http://namespaces.zope.org/zope"
+    xmlns:browser="http://namespaces.zope.org/browser"
+    xmlns:help="http://namespaces.zope.org/help"
+    i18n_domain="zope">
+
+  <browser:resource 
+      name="styleguide.css" 
+      file="styleguide.css"
+      />
+
+  <help:register
+      id="styleguide"
+      title="Style Guides"
+      doc_path="README.txt"
+      class="zope.app.onlinehelp.onlinehelptopic.RESTOnlineHelpTopic"
+      />
+
+  <include package=".form" />
+  <include package=".i18n" />
+
+</configure>


Property changes on: Zope3/trunk/src/zope/app/styleguide/configure.zcml
___________________________________________________________________
Name: svn:eol-style
   + native

Added: Zope3/trunk/src/zope/app/styleguide/styleguide.css
===================================================================
--- Zope3/trunk/src/zope/app/styleguide/styleguide.css	2005-02-17 20:41:59 UTC (rev 29182)
+++ Zope3/trunk/src/zope/app/styleguide/styleguide.css	2005-02-17 20:42:31 UTC (rev 29183)
@@ -0,0 +1,74 @@
+table.samples {
+    width: 650px;
+    border-top: 1px solid #CCCCCC;
+    border-left: 1px solid #CCCCCC;
+}
+
+table.samples th {
+    font-size: 15px;
+    font-weight: normal;
+    text-align: left;
+    white-space: nowrap;
+    background: silver;
+    padding: 5px 10px 5px 10px;
+    border-bottom: 1px solid #CCCCCC;
+}
+
+table.samples th.number {
+    padding: 5px;
+}
+
+table.samples td.header {
+    font-size: 15px;
+    font-weight: bold;
+    text-align: left;
+    background: gainsboro;
+    padding: 5px 10px 5px 5px;
+    border-right: 1px solid #CCCCCC;
+    border-bottom: 1px solid #CCCCCC;
+}
+
+table.samples td.abstract {
+    font-size: 14px;
+    color: #666666;
+    background: #F0F0F0;
+    padding: 5px 10px 5px 20px;
+    border-right: 1px solid #CCCCCC;
+    border-bottom: 1px solid #CCCCCC;
+}
+
+table.samples td.number {
+    width: 30px;
+    height: 20px;
+    color: white;
+    background: #306090;
+    padding: 5px;
+    border-bottom: 1px solid #CCCCCC;
+}
+
+table.samples td.tag, td.element, td.class {
+    width: 30px;
+    height: 20px;
+    font-size: 12px;
+    font-weight: bold;
+    background: gainsboro;
+    padding: 5px 10px 5px 20px;
+    border-right: 1px solid #CCCCCC;
+    border-bottom: 1px solid #CCCCCC;
+}
+
+table.samples td.description {
+    font-size: 13px;
+    color: #666666;
+    background: #F0F0F0;
+    padding: 5px 10px 5px 20px;
+    border-right: 1px solid #CCCCCC;
+    border-bottom: 1px solid #CCCCCC;
+}
+
+table.samples td.sample, td.code {
+    white-space: nowrap;
+    padding: 5px 10px 5px 20px;
+    border-right: 1px solid #CCCCCC;
+    border-bottom: 1px solid #CCCCCC;
+}


Property changes on: Zope3/trunk/src/zope/app/styleguide/styleguide.css
___________________________________________________________________
Name: svn:eol-style
   + native



More information about the Zope3-Checkins mailing list