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

style.css: move tazpkg styles.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Dec 30 11:28:55 2014 +0200 (2014-12-30)
parents 14b3b1dc2212
children 8a1db330d440
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 /* Content */
146 #content { margin: 20px; }
147 #content-sidebar { margin: 20px 120px 20px 20px; }
148 #wrapper, .wrapper { margin: 20px 0; }
150 #actions {
151 min-height: 20px;
152 padding: 0;
153 }
155 #actions p { margin: 6px 0; }
157 .search {
158 position: fixed;
159 right: 10px;
160 top: -8px;
161 }
163 .search input[type=submit] {
164 padding: 5px;
165 margin-left: -4px;
166 background-color: #f1f1f1;
167 border: 1px solid #ddd;
168 cursor: pointer;
169 color: #000;
170 font-weight: bold;
171 border-radius: 0px;
172 }
174 .search input[type=submit].radius {
175 border-top-right-radius: 4px;
176 border-bottom-right-radius: 4px;
177 border-top-left-radius: 0px;
178 border-bottom-left-radius: 0px;
179 }
181 .search input[type=text] {
182 border: 1px solid #ddd;
183 padding: 4px;
184 height: 18px;
185 margin: 0;
186 width: 200px;
187 border-top-left-radius: 4px;
188 border-bottom-left-radius: 4px;
189 }
191 .box {
192 margin: 10px 0;
193 padding: 12px;
194 background: #f8f8f8;
195 border: 1px solid #ddd;
196 }
198 .box ul { list-style-type: none; padding: 0; }
200 .debug {
201 position: fixed;
202 bottom: 0px;
203 right: 10px;
204 left: 10px;
205 margin: 5px;
206 padding: 4px 10px;
207 background-color: #111;
208 color: #fff;
209 border: 0;
210 font-size: 12px;
211 opacity: 0.9;
212 }
214 .float-left {
215 float: left;
216 }
217 .float-right {
218 float: right;
219 }
221 /* Table */
223 table {
224 background-color: #f8f8f8;
225 border: 4px solid #ddd;
226 padding: 10px;
227 width: 100%;
228 margin: 0 0 6px 0;
229 }
231 table a { color: #000; }
232 table a:hover { color: #666; }
233 td.small { min-width: 60px; }
234 td.pct { min-width: 200px; background: #eee; }
235 div.pct { background: #ccc; }
236 td.pct, div.pct { border-radius: 2px; }
238 #thead, .thead, thead {
239 height: 10px;
240 font-weight: bold;
241 }
243 /*
244 * Table Zebra
245 */
247 table.zebra {
248 border: none;
249 border-collapse: collapse;
250 margin: 20px 0;
251 }
252 table.zebra tr:nth-child(even) {
253 background-color: rgba(0,0,0,0.05);
254 }
255 table.zebra thead tr td {
256 height: 22px;
257 background-color: #eee;
258 text-align: center;
259 vertical-align: middle;
260 }
261 table.zebra td + td {
262 border-left: 1px solid #ddd;
263 height: 22px;
264 }
265 table.zebra td:first-child { padding-left: 6px; }
266 .outbox {
267 box-shadow: 0 0 2px 4px #ddd;
268 }
269 .fixed {
270 table-layout: fixed;
271 }
273 /*
274 * syntax_highlighter
275 */
277 span.conf-comment { color: #666; }
278 span.conf-var { color: #392600; }
279 span.conf-val, span.sh-val { color: #f35a00; }
280 span.sh-comment { color: #b20000; }
281 span.activity-log { color: #888; }
282 span.diff-rm { color: red; }
283 span.diff-add { color: green; }
284 span.diff-at { color: blue; }
285 span.top { color: #00c800; font-weight: normal; }
286 span.kernel-hex { color: #18A423; }
287 span.kernel-id { color: #287FC7; }
288 span.kernel-id2 { color: #843523; }
289 span.lsusb-h, span.lspci-h { color: #800; font-weight: bold; }
290 span.lsusb-t, span.lspci-t { color: #448; font-weight: bold; }
292 /* Misc */
294 pre, .pre-main {
295 font: 13px "DejaVu Sans Mono", "Droid Sans Mono", "Liberation Mono", FreeMono, monospace;
296 background-color: #f8f8f8;
297 border: 4px solid #ddd;
298 padding: 10px;
299 margin: 10px 0;
300 overflow: auto;
301 }
303 .pre-main { margin: 16px 0; }
305 input[type=submit], select, .button {
306 color: #444444;
307 border: 1px solid #afafaf;
308 padding: 4px;
309 margin: 4px 0px;
310 font-size: 14px;
311 line-height: 1.2em;
312 background-image: -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
313 background-image: -moz-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
314 -webkit-appearance: none;
315 -webkit-padding-end: 12px;
316 -webkit-padding-start: 6px;
317 }
318 input[type="submit"] {
319 -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
320 -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
321 box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
322 }
323 /*select {
324 background-image: url(images/down.png),
325 -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
326 background-position: center right;
327 background-repeat: no-repeat;
328 }*/
329 a.button {
330 white-space: nowrap;
331 height: 16px;
332 margin: 2px 0;
333 display: inline-block;
334 }
336 input[type=submit]:hover, select:hover, .button:hover {
337 background-color: #ddd;
338 border: 1px solid #999;
339 }
341 input[type=text], input[type=password] { height: 18px; }
343 div.scroll { height: 200px; overflow: auto;
344 border: 1px solid #ddd; }
345 div.scroll table { border: 0px solid #fff; }
347 #terminal {
348 background: #000;
349 color: #fff;
350 border: 1px solid #444;
351 min-height: 240px;
352 }
354 /* Round corner */
356 #loading, table, pre, input[type=submit], .debug, .box,
357 .button, div.scroll, .outbox, section {
358 -moz-border-radius: 4px;
359 -webkit-border-radius: 4px;
360 border-radius: 4px;
361 }
363 /* Help page */
365 #help { text-align: justify; }
366 #help a { color: #215090; text-decoration: underline; }
367 #help a:hover { text-decoration: none; color: blue; }
369 /* Footer */
371 #footer {
372 /* border-bottom: 1px solid #c1baad; */
373 height: 25px;
374 text-align: center;
375 padding: 40px 10px;
376 font-size: 11px;
377 color: #bbb;
378 }
380 #footer a { color: #bbb; }
381 #footer a:hover { color: #555; }
383 /* HTML5 Meter */
384 .meter {
385 height: 22px;
386 min-width: 200px;
387 cursor: default;
388 }
389 .meter meter {
390 height: inherit;
391 width: 100%;
392 display: block;
393 border: 1px solid #ddd;
394 border-radius: 4px;
395 }
396 .meter span {
397 height: 22px;
398 display: block;
399 white-space: nowrap;
400 position: absolute;
401 margin: -18px auto 0 2px;
402 }
404 a.button, input {
405 -webkit-transition: all 0.3s ease-in-out;
406 -moz-transition: all 0.3s ease-in-out;
407 -o-transition: all 0.3s ease-in-out;
408 -ms-transition: all 0.3s ease-in-out;
409 transition: all 0.3s ease-in-out;
410 }
412 /*section {
413 margin: 20pt -0.7em;
414 padding: 0.8em 0.7em 1.2em;
415 background-color: #fdfdfd;
416 border: 1px solid #ddd;
417 border-radius: 1em;
418 box-shadow: 0 0 3pt 2pt #eee;
419 }
420 section h4 {
421 margin: 0 0 0.5em 0;
422 }
423 section h3 {
424 margin: 0 0 0.5em 0; }
425 */