[Checkins] SVN: Products.CMFDefault/trunk/Products/CMFDefault/ Skin definition set absolute to defaut.

Charlie Clark charlie at begeistert.org
Fri Apr 2 10:11:09 EDT 2010


Log message for revision 110450:
  Skin definition set absolute to defaut.
  Basic styling complete.

Changed:
  U   Products.CMFDefault/trunk/Products/CMFDefault/profiles/absolut/skins.xml
  U   Products.CMFDefault/trunk/Products/CMFDefault/skins/absolut/css/screen.css
  U   Products.CMFDefault/trunk/Products/CMFDefault/skins/absolut/main_template.pt

-=-
Modified: Products.CMFDefault/trunk/Products/CMFDefault/profiles/absolut/skins.xml
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/profiles/absolut/skins.xml	2010-04-02 12:07:42 UTC (rev 110449)
+++ Products.CMFDefault/trunk/Products/CMFDefault/profiles/absolut/skins.xml	2010-04-02 14:11:09 UTC (rev 110450)
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <object name="portal_skins" meta_type="CMF Skins Tool" allow_any="False"
-   cookie_persistence="False" default_skin="Basic"
+   cookie_persistence="False" default_skin="absolut"
    request_varname="portal_skin">
  <object name="absolut" meta_type="Filesystem Directory View"
     directory="Products.CMFDefault:skins/absolut"/>

Modified: Products.CMFDefault/trunk/Products/CMFDefault/skins/absolut/css/screen.css
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/skins/absolut/css/screen.css	2010-04-02 12:07:42 UTC (rev 110449)
+++ Products.CMFDefault/trunk/Products/CMFDefault/skins/absolut/css/screen.css	2010-04-02 14:11:09 UTC (rev 110450)
@@ -1,10 +1,11 @@
 /* global style definitions */
 
+
 body {
     width: 60em;
-    max-width: 76.255em;
-    margin: 252px auto 1em auto; 
-    background: #FFF url(images/header.jpg) no-repeat center 0%;
+    max-width: 76em;
+    margin: 0 auto 1em auto; 
+    background: #FFF;
     font: normal 100%;
 }
 
@@ -20,96 +21,106 @@
     text-decoration: underline;
 }
 
+nav ul { /* all lists */
+    padding: 0;
+    margin: 0;
+    list-style: none;
+    }
 
-nav#top {
+nav li a{
+    display: block;
+    }
+
+/*Site Navigation*/
+
+nav#site {
+    background: #369;
     float: left;
-    width: 48%;
-    margin: 1em 0em 1em 20em;
-    font-size: 0.75em;
+    width: 100%;
 }
 
-nav#top a{
+nav#site a{
     display: block;
     float: left;
-    width: 25%;
+    font-size: 80%;
+}
+
+nav#site li a{
+    margin-right: 0.5em;
+    text-transform: lowercase;
+    color: #FFF;
     }
 
-#top a:hover {
-    font-weight: bold;
+nav#site ul{
+    margin-top: 0.1em;
+    float: right;
 }
 
-nav#left {
+nav#site form{
+    display: block;
+    float: left;
+}
+
+/*User navigation*/
+
+nav#user {
+    width: 100%;
+    float: left;
     clear: left;
+    background: #59C;
+    border-top: #CCC 1px solid;
 }
 
-nav#left, {
+nav#user .username {
     float: left;
-    border: 2px solid #EEE;
-    border-top: 2px solid #DDD;
-    border-left: 2px solid #DDD;
-    margin: 0;
-    padding: 0 0 0 0.625em;
-    width: 13.5em;
+    font-weight: bold;
+    font-size: 90%;
 }
 
-nav ul { /* all lists */
-    padding: 0;
-    margin: 0;
-    list-style: none;
-    }
+nav#user ul {
+    float: right;
+}
 
-nav li { /* all list items */
-    margin-top: 1em;
-    }
-    
-nav li ul li {
-    margin: 0;
-    margin-left: 1.5em;
+nav#user a {
 }
 
-nav li a{
-    display: block;
-    font-size: 0.875em;
+nav#user a {
+    color: #FFF;
+    float: left;
+    margin-right: 0.5em;
     font-weight: bold;
-    }
+    font-size: 90%;
+}
 
