[ticket/469] Only allow showing left or right module on all pages

B3P-469
This commit is contained in:
Marc Alexander
2015-02-13 16:33:06 +01:00
parent f75dd66601
commit 311c7cb97f
7 changed files with 41 additions and 12 deletions

View File

@@ -1,7 +1,9 @@
<!-- IF T_EXT_THEME_PATH -->
<!-- INCLUDECSS ../theme/portal.css -->
<!-- INCLUDECSS ../theme/portal_responsive.css -->
<!-- IF S_PORTAL_ALL -->
<!-- INCLUDECSS ../theme/portal_all.css -->
<!-- INCLUDECSS ../theme/portal_all_responsive.css -->
<!-- ELSE -->
<!-- INCLUDECSS ../theme/portal_responsive.css -->
<!-- ENDIF -->
<!-- ENDIF -->

View File

@@ -0,0 +1,14 @@
@media only screen and (max-width: 870px), only screen and (max-device-width: 870px) {
.portal-body-center dd.posts, .portal-body-center dd.views {
display: none !important;
}
.portal-body-center dt { width: 130% !important; }
}
@media only screen and (max-width: 740px), only screen and (max-device-width: 740px) {
.portal-body-center dt { width: 140% !important; }
#portal-left ul.topiclist dd, #portal-right ul.topiclist dd { display: block !important; }
#portal-right > .portal-clear, #portal-body > .portal-clear, #portal-left > .portal-clear,
#portal-center > .portal-clear, #portal-login-box .portal-clear { display: none !important; }
}