From 72a6cb11dbbd48803c156244ffb351b338ab9d03 Mon Sep 17 00:00:00 2001 From: albertlast Date: Tue, 8 Sep 2026 07:41:44 +0200 Subject: [PATCH] Removes the stylesheet the installer stopped using Themes/default/css/install.css is loaded by nothing. The installer and the upgrader were rewritten for 3.0, and MaintenanceTemplate.php asks for variables.css, index.css, maintenance.css and, in a right-to-left language, rtl.css. In 2.1 the file was pulled in by other/install.php and other/upgrade.php, which is where its last references went. Nothing else reaches it either. The name appears nowhere in the repository, and it cannot arrive by a computed name: the only place a stylesheet is loaded from a variable is Theme::loadTemplate(), whose two callers both ask for 'admin'. Confirmed by running both tools: install.php and upgrade.php each return 200 and request variables.css, index.css and maintenance.css, with nothing logged. Co-Authored-By: Claude Opus 5 Signed-off-by: albertlast --- Themes/default/css/install.css | 183 --------------------------------- 1 file changed, 183 deletions(-) delete mode 100644 Themes/default/css/install.css diff --git a/Themes/default/css/install.css b/Themes/default/css/install.css deleted file mode 100644 index 73cbc1343df..00000000000 --- a/Themes/default/css/install.css +++ /dev/null @@ -1,183 +0,0 @@ -a:link, a:hover, a:visited { - text-decoration: underline; -} -/* These divisions wrap the forum sections when a forum width is set. */ -h1.forumtitle { - color: #a85400; - text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5), 1px 1px 0 #fff; -} - -#inner_wrap { - min-height: 80px; -} -#inner_wrap .news { - height: 80px; - text-align: right; - width: 100%; - max-width: 100%; - float: left; -} -#main_content_section { - display: flex; - flex-wrap: wrap; -} -/* Add the gradient here if there is no upper_section */ -#main_content_section:first-child { - margin: 2px; - padding-top: 1em; - border-radius: 6px; - background: linear-gradient(to bottom, #e2e9f3 0%, #fff 90px); -} -#main_steps { - order: 0; - width: 49%; -} -#main_steps h2 { - font-size: 1.2em; - border-bottom: 1px solid #d05800; - line-height: 1.6em; - margin: 0 1em 0.5em 0; - color: #d05800; -} -ul.steps_list { - line-height: 1.8em; - color: #c2c2c2; -} -ul.steps_list li.stepcurrent { - color: #222; - font-weight: bold; -} -ul.steps_list .stepcurrent ~ li { - color: #666; -} -#install_progress { - order: -1; - margin: 0.32em 2% 0 0; - width: 49%; -} -.progress_bar { - line-height: 2em; - max-width: 500px; -} -.progress_bar + h3, .progress_bar + .progress_bar { - margin-top: 1.5em; -} -.progress_bar h3 { - position: absolute; - font-weight: normal; - font-size: 1.1em; - left: 0.5em; - z-index: 3; - text-shadow: 1px 1px rgba(255, 255, 255, .4); -} -#substep_bar_div { - line-height: 1.6em; -} -#substep_progress { - background-color: #eebaf4; -} -.time_elapsed { - margin-top: 1em; -} -#main_screen { - width: 100%; - margin-top: 2em; -} -#main_screen h2 { - font-size: 1.2em; - border-bottom: 1px solid #d05800; - line-height: 1.6em; - margin: 0 0 0.5em 0; - color: #d05800; -} -.panel form div { - max-height: 560px; -} -.panel p, .panel h3, .panel ul { - margin: 0 0 1em 0; -} -.error { - padding: 0.5em 0; -} -.panel .button { - font-weight: bold; -} -.panel .button:enabled:hover { - color: #af6700; - text-decoration: none; -} -.panel .clear { - padding: 1em 0 0 0; - overflow: auto; -} -.upgrade_settings li + li { - margin-top: 0.5em; -} -.buttons { - margin-top: 1em; -} -#commess, #indexmsg { - font-weight: bold; -} -#indexmsg { - font-style: italic; -} -.error_content { - margin: 2.5ex; - font-family: monospace; -} -#debug_section { - overflow: auto; - max-height: 8.4em; /* 6 lines of text */ - line-height: 1.4em; -} -dl.settings dt, dl.settings dd { - width: 50%; -} -dl.settings.adminlogin dt { - width: 20ch; -} -dl.settings.adminlogin dd { - width: calc(100% - 20ch); -} -@media (max-width: 480px) { - dl.settings.adminlogin dt, dl.settings.adminlogin dd { - width: 100%; - } -} -/* [WIP] Warning: this next bit may cause trouble. */ -/* It's just to hide an empty div when the submits are not shown. */ -.panel .clear:nth-child(3) { - border: 1px solid green; - display: none; -} -/* End [WIP] */ - - -/* Now make the installer and upgrader adaptive */ - -@media screen and (max-width: 950px) { - - .progress_bar span { - float: right; - } -} - -@media screen and (max-width: 700px) { - - #install_progress, #main_steps { - width: 100%; - margin-right: 0; - } - #install_progress { - order: 0; - margin-top: 2em; - } - dl.settings dd { - -ms-grid-column: 1; - grid-column: 1; - } - dl.settings dt { - margin: 10px 0 0; - } -} \ No newline at end of file