summaryrefslogtreecommitdiff
path: root/includes/header.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/header.inc')
-rw-r--r--includes/header.inc24
1 files changed, 23 insertions, 1 deletions
diff --git a/includes/header.inc b/includes/header.inc
index c893cea..2d95799 100644
--- a/includes/header.inc
+++ b/includes/header.inc
@@ -1,6 +1,6 @@
<?php global $title; global $pages;
-$useNewUI = isset($_GET['new']) || isset($_COOKIE['new']);
+$useNewUI = !isset($_GET['old']);
$readOnly = false;
@file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/.test", "hello");
@@ -755,6 +755,10 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/ical/main.php";
position: relative;
z-index: 9999;
}
+
+ html, body {
+ overflow-x: hidden;
+ }
</style>
</head>
<body<?php if ($page["rail"] && $isLoggedIn && !$useNewUI): ?> id="admin-page"<?php endif; ?>>
@@ -851,6 +855,10 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/ical/main.php";
body {
margin-left: 250px !important;
}
+
+ #system-banner-container, #member-banner-container {
+ width: 100% !important;
+ }
}
@media (max-width: 1300px) {
@@ -894,6 +902,20 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/ical/main.php";
display: block !important;
}
}
+
+ @media (max-width: 700px) {
+ #title-bar-parts-mobile {
+ display: inline !important;
+ }
+
+ #title-bar-parts-desktop {
+ display: none;
+ }
+
+ #title-bar {
+ text-align: left;
+ }
+ }
</style>
<?php endif; ?>