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

New dropdown menu, new icons and small fixes
author Christophe Lincoln <pankso@slitaz.org>
date Tue Feb 28 22:28:12 2012 +0100 (2012-02-28)
parents 3398302669f4
children 6f39fe45dc31
line source
1 /*
2 * CSS style for TazPanel - (C) 2011 SliTaz GNU/Linux
3 *
4 */
6 /* To always have a scroll bar */
7 html {
8 min-height: 102%;
9 }
11 body {
12 background: #ffffff;
13 color: black;
14 font: 13px sans-serif, vernada, arial;
15 margin: 25px 0 0;
16 }
18 h1 { color: #d66018; padding: 6px 0 0 20px; font-size: 180%; }
19 h2 { color: #444; margin: 10px 0 10px; font-size: 150%; }
20 h3 { color: #666; font-size: 140%; }
21 h4 { color: #888; font-size: 120%; margin: 10px 0 5px; }
22 img { border: 0pt none; vertical-align: middle; padding: 0px 6px 2px 0;}
23 p { margin: 10px 0; }
24 ul { list-style-type: square; }
25 li { padding: 4px 0; }
26 a { text-decoration: none; color: #666; }
27 a:hover { color: #000; }
29 /* Header and main title */
31 #header {
32 height: 42px;
33 border-bottom: 1px dotted #ddd;
34 }
36 /* Desktop gui style bar */
38 #toolbar {
39 position: fixed;
40 top: 0;
41 left: 0;
42 height: 23px;
43 width: 100%;
44 padding: 0;
45 background-color: #f1efeb;
46 border-bottom: 1px solid #c1baad;
47 z-index: 200;
48 cursor: default;
49 }
51 #menu {
52 margin: 0;
53 padding: 0;
54 }
55 #menu li {
56 list-style: none;
57 float: left;
58 padding: 0;
59 }
60 #menu li a {
61 display: block;
62 padding: 4px 6px;
63 background-color: inherit;
64 text-decoration: none;
65 cursor: default;
66 color: #000;
67 }
68 #menu li a:hover {
69 color: #ffffff;
70 background-color: #d66018;
71 border-top-right-radius: 3px;
72 border-top-left-radius: 3px;
73 }
74 #menu li ul {
75 display: none;
76 width: 180px;
77 background-color: #f1efeb;
78 border: 1px solid #c1baad;
79 }
80 #menu li ul a {
81 padding: 4px 6px;
82 }
83 #menu li:hover ul {
84 display: block;
85 position: absolute;
86 margin: 0;
87 padding: 0;
88 }
89 #menu li:hover li {
90 float: none;
91 }
92 #menu li:hover li a {
93 background-color: #f1efeb;
94 color: #000;
95 }
96 #menu li li a { border: 1px solid #f1efeb; }
97 #menu li li a:hover {
98 background-color: #d66018;
99 color: #ffffff;
100 border-radius: 2px;
101 /* border: 1px solid #c1baad; */
102 }
104 #icons { margin: 3px 8px; float: right; }
105 #icons img { padding: 0; }
107 #loading {
108 /* font-weight: bold; */
109 background-color: #f8f8f8;
110 border: 1px solid #ddd;
111 color: #666;
112 cursor: progress;
113 position: fixed;
114 top: 92px;
115 right: 120px;
116 width: 248px;
117 padding: 4px 4px 2px;
118 }
120 /* Blocks */
122 #block { float: left; }
124 /* Sidebar menus */
126 #sidebar {
127 position: fixed;
128 top: 92px;
129 right: 5px;
130 width: 116px;
131 }
133 #sidebar a {
134 display: block;
135 padding: 0px 0 0px 12px;
136 margin: 0;
137 }
139 #sidebar a.active {
140 color: #000;
141 font-weight: bold;
142 }
144 #sidebar h4 { margin: 0 0 2px 12px; }
145 #sidebar ul { list-style-type: none; padding: 0; }
147 /* Content */
149 #content { margin: 20px; }
150 #content-sidebar { margin: 20px 120px 20px 20px; }
151 #wrapper { margin: 10px 0 20px; }
153 #actions {
154 height: 20px;
155 margin: 16px 0;
156 }
158 #actions p { margin: 6px 0; }
160 .search {
161 position: absolute;
162 right: 40px;
163 top: 23px;
164 }
166 .search input[type=submit] {
167 padding: 5px;
168 margin-left: -4px;
169 background-color: #f1f1f1;
170 border: 1px solid #ddd;
171 cursor: pointer;
172 color: #000;
173 font-weight: bold;
174 border-radius: 0px;
175 }
177 .search input[type=submit].radius {
178 border-top-right-radius: 4px;
179 border-bottom-right-radius: 4px;
180 border-top-left-radius: 0px;
181 border-bottom-left-radius: 0px;
182 }
184 .search input[type=text] {
185 border: 1px solid #ddd;
186 padding: 4px;
187 height: 17px;
188 margin: 0;
189 width: 200px;
190 border-top-left-radius: 4px;
191 border-bottom-left-radius: 4px;
192 }
194 .box {
195 margin: 10px 0;
196 padding: 12px;
197 background: #f8f8f8;
198 border: 1px solid #ddd;
199 }
201 .box ul { list-style-type: none; padding: 0; }
203 .debug {
204 position: fixed;
205 bottom: 0px;
206 right: 10px;
207 left: 10px;
208 margin: 5px;
209 padding: 4px 10px;
210 background-color: #111;
211 color: #fff;
212 border: 0;
213 font-size: 12px;
214 opacity: 0.9;
215 }
217 .float-left { float: left; }
218 .float-right { float: right; }
220 /* Table */
222 table {
223 background-color: #f8f8f8;
224 border: 1px solid #ddd;
225 padding: 10px;
226 width: 100%;
227 margin: 0 0 6px 0;
228 }
230 table a { color: #000; }
231 table a:hover { color: #666; }
232 td.small { min-width: 60px; }
233 td.pkg { max-width: 160px; }
234 td.desc { max-width: 300px; }
235 td.pct { min-width: 200px; background: #eee; }
236 div.pct { background: #ccc; }
237 td.pct, div.pct { border-radius: 2px; }
239 #thead, .thead, thead {
240 height: 10px;
241 font-weight: bold;
242 }
244 /* syntax_highlighter */
246 span.conf-comment { color: #666; }
247 span.conf-var { color: #392600; }
248 span.conf-val, span.sh-val { color: #f35a00; }
249 span.sh-comment { color: #b20000; }
250 span.activity-log { color: #888; font-size: 95%; }
251 span.diff-rm { color: red; }
252 span.diff-add { color: green; }
253 span.diff-at { color: blue; }
254 span.top { color: #00c800; font-weight: bold; font-size: 95%; }
256 /* Misc */
258 pre, .pre-main {
259 background-color: #f8f8f8;
260 border: 1px solid #ddd;
261 padding: 10px;
262 margin: 10px 0;
263 overflow: auto;
264 }
266 .pre-main { margin: 16px 0; }
268 input[type=submit], select, .button {
269 padding: 4px;
270 margin: 0;
271 background-color: #f1f1f1;
272 border: 1px solid #ddd;
273 cursor: pointer;
274 color: #000;
275 }
277 input[type=submit]:hover, select:hover, .button:hover {
278 background-color: #ddd;
279 border: 1px solid #999;
280 }
282 input[type=text], input[type=password] { height: 18px; }
284 div.scroll { height: 200px; overflow: auto;
285 border: 1px solid #ddd; }
286 div.scroll table { border: 0px solid #fff; }
288 #terminal {
289 background: #000;
290 color: #fff;
291 border: 1px solid #444;
292 min-height: 180px;
293 opacity: 0.8;
294 }
296 /* Round corner */
298 #loading, table, pre, input[type=submit], .debug, .box,
299 .button, div.scroll {
300 /*-moz-border-radius: 4px;
301 -webkit-border-radius: 4px; */
302 border-radius: 4px;
303 }
305 /* Help page */
307 #help { text-align: justify; }
308 #help a { color: #215090; text-decoration: underline; }
309 #help a:hover { text-decoration: none; color: blue; }
311 /* Footer */
313 #footer {
314 /* border-bottom: 1px solid #c1baad; */
315 height: 25px;
316 text-align: center;
317 padding: 40px 10px;
318 font-size: 11px;
319 color: #bbb;
320 }
322 #footer a { color: #bbb; }
323 #footer a:hover { color: #555; }