On 3/22/2014 7:17 PM, ma...@include-once.org wrote:
Also not sure if the Unicode glyphs show up for everyone, but I'm
reluctant to plaster heaps of /doc/tip/www/icon files into every repo.

Fossil currently implements tree view file and directory icons as data:
URLs embedded in the CSS.

.filetree a {
background-image: url("data:image/gif;base64,R0lGODlhEAAQAJEAAP///yEhIf///wAAACH5BAEHAAIALAAAAAAQABAAAAIvlIKpxqcfmgOUvoaqDSCxrEEfF14GqFXImJZsu73wepJzVMNxrtNTj3NATMKhpwAAOw==");
    background-position: left center;
    background-repeat: no-repeat;
    display: inline-block;
    min-height: 16px;
    padding-left: 21px;
    position: relative;
    z-index: 1;
}
.filetree .dir > a {
background-image: url("data:image/gif;base64,R0lGODlhEAAQAJEAAP/WVCIiIv///wAAACH5BAEHAAIALAAAAAAQABAAAAInlI9pwa3XYniCgQtkrAFfLXkiFo1jaXpo+jUs6b5Z/K4siDu5RPUFADs=");
}

--
Andy Goth | <andrew.m.goth/at/gmail/dot/com>
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to