Title: [waffle-scm] [205] trunk/distribution/src/site/templates: Renamed highlighter.css to dp-highlighter.css.
Revision
205
Author
mauro
Date
2007-07-01 07:51:41 -0500 (Sun, 01 Jul 2007)

Log Message

Renamed highlighter.css to dp-highlighter.css.
Moved all highlighter-related imports to the bottom of the template.

Modified Paths

Added Paths

Removed Paths

Diff

Copied: trunk/distribution/src/site/resources/style/dp-highlighter.css (from rev 203, trunk/distribution/src/site/resources/style/highlighter.css) (0 => 205)

--- trunk/distribution/src/site/resources/style/dp-highlighter.css	                        (rev 0)
+++ trunk/distribution/src/site/resources/style/dp-highlighter.css	2007-07-01 12:51:41 UTC (rev 205)
@@ -0,0 +1,380 @@
+/* Main style for the table */
+
+.dp-highlighter {
+    font-family: "Courier New", Courier, mono;
+    font-size: 12px;
+    border: 1px solid #2B91AF;
+    background-color: #fff;
+    overflow: auto;
+    line-height: 100% !important;
+    margin: 18px 0 18px 0;
+}
+
+.dp-highlighter .bar {
+    padding-left: 45px;
+}
+
+.dp-highlighter ol {
+    margin: 0 0 0 45px;
+    padding: 0;
+    color: #2B91AF;
+}
+
+.dp-highlighter ol li, .dp-highlighter .columns div {
+    border-left: 3px solid #6CE26C;
+    background-color: #fff;
+    padding-left: 10px;
+    line-height: 14px;
+}
+
+.dp-highlighter .columns {
+    color: gray;
+    overflow: hidden;
+    width: 100%;
+}
+
+.dp-highlighter .columns div {
+    padding-bottom: 5px;
+}
+
+.dp-highlighter ol li.alt {
+    background-color: #f8f8f8;
+}
+
+.dp-highlighter ol li span {
+    color: Black;
+}
+
+/* Adjust some properties when wollapsed */
+
+.dp-highlighter.collapsed ol {
+    margin: 0px;
+}
+
+.dp-highlighter.collapsed ol li {
+    display: none;
+}
+
+.dp-highlighter.collapsed .tools {
+    border-bottom: none;
+}
+
+/* Additional modifications when in print-view */
+
+.dp-highlighter.printing {
+    border: none;
+}
+
+.dp-highlighter.printing .tools {
+    display: none !important;
+    border: 5px solid black;
+}
+
+.dp-highlighter.printing li {
+    display: list-item !important;
+}
+
+/* Styles for the tools */
+
+.dp-highlighter .tools {
+    padding: 3px 8px 3px 10px;
+    border-bottom: 1px solid #2B91AF;
+    font: 9px Verdana, Geneva, Arial, Helvetica, sans-serif;
+    color: silver;
+}
+
+.dp-highlighter .tools a {
+    font-size: 9px;
+    color: gray;
+    text-decoration: none;
+    margin-right: 10px;
+}
+
+.dp-highlighter .tools a:hover {
+    color: red;
+    text-decoration: underline;
+}
+
+/* About dialog styles */
+
+.dp-about {
+    background-color: #fff;
+    margin: 0px;
+}
+
+.dp-about table {
+    width: 100%;
+    height: 100%;
+    font-size: 11px;
+    font-family: Tahoma, Verdana, Arial, sans-serif !important;
+}
+
+.dp-about td {
+    padding: 10px;
+    vertical-align: top;
+}
+
+.dp-about .copy {
+    border-bottom: 1px solid #ACA899;
+    height: 95%;
+}
+
+.dp-about .title {
+    color: red;
+    font-weight: bold;
+}
+
+.dp-about .para {
+    margin-bottom: 4px;
+}
+
+.dp-about .footer {
+    background-color: #ECEADB;
+    border-top: 1px solid #fff;
+    text-align: right;
+}
+
+.dp-about .close {
+    font-size: 11px;
+    font-family: Tahoma, Verdana, Arial, sans-serif !important;
+    background-color: #ECEADB;
+    width: 60px;
+    height: 22px;
+}
+
+/* Language specific styles */
+
+.dp-c {
+}
+
+.dp-c .comment {
+    color: green;
+}
+
+.dp-c .string {
+    color: blue;
+}
+
+.dp-c .preprocessor {
+    color: gray;
+}
+
+.dp-c .keyword {
+    color: blue;
+}
+
+.dp-c .vars {
+    color: #d00;
+}
+
+.dp-vb {
+}
+
+.dp-vb .comment {
+    color: green;
+}
+
+.dp-vb .string {
+    color: blue;
+}
+
+.dp-vb .preprocessor {
+    color: gray;
+}
+
+.dp-vb .keyword {
+    color: blue;
+}
+
+.dp-sql {
+}
+
+.dp-sql .comment {
+    color: green;
+}
+
+.dp-sql .string {
+    color: red;
+}
+
+.dp-sql .keyword {
+    color: blue;
+}
+
+.dp-sql .func {
+    color: #ff1493;
+}
+
+.dp-sql .op {
+    color: #808080;
+}
+
+.dp-xml {
+}
+
+.dp-xml .cdata {
+    color: #ff1493;
+}
+
+.dp-xml .comments {
+    color: green;
+}
+
+.dp-xml .tag {
+    font-weight: bold;
+    color: blue;
+}
+
+.dp-xml .tag-name {
+    color: black;
+    font-weight: bold;
+}
+
+.dp-xml .attribute {
+    color: red;
+}
+
+.dp-xml .attribute-value {
+    color: blue;
+}
+
+.dp-delphi {
+}
+
+.dp-delphi .comment {
+    color: #008200;
+    font-style: italic;
+}
+
+.dp-delphi .string {
+    color: blue;
+}
+
+.dp-delphi .number {
+    color: blue;
+}
+
+.dp-delphi .directive {
+    color: #008284;
+}
+
+.dp-delphi .keyword {
+    font-weight: bold;
+    color: navy;
+}
+
+.dp-delphi .vars {
+    color: #000;
+}
+
+.dp-py {
+}
+
+.dp-py .comment {
+    color: green;
+}
+
+.dp-py .string {
+    color: red;
+}
+
+.dp-py .docstring {
+    color: green;
+}
+
+.dp-py .keyword {
+    color: blue;
+    font-weight: bold;
+}
+
+.dp-py .builtins {
+    color: #ff1493;
+}
+
+.dp-py .magicmethods {
+    color: #808080;
+}
+
+.dp-py .exceptions {
+    color: brown;
+}
+
+.dp-py .types {
+    color: brown;
+    font-style: italic;
+}
+
+.dp-py .commonlibs {
+    color: #8A2BE2;
+    font-style: italic;
+}
+
+.dp-rb {
+}
+
+.dp-rb .comment {
+    color: #c00;
+}
+
+.dp-rb .string {
+    color: #f0c;
+}
+
+.dp-rb .symbol {
+    color: #02b902;
+}
+
+.dp-rb .keyword {
+    color: #069;
+}
+
+.dp-rb .variable {
+    color: #6cf;
+}
+
+.dp-css {
+}
+
+.dp-css .comment {
+    color: green;
+}
+
+.dp-css .string {
+    color: red;
+}
+
+.dp-css .keyword {
+    color: blue;
+}
+
+.dp-css .colors {
+    color: darkred;
+}
+
+.dp-css .vars {
+    color: #d00;
+}
+
+.dp-j {
+}
+
+.dp-j .comment {
+    color: rgb( 63, 127, 95 );
+}
+
+.dp-j .string {
+    color: rgb( 42, 0, 255 );
+}
+
+.dp-j .keyword {
+    color: rgb( 127, 0, 85 );
+    font-weight: bold
+}
+
+.dp-j .annotation {
+    color: #646464;
+}
+
+.dp-j .number {
+    color: #C00000;
+}

