aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-01-24 03:03:54 -0800
committerCesar G <prototech91@gmail.com>2014-01-24 04:30:14 -0800
commit8620f1e619d9acfc03c3c1f1a0e0d48a0c09de4a (patch)
treeda9ca5c25094a0ec930f405575cb2e820f80ff02
parent4c102322c122d6839beddde496483e639739b7db (diff)
downloadforums-8620f1e619d9acfc03c3c1f1a0e0d48a0c09de4a.tar
forums-8620f1e619d9acfc03c3c1f1a0e0d48a0c09de4a.tar.gz
forums-8620f1e619d9acfc03c3c1f1a0e0d48a0c09de4a.tar.bz2
forums-8620f1e619d9acfc03c3c1f1a0e0d48a0c09de4a.tar.xz
forums-8620f1e619d9acfc03c3c1f1a0e0d48a0c09de4a.zip
[ticket/12125] Specify nth-child selectors separately - IE8 does not like them
PHPBB3-12125
-rw-r--r--phpBB/adm/style/admin.css12
-rw-r--r--phpBB/styles/prosilver/theme/colours.css12
2 files changed, 20 insertions, 4 deletions
diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css
index f10e32a1bb..aa8622ff61 100644
--- a/phpBB/adm/style/admin.css
+++ b/phpBB/adm/style/admin.css
@@ -840,11 +840,19 @@ td.name {
text-align: right;
}
-.row1, table.zebra-table tbody tr:nth-child(odd) {
+.row1 {
background-color: #F9F9F9;
}
-.row2, table.zebra-table tbody tr:nth-child(even) {
+table.zebra-table tbody tr:nth-child(odd) {
+ background-color: #F9F9F9;
+}
+
+.row2 {
+ background-color: #DCEBFE;
+}
+
+table.zebra-table tbody tr:nth-child(even) {
background-color: #DCEBFE;
}
diff --git a/phpBB/styles/prosilver/theme/colours.css b/phpBB/styles/prosilver/theme/colours.css
index 8c411a9f4d..1d4c657a14 100644
--- a/phpBB/styles/prosilver/theme/colours.css
+++ b/phpBB/styles/prosilver/theme/colours.css
@@ -76,11 +76,19 @@ hr {
color: #000000;
}
-table.zebra-list tr:nth-child(odd) td, ul.zebra-list li:nth-child(odd), .bg1 {
+.bg1 {
background-color: #ECF3F7;
}
-table.zebra-list tr:nth-child(even) td, ul.zebra-list li:nth-child(even), .bg2 {
+table.zebra-list tr:nth-child(odd) td, ul.zebra-list li:nth-child(odd) {
+ background-color: #ECF3F7;
+}
+
+.bg2 {
+ background-color: #e1ebf2;
+}
+
+table.zebra-list tr:nth-child(even) td, ul.zebra-list li:nth-child(even) {
background-color: #e1ebf2;
}