From 448aa307c324899a45b56d00c23d247b789eca27 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 8 May 2013 21:09:52 -0400 Subject: Right-align mail header names. We used to do this before WebKit and it looked better. Also fix up the header section for right-to-left locales: put the collapse button on the right, and images on the left. --- data/webview.css | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'data/webview.css') diff --git a/data/webview.css b/data/webview.css index 8d4c3397c2..f28ed3d668 100644 --- a/data/webview.css +++ b/data/webview.css @@ -72,6 +72,50 @@ object { /* GtkWidgets */ font-weight: bold; } +/**** HEADERS ****/ + +table.header { + border-spacing: 0px; + border-top-width: 0px; + border-right-width: 0px; + border-bottom-width: 0px; + border-left-width: 0px; + width: 100%; +} + +tr.header { + vertical-align: top; + width: 100%; +} + +th.header { + white-space: nowrap; +} + +td.header { + width: inherit; +} + +.ltr { + text-align: left; +} + +th.ltr { + padding-right: 6px; + text-align: right; + width: auto; +} + +.rtl { + text-align: right; +} + +th.rtl { + padding-left: 6px; + text-align: left; + width: auto; +} + /***** PRINTING *******/ .printing-header { -- cgit v1.2.3