[ticket/12080] Reduce the palette options in all locations when responsive.

PHPBB3-12080
This commit is contained in:
Cesar G 2014-02-16 13:27:01 -08:00
parent 5ef55d9e45
commit bfbf0fefbf
2 changed files with 12 additions and 4 deletions

View file

@ -1045,6 +1045,14 @@ table.styles td.users, table td.mark {
table.responsive.styles td:first-child > dfn, table.responsive td.actions > dfn { table.responsive.styles td:first-child > dfn, table.responsive td.actions > dfn {
display: none !important; 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 /* General form styles

View file

@ -303,20 +303,20 @@ dl.pmlist dd:first-of-type {
display: none; display: none;
} }
#colour_palette table, #colour_palette tbody, #colour_palette tr { .colour-palette, .colour-palette tbody, .colour-palette tr {
display: block; display: block;
} }
#colour_palette td { .colour-palette td {
display: inline-block; display: inline-block;
margin-right: 2px; margin-right: 2px;
} }
#colour_palette td:nth-child(2n) { .horizontal-palette td:nth-child(2n), .vertical-palette tr:nth-child(2n) {
display: none; display: none;
} }
#colour_palette a { .colour-palette a {
display: inline-block !important; display: inline-block !important;
} }