summaryrefslogtreecommitdiff
path: root/includes/header.inc
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-11-11 23:47:49 +0100
committerMinteck <contact@minteck.org>2022-11-11 23:47:49 +0100
commit209356b8ade1920b50d1d3a1a5e121c6623d167b (patch)
tree5301396987d1510f715a0b1c24754873af19e1dc /includes/header.inc
parent2c4ae43e688a9873e86211ea0e7aeb9ba770dd77 (diff)
downloadpluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.tar.gz
pluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.tar.bz2
pluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.zip
Update
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; ?>