From 9e1c33d658d59d775abb6f4c1a629ec0598ba155 Mon Sep 17 00:00:00 2001 From: Mattias Erming Date: Mon, 15 Sep 2014 10:41:23 -0700 Subject: [PATCH] Added print CSS style --- client/css/style.css | 57 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/client/css/style.css b/client/css/style.css index e4de1893..1d0b65db 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -772,3 +772,60 @@ button { display: none; } } + +@media print { + * { + position: relative !important; + overflow: visible !important; + } + body { + background: #fff; + } + .lt, + .rt, + .window:before, + .chan:before, + .title:before { + display: none !important; + } + .sidebar, + #form, + #sidebar { + display: none; + } + #windows .header { + border-bottom: 0; + padding-left: 10px; + } + #main { + left: 0; + } + #chat { + font-size: 11px; + } + #chat .chat { + bottom: 0; + left: 0; + top: 0; + right: 0; + } + #chat .messages { + display: block; + padding: 5px 10px; + } + #chat .msg { + display: block; + padding: 2px 0; + } + #chat .msg:last-child { + height: auto; + } + #chat .from, + #chat .text, + #chat .time { + background: none; + border: 0; + display: inline; + padding: 0; + } +}