tazpkg diff tazpanel/pkgs.css @ rev 719

Style package table (less html, more css); really quick package list in test mode (add "&awk" to "pkgs.cgi?cat=..." to check it).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 19 17:25:08 2014 +0200 (2014-12-19)
parents 9081585e7446
children 953cbcb0cd50
line diff
     1.1 --- a/tazpanel/pkgs.css	Thu Dec 18 03:43:49 2014 +0200
     1.2 +++ b/tazpanel/pkgs.css	Fri Dec 19 17:25:08 2014 +0200
     1.3 @@ -26,5 +26,21 @@
     1.4  	display: inline-block; }
     1.5  
     1.6  
     1.7 -td.pkg {
     1.8 -	white-space: nowrap; }
     1.9 +.pkglist td:nth-child(1) {
    1.10 +	white-space: nowrap;
    1.11 +	}
    1.12 +
    1.13 +.pkglist td:nth-child(1) a {
    1.14 +	max-width: 12em;
    1.15 +	}
    1.16 +
    1.17 +.pkglist td:nth-child(2) {
    1.18 +	max-width: 7em;
    1.19 +	}
    1.20 +
    1.21 +.pkglist td:nth-child(1) a, .pkglist td:nth-child(2) {
    1.22 +	white-space: nowrap;
    1.23 +	overflow: hidden;
    1.24 +	text-overflow: ellipsis; -o-text-overflow: ellipsis;
    1.25 +	}
    1.26 +