summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-01-02 23:35:04 +0000
committerDries Buytaert <dries@buytaert.net>2003-01-02 23:35:04 +0000
commit7a6b8e3d3cc26d242b3c7cbb2eaf252d69b8192f (patch)
tree797ead298fa52e06746a09e9043db86a12e3fcfd
parent408bf86abd18c61bb70ed28b2045d07c599a91b2 (diff)
downloadbrdo-7a6b8e3d3cc26d242b3c7cbb2eaf252d69b8192f.tar.gz
brdo-7a6b8e3d3cc26d242b3c7cbb2eaf252d69b8192f.tar.bz2
- Added Michael's dummy print.css to avoid watchdog errors.
- Added a comment to explain why we include a dummy stylesheet.
-rw-r--r--admin.php1
-rw-r--r--misc/print.css24
2 files changed, 25 insertions, 0 deletions
diff --git a/admin.php b/admin.php
index 3e232645b..7531c2c75 100644
--- a/admin.php
+++ b/admin.php
@@ -24,6 +24,7 @@ function admin_page($mod) {
</head>
<body>
<?php
+ // NOTE: we include a dummy "print.css" to remove the "flash of unstyled content" (FUOC) problems in IE.
module_invoke_all("link", "admin");
diff --git a/misc/print.css b/misc/print.css
new file mode 100644
index 000000000..4b7d5bb1f
--- /dev/null
+++ b/misc/print.css
@@ -0,0 +1,24 @@
+body {
+ margin: 1em;
+ background-color: #fff;
+}
+th {
+ text-align: left;
+ color: #006;
+ border-bottom: 1px solid #ccc;
+}
+tr.dark {
+ background-color: #ddd;
+}
+tr.light {
+ background-color: #fff;
+}
+td {
+ padding: 5px;
+}
+#menu {
+ visibility: hidden;
+}
+#main {
+ margin: 1em;
+} \ No newline at end of file