summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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