Commit graph

29 commits

Author SHA1 Message Date
Hiltjo Posthuma
ae41add24a style.css: improve contrast
https://webaim.org/resources/contrastchecker/?fcolor=555555&bcolor=FFFFFF

Patch by Augustin Fabre <augustin@augfab.fr> and adapted.
2020-11-15 21:16:06 +01:00
Hiltjo Posthuma
4a93974f52 style.css: highlight anchor ids, useful for linking highlighting lines in a diff 2019-12-29 19:02:04 +01:00
Hiltjo Posthuma
1df3f334f6 style: keep default browser style for links, except patch chunks
This is almost always an underline. This improves accessibility.

Remove underline for patch chunks for readability.
2018-12-25 13:39:34 +01:00
Hiltjo Posthuma
3a151527e1 in the diffstat prefix the type of change, allow CSS styling 2018-11-18 18:08:20 +01:00
Hiltjo Posthuma
67a862df28 style.css: improve compatibility with older browsers, namely dillo 2018-01-20 13:18:27 +01:00
Aaron Marcher
1add4bf3ae Sort style.css in alphabetical order 2017-11-25 12:23:24 +01:00
Hiltjo Posthuma
914880f31b optimization: read stats once and remember it
for an initial run and new commits this speeds stagit up a bit:
on an initial run of sbase goes from about 4 seconds to 2.8 on my machine.

now we can't use statsbuf, so create the stats string ourselves, while at it
color the + and - using a style (can be disabled for the color-haters out
there ;)).
2016-04-30 12:47:00 +02:00
Hiltjo Posthuma
5c278a600e submodule support
- detect .gitmodules file for submodules, add a link "submodules" to the top menu.
- link each submodule to the .gitmodules file in HEAD.
- revert the special style for modules, but list it as a file "m---------", don't show
  the line/filesize though, it is not a file.
2016-04-29 21:14:46 +02:00
Hiltjo Posthuma
a524ca1b3d make submodule link black, easier to read
this is also the same color as a bare repo without a link.
2016-04-29 15:57:55 +02:00
z3bra
571076b419 Don't fail on submodules
Submodules will get listed prefixed with a '@', using a specific CSS class for
styling. The href will be set to the url of the submodule.
Filesize will appear as 0 and filemode will not be printed to avoid an awkward
mode: "?---------".

In writefilestree, we don't return anymore if an entry can't be categorized as
an object, but rather, fail if we can't retrieve its name.
2016-04-29 12:31:39 +02:00
FRIGN
6775e26ebd Choose better colors for the diff page
This makes it easier to read on the light background and is not as
straining in the eyes.
2016-03-01 19:14:10 +01:00
Hiltjo Posthuma
c576a7ae6e style: vertical-align header text 2016-01-06 19:19:20 +01:00
Hiltjo Posthuma
6a427c75fc style.css: wrap description text, nowrap for rest
vertical align to the top of the cell, this makes it scale better to some smaller screens
2016-01-06 18:53:51 +01:00
Hiltjo Posthuma
99a8b8a296 style: darkblue for hunk like cgit, hunk line is now a link 2016-01-05 21:41:49 +01:00
Hiltjo Posthuma
63a71643d0 index: highlight row on mouseover 2015-12-26 12:54:09 +01:00
Hiltjo Posthuma
304c896bd4 style.css: maximize contrast for text 2015-12-20 20:42:16 +01:00
Eivind Uggedal
0a4451bc15 Line numbers on blob pages 2015-12-10 23:29:49 +01:00
FRIGN
43a7d4dc2c Make border solid 2015-12-09 23:48:20 +01:00
Eivind Uggedal
b634cfd860 Simplify diff markup
Remove <span> for inserted/deleted lines and use
the <a> for coloring.
2015-12-09 22:15:25 +01:00
Eivind Uggedal
1363b8b51e Simplify style and make output more legible
- Combines and removes some redundancy.
- Makes <hr> softer by using dashed lines.
- Removes <a> underlines since the file/log view
  have tons of links and reading them is a bit
  distracting. Underlines are added on hover.
- Makes diff headers darkcyan to match the default
  command line colors and not conflict with new
  <a> style.
2015-12-09 22:15:23 +01:00
FRIGN
66e007efd3 Add pre
Actually, we still have <pre>.
2015-12-08 00:23:58 +01:00
FRIGN
afcb86a55d Refactor style.css
We have no <pre> anymore.
2015-12-08 00:17:48 +01:00
Hiltjo Posthuma
52520a4289 prettification 2015-12-07 23:54:31 +01:00
Hiltjo Posthuma
8de7a32f07 logo is 32x32 2015-12-07 21:20:59 +01:00
Hiltjo Posthuma
86c970e1ec style: center menu and make title smaller 2015-12-07 21:19:30 +01:00
Hiltjo Posthuma
673122b0d5 highlight/make bold some fields 2015-12-07 19:46:07 +01:00
Hiltjo Posthuma
d16e00a72b style.css: improve style, add highlight colors for diff 2015-12-07 18:57:03 +01:00
Hiltjo Posthuma
5734f7aca1 style.css: sane style 2015-12-05 00:36:54 +01:00
Hiltjo Posthuma
acd2400049 initial insertion 2015-12-04 16:58:04 +01:00