1. Marcio Mazza
  2. ploneorgbr.portal.theme

Commits

Davi Medeiros  committed 9359a02

Adds breadcrumb and editbar

  • Participants
  • Parent commits 7c02f9f
  • Branches default

Comments (0)

Files changed (2)

File ploneorgbr/portal/theme/static/css/plone.css

View file
     padding-left: 15px;
     width: 213px;
 }
+.template-frontpage .searchSection, .template-frontpage #portal-breadcrumbs { display: none; }
 .LSBox .searchSection { margin: 1em 0 0 1.25em; }
 #user {
     float: right;
     position: relative;
     top: -3em;
 }
-#content-views {
-    margin: 1em 0;
-}
 #edit-bar {
     background-color: #75AD0A;
     clear: both;
     margin: 0 auto;
-    width: 910px;
 }
 #edit-menu ul {
     background-color: #76AD17;
 }
 .contentActions {
     background-color: white;
-    height: 1.6em;
-    padding: 0 0 0 1em;
-    position: relative;
-    text-align: right;
     z-index: 2;
 }
 .contentActions ul, .contentActions li {

File ploneorgbr/portal/theme/static/rules.xml

View file
     <drop theme="/html/head/meta" />
     <after content="/html/head/meta" theme-children="/html/head" />
 
+    <!-- Add title -->
+    <replace content="/html/head/title" theme="/html/head/title" />
+
     <!-- Copy style, script and link tags in the order they appear in the content -->
     <after
         content="/html/head/style | /html/head/script | /html/head/link"
     <!--replace css:content="#portal-siteactions li" css:theme-children="#portal-siteactions li" /-->
 
     <!-- Searchbox -->
-
+    <drop css:content="input.searchButton" />
     <replace css:content-children='#portal-searchbox' css:theme-children='#portal-searchbox' />
-    <!--copy attributes="*" css:co  ntent="#portal-searchbox form" css:theme="#search" />
-    <copy attributes="*" css:content="#searchGadget" css:theme="#search-site" /-->
 
     <!-- Global navigation -->
     <replace css:content='#portal-globalnav li' css:theme-children='#main-nav' />
 
     <!-- Breadcrumbs -->
-    <!--replace css:content='#portal-breadcrumbs' css:theme='#breadcrumbs' /-->
+    <replace css:content='#portal-breadcrumbs' css:theme='#breadcrumbs' />
 
     <!-- Document Content -->
+    <before css:content="#edit-bar" css:theme="#content" />
+    <before css:content=".portalMessage" css:theme="#content" />
     <replace css:content="#content" css:theme="#content" />
-    <before css:content="#edit-bar" css:theme="#document-content" css:if-content="" />
-    <before css:content=".portalMessage" css:theme="#content" />
 
     <!-- Columns -->
     <replace css:content-children="#portal-column-one > *" css:theme-children="#column-one" />