tazpkg diff tazpanel/pkgs.css @ rev 738
pkgs.cgi: rework sidebar again: update page on any changes, more clear and light html code.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Dec 31 15:41:15 2014 +0200 (2014-12-31) |
parents | 3b6602629dc0 |
children | c214f7081500 |
line diff
1.1 --- a/tazpanel/pkgs.css Wed Dec 31 05:34:56 2014 +0200 1.2 +++ b/tazpanel/pkgs.css Wed Dec 31 15:41:15 2014 +0200 1.3 @@ -4,61 +4,33 @@ 1.4 #content-sidebar { margin: 20px 144px 20px 20px; } 1.5 1.6 #sidebar { 1.7 - /*background-color: #FFF;*/ 1.8 - /*border: 1pt solid #888;*/ 1.9 position: fixed; 1.10 top: 80px; 1.11 right: 5px; 1.12 width: 132px; 1.13 } 1.14 1.15 -#sidebar > a { 1.16 - display: block; 1.17 - padding: 0; 1.18 - margin: 0 0 0 0.5em; 1.19 -} 1.20 - 1.21 -#sidebar .active { 1.22 - color: #000; 1.23 - font-weight: bold; 1.24 -} 1.25 - 1.26 #sidebar h4 { 1.27 margin: 0; 1.28 font-size: 16px; color: #222; 1.29 text-align: center; 1.30 } 1.31 1.32 -#sidebar input[type=submit] { display: none; } 1.33 - 1.34 -#sidebar label { 1.35 +.select_wrap { 1.36 display: inline-block; 1.37 - padding: 0 0 0 0.5em; margin: 0; 1.38 - color: #666; 1.39 - font-size: small; 1.40 - width: 100%; 1.41 + vertical-align: top; 1.42 + overflow: hidden; 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 +.select_wrap select { 1.60 + padding: 5px; 1.61 + margin:-5px -20px -5px -5px; 1.62 + width: 157px; 1.63 + font-size: small; 1.64 } 1.65 1.66 -#sidebar select { 1.67 - margin: 0; padding: 0 0.5em; 1.68 - width: 100%; 1.69 - font-size: small; 1.70 +select option:nth-child(even) { 1.71 + background-color: rgba(0,0,0,0.05); 1.72 } 1.73 1.74