tazpanel view styles/default/style.css @ rev 402

style.css: remove tazpkg style.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 19 17:20:54 2014 +0200 (2014-12-19)
parents 3ad3f1aabdfc
children 820f3f2cde6b
line source
1 /*
2 * CSS style for TazPanel - (C) 2011-12 SliTaz GNU/Linux
3 */
5 /* To always have a scroll bar */
6 html {
7 min-height: 102%;
8 }
10 body {
11 background: #fff;
12 color: black;
13 font: 13px "DejaVu Sans", Ubuntu, "Droid Sans", "Liberation Sans", FreeSans, sans-serif;
14 margin: 80px 0 0;
15 }
17 h1 { margin: 0; padding: 8px; color: #fff; font-size: 20px; }
18 h2 { color: #333; margin: 10px 0 10px; font-size: 180%; }
19 h3 { color: #444; font-size: 160%; }
20 h4 { color: #666; font-size: 140%; }
21 img { border: 0pt none; vertical-align: middle; padding: 0px 6px 2px 0;}
22 p { margin: 10px 0; }
23 ul { list-style-type: square; }
24 li { padding: 4px 0; }
25 a { text-decoration: none; color: #666; }
26 a:hover { color: #000; }
28 /* Header and main title */
30 #header {
31 height: 40px;
32 /*border-bottom: 4px solid #afafaf;*/
33 background: #222 url(images/logo.png) no-repeat left;
34 position: fixed;
35 top: 0;
36 width: 100%;
37 }
39 #header h1 {
40 margin: 0;
41 padding: 8px 0 0 42px;
42 font-style: italic;
43 }
45 /* Desktop gui style bar */
47 #toolbar {
48 position: fixed;
49 top: 40px;
50 left: 0;
51 height: 23px;
52 width: 100%;
53 padding: 0;
54 background-color: #f1efeb;
55 border-bottom: 1px solid #c1baad;
56 z-index: 200;
57 cursor: default;
58 }
60 #menu {
61 margin: 0;
62 padding: 0;
63 }
64 #menu li {
65 list-style: none;
66 float: left;
67 padding: 0;
68 }
69 #menu li a {
70 display: block;
71 padding: 4px 6px;
72 background-color: inherit;
73 text-decoration: none;
74 cursor: default;
75 color: #000;
76 }
77 #menu li a:hover {
78 color: #ffffff;
79 background-color: #d66018;
80 }
81 #menu li ul {
82 display: none;
83 min-width: 180px;
84 background-color: #f1efeb;
85 border: 1px solid #c1baad;
86 }
87 #menu li ul a {
88 padding: 4px 6px 2px;
89 }
90 #menu li:hover ul {
91 display: block;
92 position: absolute;
93 margin: 0;
94 padding: 0;
95 }
96 #menu li:hover li {
97 float: none;
98 position: relative;
99 }
100 #menu li:hover li a {
101 background-color: #f1efeb;
102 color: #000;
103 }
104 #menu li li a { border: 1px solid #f1efeb; }
105 #menu li li a:hover {
106 background-color: #d66018;
107 color: #ffffff;
108 border-radius: 2px;
109 /* border: 1px solid #c1baad; */
110 }
112 /* submenus */
113 #menu li:hover li ul {
114 display: none;
115 position: absolute;
116 left: 180px;
117 top: 0px;
118 z-index:1;
119 }
120 #menu li:hover li:hover ul {
121 display: block;
122 }
124 #icons { margin: 3px 8px; float: right; }
125 #icons img { padding: 0; }
127 #loading {
128 /* font-weight: bold; */
129 background-color: #f8f8f8;
130 border: 1px solid #ddd;
131 color: #666;
132 cursor: progress;
133 position: fixed;
134 top: 76px;
135 right: 120px;
136 width: 248px;
137 padding: 4px 4px 2px;
138 }
140 /* Blocks */
142 #block { float: left; }
144 /* Sidebar menus */
146 #sidebar {
147 position: fixed;
148 top: 124px;
149 right: 5px;
150 width: 116px;
151 }
153 #sidebar a {
154 display: block;
155 padding: 0px 0 0px 12px;
156 margin: 0;
157 }
159 #sidebar a.active {
160 color: #000;
161 font-weight: bold;
162 }
164 #sidebar h4 { margin: 0 0 2px 12px; font-size: 16px; color: #222; }
165 #sidebar ul { list-style-type: none; padding: 0; }
168 /* Content */
170 #content { margin: 20px; }
171 #content-sidebar { margin: 20px 120px 20px 20px; }
172 #wrapper, .wrapper { margin: 20px 0; }
174 #actions {
175 min-height: 20px;
176 padding: 0;
177 }
179 #actions p { margin: 6px 0; }
181 .search {
182 position: fixed;
183 right: 10px;
184 top: -8px;
185 }
187 .search input[type=submit] {
188 padding: 5px;
189 margin-left: -4px;
190 background-color: #f1f1f1;
191 border: 1px solid #ddd;
192 cursor: pointer;
193 color: #000;
194 font-weight: bold;
195 border-radius: 0px;
196 }
198 .search input[type=submit].radius {
199 border-top-right-radius: 4px;
200 border-bottom-right-radius: 4px;
201 border-top-left-radius: 0px;
202 border-bottom-left-radius: 0px;
203 }
205 .search input[type=text] {
206 border: 1px solid #ddd;
207 padding: 4px;
208 height: 18px;
209 margin: 0;
210 width: 200px;
211 border-top-left-radius: 4px;
212 border-bottom-left-radius: 4px;
213 }
215 .box {
216 margin: 10px 0;
217 padding: 12px;
218 background: #f8f8f8;
219 border: 1px solid #ddd;
220 }
222 .box ul { list-style-type: none; padding: 0; }
224 .debug {
225 position: fixed;
226 bottom: 0px;
227 right: 10px;
228 left: 10px;
229 margin: 5px;
230 padding: 4px 10px;
231 background-color: #111;
232 color: #fff;
233 border: 0;
234 font-size: 12px;
235 opacity: 0.9;
236 }
238 .float-left {
239 float: left;
240 }
241 .float-right {
242 float: right;
243 }
245 /* Table */
247 table {
248 background-color: #f8f8f8;
249 border: 4px solid #ddd;
250 padding: 10px;
251 width: 100%;
252 margin: 0 0 6px 0;
253 }
255 table a { color: #000; }
256 table a:hover { color: #666; }
257 td.small { min-width: 60px; }
258 td.pct { min-width: 200px; background: #eee; }
259 div.pct { background: #ccc; }
260 td.pct, div.pct { border-radius: 2px; }
262 #thead, .thead, thead {
263 height: 10px;
264 font-weight: bold;
265 }
267 /*
268 * Table Zebra
269 */
271 table.zebra {
272 border: none;
273 border-collapse: collapse;
274 margin: 20px 0;
275 }
276 table.zebra tr:nth-child(even) {
277 background-color: rgba(0,0,0,0.05);
278 }
279 table.zebra thead tr td {
280 height: 22px;
281 background-color: #eee;
282 text-align: center;
283 vertical-align: middle;
284 }
285 table.zebra td + td {
286 border-left: 1px solid #ddd;
287 height: 22px;
288 }
289 table.zebra td:first-child { padding-left: 6px; }
290 .outbox {
291 box-shadow: 0 0 2px 4px #ddd;
292 }
293 .fixed {
294 table-layout: fixed;
295 }
297 /*
298 * syntax_highlighter
299 */
301 span.conf-comment { color: #666; }
302 span.conf-var { color: #392600; }
303 span.conf-val, span.sh-val { color: #f35a00; }
304 span.sh-comment { color: #b20000; }
305 span.activity-log { color: #888; }
306 span.diff-rm { color: red; }
307 span.diff-add { color: green; }
308 span.diff-at { color: blue; }
309 span.top { color: #00c800; font-weight: normal; }
310 span.kernel-hex { color: #18A423; }
311 span.kernel-id { color: #287FC7; }
312 span.kernel-id2 { color: #843523; }
313 span.lsusb-h, span.lspci-h { color: #800; font-weight: bold; }
314 span.lsusb-t, span.lspci-t { color: #448; font-weight: bold; }
316 /* Misc */
318 pre, .pre-main {
319 font: 13px "DejaVu Sans Mono", "Droid Sans Mono", "Liberation Mono", FreeMono, monospace;
320 background-color: #f8f8f8;
321 border: 4px solid #ddd;
322 padding: 10px;
323 margin: 10px 0;
324 overflow: auto;
325 }
327 .pre-main { margin: 16px 0; }
329 input[type=submit], select, .button {
330 color: #444444;
331 border: 1px solid #afafaf;
332 padding: 4px;
333 margin: 4px 0px;
334 font-size: 14px;
335 line-height: 1.2em;
336 background-image: -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
337 background-image: -moz-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
338 -webkit-appearance: none;
339 -webkit-padding-end: 12px;
340 -webkit-padding-start: 6px;
341 }
342 input[type="submit"] {
343 -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
344 -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
345 box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
346 }
347 /*select {
348 background-image: url(images/down.png),
349 -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
350 background-position: center right;
351 background-repeat: no-repeat;
352 }*/
353 a.button {
354 white-space: nowrap;
355 height: 16px;
356 margin: 2px 0;
357 display: inline-block;
358 }
360 input[type=submit]:hover, select:hover, .button:hover {
361 background-color: #ddd;
362 border: 1px solid #999;
363 }
365 input[type=text], input[type=password] { height: 18px; }
367 div.scroll { height: 200px; overflow: auto;
368 border: 1px solid #ddd; }
369 div.scroll table { border: 0px solid #fff; }
371 #terminal {
372 background: #000;
373 color: #fff;
374 border: 1px solid #444;
375 min-height: 240px;
376 }
378 /* Round corner */
380 #loading, table, pre, input[type=submit], .debug, .box,
381 .button, div.scroll, .outbox, section {
382 -moz-border-radius: 4px;
383 -webkit-border-radius: 4px;
384 border-radius: 4px;
385 }
387 /* Help page */
389 #help { text-align: justify; }
390 #help a { color: #215090; text-decoration: underline; }
391 #help a:hover { text-decoration: none; color: blue; }
393 /* Footer */
395 #footer {
396 /* border-bottom: 1px solid #c1baad; */
397 height: 25px;
398 text-align: center;
399 padding: 40px 10px;
400 font-size: 11px;
401 color: #bbb;
402 }
404 #footer a { color: #bbb; }
405 #footer a:hover { color: #555; }
407 /* HTML5 Meter */
408 .meter {
409 height: 22px;
410 min-width: 200px;
411 cursor: default;
412 }
413 .meter meter {
414 height: inherit;
415 width: 100%;
416 display: block;
417 border: 1px solid #ddd;
418 border-radius: 4px;
419 }
420 .meter span {
421 height: 22px;
422 display: block;
423 white-space: nowrap;
424 position: absolute;
425 margin: -18px auto 0 2px;
426 }
428 a.button, input {
429 -webkit-transition: all 0.3s ease-in-out;
430 -moz-transition: all 0.3s ease-in-out;
431 -o-transition: all 0.3s ease-in-out;
432 -ms-transition: all 0.3s ease-in-out;
433 transition: all 0.3s ease-in-out;
434 }
436 /*section {
437 margin: 20pt -0.7em;
438 padding: 0.8em 0.7em 1.2em;
439 background-color: #fdfdfd;
440 border: 1px solid #ddd;
441 border-radius: 1em;
442 box-shadow: 0 0 3pt 2pt #eee;
443 }
444 section h4 {
445 margin: 0 0 0.5em 0;
446 }
447 section h3 {
448 margin: 0 0 0.5em 0; }
449 */