mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/12080] Reduce the palette options in all locations when responsive.
PHPBB3-12080
This commit is contained in:
@@ -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
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user