Deleted: trunk/distribution/src/site/resources/style/highlighter.css (204 => 205)

--- trunk/distribution/src/site/resources/style/highlighter.css	2007-07-01 10:35:15 UTC (rev 204)
+++ trunk/distribution/src/site/resources/style/highlighter.css	2007-07-01 12:51:41 UTC (rev 205)
@@ -1,380 +0,0 @@
-/* Main style for the table */
-
-.dp-highlighter {
-    font-family: "Courier New", Courier, mono;
-    font-size: 12px;
-    border: 1px solid #2B91AF;
-    background-color: #fff;
-    overflow: auto;
-    line-height: 100% !important;
-    margin: 18px 0 18px 0;
-}
-
-.dp-highlighter .bar {
-    padding-left: 45px;
-}
-
-.dp-highlighter ol {
-    margin: 0 0 0 45px;
-    padding: 0;
-    color: #2B91AF;
-}
-
-.dp-highlighter ol li, .dp-highlighter .columns div {
-    border-left: 3px solid #6CE26C;
-    background-color: #fff;
-    padding-left: 10px;
-    line-height: 14px;
-}
-
-.dp-highlighter .columns {
-    color: gray;
-    overflow: hidden;
-    width: 100%;
-}
-
-.dp-highlighter .columns div {
-    padding-bottom: 5px;
-}
-
-.dp-highlighter ol li.alt {
-    background-color: #f8f8f8;
-}
-
-.dp-highlighter ol li span {
-    color: Black;
-}
-
-/* Adjust some properties when wollapsed */
-
-.dp-highlighter.collapsed ol {
-    margin: 0px;
-}
-
-.dp-highlighter.collapsed ol li {
-    display: none;
-}
-
-.dp-highlighter.collapsed .tools {
-    border-bottom: none;
-}
-
-/* Additional modifications when in print-view */
-
-.dp-highlighter.printing {
-    border: none;
-}
-
-.dp-highlighter.printing .tools {
-    display: none !important;
-    border: 5px solid black;
-}
-
-.dp-highlighter.printing li {
-    display: list-item !important;
-}
-
-/* Styles for the tools */
-
-.dp-highlighter .tools {
-    padding: 3px 8px 3px 10px;
-    border-bottom: 1px solid #2B91AF;
-    font: 9px Verdana, Geneva, Arial, Helvetica, sans-serif;
-    color: silver;
-}
-
-.dp-highlighter .tools a {
-    font-size: 9px;
-    color: gray;
-    text-decoration: none;
-    margin-right: 10px;
-}
-
-.dp-highlighter .tools a:hover {
-    color: red;
-    text-decoration: underline;
-}
-
-/* About dialog styles */
-
-.dp-about {
-    background-color: #fff;
-    margin: 0px;
-}
-
-.dp-about table {
-    width: 100%;
-    height: 100%;
-    font-size: 11px;
-    font-family: Tahoma, Verdana, Arial, sans-serif !important;
-}
-
-.dp-about td {
-    padding: 10px;
-    vertical-align: top;
-}
-
-.dp-about .copy {
-    border-bottom: 1px solid #ACA899;
-    height: 95%;
-}
-
-.dp-about .title {
-    color: red;
-    font-weight: bold;
-}
-
-.dp-about .para {
-    margin-bottom: 4px;
-}
-
-.dp-about .footer {
-    background-color: #ECEADB;
-    border-top: 1px solid #fff;
-    text-align: right;
-}
-
-.dp-about .close {
-    font-size: 11px;
-    font-family: Tahoma, Verdana, Arial, sans-serif !important;
-    background-color: #ECEADB;
-    width: 60px;
-    height: 22px;
-}
-
-/* Language specific styles */
-
-.dp-c {
-}
-
-.dp-c .comment {
-    color: green;
-}
-
-.dp-c .string {
-    color: blue;
-}
-
-.dp-c .preprocessor {
-    color: gray;
-}
-
-.dp-c .keyword {
-    color: blue;
-}
-
-.dp-c .vars {
-    color: #d00;
-}
-
-.dp-vb {
-}
-
-.dp-vb .comment {
-    color: green;
-}
-
-.dp-vb .string {
-    color: blue;
-}
-
-.dp-vb .preprocessor {
-    color: gray;
-}
-
-.dp-vb .keyword {
-    color: blue;
-}
-
-.dp-sql {
-}
-
-.dp-sql .comment {
-    color: green;
-}
-
-.dp-sql .string {
-    color: red;
-}
-
-.dp-sql .keyword {
-    color: blue;
-}
-
-.dp-sql .func {
-    color: #ff1493;
-}
-
-.dp-sql .op {
-    color: #808080;
-}
-
-.dp-xml {
-}
-
-.dp-xml .cdata {
-    color: #ff1493;
-}
-
-.dp-xml .comments {
-    color: green;
-}
-
-.dp-xml .tag {
-    font-weight: bold;
-    color: blue;
-}
-
-.dp-xml .tag-name {
-    color: black;
-    font-weight: bold;
-}
-
-.dp-xml .attribute {
-    color: red;
-}
-
-.dp-xml .attribute-value {
-    color: blue;
-}
-
-.dp-delphi {
-}
-
-.dp-delphi .comment {
-    color: #008200;
-    font-style: italic;
-}
-
-.dp-delphi .string {
-    color: blue;
-}
-
-.dp-delphi .number {
-    color: blue;
-}
-
-.dp-delphi .directive {
-    color: #008284;
-}
-
-.dp-delphi .keyword {
-    font-weight: bold;
-    color: navy;
-}
-
-.dp-delphi .vars {
-    color: #000;
-}
-
-.dp-py {
-}
-
-.dp-py .comment {
-    color: green;
-}
-
-.dp-py .string {
-    color: red;
-}
-
-.dp-py .docstring {
-    color: green;
-}
-
-.dp-py .keyword {
-    color: blue;
-    font-weight: bold;
-}
-
-.dp-py .builtins {
-    color: #ff1493;
-}
-
-.dp-py .magicmethods {
-    color: #808080;
-}
-
-.dp-py .exceptions {
-    color: brown;
-}
-
-.dp-py .types {
-    color: brown;
-    font-style: italic;
-}
-
-.dp-py .commonlibs {
-    color: #8A2BE2;
-    font-style: italic;
-}
-
-.dp-rb {
-}
-
-.dp-rb .comment {
-    color: #c00;
-}
-
-.dp-rb .string {
-    color: #f0c;
-}
-
-.dp-rb .symbol {
-    color: #02b902;
-}
-
-.dp-rb .keyword {
-    color: #069;
-}
-
-.dp-rb .variable {
-    color: #6cf;
-}
-
-.dp-css {
-}
-
-.dp-css .comment {
-    color: green;
-}
-
-.dp-css .string {
-    color: red;
-}
-
-.dp-css .keyword {
-    color: blue;
-}
-
-.dp-css .colors {
-    color: darkred;
-}
-
-.dp-css .vars {
-    color: #d00;
-}
-
-.dp-j {
-}
-
-.dp-j .comment {
-    color: rgb( 63, 127, 95 );
-}
-
-.dp-j .string {
-    color: rgb( 42, 0, 255 );
-}
-
-.dp-j .keyword {
-    color: rgb( 127, 0, 85 );
-    font-weight: bold
-}
-
-.dp-j .annotation {
-    color: #646464;
-}
-
-.dp-j .number {
-    color: #C00000;
-}

