1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-20 07:21:30 +02:00

[ticket/11552] Responsive tables in MCP

PHPBB3-11552
This commit is contained in:
Vjacheslav Trushkin
2013-09-27 17:57:18 +03:00
parent 961a27091e
commit cab21f3a1e
4 changed files with 40 additions and 5 deletions

View File

@@ -240,17 +240,37 @@ table.responsive thead {
display: none;
}
table.responsive th {
display: none;
border-bottom-width: 0 !important;
}
table.mcp-warnings thead {
display: block;
}
table.mcp-warnings th:nth-child(1),
table.mcp-warnings th:nth-child(3) {
display: inline;
}
table.mcp-warnings th:nth-child(1):after {
content: ',';
}
table.responsive tr {
overflow: hidden;
margin: 5px 0;
}
table.mcp-logs td:nth-child(2) {
table.mcp-logs td:nth-child(2),
table.mcp-warnings td:nth-child(2n + 1) {
width: 50%;
float: left;
}
table.mcp-logs td:nth-child(3) {
table.mcp-logs td:nth-child(3),
table.mcp-warnings td:nth-child(2n) {
margin-left: 50%;
text-align: right;
}
@@ -292,6 +312,11 @@ p.rightside {
margin-bottom: 0;
}
.column1, .column2 {
width: auto;
float: none;
}
@media only screen and (max-width: 500px), only screen and (max-device-width: 500px)
{
p.responsive-center {