tazpkg diff tazpanel/pkgs.css @ rev 737

pkgs.cgi: rework sidebar; remove "My packages" button and "list" command. Now selection of "My packages/All packages", Category, Repository (+ lists of tags and categories) is done using sidebar.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Dec 31 05:34:56 2014 +0200 (2014-12-31)
parents 853142b48010
children a4c149977942
line diff
     1.1 --- a/tazpanel/pkgs.css	Sun Dec 28 06:11:25 2014 +0200
     1.2 +++ b/tazpanel/pkgs.css	Wed Dec 31 05:34:56 2014 +0200
     1.3 @@ -1,3 +1,68 @@
     1.4 +
     1.5 +/* Sidebar menus */
     1.6 +
     1.7 +#content-sidebar { margin: 20px 144px 20px 20px; }
     1.8 +
     1.9 +#sidebar {
    1.10 +	/*background-color: #FFF;*/
    1.11 +	/*border: 1pt solid #888;*/
    1.12 +	position: fixed;
    1.13 +	top: 80px;
    1.14 +	right: 5px;
    1.15 +	width: 132px;
    1.16 +}
    1.17 +
    1.18 +#sidebar > a {
    1.19 +	display: block;
    1.20 +	padding: 0;
    1.21 +	margin: 0 0 0 0.5em;
    1.22 +}
    1.23 +
    1.24 +#sidebar .active {
    1.25 +	color: #000;
    1.26 +	font-weight: bold;
    1.27 +}
    1.28 +
    1.29 +#sidebar h4 {
    1.30 +	margin: 0;
    1.31 +	font-size: 16px; color: #222;
    1.32 +	text-align: center;
    1.33 +}
    1.34 +
    1.35 +#sidebar input[type=submit] { display: none; }
    1.36 +
    1.37 +#sidebar label {
    1.38 +	display: inline-block;
    1.39 +	padding: 0 0 0 0.5em; margin: 0;
    1.40 +	color: #666;
    1.41 +	font-size: small;
    1.42 +	width: 100%;
    1.43 +}
    1.44 +
    1.45 +#sidebar label:hover { color: #000; }
    1.46 +
    1.47 +table.side {
    1.48 +	background-color: #f8f8f8;
    1.49 +	border: none; border-collapse: collapse;
    1.50 +	padding: 0; margin: 0;
    1.51 +	
    1.52 +	border: 1pt solid #888;
    1.53 +	-moz-border-radius: 4px;
    1.54 +	-webkit-border-radius: 4px;
    1.55 +	border-radius: 4px;
    1.56 +}
    1.57 +table.side tr:nth-child(even) {
    1.58 +	background-color: rgba(0,0,0,0.05);
    1.59 +}
    1.60 +
    1.61 +#sidebar select {
    1.62 +	margin: 0; padding: 0 0.5em;
    1.63 +	width: 100%;
    1.64 +	font-size: small;
    1.65 +}
    1.66 +
    1.67 +
    1.68 +
    1.69  /* links classes:
    1.70   *   pkg   - package (not installed);
    1.71   *   pkgi  - package (installed);