You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by br...@apache.org on 2003/11/07 17:38:43 UTC

cvs commit: cocoon-2.1/src/blocks/woody/samples/resources woody.css woody-samples-styling.xsl

bruno       2003/11/07 08:38:43

  Modified:    src/blocks/woody/samples/resources woody-samples-styling.xsl
  Added:       src/blocks/woody/samples/resources woody.css
  Log:
  Put CSS styles in separate file.
  
  Revision  Changes    Path
  1.3       +1 -29     cocoon-2.1/src/blocks/woody/samples/resources/woody-samples-styling.xsl
  
  Index: woody-samples-styling.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/resources/woody-samples-styling.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- woody-samples-styling.xsl	6 Nov 2003 13:26:45 -0000	1.2
  +++ woody-samples-styling.xsl	7 Nov 2003 16:38:43 -0000	1.3
  @@ -13,35 +13,7 @@
         <!-- insert the head snippets required by the styling stylesheets -->
         <xsl:call-template name="woody-page-head"/>
         <xsl:call-template name="woody-field-head"/>
  -      <style type="text/css">
  -        .woody-tab {
  -            background-color: #ffffff;
  -            border: 1px solid #000000;
  -            border-bottom-width: 0px;
  -            padding: 2px 1em 2px 1em;
  -            margin-right: 5px;
  -            position: relative;
  -            text-decoration: none;
  -            top: -1px;
  -            z-index: 100;
  -            cursor: pointer;
  -        }
  -              
  -        .woody-tab.woody-activeTab {
  -            z-index: 102;
  -            font-weight: bold;
  -            padding-top: 5px;
  -            cursor: default;
  -        }
  -        
  -        .woody-tabContent {
  -            background-color: #ffffff;
  -            border: 1px solid #000000;
  -            padding: 1em;
  -            position: relative;
  -            z-index: 101;
  -        }
  -      </style>
  +      <link rel="stylesheet" type="text/css" href="resources/woody.css"/>
       </xsl:copy>
     </xsl:template>
     
  
  
  
  1.1                  cocoon-2.1/src/blocks/woody/samples/resources/woody.css
  
  Index: woody.css
  ===================================================================
  .woody-tab {
      background-color: #ffffff;
      border: 1px solid #000000;
      border-bottom-width: 0px;
      padding: 2px 1em 2px 1em;
      margin-right: 5px;
      position: relative;
      text-decoration: none;
      top: -1px;
      z-index: 100;
      cursor: pointer;
  }
        
  .woody-tab.woody-activeTab {
      z-index: 102;
      font-weight: bold;
      padding-top: 5px;
      cursor: default;
  }
  
  .woody-tabContent {
      background-color: #ffffff;
      border: 1px solid #000000;
      padding: 1em;
      position: relative;
      z-index: 101;
  }
  
  .woody-validation-message-indicator:link {
      color: red;
      font-weight: bold;
  }