#765535 docbook-xsl: improve icons (prev, next, up and home)

#765535#5
Date:
2014-10-15 22:39:38 UTC
From:
To:
It's possible to improve the pictures by reusing icons from Tango
desktop (http://tango.freedesktop.org/Tango_Icon_Library).

The archive linked to the report includes new pictures for previous,
next, up and home buttons in GIF and PNG formats. I think that
replacing the old pictures by those included in the archive is the
only work to do.

I modified the color of the arrows from green to grey to fit with the
current color of GIF pictures in
/usr/share/xml/docbook/stylesheet/docbook-xsl/images/. I removed the
shadow under each pictures for the GIF version due to transparency
limitation on the GIF format.

#765535#10
Date:
2014-10-16 12:33:48 UTC
From:
To:
Hi,

The patch proposed by Stéphane Blondon is yielding nice web pages on
Debian DOC:
https://www.debian.org/doc/manuals/debian-reference/
https://www.debian.org/doc/manuals/maint-guide/

It is nice on my Desktop with wide screen since it has extra space for
width.

But on my cell phone(Nexus5), it wastes precious screen width.

I woner if this can be adjusted by CSS or Javascript.  If any of you web
specialist knows how, it will be nice to have that documented or
integrated to this proposed patch.

Just a thought.

Osamu

#765535#15
Date:
2014-10-17 10:00:01 UTC
From:
To:
Hi,

2014-10-16 14:33 GMT+02:00 Osamu Aoki <osamu@debian.org>:

I checked it on Samsung S4 to see the problem.
If I understand well, you would like the borders are removed on little
screen (like phone) so there would have more space for the text.
Is it right?

It's can be achieved by adding CSS. I can provide a patch to fix it.

#765535#20
Date:
2014-10-17 13:09:00 UTC
From:
To:
Hi,

Exactly.

Thanks.

Osamu

#765535#25
Date:
2014-10-18 20:58:48 UTC
From:
To:
Hi,

2014-10-17 15:09 GMT+02:00 Osamu Aoki <osamu@debian.org>:

I modified maint-guide.css as provided in the last version of the
reposity maint-guide.
It adds media queries to remove border for small screen (less than
5inches width).
(It simplifies an instruction too.)

An unified diff and the modified complete file are provided to this messsage.


Tested with Iceweasel 31.1.0 on Debian and with Firefox and Chrome on Android.

#765535#30
Date:
2015-03-27 23:53:56 UTC
From:
To:
After discussing with some maintainers of Debian documentations, it
appears that grey arrows are not great for visibility.
In attachment, you can find an archive with red arrows (prev, next and
up). They should replace the grey ones.

They are based on the same Tango project icons. The red color used is
the color of the Debian logo.

The svg files are provided in case someone wants to modify them.


Cheers