From 522d5cc3f46c3617af939c58e78101dd9887dd2c Mon Sep 17 00:00:00 2001 From: Vjacheslav Trushkin Date: Sat, 26 Oct 2013 22:45:55 +0300 Subject: [ticket/11957] Responsive ACP permissions PHPBB3-11957 --- phpBB/adm/style/acp_permission_roles.html | 2 +- phpBB/adm/style/acp_permissions.html | 14 +++---- phpBB/adm/style/admin.css | 70 +++++++++++++++++++++++++++++++ phpBB/adm/style/permission_mask.html | 2 +- 4 files changed, 79 insertions(+), 9 deletions(-) (limited to 'phpBB/adm/style') diff --git a/phpBB/adm/style/acp_permission_roles.html b/phpBB/adm/style/acp_permission_roles.html index 22272d806c..d4f7bbdf36 100644 --- a/phpBB/adm/style/acp_permission_roles.html +++ b/phpBB/adm/style/acp_permission_roles.html @@ -91,7 +91,7 @@
style="display: none;">
- +
diff --git a/phpBB/adm/style/acp_permissions.html b/phpBB/adm/style/acp_permissions.html index 88a82532a1..6dc9dca2e7 100644 --- a/phpBB/adm/style/acp_permissions.html +++ b/phpBB/adm/style/acp_permissions.html @@ -110,7 +110,7 @@ -
+
@@ -155,7 +155,7 @@
-
+
@@ -200,7 +200,7 @@ -
+

{L_USERS}

@@ -241,7 +241,7 @@
-
+

{L_USERGROUPS}

@@ -324,7 +324,7 @@ -

+

@@ -340,7 +340,7 @@ -

+

@@ -348,7 +348,7 @@ {S_FORM_TOKEN}
-

+

diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css index bdcda9f299..fc565f8713 100644 --- a/phpBB/adm/style/admin.css +++ b/phpBB/adm/style/admin.css @@ -1224,6 +1224,7 @@ select#full_folder_action { } fieldset.quick, p.quick { + float: none !important; text-align: center; } @@ -1861,6 +1862,15 @@ li.pagination ul { /* Permission interface ---------------------------------------- */ +.column1, .column2 { + width: 48%; + float: left; +} + +.ltr .column2, .rtl .column1 { + float: right; +} + fieldset.permissions legend { text-transform: none; } @@ -2149,6 +2159,66 @@ fieldset.permissions .padding { padding: 0; } +@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) +{ + .column1, .column2 { + float: none !important; + width: auto; + } + + .permissions-simple { + clear: both; + } + + .permissions-simple td, .permissions-simple dd { + width: auto !important; + margin-left: 0 !important; + margin-right: 0 !important; + } + + .permissions-simple dd { + margin-top: 5px; + } + + .permissions-panel .tablewrap { + margin: 0 5px; + } + + .permissions-category { + min-width: 0; + margin: 0 !important; + } + + .permissions-category a, .permissions-category a span.tabbg { + display: block; + float: none !important; + background: transparent none; + } + + .permissions-category a { + background: #d9e5ee; + margin: 5px 0; + padding: 0 !important; + border-radius: 3px; + text-decoration: underline; + } + + .permissions-category .activetab a { + background-color: #dd6900; + color: #fff; + } + + .permissions-category a span.tabbg { + color: inherit !important; + padding-top: 6px !important; + padding-bottom: 6px !important; + } + + .permissions-category .activetab span.colour { + border-color: #fff; + } +} + /* Avatars gallery ---------------------------------------- */ #gallery { diff --git a/phpBB/adm/style/permission_mask.html b/phpBB/adm/style/permission_mask.html index ac65754a14..003e8369ca 100644 --- a/phpBB/adm/style/permission_mask.html +++ b/phpBB/adm/style/permission_mask.html @@ -76,7 +76,7 @@
style="display: none;">
-
+
-- cgit v1.2.1