Commit:    eac4375cf27001ab8d85c60537f70016335900c4
Author:    Adam Harvey <[email protected]>         Tue, 18 Mar 2014 14:38:15 -0700
Parents:   4417abffe0d76959009aeffb5e011beb33457295
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=eac4375cf27001ab8d85c60537f70016335900c4

Log:
Add styles for the new segmentedlist rendering in PhD master.

Although the current code generates elements with the same class names, this
doesn't change the effective styling at all, so this is safe to deploy now.

Changed paths:
  M  styles/theme-base.css
  M  styles/theme-medium.css


Diff:
diff --git a/styles/theme-base.css b/styles/theme-base.css
index b439da9..135edc9 100755
--- a/styles/theme-base.css
+++ b/styles/theme-base.css
@@ -1293,14 +1293,17 @@ div.tip p {
     padding: .25rem .5rem;
 }
 
-.doctable {
+.doctable,
+.segmentedlist {
     width: 100%;
     margin:.75rem 0;
 }
-.doctable thead tr {
+.doctable thead tr,
+.segmentedlist thead tr {
     border:1px solid;
 }
-.doctable tr {
+.doctable tr,
+.segmentedlist tr {
     border:1px solid;
 }
 
diff --git a/styles/theme-medium.css b/styles/theme-medium.css
index 4c7b94e..7e3c9dc 100755
--- a/styles/theme-medium.css
+++ b/styles/theme-medium.css
@@ -230,24 +230,30 @@ div.warning:before {
 
 
 /* {{{ Tables */
-.doctable {
+.doctable,
+.segmentedlist {
   border-color: #ccc;
 }
-.doctable thead tr {
+.doctable thead tr,
+.segmentedlist thead tr {
   border-color: #C4C9DF;
   border-bottom-color: #8892BF;
   color: #333;
 }
-.doctable th {
+.doctable th,
+.segmentedlist th {
   background-color: #C4C9DF;
 }
-.doctable tr {
+.doctable tr,
+.segmentedlist tr {
   border-color: #ccc
 }
-.doctable tbody tr:nth-child(odd) {
+.doctable tbody tr:nth-child(odd),
+.segmentedlist tbody tr:nth-child(odd) {
   background-color: #ffffff;
 }
-.doctable tbody tr:nth-child(even) {
+.doctable tbody tr:nth-child(even),
+.segmentedlist tbody tr:nth-child(even) {
   background-color: #E6E6E6;
 }
 /* }}} */


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to