]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Update CSS.
authorDaniel Gruno <humbedooh@apache.org>
Wed, 25 Apr 2012 08:52:43 +0000 (08:52 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Wed, 25 Apr 2012 08:52:43 +0000 (08:52 +0000)
Add recognition of Directory, Location, VirtualHost, If/Else and Proxy as enclosures in httpd configurations

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330161 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/css/prettify.css
docs/manual/style/scripts/prettify.js

index b4182f036b43c71866fd88ca1eadd669f89f2f2b..110bf491a7c444a58b73c5c86db2649f4426100f 100644 (file)
@@ -60,6 +60,8 @@ pre.lang-config{
     border: none;
 }
 
+.lang-config .tag { color: #821; font-weight: bold }  /* a markup tag name */
+
 
 
 /* Highlighting style for C source code */
@@ -76,7 +78,7 @@ pre.lang-c{
 .lang-c .str { color: #009606 } /* string content */
 .lang-c .kwd { color: #00C; font-weight: bold }  /* a keyword */
 .lang-c .typ { color: #808 }  /* a type name */
-
+.lang-c .tag { color: #248 }  /* a markup tag name */
 
 
 /* Highlighting style for Lua source code */
index 4ef51ca76bf457275fccc3f4a2fcaca0943a573e..c9cc956486fe74a3d57eb6bd192f59f3090df4fe 100644 (file)
@@ -887,7 +887,7 @@ var REGEXP_PRECEDER_PATTERN = '(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[
     fallthroughStylePatterns.push(
         // TODO(mikesamuel): recognize non-latin letters and numerals in idents
         [PR_LITERAL,     /^@[a-z_$][a-z_$@0-9]*|NULL/i, null],
-        
+        [PR_TAG,     /^Directory|Location|VirtualHost|If|Else|ElseIf|Proxy|LoadBalancer/i, null],
         [PR_TYPE,        /^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_(t|req)\b)/, null],
         [PR_TAG,     /^apr_[a-z_0-9]+|ap_[a-z_0-9]+/i, null],
         [PR_PLAIN,       /^[a-z_$][a-z_$@0-9]*/i, null],
@@ -1266,7 +1266,6 @@ var REGEXP_PRECEDER_PATTERN = '(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[
           'hashComments': true,
           'cStyleComments': true,
           'types': C_TYPES,
-          'functions': "apr_[a-z_]+,ap_rputs"
         }), ['c', 'cc', 'cpp', 'cxx', 'cyc', 'm']);
   registerLangHandler(sourceDecorator({
           'keywords': 'null,true,false'