Modified: trunk/distribution/src/site/templates/skin.html (204 => 205)

--- trunk/distribution/src/site/templates/skin.html	2007-07-01 10:35:15 UTC (rev 204)
+++ trunk/distribution/src/site/templates/skin.html	2007-07-01 12:51:41 UTC (rev 205)
@@ -5,24 +5,25 @@
 
     <style type="text/css" media="all">
       @import url("./style/waffle.css");
-      @import url("./style/highlighter.css");
+      @import url("./style/dp-highlighter.css");
     </style>
-    <script type="text/_javascript_" src=""
-      //
+
+    <script src="" type="text/_javascript_">
+      //  
     </script>
-    <script language="_javascript_" src=""
-      //
+  
+    <script type="text/_javascript_">
+      _uacct = "UA-759606-2";
+      urchinTracker();
     </script>
-    <script language="_javascript_" src=""
-      //
-    </script>
-    <script language="_javascript_" src=""
-      //
-    </script>
+
     <!--[if lt IE 7.]>
     <script defer type="text/_javascript_" src=""
     <![endif]-->
-
+    
+    <script type="text/_javascript_" src=""
+      //
+    </script>
     <meta name="verify-v1" content="UsIBiaQhhmjFrBwcJ2n4XIvEImPNG4SMVP365rRcpxE=" />
     <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
   </head>
