aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-02-16 13:27:01 -0800
committerCesar G <prototech91@gmail.com>2014-02-16 13:27:01 -0800
commitbfbf0fefbfb6d2d08c06ee2fe7826e0143948db1 (patch)
tree564719a0620ce0352613293cdf723a61d707836e /phpBB
parent5ef55d9e450c1e10f180427d8177deafee3e6567 (diff)
downloadforums-bfbf0fefbfb6d2d08c06ee2fe7826e0143948db1.tar
forums-bfbf0fefbfb6d2d08c06ee2fe7826e0143948db1.tar.gz
forums-bfbf0fefbfb6d2d08c06ee2fe7826e0143948db1.tar.bz2
forums-bfbf0fefbfb6d2d08c06ee2fe7826e0143948db1.tar.xz
forums-bfbf0fefbfb6d2d08c06ee2fe7826e0143948db1.zip
[ticket/12080] Reduce the palette options in all locations when responsive.
PHPBB3-12080
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/adm/style/admin.css8
-rw-r--r--phpBB/styles/prosilver/theme/responsive.css8
2 files changed, 12 insertions, 4 deletions
diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css
index aa8622ff61..ea5dc6aec6 100644
--- a/phpBB/adm/style/admin.css
+++ b/phpBB/adm/style/admin.css
@@ -1045,6 +1045,14 @@ table.styles td.users, table td.mark {
table.responsive.styles td:first-child > dfn, table.responsive td.actions > dfn {
display: none !important;
}
+
+ .horizontal-palette td:nth-child(2n), .vertical-palette tr:nth-child(2n) {
+ display: none;
+ }
+
+ .colour-palette a {
+ display: inline-block !important;
+ }
}
/* General form styles
diff --git a/phpBB/styles/prosilver/theme/responsive.css b/phpBB/styles/prosilver/theme/responsive.css
index bfa2448296..a6bc52db52 100644
--- a/phpBB/styles/prosilver/theme/responsive.css
+++ b/phpBB/styles/prosilver/theme/responsive.css
@@ -303,20 +303,20 @@ dl.pmlist dd:first-of-type {
display: none;
}
-#colour_palette table, #colour_palette tbody, #colour_palette tr {
+.colour-palette, .colour-palette tbody, .colour-palette tr {
display: block;
}
-#colour_palette td {
+.colour-palette td {
display: inline-block;
margin-right: 2px;
}
-#colour_palette td:nth-child(2n) {
+.horizontal-palette td:nth-child(2n), .vertical-palette tr:nth-child(2n) {
display: none;
}
-#colour_palette a {
+.colour-palette a {
display: inline-block !important;
}