com web/php: Improved code coloring in class and method synopsis.: styles/doc.css styles/theme.css
| From: | Levi Morrison | Date: | Mon, 18 Jun 2012 19:31:01 +0000 |
| Subject: | com web/php: Improved code coloring in class and method synopsis.: styles/doc.css styles/theme.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-13722@lists.php.net to get a copy of this message | ||
Commit: f22929e4568d7284c622ec5164f0e53bc41c0cd5
Author: Levi Morrison <levim@php.net> Mon, 18 Jun 2012 13:31:01 -0600
Parents: 979fd578882240646b9f5edafc546a70a0744321
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=f22929e4568d7284c622ec5164f0e53bc41c0cd5
Log:
Improved code coloring in class and method synopsis.
Changed paths:
M styles/doc.css
M styles/theme.css
Diff:
diff --git a/styles/doc.css b/styles/doc.css
index 6cc14e8..9d6fc49 100755
--- a/styles/doc.css
+++ b/styles/doc.css
@@ -47,7 +47,7 @@ aside#quicktoc {
color: #000;
}
-.docs .methodparam .parameter {
+.docs .refsect1 .methodparam .parameter {
cursor:pointer;
}
@@ -60,9 +60,6 @@ aside#quicktoc {
font-style: normal;
}
-.docs .initializer {
- color: #000;
-}
/* }}} */
@@ -282,15 +279,53 @@ dl.qandaentry {
.docs div.refsect1 {
margin-top: 50px;
+ color: #454e55;
}
+
.docs .classsynopsis,
.docs div.refsect1 {
position: relative;
background-color: #f5f5f5;
border: 1px solid #cacaca;
padding: 10px;
+}
+
+.docs .classsynopsis {
color: #454e55;
}
+.docs .fieldsynopsis .type,
+.docs .methodsynopsis .type,
+.docs .constructorsynopsis .type {
+ color:#606;
+}
+.docs .classsynopsis .classname,
+.docs .fieldsynopsis .modifier,
+.docs .methodsynopsis .modifier,
+.docs .constructorsynopsis .modifier {
+ color:#0000ae;
+}
+
+.docs .classsynopsis .initializer {
+ font-style:italic;
+}
+.docs .classsynopsisinfo_comment {
+ color:#999;
+ font-weight:normal;
+}
+
+.classsynopsisinfo_comment,
+.classsynopsis .constructorsynopsis,
+.classsynopsis .methodsynopsis,
+.classsynopsis .destructorsynopsis,
+.classsynopsis .fieldsynopsis {
+ margin-left:2em;
+}
+.docs .classsynopsis a,
+.docs .fieldsynopsis a,
+.docs .methodsynopsis a,
+.docs .constructorsynopsis a {
+ color:#267B0C;
+}
#changelang {
border: 0;
diff --git a/styles/theme.css b/styles/theme.css
index 8f8765f..44dc621 100755
--- a/styles/theme.css
+++ b/styles/theme.css
@@ -357,7 +357,7 @@ div.phpcode span.html {
color: black;
background-color: transparent;
}
-div.phpcode span.comment, div.classsynopsisinfo_comment {
+div.phpcode span.comment {
color: #FF8000;
background-color: transparent;
}
@@ -365,13 +365,6 @@ div.classsynopsisinfo_comment {
font-weight: bold;
margin-top:1em;
}
-.classsynopsisinfo_comment,
-.classsynopsis .constructorsynopsis,
-.classsynopsis .methodsynopsis,
-.classsynopsis .destructorsynopsis,
-.classsynopsis .fieldsynopsis {
- margin-left:2em;
-}
div.phpcode span.default {
color: #0000BB;
background-color: transparent;