From 03509f2f97d15658e39f8c0a6195d7b56778687e Mon Sep 17 00:00:00 2001 From: Cesar G Date: Wed, 4 Dec 2013 14:51:54 -0800 Subject: [PATCH] [ticket/12055] Alternate table row background colors using nth-child rule. PHPBB3-12055 --- phpBB/adm/style/acp_attachments.html | 8 ++++---- phpBB/adm/style/acp_bbcodes.html | 4 ++-- phpBB/adm/style/acp_bots.html | 4 ++-- phpBB/adm/style/acp_groups.html | 10 +++++----- phpBB/adm/style/acp_icons.html | 8 ++++---- phpBB/adm/style/acp_inactive.html | 5 ++--- phpBB/adm/style/acp_language.html | 6 +++--- phpBB/adm/style/acp_logs.html | 4 ++-- phpBB/adm/style/acp_main.html | 10 ++++------ phpBB/adm/style/acp_profile.html | 5 ++--- phpBB/adm/style/acp_prune_forums.html | 4 ++-- phpBB/adm/style/acp_ranks.html | 4 ++-- phpBB/adm/style/acp_users.html | 8 ++++---- phpBB/adm/style/acp_users_feedback.html | 5 ++--- phpBB/adm/style/acp_users_warnings.html | 4 ++-- phpBB/adm/style/acp_words.html | 4 ++-- phpBB/adm/style/admin.css | 10 ++++++++-- phpBB/adm/style/captcha_qa_acp.html | 10 ++++------ 18 files changed, 56 insertions(+), 57 deletions(-) diff --git a/phpBB/adm/style/acp_attachments.html b/phpBB/adm/style/acp_attachments.html index 9ce9fb5f13..9db0fc6521 100644 --- a/phpBB/adm/style/acp_attachments.html +++ b/phpBB/adm/style/acp_attachments.html @@ -331,7 +331,7 @@
{L_TITLE} - +
@@ -344,7 +344,7 @@ - + @@ -389,7 +389,7 @@ -
{L_FILENAME}
{orphan.REAL_FILENAME} {orphan.FILETIME} {orphan.FILESIZE}
+
@@ -400,7 +400,7 @@ - +
{L_FILENAME}
{L_EXTENSION_GROUP}{L_COLON} {attachments.EXT_GROUP_NAME}{L_NO_EXT_GROUP}
{attachments.L_DOWNLOAD_COUNT}
{L_IN} {L_PRIVATE_MESSAGE} {attachments.REAL_FILENAME}
{attachments.COMMENT}
{attachments.L_DOWNLOAD_COUNT}
{L_TOPIC}{L_COLON} {attachments.TOPIC_TITLE} diff --git a/phpBB/adm/style/acp_bbcodes.html b/phpBB/adm/style/acp_bbcodes.html index c22ed395e7..eccb469468 100644 --- a/phpBB/adm/style/acp_bbcodes.html +++ b/phpBB/adm/style/acp_bbcodes.html @@ -90,7 +90,7 @@
{L_ACP_BBCODES} - +
@@ -99,7 +99,7 @@ - + diff --git a/phpBB/adm/style/acp_bots.html b/phpBB/adm/style/acp_bots.html index eeda13303d..b0e61015b6 100644 --- a/phpBB/adm/style/acp_bots.html +++ b/phpBB/adm/style/acp_bots.html @@ -62,7 +62,7 @@ -
{L_BBCODE_TAG}
{bbcodes.BBCODE_TAG} {ICON_EDIT} {ICON_DELETE}
+
@@ -73,7 +73,7 @@ - + diff --git a/phpBB/adm/style/acp_groups.html b/phpBB/adm/style/acp_groups.html index 925d24f3a3..72f4f2b239 100644 --- a/phpBB/adm/style/acp_groups.html +++ b/phpBB/adm/style/acp_groups.html @@ -155,7 +155,7 @@ » {L_MAKE_DEFAULT_FOR_ALL} -
{L_BOT_NAME}
{bots.BOT_NAME}  {bots.LAST_VISIT}   {bots.L_ACTIVATE_DEACTIVATE} 
+
@@ -170,7 +170,7 @@ - + @@ -179,7 +179,7 @@ - + @@ -191,7 +191,7 @@ - + @@ -201,7 +201,7 @@ - + diff --git a/phpBB/adm/style/acp_icons.html b/phpBB/adm/style/acp_icons.html index bfe4878ba5..e96a9b86fa 100644 --- a/phpBB/adm/style/acp_icons.html +++ b/phpBB/adm/style/acp_icons.html @@ -74,7 +74,7 @@
{L_TITLE} -
{L_USERNAME}{L_GROUP_LEAD}
{leader.USERNAME}{leader.USERNAME} {L_YES}{L_NO} {leader.JOINED}
{L_GROUPS_NO_MODS}{L_GROUPS_NO_MODS}
{L_GROUP_PENDING}
{member.USERNAME}{member.USERNAME} {L_YES}{L_NO} {member.JOINED}
{L_GROUPS_NO_MEMBERS}{L_GROUPS_NO_MEMBERS}
+
@@ -100,7 +100,7 @@ - + @@ -218,7 +218,7 @@ {L_TITLE} -
{L_CONFIG}
[{items.IMG}]
+
@@ -236,7 +236,7 @@ - + diff --git a/phpBB/adm/style/acp_inactive.html b/phpBB/adm/style/acp_inactive.html index 1c42c93f76..1cdc1abe6b 100644 --- a/phpBB/adm/style/acp_inactive.html +++ b/phpBB/adm/style/acp_inactive.html @@ -16,7 +16,7 @@ -
{L_TITLE}{L_NOT_DISPLAYED}
{items.ALT_TEXT} {items.CODE}
+
@@ -29,8 +29,7 @@ - - +
{L_USERNAME}
{inactive.USERNAME_FULL}
{L_POSTS}{L_COLON} {inactive.POSTS} [{L_SEARCH_USER_POSTS}] diff --git a/phpBB/adm/style/acp_language.html b/phpBB/adm/style/acp_language.html index d4fd572376..f5267e8f7f 100644 --- a/phpBB/adm/style/acp_language.html +++ b/phpBB/adm/style/acp_language.html @@ -211,7 +211,7 @@