@@ -37,10 +38,11 @@
    </div>
    <div id="breadcrumbs">
        <div class="left"> Last Published: 01/07/2007 </div>
-    <div class="clear">
-    <hr/>
+       <div class="clear">
+        <hr/>
+       </div>
   </div>
-</div>
+  
   <div id="leftColumn">
       <div id="navColumn">
           <#list sitemap.sections as section>
@@ -94,23 +96,25 @@
       <hr/>
     </div>
   </div>
-  <script src="" type="text/_javascript_">
-  
-	</script>
-  <script type="text/_javascript_">
-	    _uacct = "UA-759606-2";
-  	urchinTracker();
-  </script>
 
   </body>
 
-  <script type="text/_javascript_">
+<!--  Scripts to highlight code:  MUST be left AFTER the body -->
+<script language="_javascript_" src=""
+      //
+    </script>
+<script language="_javascript_" src=""
+      //
+    </script>
+<script language="_javascript_" src=""
+      //
+    </script>
+<script type="text/_javascript_">
       // <![CDATA[
       var elements = document.getElementsByClassName('source');
       elements.each(function(element) {
           var content = element.getElementsByTagName('pre')[0].innerHTML;
-          var classType = /^&lt;/.test(content) ? "xml" : "java";
-          
+          var classType = /^&lt;/.test(content) ? "xml" : "java";          
           content = "<textarea name=\"code\" class=\"" + classType + "\">" + content + "</textarea>";
           new Insertion.Before(element, content);
           element.remove(element);
@@ -118,5 +122,6 @@
 
       dp.SyntaxHighlighter.HighlightAll('code', false, false);
       // ]]>
-  </script>
+   </script>
+
 </html>


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to