tazpkg diff tazpanel/pkgs.css @ rev 762

tazpkg: re-make block and unblock, add chblock to change blocking of package; pkgs.cgi: remove website link from packages list, show selected packages count, add '(Un)block' button for bulk operation; pkgs.css: clean old code.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 01 04:29:22 2015 +0300 (2015-04-01)
parents 98c62c676216
children 5a6155d9197a
line diff
     1.1 --- a/tazpanel/pkgs.css	Mon Mar 30 11:52:49 2015 +0300
     1.2 +++ b/tazpanel/pkgs.css	Wed Apr 01 04:29:22 2015 +0300
     1.3 @@ -1,4 +1,7 @@
     1.4 -/*body { -webkit-appearance: window; }*/
     1.5 +/**
     1.6 + * CSS style for TazPkg/TazPanel - (C) 2011-2015 SliTaz GNU/Linux
     1.7 + */
     1.8 +
     1.9  
    1.10  /**
    1.11   * Sidebar menus
    1.12 @@ -22,7 +25,16 @@
    1.13  	text-align: center;
    1.14  }
    1.15  
    1.16 +
    1.17 +
    1.18 +
    1.19 +
    1.20 +/**
    1.21 + * Sidebar category selector
    1.22 + */
    1.23 +
    1.24  /* hack to remove unwanted scrollbar from multiline selector */
    1.25 +
    1.26  .select_wrap {
    1.27  	display: inline-block;
    1.28  	vertical-align: top;
    1.29 @@ -45,65 +57,19 @@
    1.30  #sidebar a {
    1.31  	display: inline-block;
    1.32  	padding: 0 0 0 0.5em; margin: 0;
    1.33 -	color: #000;
    1.34 +	color: CaptionText;
    1.35  	font-size: small;
    1.36  	width: 100%;
    1.37  }
    1.38  
    1.39  
    1.40 +
    1.41 +
    1.42 +
    1.43  /**
    1.44   * List of packages
    1.45   */
    1.46  
    1.47 -/* links classes:
    1.48 - *   pkg   - package (not installed);
    1.49 - *   pkgi  - package (installed);
    1.50 - *   pkgib - package (installed and blocked);
    1.51 - *   w     - web site
    1.52 - *
    1.53 - * you can style links using icons and/or color
    1.54 - */
    1.55 -
    1.56 -a.pkg   { background: url(images/tp-new.png)   no-repeat left; }
    1.57 -a.pkgi  { background: url(images/tp-pkgi.png)  no-repeat left; }
    1.58 -a.pkgib { background: url(images/tp-pkgib.png) no-repeat left; color: red; }
    1.59 -a.w::before, .pkglist td:nth-child(4) a::before {
    1.60 -	font-family: TazPanel; content: 'web';
    1.61 -
    1.62 -	vertical-align: baseline;
    1.63 -	padding: 0 0.2rem 0 0;
    1.64 -	font-size: 1rem;
    1.65 -
    1.66 -	font-style: normal;
    1.67 -	font-weight: normal;
    1.68 -	font-variant: normal;
    1.69 -	text-transform: none;
    1.70 -	line-height: 1;
    1.71 -	display: inline-block;
    1.72 -	text-decoration: none;
    1.73 -	width: 1rem; text-align: center;
    1.74 -
    1.75 -	-webkit-text-rendering: optimizeLegibility;
    1.76 -	   -moz-text-rendering: optimizeLegibility;
    1.77 -	    -ms-text-rendering: optimizeLegibility;
    1.78 -	     -o-text-rendering: optimizeLegibility;
    1.79 -	        text-rendering: optimizeLegibility;
    1.80 -
    1.81 -	-webkit-font-smoothing: antialiased;
    1.82 -	   -moz-font-smoothing: antialiased;
    1.83 -	    -ms-font-smoothing: antialiased;
    1.84 -	     -o-font-smoothing: antialiased;
    1.85 -	        font-smoothing: antialiased;
    1.86 -}
    1.87 -
    1.88 -a.pkg, a.pkgi, a.pkgib, a.w, .pkglist td:nth-child(4) a {
    1.89 -	margin: 0; padding: 0 0 0 17px;
    1.90 -	min-height: 16px; min-width: 16px;
    1.91 -	display: inline-block;
    1.92 -}
    1.93 -
    1.94 -
    1.95 -
    1.96  /* not break the line */
    1.97  .pkglist td:nth-child(1),
    1.98  .filelist td:nth-child(1) { white-space: nowrap; }
    1.99 @@ -167,7 +133,7 @@
   1.100  	background: #F94;
   1.101  	color: black;
   1.102  }
   1.103 -.pages.current, a.pages.current:hover {
   1.104 +.pages.current, .pages.current:hover {
   1.105  	font-weight: bold;
   1.106  	border: 1px solid #07F;
   1.107  	background: #07F;