sapling/mercurial/templates/gitweb
Gregory Szorc fa21f12af8 hgweb: refresh styling of gitweb's search form
gitweb was missing the hint hover box. So that was added.

Also, the positioning of the form was absolute and it didn't
vertically align on all pages. The element has been moved inline
with the navigation links (which now are contained in a div) and
flexbox is used to obtain sane alignment of the navigation links
and search form. For those new to flexbox,
"justify-content: space-between" basically says to maximize space
elements. You can use it to easily get left and right justified
containers without having to worry about width, floating, etc.
"align-items: center" centers all items in a cross-axis. I've
literally wasted hours trying to figure out both these problems
before flexbox. Flexbox is amazing.

Flexbox has been supported by Chrome and Firefox for a few years.
But it is only supported by IE 11. I'm willing to wager that
people using this either won't be using IE or will be using IE 11.
So I'm willing to be a bit aggressive in adopting flexbox because
it makes CSS alignment so much easier.
2017-06-09 13:55:51 -07:00
..
bookmarks.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
branches.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
changelog.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
changelogentry.tmpl gitweb: use monospace font for commit messages 2017-03-24 19:52:43 -07:00
changeset.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
error.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
fileannotate.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
filecomparison.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
filediff.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
filelog.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
filerevision.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
footer.tmpl hgweb: call process_dates() via DOM event listener 2017-01-10 20:47:48 -08:00
graph.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
header.tmpl hgweb: urlescape all urls, HTML escape repo/tag/branch/... names 2013-02-01 20:43:35 +01:00
help.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
helptopics.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
index.tmpl hgweb: call process_dates() via DOM event listener 2017-01-10 20:47:48 -08:00
manifest.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
map hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
notfound.tmpl hgweb: urlescape all urls, HTML escape repo/tag/branch/... names 2013-02-01 20:43:35 +01:00
search.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
shortlog.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
summary.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
tags.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00