summaryrefslogtreecommitdiffstats
path: root/browser/themes/shared/blockedSite.css
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /browser/themes/shared/blockedSite.css
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/themes/shared/blockedSite.css')
-rw-r--r--browser/themes/shared/blockedSite.css71
1 files changed, 71 insertions, 0 deletions
diff --git a/browser/themes/shared/blockedSite.css b/browser/themes/shared/blockedSite.css
new file mode 100644
index 0000000000..568ae6c2c8
--- /dev/null
+++ b/browser/themes/shared/blockedSite.css
@@ -0,0 +1,71 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+@import url("chrome://global/skin/error-pages.css");
+
+@media not (prefers-contrast) {
+ :root {
+ --in-content-page-background: #A4000F;
+ --in-content-page-color: white;
+ --in-content-text-color: white;
+ --in-content-primary-button-text-color: black;
+ --in-content-button-background: transparent;
+ --in-content-button-background-hover: #5a0002;
+ --in-content-button-background-active: #3e0200;
+ --in-content-primary-button-background: white;
+ --in-content-primary-button-background-hover: rgba(255, 255, 255, 0.8);
+ --in-content-primary-button-background-active: rgba(255, 255, 255, 0.7);
+ }
+}
+
+.title {
+ background-image: url("chrome://global/skin/icons/blocked.svg");
+}
+
+.button-container button {
+ border: 1px solid white;
+ margin-inline-end: 0;
+ margin-top: 1.5em;
+}
+
+#advisory_provider {
+ text-decoration: underline;
+}
+
+#errorDescriptionContainer {
+ position: absolute;
+ margin: 48px auto;
+}
+
+.error-description {
+ min-width: var(--in-content-container-min-width);
+ max-width: var(--in-content-container-max-width);
+ color: black;
+ background-color: white;
+}
+
+.error-description > p:first-child {
+ padding: 3.5em 3.5em 1em;
+}
+
+.error-description > p:last-child {
+ padding: 0 3.5em 3.5em;
+}
+
+.error-description #ignore_warning_link,
+.error-description a:is(:link, :visited) {
+ cursor: pointer;
+ text-decoration: underline;
+ color: black;
+}
+
+a:not(:link) {
+ color: black;
+ text-decoration: none;
+ cursor: auto;
+}
+
+.sitename {
+ font-weight: bold;
+}