1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 03:54:10 +01:00

[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 {
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

View File

@ -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;
}