cookutils view lighttpd/cooker.css @ rev 908

cook: support per-package CONFIG_FILES, fix pre_install etc. extracting; lighttpd/index.cgi: display all descriptions.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon May 29 04:48:50 2017 +0300 (2017-05-29)
parents 2aaf73fe2cd4
children b6b815ca6bb9
line source
1 /* CSS style for SliTaz Cooker */
3 html, body {
4 height: 100%;
5 margin: 0;
6 font: 14px/18px sans-serif;
7 color: rgba(0,0,0,0.9);
8 background-color: hsl(0, 0%, 98%);
9 }
10 #container {
11 position: relative;
12 min-height: 100%;
13 margin: 0 auto;
14 }
17 /* HEADER */
19 header, body>h2 {
20 background-color: rgba(0,0,0,0.7);
21 text-align: justify;
22 box-shadow: 0 -8px 8px rgba(0,0,0,0.3) inset;
23 line-height: 0;
24 }
25 header::before, header::after {
26 display: inline-block;
27 width: 100%;
28 overflow: hidden; height: 0; content: ''; visibility: hidden;
29 }
30 header h1 {
31 display: inline-block;
32 }
33 header h1, body>h2 {
34 margin: auto 0;
35 box-sizing: border-box;
36 white-space: nowrap;
37 vertical-align: middle;
38 }
39 body>h2 {
40 padding: 5px 0;
41 }
42 header h1::before, body>h2::before {
43 display: inline-block;
44 content: url("data:image/svg+xml,<svg height='40' width='40' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><linearGradient id='a' gradientUnits='userSpaceOnUse' x1='20' x2='20' y1='2.5' y2='37.5'><stop offset='0' stop-color='%23ff7825'/><stop offset='1' stop-color='%23762400'/></linearGradient><path d='m30.2 26.3c0-.9-4-3.5-4.9-3.9-.1 1.7.3 2.5-.2 4.6-.4 2.1-1.4 4.2-2.8 5.7-1.2 1.3-2.5 2.1-4.4 2.1-2.6 0-4-2.3-4.6-4.8-.5-3.8 1.1-7 1.1-7.4-.5-.1-4.3 2.2-5.7 3.2-.8 3 .4 7.2 2.5 10.9-3.5-3.2-5-7.8-5.6-11.6 2.3-1.8 4.3-2.3 5.5-3.6-.9 0-5.3.4-5.9 1-.8 1.6-1.3 6.8-1.2 10.2-2.5-4.7-1.2-11.2-1.1-11.9.3-.8 7.8-1.2 8.4-1.8-.5-.4-4.5-1.6-7.1-3 .3-1.6 3.2-8.2 6.4-10.6-1.1 2.2-3.1 7.3-3.4 9.3.6.4 5.3 2.4 6 2.3-.4-.7-3.5-3.1-3.9-3.8.8-3.2 6.7-9 8.5-9.8-2 1.9-5.3 6.7-5.7 9.2 1.7 1.7 3.9 3.8 4.9 4.1.3-.1.4-.7.4-1.1.6-2.8 3.2-3.7 4.1-3.7 1.2 0 2.5 1.4 2.7 2.3.1.7-.2 2 0 2.8 1.1-.4 5.7-3.6 6.3-4.4.4-3.3-1.3-6.6-3.2-9.5 2.5 1.4 5.6 6.8 6 9.9-.7 1.1-4 2.7-5 3.9.7 0 5.4-1.5 6.4-2.2.4-.4.4-.8.4-1.1 0-2.8-.4-6.3-1.1-8.8 2.5 2.8 3.4 7 3.6 10.4 0 .4-.1.6-.1 1-1.1.5-7.4 2.4-7.5 2.9-.1.3 5.3.7 7.6 1.5-.4 3.7-1.8 8.7-4.3 11.6.6-2.5 1.7-6.8 1.4-9.9-1.8-.4-5.3-1.1-5.5-.8-.3.4 4.2 2.6 4.2 3.7-1.3 3.9-4.9 8.8-8.6 11.4 4.5-5.6 5.5-9 5.4-10.5z' fill='url(%23a)'/></svg>");
45 vertical-align: middle;
46 }
47 header a, body>h2 {
48 color: hsla(0, 0%, 100%, 0.7);
49 -webkit-transition: .2s text-shadow; transition: .2s text-shadow;
50 text-decoration: none;
51 }
52 header a:hover, body>h2:hover {
53 color: hsla(0, 0%, 100%, 1);
54 text-shadow: 0 0 4px hsla(0, 0%, 100%, 0.5);
55 text-decoration: none;
56 }
57 header h1 a, body>h2 {
58 font: bold italic 20px/20px sans-serif;
59 }
60 .network {
61 display: inline-block;
62 text-align: left;
63 vertical-align: middle;
64 font-size: 12px;
65 line-height: normal;
66 color: #999;
67 }
68 .network a {
69 display: inline-block;
70 padding: 8px 6px;
71 vertical-align: middle;
72 }
73 header select, header option {
74 background-color: transparent;
75 color: inherit;
76 border: none;
77 font-size: inherit;
78 }
81 /* FOOTER */
83 footer, div.foot {
84 padding: 20px 0;
85 clear: both;
86 text-align: center;
87 font-size: 90%;
88 color: #666;
89 background-color: hsla(0, 0%, 20%, 0.1);
90 box-shadow: 0 4px 8px hsla(0, 0%, 0%, 0.2) inset;
92 position: absolute;
93 bottom: 0;
94 width: 100%;
95 }
96 footer a+a::before {
97 display: inline-block;
98 content: ' • ';
99 color: #E81;
100 }
101 footer div {
102 margin: 12px;
103 }
107 /* CONTENT */
109 h2 {
110 margin: 0; padding: 0.2rem;
111 font: bold 1.3rem/2rem sans-serif;
112 color: rgba(0,0,0,0.7);
113 }
114 section h2, section h3 {
115 background-color: rgba(0,0,0,0.05);
116 border-top-left-radius: 4px;
117 border-top-right-radius: 4px;
118 }
119 h3 {
120 margin: 0; padding: 0.2rem;
121 font: bold 1.15rem/1.5rem sans-serif;
122 color: rgba(0,0,0,0.6);
123 }
124 a {
125 text-decoration: none;
126 color: hsl(215, 60%, 40%);
127 -webkit-transition: .2s border-color, .2s box-shadow; transition: .2s border-color, .2s box-shadow;
128 border-bottom: 1px solid transparent;
129 }
130 main td a:hover, p a:hover {
131 text-decoration: none;
132 color: hsl(215, 100%, 40%);
133 border-color: hsl(215, 100%, 40%);
134 }
135 pre {
136 background-color: rgba(0,0,0,0.03);
137 border: 1px solid rgba(0,0,0,0.1);
138 padding: 8px;
139 margin: 0;
140 overflow: auto;
141 font: 13px/16px monospace;
142 }
143 pre .underline { border-bottom: 1px solid #444; display: block; right: 0; }
145 /* Content */
147 main {
148 margin: auto;
149 padding: 0.5em 0.5em 5em;
150 }
151 #content2, div.list {
152 width: 100%; box-sizing: border-box;
153 max-width: 700px;
154 margin: auto;
155 padding: 0.5em;
156 }
159 .span-ok { color: #0a0; }
160 .span-red { color: red; }
161 .span-sky { color: blue; }
162 .span-no { color: #d90; }
163 .span-line { color: #888; }
164 .log-date { color: #666; font-size: 95%; }
165 .sh-comment { color: #a00; }
166 .sh-val { color: #e50; font-weight: bold; }
167 .var { color: #05a; }
170 /* Colored log */
172 .log b { font-weight: normal; color: red; }
173 .log u { text-decoration: none; color: darkorange; }
174 .log i { font-style: normal; color: green; }
175 .log em { font-style: normal; background-color: lightsteelblue; font-weight: bold; display: inline-block; width: 100%; }
179 /* Buttons */
181 .button {
182 display: inline-block;
183 padding: 4px;
184 margin: 2px 0;
185 text-decoration: none;
186 color: rgba(0,0,0,0.7);
187 border: 1px solid;
188 border-color: rgba(0,0,0,0.3) rgba(0,0,0,0.5) rgba(0,0,0,0.5) rgba(0,0,0,0.3);
189 -moz-user-select: none;
190 }
191 .button.active {
192 color: inherit;
193 padding: 5px;
194 border: none;
195 box-shadow: 0 0 3px rgba(0,0,0,0.7) inset;
196 text-decoration: none;
197 }
198 .button:not(.active):hover, input:hover {
199 color: inherit;
200 box-shadow: 0 0 4px rgba(0,0,0,0.3);
201 text-decoration: none;
202 outline: none;
203 }
204 .button[data-acc]::before {
205 content: attr(data-acc);
206 display: inline-block;
207 padding-right: 4px;
208 margin-right: 4px;
209 text-align: center;
210 text-transform: uppercase;
211 border-right: 1px solid;
212 border-color: inherit;
213 }
216 /* Search box */
218 .search input {
219 padding: 2px;
220 font-size: inherit;
221 font-family: inherit;
222 color: inherit;
223 border: 1px solid rgba(0,0,0,0.3);
224 -webkit-transition: .2s box-shadow, .5s padding cubic-bezier(.68,-0.55,.27,1.55);
225 transition: .2s box-shadow, .5s padding cubic-bezier(.68,-0.55,.27,1.55);
226 float: right;
227 height: 28px;
228 box-sizing: border-box;
229 }
230 .search input:focus {
231 padding-right: 22px;
232 }
233 .search button {
234 background: transparent url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15'><path d='m5.5 1c5.5.3 5.5 5.5 5.5 5.5 0 1.8-1 3.1-1 3.1l3.8 3.8-1.4 1.4-3.8-3.8s-1.3 1-3.1 1c-5.5-.3-5.5-5.5-5.5-5.5s0-5.2 5.5-5.5zm0 2c-3.5.2-3.5 3.5-3.5 3.5s0 3.3 3.5 3.5c3.5-.2 3.5-3.5 3.5-3.5s0-3.3-3.5-3.5z'/></svg>") no-repeat 0 0;
235 border: 0;
236 width: 19px;
237 height: 19px;
238 text-indent: -99999px;
239 margin-left: -22px;
240 margin-top: 6px;
241 padding: 0;
242 opacity: 0.6;
243 cursor: pointer;
244 float: right;
245 }
248 /* Round corner */
250 pre, .button, .search input, [class*="bigicon-"], progress {
251 border-radius: 3px;
252 }
256 .log a[name] { text-decoration: none; color: #666; }
257 .log a[name]:hover { color: #000; }
259 .r { float: right; }
260 form.r, .button.r { margin: 3px 3px 0; }
262 .button.r { background-color: white; }
263 .button.receipt { background-color: greenyellow; }
264 .button.website { background-color: skyblue; }
265 .button.files { background-color: khaki; }
266 .button.desc { background-color: sandybrown; }
267 .button.download { background-color: gold; }
268 .button.source { background-color: yellow; }
269 .button.browse { background-color: tan; }
270 .button.doc { background-color: plum; }
271 .button.log { background-color: lightgray; }
273 .icon::before {
274 height: 16px;
275 vertical-align: -2px;
276 display: inline-block;
277 padding-right: 2px;
278 opacity: 0.6;
279 }
280 .icon.receipt::before { content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><path d='m6.2 2-.2 1.8-1.6.9-1.7-.8-1.8 3 1.5 1.1v1.9l-1.5 1.1 1.8 3 1.7-.8 1.6.9.2 1.8h3.6l.2-1.8 1.6-.9 1.7.8 1.8-3-1.5-1.1v-1.9l1.5-1.1-1.8-3-1.7.8-1.6-.9-.2-1.8zm1.8 5s1.9 0 2 2c-.1 2-2 2-2 2s-1.9 0-2-2c.1-2 2-2 2-2z'/></svg>"); }
281 .icon.website::before { content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><path d='m8 2c-7 .3-7 7-7 7s0 6.7 7 7c7-.3 7-7 7-7s0-6.7-7-7zm-.3 1.9c-.8 1.9-.5 3 0 3.6-1 0-1-.8-1.8-.8-.3 0-.5.4-.5.7 0 2 4.8.8 4.8 3.3 0 1.6-1 2.6-2.7 3.2 0-1.9-.7-2.2-1.8-2.9-.3-.2-.3-.3-.2-.6.2-.6.4-.9 1-1.3-1.3-.3-2.4-.6-3.3-1.4 0-1 1.7-3.8 4.5-3.8zm4.5 2.4c.7 1 1.1 2.6.5 4.2-.6-1.1-1.7-1.7-1.7-2.5s1-1.7 1.2-1.7z'/></svg>"); }
282 .icon.files::before { content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><path d='m5 2v1h3.4l4.6 4.6v5.4h1c1 0 1-1 1-1v-7l-4-4h-5s-1 0-1 1zm-3 3v10s0 1 1 1h8s1 0 1-1v-7l-4-4h-5s-1 0-1 1z'/></svg>"); }
283 .icon.desc::before { content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><path d='m3 2c-2 0-2 2-2 2v10c0 2 2 2 2 2h10s2 0 2-2v-10c0-2-2-2-2-2zm1 3h8v1h-8zm0 3h8v1h-8zm0 3h6v1h-6z'/></svg>"); }
284 .icon.download::before, .icon.source::before { content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='16'><path d='m5 2v5h-2.3l4.3 6.3 4.4-6.3h-2.4v-5zm-4 12v2h12.1v-2z'/></svg>"); }
285 .icon.browse::before { content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><path d='m8 4s-5.4-.4-8 5c2.6 5.4 8 5 8 5s5.4.4 8-5c-2.6-5.4-8-5-8-5zm3 5c-.2 4-5.8 4-6 0 .2-4 5.8-4 6 0zm-4 0c0 1.3 2 1.3 2 0s-2-1.3-2 0z'/></svg>"); }
286 .icon.doc::before { content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><path d='m4.5 3c-2.5 0-3.5 1-3.5 1v12.1s1-1 3.5-1 3.5 1 3.5 1 1-1 3.5-1 3.5 1 3.5 1v-12.1s-1-1-3.5-1-3.5 1-3.5 1-1-1-3.5-1zm7 1.2c1.5 0 2.5.4 2.5.4v9.7s-1-.4-2.5-.4c-2.5 0-3.5 1-3.5 1v-9.7s1-1 3.5-1z'/></svg>"); }
287 .icon.log::before { content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><path d='m8 2c-7 .4-7 7-7 7s0 6.6 7 7c7-.4 7-7 7-7s0-6.6-7-7zm0 2c5 .3 5 5 5 5s0 4.7-5 5c-5-.3-5-5-5-5s0-4.7 5-5zm-1 1v4.4l2.8 2.8 1.4-1.4-2.2-2.2v-3.6z'/></svg>"); }
288 .icon.more::before { content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' height='16' width='16'><path d='m3 7c-2 .1-2 2-2 2s0 1.9 2 2c2-.1 2-2 2-2s0-1.9-2-2zm5 0c-2 .1-2 2-2 2s0 1.9 2 2c2-.1 2-2 2-2s0-1.9-2-2zm5 0c-2 .1-2 2-2 2s0 1.9 2 2c2-.1 2-2 2-2s0-1.9-2-2z'/></svg>"); }
289 .icon.bell::before { content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' height='16' width='16'><path d='m9.6 2.7s-3.4-.2-4.5 3c-1.9 4.6-2.5 3.8-2.8 4.4-.2.6.4.8.4.8l9.3 3.3s.5.2.8-.3-.9-.5.7-5.2c1-3.5-1.6-5.1-1.6-5.1s.3-1.1-.8-1.5c-1-.4-1.5.6-1.5.6zm-2.9 11s-.4 1.4 1.3 2.2c2 .4 2.3-.9 2.3-.9z'/></svg>"); }
291 .bigicon-i {
292 background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><path d='m16 2c-14 .7-14 14-14 14s0 13.3 14 14c14-.7 14-14 14-14s0-13.3-14-14zm0 5.5c2.5 0 2.5 2.5 2.5 2.5s0 2.5-2.5 2.5-2.5-2.5-2.5-2.5 0-2.5 2.5-2.5zm-2 6.5h4v10h-4z' fill='%2329F'/></svg>") no-repeat 0.5rem 50%;
293 }
294 .bigicon-w {
295 background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><path d='m16 1.3c-.7 0-1.3.3-1.7 1l-14 24.7c-.8 1.4.2 3 1.7 3h28c1.5 0 2.5-1.6 1.7-3l-14-24.7c-.4-.7-1-1-1.7-1zm-2 6.7h4v12h-4zm0 14h4v4h-4z' fill='%23F90'/></svg>") no-repeat 0.5rem 50%;
296 }
297 .bigicon-e {
298 background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><path d='m16 2c-14 .7-14 14-14 14s0 13.3 14 14c14-.7 14-14 14-14s0-13.3-14-14zm-2 4h4v12h-4zm0 16h4v4h-4z' fill='%23F43'/></svg>") no-repeat 0.5rem 50%;
299 }
300 [class*="bigicon-"] {
301 margin: 0.5rem 0;
302 padding: 1rem 0.8rem 1rem 3rem;
303 background-color: hsla(0,0%,100%,0.8);
304 box-shadow: 0 0 3px rgba(0,0,0,0.4);
305 }
308 a:target { background-color: yellow; }
311 /* Table */
313 table { width: 100%; box-sizing: border-box; border-collapse: collapse; /*box-shadow: 0 0 4px rgba(0,0,0,0.3);*/ }
314 th { color: rgba(0,0,0,0.6); background-color: rgba(0,0,0,0.2); padding: 3px; }
315 td { padding: 2px; vertical-align: top; }
316 td:first-child { white-space: nowrap; width: 5rem; }
317 td+td, th+th { border-left: 1px solid rgba(0,0,0,0.1); }
318 .activity td:first-child, .cooknotes td:first-child, td.m { color: rgba(0,0,0,0.6); }
320 tbody tr:nth-child(odd) {
321 background-color: hsla(0, 0%, 100%, 0.3);
322 }
323 tbody tr:nth-child(even) {
324 background-color: hsla(0, 0%, 0%, 0.05);
325 }
326 .pkgslist { margin-top: 1.6em; }
327 .pkgslist td:nth-child(1), .pkgslist td:nth-child(2), .pkgslist td:nth-child(3), .pkgslist td:nth-child(4) {
328 white-space: nowrap; width: 1rem; text-align: right;
329 }
333 div.list td, div.list th { padding: 5px 2px; }
335 .texinfo pre { display: none; }
336 .texinfo pre:target { display: block; }
338 section, div.list {
339 margin: 0.6rem 0;
340 padding: 4px;
341 box-shadow: 0 0 4px rgba(0,0,0,0.3);
342 border-radius: 4px;
343 }
344 div.list {
345 margin: 2rem auto;
346 }
349 /* HTML5 progress */
351 .meter {
352 height: 1.4rem;
353 color: inherit;
354 }
355 .meter progress {
356 height: inherit;
357 width: 100%;
358 box-sizing: border-box;
359 display: inline-block;
360 vertical-align: middle;
361 }
362 progress {
363 border: 1px solid rgba(0,0,0,0.2);
364 background-color: hsla(0,0%,100%,0.6);
365 box-shadow: inset 0 0 4px rgba(0,0,0,0.1);
366 -webkit-transition: all .5s; transition: all .5s;
367 }
368 progress::-webkit-progress-bar {
369 background-color: hsla(0,0%,100%,0.6);
370 box-shadow: inset 0 0 4px rgba(0,0,0,0.1);
371 }
372 progress::-webkit-progress-value {
373 background-color: hsla(100,100%,40%,0.7);
374 -webkit-transition: all .5s; transition: all .5s;
375 }
376 progress::-moz-progress-bar {
377 background-color: hsla(100,100%,40%,0.7);
378 transition: all .5s;
379 }
380 .meter span {
381 display: block;
382 white-space: nowrap;
383 position: relative;
384 margin: -1.3rem auto 0 0.1rem;
385 text-align: center;
386 }
391 /* Documents iframe */
393 iframe {
394 border: none;
395 }
398 /* Terminal colors */
400 pre.files { background-color: hsla(0,0%,0%,0.8); color: hsla(0,0%,100%,0.9); }
401 pre.files a { text-decoration: none; }
402 pre.files a:hover { text-decoration: underline; }
403 .c00 { color: #d3d7cf; } .c01 { color: #555753; }
404 .c10 { color: #cc0000; } .c11 { color: #ef2929; }
405 .c20 { color: #4e9a06; } .c21 { color: #8ae234; }
406 .c30 { color: #c4a000; } .c31 { color: #fce94f; }
407 .c40 { color: #3465a4; } .c41 { color: #729fcf; }
408 .c50 { color: #75507b; } .c51 { color: #ad7fa8; }
409 .c60 { color: #06989a; } .c61 { color: #34e2e2; }
410 .c70 { color: #2e3436; } .c71 { color: #eeeeec; }
411 .c01,.c11,.c21,.c31,.c41,.c51,.c61,.c71 { font-weight: bold; }
413 /* Old webkit-gtk compatibility */
415 header, footer, main {
416 display: block;
417 }
420 /* FOLLOWING CSS HAS SOME CHANGES FOR SLITAZ COOKER! */
422 /* http://prismjs.com/download.html?themes=prism-okaidia&languages=markup+css+clike+javascript+asciidoc+bash+c+css-extras+diff+ini+markdown+perl+python */
423 /**
424 * okaidia theme for JavaScript, CSS and HTML
425 * Loosely based on Monokai textmate theme by http://www.monokai.nl/
426 * @author ocodia
427 */
428 code[class*="language-"], pre[class*="language-"] {
429 color: #f8f8f2;
430 background: none;
431 text-shadow: 0 1px rgba(0,0,0,0.3);
432 text-align: left;
433 white-space: pre;
434 word-spacing: normal;
435 word-break: normal;
436 word-wrap: normal;
437 -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;
438 -webkit-hyphens: none; -moz-hyphens: none; hyphens: none;
439 }
440 /* Code blocks */
441 pre[class*="language-"] {
442 padding: 1em;
443 margin: .5em 0;
444 overflow: auto;
445 }
446 :not(pre) > code[class*="language-"], pre[class*="language-"] {
447 background: #272822;
448 }
449 /* Inline code */
450 :not(pre) > code[class*="language-"] {
451 padding: .1em;
452 border-radius: .3em;
453 white-space: normal;
454 }
455 .token.comment,.token.prolog,.token.doctype,.token.cdata{color:slategray;}
456 .token.punctuation{color:#f8f8f2;}
457 .namespace{opacity:.7;}
458 .token.property,.token.tag,.token.constant,.token.symbol,.token.deleted{color:#f92672;}
459 .token.boolean,.token.number,.token.coord{color:#ae81ff;}
460 .token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#a6e22e;}
461 .token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string,.token.variable{color:#f8f8f2;}
462 .token.atrule,.token.attr-value,.token.function{color:#e6db74;}
463 .token.keyword{color:#66d9ef;}
464 .token.regex,.token.important{color:#fd971f;}
465 .token.important,.token.bold{font-weight:bold;}
466 .token.italic{font-style:italic;}
467 .token.entity{cursor:help;}