com web/php: Add a class that allows us to simulate the old .sub and .subr behaviour on pages where it's appropriate to do so.: styles/theme.css

From: Date: Fri, 07 Sep 2012 08:21:26 +0000
Subject: com web/php: Add a class that allows us to simulate the old .sub and .subr behaviour on pages where it's appropriate to do so.: styles/theme.css
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-14634@lists.php.net to get a copy of this message
Commit: f1f04062fe44614678ec048012d98940404cd9ed Author: Adam Harvey <aharvey@php.net> Fri, 7 Sep 2012 16:21:26 +0800 Parents: a48d7a9c64efae19b3f42ab927c340d44f2e1897 Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=f1f04062fe44614678ec048012d98940404cd9ed Log: Add a class that allows us to simulate the old .sub and .subr behaviour on pages where it's appropriate to do so. Changed paths: M styles/theme.css Diff: diff --git a/styles/theme.css b/styles/theme.css index 2bb1eb7..c2bbf72 100755 --- a/styles/theme.css +++ b/styles/theme.css @@ -748,6 +748,28 @@ table.standard td { vertical-align: middle; } +/* Shims for the pages that relied on the old .sub behaviour for highlighting. */ +.table-sub-highlight table.standard td, .table-sub-highlight table.standard th { + border: 1px solid #ddd; +} + +.table-sub-highlight tr:nth-child(even) td.subr, +.table-sub-highlight tr:nth-child(even) th.subr, +.table-sub-highlight tr td.subr, +.table-sub-highlight tr th.subr, +.table-sub-highlight tr:nth-child(even) td.sub, +.table-sub-highlight tr:nth-child(even) th.sub, +.table-sub-highlight tr td.sub, +.table-sub-highlight tr th.sub { + background: #eee; +} + +.table-sub-highlight td.subr, +.table-sub-highlight th.subr { + text-align: right; +} + +/* News styles. */ .newsImage img { padding-left: 1em; padding-bottom: 1em;

« previous php.webmaster (#14634) next »