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