[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#778240: tracker.debian.org has much worse display clarity



Le 18/12/2015 15:38, Raphael Hertzog a écrit :
> I use v4 alpha2 currently. I have no experience rebuilding bootstrap
> currently but there are some docs:
> http://v4-alpha.getbootstrap.com/getting-started/build-tools/
>[...]
> Once rebuilt you just have to put the .css file in
> distro_tracker/html/static/css/bootstrap.min.css and you should be able to
> try it out rather quickly with a local instance.

I don't think it's a good idea to modify bootstrap with
tracker.debian.org preferences inside without changing his filename
because someone who wan to update bootstrap.min.css will remove the
custom styles if he/she doesn't notice  the file is not the
basic one.


> But before spending lots of time with bootstrap, have a try by tweaking
> distro_tracker/core/static/css/style.css and adding CSS for the list-group
> and list-group-item classes to reduce the vertical padding and margin...

It's a easier start. I have done a little tweak on the file:
 - background more dark
 - less vertical space for list element.


There is a temporary hosted demo at
http://stephane.yaal.fr/tmp/tracker/DebianPackageTrackerMost.html

I hope this example helps for further discussion.

There is 2 minors problems in the previous example:
- some icons are not properly displayed. It's due to the save method I
used so it's not important.
- The "Go" button for the search is more or less the same color as the
new background color. It's easily fixable. I didn't do it because the
new background color will probably change between the demo and the final
version.


You can find the .diff of style.css in attachment.

-- 
Stéphane
2a3,6
> body{
>     background-color: #eee;
> }
> 
176c180
<   padding: 5px 5px 5px 5px;
---
>   padding: 2px 5px 2px 5px;
287a292
> 

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: