]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - inc/shaarli.css
Update shaarli.css
[github/shaarli/Shaarli.git] / inc / shaarli.css
CommitLineData
45034273
SS
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/*
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
27h1 { 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
b2877611 70/* Small tab on the left of each link with edit/delete buttons. */
45034273 71.button_edit, .button_delete { border-radius:0; box-shadow:none; border-style:none; border-width:0; padding:0; background:none; }
b2877611
SS
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}
45034273
SS
90
91#pageheader #logo{
92background-image: url('../images/logo.png');
93background-repeat: no-repeat;
94float:left;
95margin:0 10px 0 10px;
96width:105px;
97height:55px;
98cursor: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; }
b2877611 230#linklist li { padding-left:26px; }
45034273
SS
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; }
067e66ac 242.linktaglist { padding-top:10px; line-height:200%;}
45034273
SS
243.linktag {
244
245font-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 */
308text-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
26c95568
SS
319div#permalinkQrcode {
320padding:20px;
45034273
SS
321width:220px;
322height:220px;
323background-color: #ffffff;
324border: 1px solid black;
325position: absolute;
326top:-100px;
327left:-100px;
328text-align:center;
329font-size: 8pt;
330z-index:50;
331-webkit-box-shadow:2px 2px 20px 2px #333333;
332-moz-box-shadow:2px 2px 20px 2px #333333;
333-o-box-shadow:2px 2px 20px 2px #333333;
334-ms-box-shadow:2px 2px 20px 2px #333333;
335box-shadow:2px 2px 20px 2px #333333;
336}
337
338div.daily
339{
340 font-family: Georgia, 'DejaVu Serif', Norasi, serif;
341 background-color: #E6D6BE;
342 /* Background paper texture by BashCorpo:
343 http://www.bashcorpo.dk/textures.php
344 http://bashcorpo.deviantart.com/art/Grungy-paper-texture-v-5-22966998 */
345 background-image: url("../images/Paper_texture_v5_by_bashcorpo_w1000.jpg");
346 -webkit-background-size: cover;
347 -moz-background-size: cover;
348 -o-background-size: cover;
349 background-size: cover;
350 position:relative;
351 border-bottom: 2px solid black;
352}
353
354#daily_col1 { float:left;position:relative; width:33%; padding-left:1%; }
355#daily_col2 { float:left;position:relative; width:33%; }
356#daily_col3 { float:left;position:relative; width:33%;}
357
358div.dailyAbout
359{
360 float:left;
361 border: 1px solid black;
362 font-size: 8pt;
363 position:absolute;
364 left:10px;
365 top: 15px;
366 padding: 5px 5px 5px 5px;
367 text-align:center;
368}
369div.dailyAbout a { color: #890500; }
370div.dailyTitle
371 {
372 font-weight: bold;
373 font-size: 44pt;
374 text-align:center;
375 padding:10px 20px 0px 20px;
376}
377div.dailyDate
378 {
379 font-size: 12pt;
380 font-weight:bold;
381 text-align:center;
382 padding:0px 20px 30px 20px;
383}
384
385/* Individual entries in "Daily": */
386div.dailyEntry
387{
388 margin: 5px 10px 2px 5px;
389 font-size: 11pt;
390 border-top: 1px solid #555;
391}
392div.dailyEntry a { text-decoration:none; color: #890500; }
393div.dailyEntryTags { font-size:7.75pt; }
394div.dailyEntryTitle { font-size:18pt; font-weight:bold;}
395div.dailyEntryThumbnail
396{
397 width:100%;
398 text-align:center;
399 background-color:rgb(128,128,128);
400 background:url(../images/50pc_transparent.png);
401 padding:4px 0px 2px 0px;
402}
403div.dailyEntryDescription
404{
405 margin-top: 10px;
406 margin-bottom: 30px;
407 text-align:justify;
408 overflow:auto;
409}
410
411/* Common css screwdriver */
412.clear{
413 clear:both;
414}
415
416/* For lazy images loading in picture wall.
417 using http://www.appelsiini.net/projects/lazyload
418 */
419.lazyimage { display:none; }
420
421@media print {
422html {border:none;background:#fff!important;color:#000!important;}
423body {font-size:12pt;width:auto!important;margin:auto!important;}
424p {orphans:3; /*pas de ligne seule en bas */widows:3;/*pas de ligne seule en haut*/}
425a {color:#000!important;text-decoration:none!important;}
426#pageheader, .paging, #linklist li form, #footer {display:none;}
427#linklist li { padding:2 0 10 0; border-top: 2px solid #000; clear:both; }
428#linklist li.private { background-color: none; border-left:0; }
429.linkdate { line-height:2; }
430.linkurl { color:#000; }
431.linkdescription { font-size:10pt;}
432.linktag { border: 1px solid black; font-style:italic; font-size:8pt;}
433
434}
435
436
437@media handheld, only screen and (max-width: 480px), only screen and (max-device-width: 854px)
438{
439/* A few fixes for mobile devices (far from perfect). */
440.nomobile { display:none; }
441#logo { display:none; }
442#pageheader a
443{
444 padding:5px;
445 border-radius: 5px 5px 5px 5px;
446 margin:3px;
447}
448.searchform,.tagfilter { display:block !important; margin:0px !important; padding:0px !important; width:100% !important; }
449.searchform input,.tagfilter input { margin:0px !important; padding:0px !important; display:inline !important; }
450.tagfilter input.bigbutton,.searchform input.bigbutton,.addform input.bigbutton{ width:30%; font-size:smaller;}
451#searchform_value { width:70% !important; }
452#tagfilter_value { width:70% !important; }
453div.qrcode { position:relative; float:left; top:-10px; left:0px; }
454#paging_privatelinks { float;none; }
455#paging_linksperpage { float:none; margin-bottom:10px; font-size:smaller;}
456#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;}
457.thumbnail { float:none; height:auto; margin: 0px; text-align:center;}
458#cloudtag { padding:0px; }
459div.dailyAbout { float:none; position:relative; width:100%; clear:both; padding:0px; top:0px; left:0px; }
460#daily_col1,#daily_col2,#daily_col3 { float:none; width:100%; padding:0px;}
461div.dailyTitle { font-size: 18pt; margin-top:5px; padding:0px;}
462div.dailyDate { font-size: 11pt;padding:0px; display:block; }
463div.dailyEntryTitle { font-size:16pt; font-weight:bold;}
464div.dailyEntryDescription { font-size:10pt; }
465
466}
467
1b647ff4 468/* Highlight search results */
26c95568 469.highlight { background-color: #FFFF33; }