-nav li ul li a{
-    font-weight: normal;
+nav#actions {
+    background: #AAA;
+    clear: left;
+    float: left;
+    width: 20%;
 }
 
-nav#left a {
-    color: #b4975d;
+nav#actions a{
+    color: #FFF;
+    font-weight: bold;
 }
 
-nav#left a:hover{
-    color: #c63540;
+nav#actions ul{
+    border-top: 0.1em solid #FFF;
 }
 
-#main {
-/*    490px 30.625em*/
+nav#actions li a{
+    display: inline;
+    padding: 0.1em;
+}
+
+#Desktop {
+    background: #FFF;
     float: left;
-    width: 28.625em;
-    border-top: 2px solid #DDD;
-    margin: 0 0.625em 0 0.625em;
-    padding: 0 0.375em 0 0.375em;
-    font-size: 0.875em;
+    width: 78%;
+    margin: 1em 0  0 1em;
 }
 
-#main a {
+#Desktop a {
     text-decoration: none;
     border-bottom: 1px dotted #000;
-}
-
-#main a:hover {
-    background: #DDD;
-}
-
-#footer {
-    clear: left;
-    width: 29em;
-    margin: 1em auto;
-    }
-
-#footer a {
-    font-size: 0.75em;
 }
\ No newline at end of file

Modified: Products.CMFDefault/trunk/Products/CMFDefault/skins/absolut/main_template.pt
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/skins/absolut/main_template.pt	2010-04-02 12:07:42 UTC (rev 110449)
+++ Products.CMFDefault/trunk/Products/CMFDefault/skins/absolut/main_template.pt	2010-04-02 14:11:09 UTC (rev 110450)
@@ -10,7 +10,7 @@
  <title tal:content="globals/page_title">Title goes here</title>
  
  <!--[if IE]>
- <script src="js/html5.js"
+ <script src="/js/html5.js"
          tal:attributes="src string: ${portal_url}/js/html5.js"></script>
  <![endif]-->
  <!--[if lte IE 6]><meta name="name" content="content"><![endif]-->
@@ -34,46 +34,73 @@
 
 <body>
 
- <div id="Desktop">
+ <nav id="site">
+   <a href="/" tal:attributes="href string:${portal_url}/">
+      <img src="Zope_logo.gif" alt="Zope Logo"
+         border="0" width="87" height="38"
+         tal:attributes="src string:${portal_url}/Zope_logo.gif" />
+   </a>
+   <ul>
+    <li>
+      <a href="."
+       tal:attributes="href string:${portal_url}/"
+       i18n:translate="">home</a>
+    </li>
+    <li>
+    <a href="roster"
+       tal:attributes="href globals/membersfolder/absolute_url"
+       tal:content="globals/membersfolder/getId"
+       i18n:translate="">members</a>
+    </li>
+    <li>
+    <a href="recent_news"
+       tal:attributes="href string:${portal_url}/recent_news"
+       i18n:translate="">news</a>
+    </li>
+    <li>
+    <a href="search_form"
+       tal:attributes="href string:${portal_url}/search_form"
+       i18n:translate="">search</a>
+    </li>
+     <form action="search" method="get"
+              tal:attributes="action string:${portal_url}/search">
+     <input name="SearchableText" type="search" />
+     <input type="image" name="go" value="go" src="go.gif"
+            align="middle"
+            tal:attributes="src string:${portal_url}/go.gif" />
+    </form>
+  </ul>
 
