com web/php: Add styles for the new segmentedlist rendering in PhD master.: styles/theme-base.css styles/theme-medium.css
| From: | Paul Dragoonis | Date: | Tue, 18 Mar 2014 21:38:15 +0000 |
| Subject: | com web/php: Add styles for the new segmentedlist rendering in PhD master.: styles/theme-base.css styles/theme-medium.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-22139@lists.php.net to get a copy of this message | ||
Commit: 66955536baa9ae7b19a34c8691ffe47cca096033
Author: Adam Harvey <aharvey@php.net> Tue, 18 Mar 2014 14:38:15 -0700
Parents: dd7234a12475da1aa2e01dc7e0386a96b5985052
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=66955536baa9ae7b19a34c8691ffe47cca096033
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;
}
/* }}} */