From 7a4f033ccebe7bff72ee16cdf3f266dc4709c4c1 Mon Sep 17 00:00:00 2001 From: Shish Date: Fri, 18 Aug 2023 17:12:38 +0100 Subject: [PATCH] split installer CSS into its own file, since we only use it in one place --- core/sanitize_php.php | 1 + ext/static_files/installer.css | 39 +++++++++++++++++++++++++++++++++ ext/static_files/style.css | 40 ---------------------------------- 3 files changed, 40 insertions(+), 40 deletions(-) create mode 100644 ext/static_files/installer.css diff --git a/core/sanitize_php.php b/core/sanitize_php.php index a47cc394..c6f702d9 100644 --- a/core/sanitize_php.php +++ b/core/sanitize_php.php @@ -17,6 +17,7 @@ function die_nicely($title, $body, $code=0) Shimmie +
diff --git a/ext/static_files/installer.css b/ext/static_files/installer.css new file mode 100644 index 00000000..c2c17c2e --- /dev/null +++ b/ext/static_files/installer.css @@ -0,0 +1,39 @@ +#installer { + background: #EEE; + font-family: "Arial", sans-serif; + font-size: 14px; + width: 512px; + margin: 16px auto auto; + border: 1px solid black; + border-radius: 16px; +} +#installer P { + padding: 5px; +} +#installer A { + text-decoration: none; +} +#installer A:hover { + text-decoration: underline; +} +#installer H1, #installer H3 { + background: #DDD; + text-align: center; + margin: 0; + padding: 2px; +} +#installer H1 { + border-radius: 16px 16px 0 0; +} +#installer H3 { + border-top: 1px solid black; + border-bottom: 1px solid black; +} +#installer TH { + text-align: right; +} +#installer INPUT, +#installer SELECT { + width: 100%; + box-sizing: border-box; +} diff --git a/ext/static_files/style.css b/ext/static_files/style.css index b2b79819..ded6fe84 100644 --- a/ext/static_files/style.css +++ b/ext/static_files/style.css @@ -32,43 +32,3 @@ IMG.lazy {display: none;} margin: 8px; border: 1px solid #882; } - -#installer { - background: #EEE; - font-family: "Arial", sans-serif; - font-size: 14px; - width: 512px; - margin: 16px auto auto; - border: 1px solid black; - border-radius: 16px; -} -#installer P { - padding: 5px; -} -#installer A { - text-decoration: none; -} -#installer A:hover { - text-decoration: underline; -} -#installer H1, #installer H3 { - background: #DDD; - text-align: center; - margin: 0; - padding: 2px; -} -#installer H1 { - border-radius: 16px 16px 0 0; -} -#installer H3 { - border-top: 1px solid black; - border-bottom: 1px solid black; -} -#installer TH { - text-align: right; -} -#installer INPUT, -#installer SELECT { - width: 100%; - box-sizing: border-box; -}