tazpanel view styles/default/style.css @ rev 266
installer.cgi: add i18n, new pot and po files, fr.po updated
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Mar 08 21:06:46 2012 +0100 (2012-03-08) |
parents | aa12dc99e177 |
children | fdfc6b494539 |
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 /* alert messages */
257 span.msg-ok { color: limegreen; }
258 span.msg-nok { color: tomato; }
260 /* Misc */
262 pre, .pre-main {
263 background-color: #f8f8f8;
264 border: 1px solid #ddd;
265 padding: 10px;
266 margin: 10px 0;
267 overflow: auto;
268 }
270 .pre-main { margin: 16px 0; }
272 input[type=submit], select, .button {
273 padding: 4px;
274 margin: 0;
275 background-color: #f1f1f1;
276 border: 1px solid #ddd;
277 cursor: pointer;
278 color: #000;
279 }
281 input[type=submit]:hover, select:hover, .button:hover {
282 background-color: #ddd;
283 border: 1px solid #999;
284 }
286 input[type=text], input[type=password] { height: 18px; }
288 div.scroll { height: 200px; overflow: auto;
289 border: 1px solid #ddd; }
290 div.scroll table { border: 0px solid #fff; }
292 #terminal {
293 background: #000;
294 color: #fff;
295 border: 1px solid #444;
296 min-height: 180px;
297 opacity: 0.8;
298 }
300 /* Round corner */
302 #loading, table, pre, input[type=submit], .debug, .box,
303 .button, div.scroll {
304 /*-moz-border-radius: 4px;
305 -webkit-border-radius: 4px; */
306 border-radius: 4px;
307 }
309 /* Help page */
311 #help { text-align: justify; }
312 #help a { color: #215090; text-decoration: underline; }
313 #help a:hover { text-decoration: none; color: blue; }
315 /* Footer */
317 #footer {
318 /* border-bottom: 1px solid #c1baad; */
319 height: 25px;
320 text-align: center;
321 padding: 40px 10px;
322 font-size: 11px;
323 color: #bbb;
324 }
326 #footer a { color: #bbb; }
327 #footer a:hover { color: #555; }