unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: "W. Trevor King" <wking@tremily.us>
To: notmuch@notmuchmail.org
Cc: Tomi Ollila <tomi.ollila@iki.fi>
Subject: [PATCH] nmbug-status: Make the footer's <hr> gray
Date: Sat, 10 May 2014 15:39:57 -0700	[thread overview]
Message-ID: <a8aa84ef36cf0046456d908117badacbbb9bf29f.1399761510.git.wking@tremily.us> (raw)
In-Reply-To: <m28uq9ibph.fsf@guru.guru-group.fi>

So it's less agressive.  IE uses 'color' for drawing the rule, while
Gecko and Opera use the border or 'background-color' [1].

[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=239386
---
On Sun, May 11, 2014 at 12:08:10AM +0300, Tomi Ollila wrote:
> The rendered <hr/> irritates me a bit, though. Maybe it could be
> colored light gray ?

I can't reroll that one myself, unless Carl gives the ok.  But here's
some light-gray styling as an additional patch.

Cheers,
Trevor

 devel/nmbug/nmbug-status | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status
index 926d4e4..c92d268 100755
--- a/devel/nmbug/nmbug-status
+++ b/devel/nmbug/nmbug-status
@@ -315,6 +315,12 @@ _PAGES['html'] = HtmlPage(
     tbody:nth-child(4n+3) tr td {{
       background-color: #bce;
     }}
+    hr {{
+      border: 0;
+      height: 1px;
+      color: #ccc;
+      background-color: #ccc;
+    }}
   </style>
 </head>
 <body>
-- 
1.9.1.353.gc66d89d

  reply	other threads:[~2014-05-10 22:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-10 19:12 [PATCH 0/5] nmbug-status fixups from notmuch-to-html W. Trevor King
2014-05-10 19:12 ` [PATCH 1/5] Add explicit license information W. Trevor King
2014-05-10 19:12 ` [PATCH 2/5] Move the generated date from the top of the page to the footer W. Trevor King
2014-05-10 19:12 ` [PATCH 3/5] nmbug-status: Use a triple-quoted string for the footer template W. Trevor King
2014-05-10 19:12 ` [PATCH 4/5] Add a comment describing the program W. Trevor King
2014-05-10 19:12 ` [PATCH 5/5] nmbug-status: Shift the script description into a docstring W. Trevor King
2014-05-10 21:08 ` [PATCH 0/5] nmbug-status fixups from notmuch-to-html Tomi Ollila
2014-05-10 22:39   ` W. Trevor King [this message]
     [not found] ` <87fvkgf87n.fsf@yoom.home.cworth.org>
2014-05-12  0:36   ` W. Trevor King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a8aa84ef36cf0046456d908117badacbbb9bf29f.1399761510.git.wking@tremily.us \
    --to=wking@tremily.us \
    --cc=notmuch@notmuchmail.org \
    --cc=tomi.ollila@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).