Fixed bug #7831: List in Page module has wrong colors, credits Steffen Kamper
authorIngo Renner <ingo.renner@typo3.org>
Tue, 1 Apr 2008 19:42:02 +0000 (19:42 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Tue, 1 Apr 2008 19:42:02 +0000 (19:42 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3502 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/layout/class.tx_cms_layout.php
typo3/sysext/t3skin/stylesheets/typo3-db-list-php.css

index ddd001c..e5303d9 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
 2008-04-01  Ingo Renner <ingo@typo3.org>
 
        * Fixed bug #5998: Crawler/Index Config: hidden records are re-indexed, credits Christian Kuhn
+       * Fixed bug #7831: List in Page module has wrong colors, credits Steffen Kamper
 
 2008-04-01  Jeff Segars <jeff@webempoweredchurch.org>
 
index 3277d12..29dd88b 100755 (executable)
@@ -1213,7 +1213,7 @@ class tx_cms_layout extends recordList {
                                <!--
                                        STANDARD LIST OF "'.$table.'"
                                -->
-                               <table border="0" cellpadding="1" cellspacing="2" width="480" id="typo3-page-stdlist">
+                               <table border="0" cellpadding="1" cellspacing="2" width="480" class="typo3-page-stdlist">
                                        '.$out.'
                                </table>';
                }
index 3e76585..9d5cb9e 100644 (file)
@@ -2,31 +2,37 @@
  *     typo3-db-list-php.css
  */
 
-table.typo3-dblist {
+table.typo3-dblist,
+table.typo3-page-stdlist {
        margin-top: 10px;
        border: 1px solid #A2AAB8;
 }
 
-table.typo3-dblist tr td.db_list_alt {
+table.typo3-dblist tr td.db_list_alt,
+typo3-page-stdlist tr td.db_list_alt {
        background-color: #E4E5F0;
 }
 
+table.typo3-page-stdlist .bgColor4,
 table#typo3-dblist-top table.bgColor4 {
        background-color: #EFEFF4;
 }
 
-table.typo3-dblist td.c-headLineTable {
+table.typo3-dblist td.c-headLineTable,
+table.typo3-page-stdlist td.c-headLineTable {
        background-color: #B8BEC9;
        background-image: url('../icons/gfx/alt_menu_mainitem_bg.gif');
        background-repeat: repeat-x;
 }
 
-table.typo3-dblist td.c-headLineTable a {
+table.typo3-dblist td.c-headLineTable a,
+table.typo3-page-stdlist td.c-headLineTable a {
        font-weight: bold;
        color: #FFFFFF;
 }
 
-table.typo3-dblist tr td.c-headLine {
+table.typo3-dblist tr td.c-headLine,
+table.typo3-page-stdlist tr td.c-headLine {
        height: 24px;
        background-color: #EFEFF4;
        background-image: url(../backgrounds/list_sep.gif);
@@ -34,20 +40,25 @@ table.typo3-dblist tr td.c-headLine {
        background-repeat: repeat-x;
 }
 
-table.typo3-dblist td.c-table-row-spacer {
+table.typo3-dblist td.c-table-row-spacer,
+table.typo3-page-stdlist td.c-table-row-spacer {
        display: none;
 }
 
 table.typo3-dblist tr:hover,
-table.typo3-dblist tr:hover td.db_list_alt {
+table.typo3-dblist tr:hover td.db_list_alt,
+table.typo3-page-stdlist tr:hover,
+table.typo3-page-stdlist tr:hover td.db_list_alt {
        background-color: #d7dbe2;
 }
 
-table.typo3-dblist tr td div.typo3-DBctrl {
+table.typo3-dblist tr td div.typo3-DBctrl,
+table.typo3-page-stdlist tr td div.typo3-DBctrl {
        background-color: transparent;
 }
 
-table.typo3-dblist tr td div.typo3-clipCtrl {
+table.typo3-dblist tr td div.typo3-clipCtrl,
+table.typo3-page-stdlist tr td div.typo3-clipCtrl {
        background-color: transparent;
        border: 1px solid #D0D4DB;
        margin: 1px 1px 1px 10px;