-  <div id="Breadcrumbs">
-   <span class="breadcrumb"
-         tal:repeat="bc globals/breadcrumbs">
-    <a href="."
-        tal:attributes="href bc/url"
-        tal:content="bc/id">ID</a>
-   </span>
-  </div>
-
-  <p id="DesktopStatusBar"
-     tal:condition="globals/status_message"
-     tal:content="globals/status_message"
-     i18n:translate="">Status message.</p>
-
-  <metal:slot metal:define-slot="body">
-   <metal:slot metal:define-slot="header" />
-   <metal:slot metal:define-slot="main" />
-  </metal:slot>
-
- </div>
-
- <div id="object_meta">
-  <img id="object_icon"
-       src="icon" align="left" title="Type" alt="[X]" height="16" width="16"
-       tal:condition="globals/icon"
-       tal:attributes="src globals/icon;
-                       alt globals/typename;
-                      "
-       i18n:attributes="alt" />
-  <div id="object_id"
-       tal:content="globals/trunc_id">ID</div>
-  <div id="object_type"
-       tal:content="globals/typename">TYPENAME</div>
-  <div id="workflow_state"
-       tal:content="globals/wf_state">WORKFLOW STATE</div>
- </div>
-
- <ul id="object_actions_menu">
+ </nav>
+ 
+ <nav id="user">
+   <div class="username" tal:content="globals/membername">USERNAME</div>
+   <ul>
+    <li tal:repeat="action globals/user_actions">
+     <a href="#user_action"
+        tal:attributes="href action/url;
+                        target action/link_target|nothing"
+        tal:content="action/title" i18n:translate="">USER ACTION TITLE</a>
+    </li>
+   </ul>
+ </nav>
+ 
+ <nav id="actions">
+   <img id="object_icon"
+        src="icon" align="left" title="Type" alt="[X]" height="16" width="16"
+        tal:condition="globals/icon"
+        tal:attributes="src globals/icon;
+                        alt globals/typename;
+                       "
+        i18n:attributes="alt" />
+   <div id="object_id"
+        tal:content="globals/trunc_id">ID</div>
+   <div id="object_type"
+        tal:content="globals/typename">TYPENAME</div>
+   <div id="workflow_state"
+        tal:content="globals/wf_state">WORKFLOW STATE</div>
+      
+ <ul id="object_actions_menu" tal:condition="globals/object_actions">
   <li tal:repeat="action globals/object_actions">
   <a href="#object_action"
       tal:attributes="href action/url;
@@ -83,7 +110,7 @@
   </li>
  </ul>
 
- <ul id="workflow_actions_menu">
+ <ul id="workflow_actions_menu" tal:condition="globals/workflow_actions">
   <li tal:repeat="action globals/workflow_actions">
   <a href="#workflow_action"
       tal:attributes="href action/url;
@@ -93,7 +120,7 @@
   </li>
  </ul>
 
- <ul id="folder_actions_menu">
+ <ul id="folder_actions_menu" tal:condition="globals/folder_actions">
   <li tal:repeat="action globals/folder_actions">
   <a href="#folder_action"
       tal:attributes="href action/url;
@@ -103,7 +130,7 @@
   </li>
  </ul>
 
- <ul id="add_actions_menu">
+ <ul id="add_actions_menu" tal:condition="globals/add_actions">
   <li tal:repeat="action globals/add_actions">
   <a href="#add_action"
       tal:attributes="href action/url;
@@ -113,24 +140,39 @@
   </li>
  </ul>
 
- <ul id="user_actions_menu">
-  <li tal:repeat="action globals/user_actions">
-   <a href="#user_action"
-      tal:attributes="href action/url;
-                      target action/link_target|nothing"
-      tal:content="action/title" i18n:translate="">USER ACTION TITLE</a>
-  </li>
- </ul>
-
- <ul id="global_actions_menu">
-  <li tal:repeat="action globals/global_actions">
+ <ul id="global_actions_menu" tal:condition="globals/add_actions">
+  <li tal:repeat="action globals/add_actions">
    <a href="#global_action"
       tal:attributes="href action/url;
                       target action/link_target|nothing"
       tal:content="action/title" i18n:translate="">GLOBAL ACTION TITLE</a>
   </li>
  </ul>
+ </nav>
+ 
+ <div id="Desktop">
 
+  <div id="Breadcrumbs">
+   <span class="breadcrumb"
+         tal:repeat="bc globals/breadcrumbs">
+    <a href="."
+        tal:attributes="href bc/url"
+        tal:content="bc/id">ID</a>
+   </span>
+  </div>
+
+  <p id="DesktopStatusBar"
+     tal:condition="globals/status_message"
+     tal:content="globals/status_message"
+     i18n:translate="">Status message.</p>
+
+  <metal:slot metal:define-slot="body">
+   <metal:slot metal:define-slot="header" />
+   <metal:slot metal:define-slot="main" />
+  </metal:slot>
+
+ </div>
+
 </body>
 </html>
 </metal:macro>
\ No newline at end of file



More information about the checkins mailing list