[PATCH] hgweb: fix search hint border-radius on standards-based browsers and remove old gecko-specific property

Gijs Kruitbosch gijskruitbosch at gmail.com
Wed Oct 7 20:29:51 UTC 2015


# HG changeset patch
# User Gijs Kruitbosch <gijskruitbosch at gmail.com>
# Date 1444245560 -3600
#      Wed Oct 07 20:19:20 2015 +0100
# Node ID 79662b7cd12090147de1c83f0452331d9252f4a0
# Parent  d9a07f86c2d9b910267bd18baeb1c884cb69309e
hgweb: fix search hint border-radius on standards-based browsers and remove old gecko-specific property

diff --git a/mercurial/templates/static/style-paper.css b/mercurial/templates/static/style-paper.css
--- a/mercurial/templates/static/style-paper.css
+++ b/mercurial/templates/static/style-paper.css
@@ -82,22 +82,22 @@ div.atom-logo {
 form.search div#hint {
   display: none;
   position: absolute;
   top: 40px;
   right: 0px;
   width: 190px;
   padding: 5px;
   background: #ffc;
   font-size: 70%;
   border: 1px solid yellow;
-  -moz-border-radius: 5px; /* this works only in camino/firefox */
   -webkit-border-radius: 5px; /* this is just for Safari */
+  border-radius: 5px;
 }
 
 form.search:hover div#hint { display: block; }
 
 a { text-decoration:none; }
 .age { white-space:nowrap; }
 .date { white-space:nowrap; }
 .indexlinks { white-space:nowrap; }
 .parity0,
 .stripes4 > :nth-child(4n+1),


More information about the Mercurial-devel mailing list