{L_ACP_LANGUAGE_PACKS_EXPLAIN}

- +
@@ -226,7 +226,7 @@ - + @@ -240,7 +240,7 @@ - + diff --git a/phpBB/adm/style/acp_logs.html b/phpBB/adm/style/acp_logs.html index f22eb67a72..592b5bbc16 100644 --- a/phpBB/adm/style/acp_logs.html +++ b/phpBB/adm/style/acp_logs.html @@ -22,7 +22,7 @@

-
{L_LANGUAGE_PACK_NAME}{L_INSTALLED_LANGUAGE_PACKS}
{lang.ENGLISH_NAME} {lang.TAG} {lang.LOCAL_NAME} {lang.ISO}
{notinst.NAME} {notinst.LOCAL_NAME} {notinst.ISO}
+
@@ -36,7 +36,7 @@ - +
{L_USERNAME}
{log.USERNAME} diff --git a/phpBB/adm/style/acp_main.html b/phpBB/adm/style/acp_main.html index bb39ffe050..4fb62ebd21 100644 --- a/phpBB/adm/style/acp_main.html +++ b/phpBB/adm/style/acp_main.html @@ -216,7 +216,7 @@ - +
@@ -227,8 +227,7 @@ - - + @@ -249,7 +248,7 @@ -
{L_USERNAME}
{log.USERNAME} {log.IP} {log.DATE}
+
@@ -261,8 +260,7 @@ - - +
{L_USERNAME}
{inactive.USERNAME_FULL}
{L_POSTS}{L_COLON} {inactive.POSTS} [{L_SEARCH_USER_POSTS}] diff --git a/phpBB/adm/style/acp_profile.html b/phpBB/adm/style/acp_profile.html index 3546873f6c..a5685668ba 100644 --- a/phpBB/adm/style/acp_profile.html +++ b/phpBB/adm/style/acp_profile.html @@ -185,7 +185,7 @@ - +
@@ -195,8 +195,7 @@ - - + diff --git a/phpBB/adm/style/acp_prune_forums.html b/phpBB/adm/style/acp_prune_forums.html index 1be9689cc7..4d748f1cce 100644 --- a/phpBB/adm/style/acp_prune_forums.html +++ b/phpBB/adm/style/acp_prune_forums.html @@ -8,7 +8,7 @@

{L_PRUNE_SUCCESS}

