]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - inc/shaarli.css
Version 0.0.34 beta:
[github/shaarli/Shaarli.git] / inc / shaarli.css
CommitLineData
eae4f48b
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
3433e5e8 10body { font-family: "Trebuchet MS",Verdana,Arial,Helvetica,sans-serif; font-size:10pt; background-color: #ffffff; }
6d946e78 11input, textarea {
6d946e78
SS
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;
3433e5e8
SS
24
25 }
6d946e78 26
eae4f48b
SS
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 */
6d946e78 31.bigbutton {
51788ab8 32 background-color: #c0c0c0;
5112a433
SS
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;
6d946e78 46 border-style:outset;
5112a433
SS
47 border-width:1px;
48
3433e5e8 49 }
6d946e78 50.smallbutton {
51788ab8 51 background-color: #c0c0c0;
5112a433
SS
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;
6d946e78 65 border-style:outset;
5112a433
SS
66 border-width:1px;
67
6d946e78 68 }
eae4f48b 69
5112a433 70/* Edit/Delete buttons on links */
3433e5e8 71.button_edit, .button_delete { border-radius:0; box-shadow:none; border-style:none; border-width:0; padding:0; background:none; }
5112a433
SS
72.button_edit { margin-left:10px; }
73
74
6d946e78 75#pageheader #logo{
3433e5e8 76background-image: url('../images/logo.png');
6d946e78
SS
77background-repeat: no-repeat;
78float:left;
79margin:0 10px 0 10px;
80width:105px;
81height:55px;
5112a433 82cursor:pointer;
3433e5e8 83
6d946e78 84}
5112a433 85
eae4f48b
SS
86#pageheader
87{
51788ab8 88 background-color: #333333;
6d946e78
SS
89 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#333333), to(#111111));
90 background: -webkit-linear-gradient(#333333, #111111);
91 background: -moz-linear-gradient(#333333, #111111);
92 background: -ms-linear-gradient(#333333, #111111);
93 background: -o-linear-gradient(#333333, #111111);
94 background: linear-gradient(#333333, #111111);
6d946e78 95 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
3433e5e8
SS
96 width:auto;
97 padding:0 10px 5px 10px;
98 margin: auto;
6d946e78
SS
99}
100
101#pageheader a
102{
51788ab8 103 background-color: #333333;
6d946e78
SS
104 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#333333), to(#000000));
105 background: -webkit-linear-gradient(#333333, #000000);
106 background: -moz-linear-gradient(#333333, #000000);
107 background: -ms-linear-gradient(#333333, #000000);
108 background: -o-linear-gradient(#333333, #000000);
109 background: linear-gradient(#333333, #000000);
6d946e78
SS
110 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
111 padding:5px;
112 border-radius: 5px 5px 5px 5px;
113 margin:10px 3px 3px 3px;
114 color:#A2DD42;
5112a433 115 float:left;
6d946e78
SS
116 text-decoration:none;
117}
118
5112a433
SS
119#toolsdiv a{
120 clear:both;
121}
122#toolsdiv a span{
3433e5e8 123 color:#ffffff;
5112a433 124}
6d946e78
SS
125.linksperpage,.tagfilter,.searchform,.addform {
126 background-color: #dedede;
127 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dedede), to(#ffffff));
128 background: -webkit-linear-gradient(#dedede, #ffffff);
129 background: -moz-linear-gradient(#dedede, #ffffff);
130 background: -ms-linear-gradient(#dedede, #ffffff);
131 background: -o-linear-gradient(#dedede, #ffffff);
132 background: linear-gradient(#dedede, #ffffff);
133 display:inline;
6d946e78
SS
134 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
135 padding:5px;
136 border: none;
137 border-radius: 5px 5px 5px 5px;
3433e5e8 138 margin:10px 3px 3px 3px;
6d946e78
SS
139 color:#cecece;
140}
141
142.linksperpage{
143 box-shadow: 0 0 0 rgba(0, 0, 0, 0.5);
144 padding:3px;
145}
146
147.linksperpage input,.tagfilter input, .searchform input, .addform input{
148 border:none;
149 color:#606060;
150 background:none;
151 box-shadow:none;
152 padding:5px;
153}
154
155.linksperpage input{
156 padding:0;
157}
158
159.tagfilter input.bigbutton,.searchform input.bigbutton,.addform input.bigbutton{
51788ab8 160 background-color: #dedede;
6d946e78
SS
161 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dedede), to(#ffffff));
162 background: -webkit-linear-gradient(#dedede, #ffffff);
163 background: -moz-linear-gradient(#dedede, #ffffff);
164 background: -ms-linear-gradient(#dedede, #ffffff);
165 background: -o-linear-gradient(#dedede, #ffffff);
166 background: linear-gradient(#dedede, #ffffff);
167 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
168 padding:0 5px 0 5px;
169 margin:5px 0 5px 0;
170 height:20px;
171 border-radius: 5px 5px 5px 5px;
172 cursor:pointer;
eae4f48b 173}
6d946e78 174
5112a433 175#shaarli_title { font-weight:bold; font-style:italic; margin-top:0;}
008d8b95 176#shaarli_title a { color: #fff !important; }
6d946e78 177
5112a433 178#pageheader a:visited { color:#98C943; text-decoration:none;}
eae4f48b 179#pageheader a:hover { color:#FFFFC9; text-decoration:none;}
3433e5e8 180#pageheader a:active { color:#bbb; text-decoration:none;}
51788ab8 181#searchcriteria { padding: 4px 0px 5px 5px; font-weight:bold;}
6d946e78 182.paging { padding:5px;background-color:#777; color:#ccc; text-align:center; clear:both;}
eae4f48b
SS
183.paging a:link { color:#ccc; text-decoration:none;}
184.paging a:visited { color:#ccc; }
185.paging a:hover { color:#FFFFC9; }
186.paging a:active { color:#fff; }
51788ab8
SS
187#headerform { color:#ffffff; padding:5px 5px 5px 5px; clear: both;}
188#toolsdiv { color:#ffffff; padding:5px 5px 5px 5px; clear:left; }
189#uploaddiv { color:#ffffff; padding:5px 5px 5px 5px; clear:left; }
190#editlinkform { height:100%;color:#ffffff; padding:5px 5px 5px 15px; width:80%; clear:left; }
3433e5e8 191#linklist li {
51788ab8
SS
192 padding:4px 10px 15px 20px; border-top: 1px solid #bbb; clear:both;
193 background-color: #F2F2F2;
6d946e78
SS
194 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#F2F2F2), to(#ffffff));
195 background: -webkit-linear-gradient(#F2F2F2, #ffffff);
196 background: -moz-linear-gradient(#F2F2F2, #ffffff);
197 background: -ms-linear-gradient(#F2F2F2, #ffffff);
198 background: -o-linear-gradient(#F2F2F2, #ffffff);
199 background: linear-gradient(#F2F2F2, #ffffff);
200}
201
202
3433e5e8 203#linklist li.publicLinkHightLight:hover,#linklist li:hover{
6d946e78
SS
204 background: #E9FFCE;
205}
3433e5e8 206#linklist li.private { background: url('../images/private.png') no-repeat 10px center; padding-left:60px; }
5112a433 207.private .linktitle a {color:#969696;}
eae4f48b 208.linktitle { font-size:14pt; font-weight:bold; }
6d946e78 209.linktitle a { text-decoration: none; color:#80AD48; }
008d8b95 210.linktitle a:hover { color:#F57900; }
eae4f48b 211.linkdate { font-size:8pt; color:#888; }
3433e5e8 212.linkdate a { background-image:url('../images/calendar.png');padding:2px 0 3px 20px;background-repeat:no-repeat;text-decoration: none; color:#E28E3F; }
008d8b95 213.linkdate a:hover { color: #F57900 }
eae4f48b 214.linkurl { font-size:8pt; color:#4BAA74; }
3433e5e8 215.linkdescription { color:#000; margin-top:0; margin-bottom:12px; font-weight:normal; max-height:400px; overflow:auto; }
008d8b95
SS
216.linkdescription a { text-decoration: none; color:#3465A4; }
217.linkdescription a:hover { color:#F57900; }
6d946e78 218.linktaglist { padding-top:10px;}
3433e5e8 219.linktag {
6d946e78 220
3433e5e8 221font-size:9pt;
51788ab8 222 background-color: #F2F2F2;
6d946e78
SS
223 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#F2F2F2), to(#ffffff));
224 background: -webkit-linear-gradient(#F2F2F2, #ffffff);
225 background: -moz-linear-gradient(#F2F2F2, #ffffff);
226 background: -ms-linear-gradient(#F2F2F2, #ffffff);
227 background: -o-linear-gradient(#F2F2F2, #ffffff);
228 background: linear-gradient(#F2F2F2, #ffffff);
6d946e78
SS
229 box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
230 padding:3px 3px 3px 20px;
231 height:20px;
232 border-radius: 3px 3px 3px 3px;
233 cursor:pointer;
3433e5e8 234 background-image:url('../images/tag_blue.png');
6d946e78
SS
235 background-repeat:no-repeat;
236 background-position:3px center;
237 background-color:#ffffff;
238}
008d8b95
SS
239.linktag:hover { border-color: #555573; color:#000; }
240.linktag a { color:#777; text-decoration:none; }
99c9c954
SS
241.linkshort { font-size:8pt; color:#888; }
242.linkshort a { text-decoration: none; color:#393964; }
243.linkshort a:hover { text-decoration: underline; }
eae4f48b 244.buttoneditform { display:inline; }
2732de7c 245#footer { font-size:8pt; text-align:center; border-top:1px solid #ddd; color: #888; clear:both; }
5112a433
SS
246#footer a{ color:#486D08;}
247#footer a:hover{ color:#000000;}
3433e5e8 248#newversion { background-color: #FFFFA0; color:#000; position:absolute; top:0;right:0; padding:2 7 2 7; font-size:9pt;}
e6a0ab54
SS
249#cloudtag { padding-left:10%; padding-right:10%; }
250#cloudtag a { color:black; text-decoration:none; }
51788ab8
SS
251#installform td { font-size: 10pt; padding:10px 5px 10px 5px; clear:left; }
252#changepasswordform { color:#ccc; padding:10px 5px 10px 5px; clear:left; }
253#changetag { color:#ccc; padding:10px 5px 10px 5px; clear:left; }
254#configform td { color:#ccc; font-size: 10pt; padding:10px 5px 10px 5px; }
255#configform { color:#ccc; padding:10px 5px 10px 5px; clear:left; }
008d8b95
SS
256.thumbnail { float:right; margin-left: 10px; }
257/* If you want thumbnails on the left:
0adcceee
SS
258.thumbnail { float:left; margin-right: 10px; }
259.linkcontainer { position: static; margin-left:130px; }
260*/
261
6d946e78
SS
262
263
264
2732de7c 265/* --- Picture wall CSS --- */
3433e5e8
SS
266#picwall_container { color:#fff; background-color:#000; clear:both; }
267.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; }
2732de7c
SS
268.picwall_pictureframe img { max-width: 100%;height: auto; } /* Adapt the width of the image */
269.picwall_pictureframe a {text-decoration:none;}
270
271/* CSS to show title when hovering an image - no javascript required. */
272.picwall_pictureframe span.info {display: none;}
273.picwall_pictureframe:hover span.info {
274 display:block;
275 position:absolute;
276 top:0; left:0; width:90px;
277 font-weight:bold;
278 font-size:8pt;
279 color:#fff;
280 text-align: left;
281 background-color: transparent;
282 background-color: rgba(0, 0, 0, 0.4); /* FF3+, Saf3+, Opera 10.10+, Chrome, IE9 */
6d946e78 283 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#66000000,endColorstr=#66000000); /* IE6\96IE9 */
2732de7c
SS
284text-shadow:2px 2px 1px #000000;
285}
286
eae4f48b
SS
287/* Minimal customisation for jQuery widgets */
288.ui-autocomplete { background-color:#fff; padding-left:5px;}
289.ui-state-hover { background-color: #604dff; color:#fff; }
f4aba1ac 290
6d946e78
SS
291#linklist li.publicLinkHightLight{
292 background: #ffffff;
293}
294
51788ab8
SS
295div.qrcode {
296width:220px;
297height:220px;
298background-color: #ffffff;
299border: 1px solid black;
300position: absolute;
301top:-100px;
302left:-100px;
303text-align:center;
304font-size: 8pt;
305z-index:50;
306-webkit-box-shadow:2px 2px 20px 2px #333333;
307-moz-box-shadow:2px 2px 20px 2px #333333;
308-o-box-shadow:2px 2px 20px 2px #333333;
309-ms-box-shadow:2px 2px 20px 2px #333333;
310box-shadow:2px 2px 20px 2px #333333;
311}
312
313div.daily
314{
315 font-family: Georgia, 'DejaVu Serif', Norasi, serif;
316 background-color: #E6D6BE;
317 /* Background paper texture by BashCorpo:
318 http://www.bashcorpo.dk/textures.php
319 http://bashcorpo.deviantart.com/art/Grungy-paper-texture-v-5-22966998 */
320 background-image: url("../images/Paper_texture_v5_by_bashcorpo_w1000.jpg");
321 -webkit-background-size: cover;
322 -moz-background-size: cover;
323 -o-background-size: cover;
324 background-size: cover;
325 position:relative;
326 border-bottom: 2px solid black;
327}
328div.dailyAbout
329{
330 float:left;
331 border: 1px solid black;
332 font-size: 8pt;
333 position:absolute;
334 left:10px;
335 top: 15px;
336 padding: 5px 5px 5px 5px;
337 text-align:center;
338}
339div.dailyAbout a { color: #890500; }
340div.dailyTitle
341 {
342 font-weight: bold;
343 font-size: 44pt;
344 text-align:center;
345 padding:10px 20px 0px 20px;
346}
347div.dailyDate
348 {
349 font-size: 12pt;
350 font-weight:bold;
351 text-align:center;
352 padding:0px 20px 30px 20px;
353}
5112a433 354
51788ab8
SS
355/* Individual entries in "Daily": */
356div.dailyEntry
357{
358 margin: 5px 10px 2px 5px;
359 font-size: 11pt;
360 border-top: 1px solid #555;
361}
362div.dailyEntry a { text-decoration:none; color: #890500; }
363div.dailyEntryTags { font-size:7.75pt; }
364div.dailyEntryTitle { font-size:18pt; font-weight:bold;}
365div.dailyEntryThumbnail
366{
367 width:100%;
368 text-align:center;
369 background-color:rgb(128,128,128);
370 background:url(../images/50pc_transparent.png);
371 padding:4px 0px 2px 0px;
372}
373div.dailyEntryDescription { margin-top: 10px; text-align:justify; }
374
375/* Common css screwdriver */
5112a433
SS
376.clear{
377 clear:both;
378}
379
008d8b95
SS
380@media print {
381html {border:none;background:#fff!important;color:#000!important;}
382body {font-size:12pt;width:auto!important;margin:auto!important;}
383p {orphans:3; /*pas de ligne seule en bas */widows:3;/*pas de ligne seule en haut*/}
384a {color:#000!important;text-decoration:none!important;}
385#pageheader, .paging, #linklist li form, #footer {display:none;}
386#linklist li { padding:2 0 10 0; border-top: 2px solid #000; clear:both; }
387#linklist li.private { background-color: none; border-left:0; }
388.linkdate { line-height:2; }
389.linkurl { color:#000; }
390.linkdescription { font-size:10pt;}
391.linktag { border: 1px solid black; font-style:italic; font-size:8pt;}
392
3433e5e8 393}