php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch UsabilityandVisualChanges-1.1.diff for Website problem Bug #61174

Patch version 2012-02-24 00:11 UTC

Return to Bug #61174 | Download this patch
This patch renders other patches obsolete

Obsolete patches:

Patch Revisions:

Developer: levim@php.net

diff --git a/styles/doc.css b/styles/doc.css
index 433be3e..26552b6 100644
--- a/styles/doc.css
+++ b/styles/doc.css
@@ -51,6 +51,9 @@ aside#quicktoc {
     color: #604080;
     font-weight: bold;
 }
+.docs .methodparam .parameter {
+    cursor:pointer;
+}
 
 .docs i .parameter, .docs em .parameter {
     font-style: normal;
@@ -144,7 +147,7 @@ aside#quicktoc {
 
 /* {{{ Parameter listing */
 .docs .refentry .parameters dt {
-    font-size: 1.2em;
+    font-size: 1.1em;
 }
 
 .docs .refentry .parameters dd {
@@ -160,23 +163,28 @@ aside#quicktoc {
 
 
 /* {{{ Examples (highlighting is in theme.css) */
-.docs blockquote.note,
 .docs div.caution,
 .docs div.tip
-.docs .example-contents div pre,
-.docs .example-contents div.phpcode,
-.docs .example-contents.screen,
-.docs .refentry .methodsynopsis  {
+.docs .example-contents div pre  {
     border-top: 1px solid #9f8a8a;
     border-bottom: 1px solid #9f8a8a;
-    border-left: 0;
-    border-right: 0;
     background-color: #fcfcfc;
     margin: 2px 0px;
     font-weight: normal;
     padding: .5em .2em .5em .2em;
 }
 
+.docs blockquote.note,
+.docs .refentry .methodsynopsis,
+.docs .example-contents .phpcode,
+.docs .example-contents.screen {
+    border: 1px solid #9f8a8a;
+    padding:.5em;
+    background-color: #fff;
+    margin: 2px 0px;
+    font-weight: normal;
+}
+
 /* }}} */
 
 
@@ -267,7 +275,7 @@ dl.qandaentry {
 
 .docs  div.refsect1 h3.title {
     border: 0;
-    color: #636363;
+    color: #3f438d;
     position: absolute;
     padding: 0;
     margin:0;
@@ -282,10 +290,7 @@ dl.qandaentry {
     background-color: #f5f5f5;
     border: 1px solid #cacaca;
     margin-top: 50px;
-    padding: 15px 10px;
-    border-radius: 3px;
-    -moz-border-radius: 3px;
-    -webkit-border-radius: 3px;
+    padding: 10px;
     color: #454e55;
 }
 
@@ -308,7 +313,6 @@ dl.qandaentry {
 .docs .layout-menu ul.parent-menu-list li {
     padding: 3px 6px;
     margin: 3px 0;
-    background-color: #f3f3f3;
 }
 
 .docs .layout-menu ul.parent-menu-list a {
@@ -318,13 +322,13 @@ dl.qandaentry {
     margin: 0;
     padding: 3px 7px;
     border: 0;
-    border-left: 12px solid #987db3;
+    border-left: 6px solid #987db3;
 }
 
 .docs .layout-menu ul.parent-menu-list a:hover,
 .docs .layout-menu ul.parent-menu-list li:last-child a {
     color: #000;
-    border-left: 12px solid #604080;
+    border-left: 6px solid #604080;
 }
 
 .docs .layout-menu ul.child-menu-list {
@@ -361,13 +365,13 @@ dl.qandaentry {
 
 
 .docs #layout {
-    padding: 25px 165px 25px 25px; /* FIXME: Overriden from theme.css */
+    padding: 25px 175px 25px 25px; /* FIXME: Overriden from theme.css */
     max-width: none; /* FIXME: Overriden from theme.css */
 }
 
 /* #layout needed, see http://news.php.net/php.webmaster/11884 */
 .docs #layout .layout-content, .docs #layout #usernotes {
-    margin-left: 272px;
+    margin-left: 250px;
 }
 #changelang-langs {
     width:120px; 
diff --git a/styles/theme.css b/styles/theme.css
index cba1c18..500c79f 100644
--- a/styles/theme.css
+++ b/styles/theme.css
@@ -149,9 +149,6 @@ ul {
     float: right;
     border: 1px solid;
     border-color: #987db3;
-    -moz-border-radius: 5px;
-    -webkit-border-radius: 5px;
-    border-radius: 5px;
 }
 
 #headsearch-keywords {
@@ -180,9 +177,6 @@ ul {
     padding: 2px 5px;
     font-weight: bold;
     border-color: #987db3;
-    -moz-border-radius: 5px;
-    -webkit-border-radius: 5px;    
-    border-radius: 5px;
     border: 1px solid #604080;
     background: #604080;
     color: #fff;
@@ -289,15 +283,13 @@ ul {
  */
 #usernotes {
     margin: 0 0 10px 175px;
-
-    background: #eee;
     position: relative;
 }
 
 #usernotes .action {
     display: block;
     top: 1em;
-    right: 20px;
+    right: 0px;
     position: absolute;
     text-align: right;
 }
@@ -309,15 +301,15 @@ ul {
 }
 
 #usernotes h3 {
-    border-color: #4d63ff;
-    padding-left: 20px;
-    padding-right: 20px;
+    border-color: #3f438d;
     padding-bottom: 6px;
 }
 
 #usernotes .note {
-    margin: 0 20px 2em 20px;
+    margin: .5em 0;
     border-top: 3px solid #ddd;
+    padding:.5em;
+    background-color: #f5f5f5;
 }
 
 #usernotes .user, #usernotes .date, #usernotes .admin {
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 18:01:30 2024 UTC