]> git.immae.eu Git - github/shaarli/Shaarli.git/blob - inc/shaarli.css
Edit/delete button on the left-side of links.
[github/shaarli/Shaarli.git] / inc / shaarli.css
1 /* CSS Stylsheet for Shaarli - http://sebsauvage.net/wiki/doku.php?id=php:shaarli */
2
3 /* CSS Reset from Yahoo to cope with browsers CSS inconsistencies. */
4 /*
5 Copyright (c) 2010, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html
6 version: 2.8.2r1
7 */
8 html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:baseline;}sub{vertical-align:baseline;}legend{color:#000;}input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}input,button,textarea,select{*font-size:100%;}
9
10 body { font-family: "Trebuchet MS",Verdana,Arial,Helvetica,sans-serif; font-size:10pt; background-color: #ffffff; }
11 input, textarea {
12 background-color: #dedede;
13 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dedede), to(#ffffff));
14 background: -webkit-linear-gradient(#dedede, #ffffff);
15 background: -moz-linear-gradient(#dedede, #ffffff);
16 background: -ms-linear-gradient(#dedede, #ffffff);
17 background: -o-linear-gradient(#dedede, #ffffff);
18 background: linear-gradient(#dedede, #ffffff);
19 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
20 padding:5px;
21 border-radius: 5px 5px 5px 5px;
22 border: none;
23 color:#000;
24
25 }
26
27 h1 { font-size:20pt; font-weight:bold; font-style:italic; margin-bottom:20px; }
28 /* I don't give a shit about IE. He can't understand selectors such as input[type='submit']. */
29
30 /* Buttons */
31 .bigbutton {
32 background-color: #c0c0c0;
33 background: -moz-linear-gradient(#c0c0c0, #ffffff) repeat scroll 0 0 transparent;
34 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#c0c0c0), to(#ffffff));
35 background: -webkit-linear-gradient(#c0c0c0, #ffffff);
36 background: -ms-linear-gradient(#c0c0c0, #ffffff);
37 background: -o-linear-gradient(#c0c0c0, #ffffff);
38 background: linear-gradient(#c0c0c0, #ffffff);
39 border-radius: 3px 3px 3px 3px;
40 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
41 cursor: pointer;
42 height: 24px;
43 margin-left: 5px;
44 padding: 0 5px;
45 color: #606060;
46 border-style:outset;
47 border-width:1px;
48
49 }
50 .smallbutton {
51 background-color: #c0c0c0;
52 background: -moz-linear-gradient(#c0c0c0, #ffffff) repeat scroll 0 0 transparent;
53 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#c0c0c0), to(#ffffff));
54 background: -webkit-linear-gradient(#c0c0c0, #ffffff);
55 background: -ms-linear-gradient(#c0c0c0, #ffffff);
56 background: -o-linear-gradient(#c0c0c0, #ffffff);
57 background: linear-gradient(#c0c0c0, #ffffff);
58 border-radius: 3px 3px 3px 3px;
59 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
60 cursor: pointer;
61 height: 20px;
62 margin-left: 5px;
63 padding: 0 5px;
64 color: #606060;
65 border-style:outset;
66 border-width:1px;
67
68 }
69
70 /* Small tab on the left of each link with edit/delete buttons. */
71 .button_edit, .button_delete { border-radius:0; box-shadow:none; border-style:none; border-width:0; padding:0; background:none; }
72 .linkeditbuttons {
73 position:absolute;
74 left:-1px;
75 padding:4px 2px 2px 2px;
76 background-color:#f0f0f0;
77
78 -webkit-border-radius:0px 6px 6px 0px;
79 -moz-border-radius:0px 6px 6px 0px;
80 -o-border-radius:0px 6px 6px 0px;
81 -ms-border-radius:0px 6px 6px 0px;
82 border-radius:0px 6px 6px 0px;
83
84 -webkit-box-shadow:0px 0px 3px 0px #333333;
85 -moz-box-shadow:0px 0px 3px 0px #333333;
86 -o-box-shadow:0px 0px 3px 0px #333333;
87 -ms-box-shadow:0px 0px 3px 0px #333333;
88 box-shadow:0px 0px 3px 0px #333333;
89 }
90
91 #pageheader #logo{
92 background-image: url('../images/logo.png');
93 background-repeat: no-repeat;
94 float:left;
95 margin:0 10px 0 10px;
96 width:105px;
97 height:55px;
98 cursor:pointer;
99
100 }
101
102 #pageheader
103 {
104 background-color: #333333;
105 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#333333), to(#111111));
106 background: -webkit-linear-gradient(#333333, #111111);
107 background: -moz-linear-gradient(#333333, #111111);
108 background: -ms-linear-gradient(#333333, #111111);
109 background: -o-linear-gradient(#333333, #111111);
110 background: linear-gradient(#333333, #111111);
111 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
112 width:auto;
113 padding:0 10px 5px 10px;
114 margin: auto;
115 }
116
117 #pageheader a
118 {
119 background-color: #333333;
120 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#333333), to(#000000));
121 background: -webkit-linear-gradient(#333333, #000000);
122 background: -moz-linear-gradient(#333333, #000000);
123 background: -ms-linear-gradient(#333333, #000000);
124 background: -o-linear-gradient(#333333, #000000);
125 background: linear-gradient(#333333, #000000);
126 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
127 padding:5px;
128 border-radius: 5px 5px 5px 5px;
129 margin:10px 3px 3px 3px;
130 color:#A2DD42;
131 float:left;
132 text-decoration:none;
133 }
134
135 #toolsdiv a{
136 clear:both;
137 }
138 #toolsdiv a span{
139 color:#ffffff;
140 }
141 .linksperpage,.tagfilter,.searchform,.addform {
142 background-color: #dedede;
143 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dedede), to(#ffffff));
144 background: -webkit-linear-gradient(#dedede, #ffffff);
145 background: -moz-linear-gradient(#dedede, #ffffff);
146 background: -ms-linear-gradient(#dedede, #ffffff);
147 background: -o-linear-gradient(#dedede, #ffffff);
148 background: linear-gradient(#dedede, #ffffff);
149 display:inline;
150 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
151 padding:5px;
152 border: none;
153 border-radius: 5px 5px 5px 5px;
154 margin:10px 3px 3px 3px;
155 color:#cecece;
156 }
157
158 .linksperpage{
159 box-shadow: 0 0 0 rgba(0, 0, 0, 0.5);
160 padding:3px;
161 }
162
163 .linksperpage input,.tagfilter input, .searchform input, .addform input{
164 border:none;
165 color:#606060;
166 background:none;
167 box-shadow:none;
168 padding:5px;
169 }
170
171 .linksperpage input{
172 padding:0;
173 }
174
175 .tagfilter input.bigbutton,.searchform input.bigbutton,.addform input.bigbutton{
176 background-color: #dedede;
177 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dedede), to(#ffffff));
178 background: -webkit-linear-gradient(#dedede, #ffffff);
179 background: -moz-linear-gradient(#dedede, #ffffff);
180 background: -ms-linear-gradient(#dedede, #ffffff);
181 background: -o-linear-gradient(#dedede, #ffffff);
182 background: linear-gradient(#dedede, #ffffff);
183 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
184 padding:0 5px 0 5px;
185 margin:5px 0 5px 0;
186 height:20px;
187 border-radius: 5px 5px 5px 5px;
188 cursor:pointer;
189 }
190
191 #shaarli_title { font-weight:bold; font-style:italic; margin-top:0;}
192 #shaarli_title a { color: #fff !important; }
193
194 #pageheader a:visited { color:#98C943; text-decoration:none;}
195 #pageheader a:hover { color:#FFFFC9; text-decoration:none;}
196 #pageheader a:active { color:#bbb; text-decoration:none;}
197 #searchcriteria { padding: 4px 0px 5px 5px; font-weight:bold;}
198 .paging { padding:5px;background-color:#777; color:#ccc; text-align:center; clear:both;}
199 .paging a:link { color:#ccc; text-decoration:none;}
200 .paging a:visited { color:#ccc; }
201 .paging a:hover { color:#FFFFC9; }
202 .paging a:active { color:#fff; }
203 #paging_privatelinks { float:left; }
204 #paging_linksperpage { float:right; padding-right:5px; }
205 #paging_current { display:inline; color:#fff; padding:0 20 0 20; }
206 #paging_older { margin-right:15px; }
207 #paging_newer { margin-left:15px; }
208
209 #headerform { color:#ffffff; padding:5px 5px 5px 5px; clear: both;}
210 #toolsdiv { color:#ffffff; padding:5px 5px 5px 5px; clear:left; }
211 #uploaddiv { color:#ffffff; padding:5px 5px 5px 5px; clear:left; }
212 #editlinkform { height:100%;color:#ffffff; padding:5px 5px 5px 15px; width:80%; clear:left; }
213 #linklist li {
214 padding:4px 10px 15px 20px; border-top: 1px solid #bbb; clear:both;
215 background-color: #F2F2F2;
216 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#F2F2F2), to(#ffffff));
217 background: -webkit-linear-gradient(#F2F2F2, #ffffff);
218 background: -moz-linear-gradient(#F2F2F2, #ffffff);
219 background: -ms-linear-gradient(#F2F2F2, #ffffff);
220 background: -o-linear-gradient(#F2F2F2, #ffffff);
221 background: linear-gradient(#F2F2F2, #ffffff);
222 }
223
224 /*
225 #linklist li.publicLinkHightLight:hover,#linklist li:hover{
226 background: #E9FFCE;
227 }
228 */
229 #linklist li.private { background: url('../images/private.png') no-repeat 10px center; padding-left:60px; }
230 #linklist li { padding-left:26px; }
231 .private .linktitle a {color:#969696;}
232 .linktitle { font-size:14pt; font-weight:bold; }
233 .linktitle a { text-decoration: none; color:#80AD48; }
234 .linktitle a:hover { color:#F57900; }
235 .linkdate { font-size:8pt; color:#888; }
236 .linkdate a { background-image:url('../images/calendar.png');padding:2px 0 3px 20px;background-repeat:no-repeat;text-decoration: none; color:#E28E3F; }
237 .linkdate a:hover { color: #F57900 }
238 .linkurl { font-size:8pt; color:#4BAA74; }
239 .linkdescription { color:#000; margin-top:0; margin-bottom:12px; font-weight:normal; max-height:400px; overflow:auto; }
240 .linkdescription a { text-decoration: none; color:#3465A4; }
241 .linkdescription a:hover { color:#F57900; }
242 .linktaglist { padding-top:10px;}
243 .linktag {
244
245 font-size:9pt;
246 background-color: #F2F2F2;
247 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#F2F2F2), to(#ffffff));
248 background: -webkit-linear-gradient(#F2F2F2, #ffffff);
249 background: -moz-linear-gradient(#F2F2F2, #ffffff);
250 background: -ms-linear-gradient(#F2F2F2, #ffffff);
251 background: -o-linear-gradient(#F2F2F2, #ffffff);
252 background: linear-gradient(#F2F2F2, #ffffff);
253 box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
254 padding:3px 3px 3px 20px;
255 height:20px;
256 border-radius: 3px 3px 3px 3px;
257 cursor:pointer;
258 background-image:url('../images/tag_blue.png');
259 background-repeat:no-repeat;
260 background-position:3px center;
261 background-color:#ffffff;
262 }
263 .linktag:hover { border-color: #555573; color:#000; }
264 .linktag a { color:#777; text-decoration:none; }
265 .linkshort { font-size:8pt; color:#888; }
266 .linkshort a { text-decoration: none; color:#393964; }
267 .linkshort a:hover { text-decoration: underline; }
268 .buttoneditform { display:inline; }
269 #footer { font-size:8pt; text-align:center; border-top:1px solid #ddd; color: #888; clear:both; }
270 #footer a{ color:#486D08;}
271 #footer a:hover{ color:#000000;}
272 #newversion { background-color: #FFFFA0; color:#000; position:absolute; top:0;right:0; padding:2 7 2 7; font-size:9pt;}
273 #cloudtag { padding-left:10%; padding-right:10%; }
274 #cloudtag a { color:black; text-decoration:none; }
275 #installform td { font-size: 10pt; color:black; padding:10px 5px 10px 5px; clear:left; }
276 #changepasswordform { color:#ccc; padding:10px 5px 10px 5px; clear:left; }
277 #changetag { color:#ccc; padding:10px 5px 10px 5px; clear:left; }
278 #configform td { color:#ccc; font-size: 10pt; padding:10px 5px 10px 5px; }
279 #configform { color:#ccc; padding:10px 5px 10px 5px; clear:left; }
280 .thumbnail { float:right; margin-left: 10px; }
281 /* If you want thumbnails on the left:
282 .thumbnail { float:left; margin-right: 10px; }
283 .linkcontainer { position: static; margin-left:130px; }
284 */
285
286
287
288
289 /* --- Picture wall CSS --- */
290 #picwall_container { color:#fff; background-color:#000; clear:both; }
291 .picwall_pictureframe { background-color:#000; z-index:5; position:relative; display:table-cell; vertical-align:middle;width:90px; height:90px; overflow:hidden; text-align:center; float:left; }
292 .picwall_pictureframe img { max-width: 100%;height: auto; } /* Adapt the width of the image */
293 .picwall_pictureframe a {text-decoration:none;}
294
295 /* CSS to show title when hovering an image - no javascript required. */
296 .picwall_pictureframe span.info {display: none;}
297 .picwall_pictureframe:hover span.info {
298 display:block;
299 position:absolute;
300 top:0; left:0; width:90px;
301 font-weight:bold;
302 font-size:8pt;
303 color:#fff;
304 text-align: left;
305 background-color: transparent;
306 background-color: rgba(0, 0, 0, 0.4); /* FF3+, Saf3+, Opera 10.10+, Chrome, IE9 */
307 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#66000000,endColorstr=#66000000); /* IE6\96IE9 */
308 text-shadow:2px 2px 1px #000000;
309 }
310
311 /* Minimal customisation for jQuery widgets */
312 .ui-autocomplete { background-color:#fff; padding-left:5px;}
313 .ui-state-hover { background-color: #604dff; color:#fff; }
314
315 #linklist li.publicLinkHightLight{
316 background: #ffffff;
317 }
318
319 div.qrcode {
320 width:220px;
321 height:220px;
322 background-color: #ffffff;
323 border: 1px solid black;
324 position: absolute;
325 top:-100px;
326 left:-100px;
327 text-align:center;
328 font-size: 8pt;
329 z-index:50;
330 -webkit-box-shadow:2px 2px 20px 2px #333333;
331 -moz-box-shadow:2px 2px 20px 2px #333333;
332 -o-box-shadow:2px 2px 20px 2px #333333;
333 -ms-box-shadow:2px 2px 20px 2px #333333;
334 box-shadow:2px 2px 20px 2px #333333;
335 }
336
337 div.daily
338 {
339 font-family: Georgia, 'DejaVu Serif', Norasi, serif;
340 background-color: #E6D6BE;
341 /* Background paper texture by BashCorpo:
342 http://www.bashcorpo.dk/textures.php
343 http://bashcorpo.deviantart.com/art/Grungy-paper-texture-v-5-22966998 */
344 background-image: url("../images/Paper_texture_v5_by_bashcorpo_w1000.jpg");
345 -webkit-background-size: cover;
346 -moz-background-size: cover;
347 -o-background-size: cover;
348 background-size: cover;
349 position:relative;
350 border-bottom: 2px solid black;
351 }
352
353 #daily_col1 { float:left;position:relative; width:33%; padding-left:1%; }
354 #daily_col2 { float:left;position:relative; width:33%; }
355 #daily_col3 { float:left;position:relative; width:33%;}
356
357 div.dailyAbout
358 {
359 float:left;
360 border: 1px solid black;
361 font-size: 8pt;
362 position:absolute;
363 left:10px;
364 top: 15px;
365 padding: 5px 5px 5px 5px;
366 text-align:center;
367 }
368 div.dailyAbout a { color: #890500; }
369 div.dailyTitle
370 {
371 font-weight: bold;
372 font-size: 44pt;
373 text-align:center;
374 padding:10px 20px 0px 20px;
375 }
376 div.dailyDate
377 {
378 font-size: 12pt;
379 font-weight:bold;
380 text-align:center;
381 padding:0px 20px 30px 20px;
382 }
383
384 /* Individual entries in "Daily": */
385 div.dailyEntry
386 {
387 margin: 5px 10px 2px 5px;
388 font-size: 11pt;
389 border-top: 1px solid #555;
390 }
391 div.dailyEntry a { text-decoration:none; color: #890500; }
392 div.dailyEntryTags { font-size:7.75pt; }
393 div.dailyEntryTitle { font-size:18pt; font-weight:bold;}
394 div.dailyEntryThumbnail
395 {
396 width:100%;
397 text-align:center;
398 background-color:rgb(128,128,128);
399 background:url(../images/50pc_transparent.png);
400 padding:4px 0px 2px 0px;
401 }
402 div.dailyEntryDescription
403 {
404 margin-top: 10px;
405 margin-bottom: 30px;
406 text-align:justify;
407 overflow:auto;
408 }
409
410 /* Common css screwdriver */
411 .clear{
412 clear:both;
413 }
414
415 /* For lazy images loading in picture wall.
416 using http://www.appelsiini.net/projects/lazyload
417 */
418 .lazyimage { display:none; }
419
420 @media print {
421 html {border:none;background:#fff!important;color:#000!important;}
422 body {font-size:12pt;width:auto!important;margin:auto!important;}
423 p {orphans:3; /*pas de ligne seule en bas */widows:3;/*pas de ligne seule en haut*/}
424 a {color:#000!important;text-decoration:none!important;}
425 #pageheader, .paging, #linklist li form, #footer {display:none;}
426 #linklist li { padding:2 0 10 0; border-top: 2px solid #000; clear:both; }
427 #linklist li.private { background-color: none; border-left:0; }
428 .linkdate { line-height:2; }
429 .linkurl { color:#000; }
430 .linkdescription { font-size:10pt;}
431 .linktag { border: 1px solid black; font-style:italic; font-size:8pt;}
432
433 }
434
435
436 @media handheld, only screen and (max-width: 480px), only screen and (max-device-width: 854px)
437 {
438 /* A few fixes for mobile devices (far from perfect). */
439 .nomobile { display:none; }
440 #logo { display:none; }
441 #pageheader a
442 {
443 padding:5px;
444 border-radius: 5px 5px 5px 5px;
445 margin:3px;
446 }
447 .searchform,.tagfilter { display:block !important; margin:0px !important; padding:0px !important; width:100% !important; }
448 .searchform input,.tagfilter input { margin:0px !important; padding:0px !important; display:inline !important; }
449 .tagfilter input.bigbutton,.searchform input.bigbutton,.addform input.bigbutton{ width:30%; font-size:smaller;}
450 #searchform_value { width:70% !important; }
451 #tagfilter_value { width:70% !important; }
452 div.qrcode { position:relative; float:left; top:-10px; left:0px; }
453 #paging_privatelinks { float;none; }
454 #paging_linksperpage { float:none; margin-bottom:10px; font-size:smaller;}
455 #paging_older,#paging_newer,#paging_linksperpage a { border: 1px solid black; padding:3px 5px 3px 5px; background-color:#666; color:#fff; border-radius: 5px 5px 5px 5px;}
456 .thumbnail { float:none; height:auto; margin: 0px; text-align:center;}
457 #cloudtag { padding:0px; }
458 div.dailyAbout { float:none; position:relative; width:100%; clear:both; padding:0px; top:0px; left:0px; }
459 #daily_col1,#daily_col2,#daily_col3 { float:none; width:100%; padding:0px;}
460 div.dailyTitle { font-size: 18pt; margin-top:5px; padding:0px;}
461 div.dailyDate { font-size: 11pt;padding:0px; display:block; }
462 div.dailyEntryTitle { font-size:16pt; font-weight:bold;}
463 div.dailyEntryDescription { font-size:10pt; }
464
465 }
466