tazpkg view tazpanel/pkgs.css @ rev 744

Store sidebar settings in the session cookies (browser sets, changes, and sends them automatically); use "<button>" tag instead of "<a>" and "<input type='button'>" to show buttons (it allows to translate button captions, and provides uniform look of buttons); "list" and "tag" commands shows short description about what is really listed; "tag" respects repo; "blocked" shows blocked packages; small style change; encode COPYING in UTF-8.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jan 09 17:05:12 2015 +0200 (2015-01-09)
parents c1b57681482e
children c4c2d523a719
line source
2 /* Sidebar menus */
4 #content-sidebar { margin: 20px 144px 20px 20px; }
6 #sidebar {
7 position: fixed;
8 top: 60px;
9 right: 0;
10 padding: 5px 5px 0 0;
11 width: 132px;
12 height: 100%;
13 border-left: 1pt solid #AAA;
14 background-color: #EEE;
15 }
17 #sidebar h4 {
18 margin: 0;
19 font-size: 16px; color: #222;
20 text-align: center;
21 }
23 .select_wrap {
24 display: inline-block;
25 vertical-align: top;
26 overflow: hidden;
27 }
29 .select_wrap select {
30 padding: 5px;
31 margin:-5px -20px -5px -5px;
32 width: 157px;
33 font-size: small;
34 }
36 select option:nth-child(even) {
37 background-color: rgba(0,0,0,0.05);
38 }
40 #sidebar a {
41 display: inline-block;
42 padding: 0 0 0 0.5em; margin: 0;
43 color: #666;
44 font-size: small;
45 width: 100%;
46 }
50 /* links classes:
51 * pkg - package (not installed);
52 * pkgi - package (installed);
53 * pkgib - package (installed and blocked);
54 * w - web site
55 *
56 * you can style links using icons and/or color
57 */
59 a.pkg {
60 background: url(images/tazpkg.png) no-repeat left; }
61 a.pkgi, a.pkgib {
62 background: url(images/tazpkg-installed.png) no-repeat left; }
63 /*
64 a.pkgi {
65 color: green; }
66 */
67 a.pkgib {
68 color: red; }
69 a.w, .pkglist td:nth-child(4) a {
70 background: url(images/browser.png) no-repeat left; }
72 a.pkg, a.pkgi, a.pkgib, a.w, .pkglist td:nth-child(4) a {
73 margin: 0; padding: 0 0 0 17px;
74 min-height: 16px; min-width: 16px;
75 display: inline-block; }
78 .pkglist td:nth-child(1), .filelist td:nth-child(1) {
79 white-space: nowrap;
80 }
82 .pkglist td:nth-child(1) a, .filelist td:nth-child(1) a {
83 max-width: 12em;
84 }
86 .pkglist td:nth-child(2) {
87 max-width: 7em;
88 }
90 .pkglist td:nth-child(1) a, .pkglist td:nth-child(2),
91 .filelist td:nth-child(1) a, .filelist td:nth-child(2) {
92 white-space: nowrap;
93 overflow: hidden;
94 text-overflow: ellipsis; -o-text-overflow: ellipsis;
95 }
97 .filelist td:nth-child(2) {
98 max-width: 30em;
99 }
101 .pkglist tr { border-bottom: 1pt solid #DDD; }
103 .pkglist, .pkglist thead { border: 1.5pt solid #BBB!important; }
106 #actions { overflow: auto; }
108 a.pages {
109 padding: 0.5ex;
110 margin: 0.5ex 0;
111 border: 1px solid #AAA;
112 width: 3ex;
113 display: inline-block;
114 text-align: center;
115 }
116 a.pages:hover {
117 border: 1px solid #F94;
118 background: #F94;
119 color: black;
120 }
121 a.pages.current, a.pages.current:hover {
122 font-weight: bold;
123 border: 1px solid #07F;
124 background: #07F;
125 color: #eee;
126 }
128 a.tag1 { font-size: 0.9em; color: #678; }
129 a.tag2 { font-size: 1.0em; color: #444; }
130 a.tag3 { font-size: 1.1em; color: #16A; }
131 a.tag4 { font-size: 1.3em; color: #282; }
132 a.tag5 { font-size: 1.5em; color: #828; }
133 a.tag6 { font-size: 1.8em; color: #862; }
134 a.tag7 { font-size: 2.1em; color: #FA0; }
135 a.tag8 { font-size: 2.4em; color: #F00; }
136 a.tag1, a.tag2, a.tag3, a.tag4, a.tag5, a.tag6, a.tag7, a.tag8 {
137 display: inline-block;
138 white-space: nowrap;
139 vertical-align: middle;
140 padding: 0.2em 0.5em;
141 }
142 a.tag1:hover, a.tag2:hover, a.tag3:hover, a.tag4:hover, a.tag5:hover, a.tag6:hover, a.tag7:hover, a.tag8:hover {
143 outline: 1.5pt solid #FC8; }
145 #actions {
146 background-color: #EEE;
147 margin: 0; padding: 0 0.5ex!important;
148 border: 1pt solid #DDD;
149 border-radius: 0.5ex;
150 }
151 .button img {
152 padding: 0 4px 0 0;
153 }