Friday Nov 13, 2009

PDF and ODF links on your blog

"And now to something completely different". This famous line from Monty Python comes to mind whenever you click on a hyperlink that links to a PDF or ODF document. In order to indicate the type of the link I'm using icons by adding some lines to the stylesheet. Here is the code for GullFOSS, that you can copy and paste into your blog's stylesheet or CSS file without any modifications:

/\* add odf icons for those links \*/ a[href$=".odp"] {     padding-left: 17px;     background: transparent url(http://blogs.sun.com/GullFOSS/resource/design/odp.gif) no-repeat center left; } a[href$=".odt"] {     padding-left: 17px;     background: transparent url(http://blogs.sun.com/GullFOSS/resource/design/odt.gif) no-repeat center left; } a[href$=".ods"] {     padding-left: 17px;     background: transparent url(http://blogs.sun.com/GullFOSS/resource/design/ods.gif) no-repeat center left; } a[href$=".odg"] {     padding-left: 17px;     background: transparent url(http://blogs.sun.com/GullFOSS/resource/design/odg.gif) no-repeat center left; } a[href$=".pdf"] {     padding-left: 16px;     background: transparent url(http://blogs.sun.com/GullFOSS/resource/design/pdf.gif) no-repeat center left; }

Finally an example. The PDF at the bottom of Bill Verplank sketches metaphors gets the PDF icon from the style statement above.

Tuesday Aug 25, 2009

New Set of Sun Ray Status Icons

initial Sun Ray screen

Do you notice the difference? No? Good. Good design is when you do not notice it. You probably haven't recognized that the prompt icon has changed compared to the icon that was used for nearly a decade.

former icon to insert a Java Cardnew icon to insert a Java CardThe former icon still had the original Sun purple on a beveled button (the latter a usability issue in its own, because there is nothing to click). And even though the Sun Ray 1 is still on duty at many sites, it has long been replaced by a couple of successor models. Hence the icon of the tilted thin client device is not appropriate anymore.

The new set of status icons will be part of the upcoming SRSS 4.2 release. The entire set is presented and explained at SRSS Troubleshooting Wiki.

Thanks to Jörg for the good cooperation, and welcome to the blogosphere.

About

Search

Categories
Archives
« April 2015
SunMonTueWedThuFriSat
   
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  
       
Today