-
{L_FIELD_IDENT}
{fields.FIELD_IDENT} {fields.FIELD_TYPE} {fields.L_ACTIVATE_DEACTIVATE} | {L_TRANSLATE}
+
@@ -18,7 +18,7 @@ - + diff --git a/phpBB/adm/style/acp_ranks.html b/phpBB/adm/style/acp_ranks.html index a1409b15ef..be68dda695 100644 --- a/phpBB/adm/style/acp_ranks.html +++ b/phpBB/adm/style/acp_ranks.html @@ -65,7 +65,7 @@
{L_ACP_MANAGE_RANKS} -
{L_FORUM}
{pruned.FORUM_NAME} {pruned.NUM_TOPICS} {pruned.NUM_POSTS}
+
@@ -76,7 +76,7 @@ - + diff --git a/phpBB/adm/style/acp_users.html b/phpBB/adm/style/acp_users.html index b213587def..b84e32013f 100644 --- a/phpBB/adm/style/acp_users.html +++ b/phpBB/adm/style/acp_users.html @@ -125,7 +125,7 @@ -
{L_RANK_IMAGE}
{ranks.RANK_TITLE}  -   {ranks.RANK_TITLE}   -  {ranks.MIN_POSTS}
+
@@ -133,7 +133,7 @@ - + @@ -164,7 +164,7 @@ -
{group.GROUP_TYPE}
{group.GROUP_NAME} {L_GROUP_DEFAULT}{L_GROUP_DEFAULT}{L_GROUP_APPROVE}  {group.L_DEMOTE_PROMOTE} 
+
@@ -176,7 +176,7 @@ - + diff --git a/phpBB/adm/style/acp_users_feedback.html b/phpBB/adm/style/acp_users_feedback.html index 95892f2822..f251724cd2 100644 --- a/phpBB/adm/style/acp_users_feedback.html +++ b/phpBB/adm/style/acp_users_feedback.html @@ -7,7 +7,7 @@ -
{L_FILENAME}
{attach.REAL_FILENAME}
{L_PM}{L_COLON} {L_POST}{L_COLON} {attach.TOPIC_TITLE}
{attach.POST_TIME} {attach.SIZE}
+
@@ -19,8 +19,7 @@ - - + diff --git a/phpBB/adm/style/acp_users_warnings.html b/phpBB/adm/style/acp_users_warnings.html index 9d082eda6d..6e7f521415 100644 --- a/phpBB/adm/style/acp_users_warnings.html +++ b/phpBB/adm/style/acp_users_warnings.html @@ -1,7 +1,7 @@ -
{L_REPORT_BY}
{log.USERNAME} {log.IP} {log.DATE}
+
@@ -12,7 +12,7 @@ - + diff --git a/phpBB/adm/style/acp_words.html b/phpBB/adm/style/acp_words.html index 7e91bc4367..6038fc6161 100644 --- a/phpBB/adm/style/acp_words.html +++ b/phpBB/adm/style/acp_words.html @@ -47,7 +47,7 @@

-
{L_REPORT_BY}
{warn.USERNAME} {warn.DATE} {warn.ACTION}
+
@@ -57,7 +57,7 @@ - + diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css index d971c38efb..64f62b063e 100644 --- a/phpBB/adm/style/admin.css +++ b/phpBB/adm/style/admin.css @@ -840,8 +840,14 @@ td.name { text-align: right; } -.row1 { background-color: #F9F9F9; } -.row2 { background-color: #DCEBFE; } +.row1, table.zebra-table tbody tr:nth-child(odd) { + background-color: #F9F9F9; +} + +.row2, table.zebra-table tbody tr:nth-child(even) { + background-color: #DCEBFE; +} + .row3 { background-color: #DBDFE2; } .row4 { background-color: #E4E8EB; } .col1 { background-color: #DCEBFE; } diff --git a/phpBB/adm/style/captcha_qa_acp.html b/phpBB/adm/style/captcha_qa_acp.html index 4ff7c328fc..6235f9a104 100644 --- a/phpBB/adm/style/captcha_qa_acp.html +++ b/phpBB/adm/style/captcha_qa_acp.html @@ -14,7 +14,7 @@
{L_QUESTIONS} -
{L_WORD}
{words.WORD} {words.REPLACEMENT}  {ICON_EDIT}  {ICON_DELETE} 
+
@@ -27,14 +27,12 @@ - - - + - - + +
{L_QUESTIONS}
{questions.QUESTION_TEXT} {questions.QUESTION_LANG} {ICON_EDIT} {ICON_DELETE}