]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - inc/shaarli.css
Added: Support for xkcd thumbnails
[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 {
3433e5e8 12
6d946e78
SS
13 background-color: #dedede;
14 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dedede), to(#ffffff));
15 background: -webkit-linear-gradient(#dedede, #ffffff);
16 background: -moz-linear-gradient(#dedede, #ffffff);
17 background: -ms-linear-gradient(#dedede, #ffffff);
18 background: -o-linear-gradient(#dedede, #ffffff);
19 background: linear-gradient(#dedede, #ffffff);
20 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
21 padding:5px;
22 border-radius: 5px 5px 5px 5px;
23 border: none;
24 color:#000;
3433e5e8
SS
25
26 }
6d946e78 27
eae4f48b
SS
28h1 { font-size:20pt; font-weight:bold; font-style:italic; margin-bottom:20px; }
29/* I don't give a shit about IE. He can't understand selectors such as input[type='submit']. */
30
31/* Buttons */
6d946e78 32.bigbutton {
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 {
5112a433
SS
51 background: -moz-linear-gradient(#c0c0c0, #ffffff) repeat scroll 0 0 transparent;
52 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#c0c0c0), to(#ffffff));
53 background: -webkit-linear-gradient(#c0c0c0, #ffffff);
54 background: -ms-linear-gradient(#c0c0c0, #ffffff);
55 background: -o-linear-gradient(#c0c0c0, #ffffff);
56 background: linear-gradient(#c0c0c0, #ffffff);
57 border-radius: 3px 3px 3px 3px;
58 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
59 cursor: pointer;
60 height: 20px;
61 margin-left: 5px;
62 padding: 0 5px;
63 color: #606060;
6d946e78 64 border-style:outset;
5112a433
SS
65 border-width:1px;
66
6d946e78 67 }
eae4f48b 68
5112a433 69/* Edit/Delete buttons on links */
3433e5e8 70.button_edit, .button_delete { border-radius:0; box-shadow:none; border-style:none; border-width:0; padding:0; background:none; }
5112a433
SS
71.button_edit { margin-left:10px; }
72
73
6d946e78 74#pageheader #logo{
3433e5e8 75background-image: url('../images/logo.png');
6d946e78
SS
76background-repeat: no-repeat;
77float:left;
78margin:0 10px 0 10px;
79width:105px;
80height:55px;
5112a433 81cursor:pointer;
3433e5e8 82
6d946e78 83}
5112a433 84
eae4f48b
SS
85#pageheader
86{
6d946e78
SS
87
88 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#333333), to(#111111));
89 background: -webkit-linear-gradient(#333333, #111111);
90 background: -moz-linear-gradient(#333333, #111111);
91 background: -ms-linear-gradient(#333333, #111111);
92 background: -o-linear-gradient(#333333, #111111);
93 background: linear-gradient(#333333, #111111);
3433e5e8 94
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{
103 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#333333), to(#000000));
104 background: -webkit-linear-gradient(#333333, #000000);
105 background: -moz-linear-gradient(#333333, #000000);
106 background: -ms-linear-gradient(#333333, #000000);
107 background: -o-linear-gradient(#333333, #000000);
108 background: linear-gradient(#333333, #000000);
6d946e78
SS
109 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
110 padding:5px;
111 border-radius: 5px 5px 5px 5px;
112 margin:10px 3px 3px 3px;
113 color:#A2DD42;
5112a433 114 float:left;
6d946e78
SS
115 text-decoration:none;
116}
117
5112a433
SS
118#toolsdiv a{
119 clear:both;
120}
121#toolsdiv a span{
3433e5e8 122 color:#ffffff;
5112a433 123}
6d946e78
SS
124.linksperpage,.tagfilter,.searchform,.addform {
125 background-color: #dedede;
126 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dedede), to(#ffffff));
127 background: -webkit-linear-gradient(#dedede, #ffffff);
128 background: -moz-linear-gradient(#dedede, #ffffff);
129 background: -ms-linear-gradient(#dedede, #ffffff);
130 background: -o-linear-gradient(#dedede, #ffffff);
131 background: linear-gradient(#dedede, #ffffff);
132 display:inline;
3433e5e8 133
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{
160 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dedede), to(#ffffff));
161 background: -webkit-linear-gradient(#dedede, #ffffff);
162 background: -moz-linear-gradient(#dedede, #ffffff);
163 background: -ms-linear-gradient(#dedede, #ffffff);
164 background: -o-linear-gradient(#dedede, #ffffff);
165 background: linear-gradient(#dedede, #ffffff);
166 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
167 padding:0 5px 0 5px;
168 margin:5px 0 5px 0;
169 height:20px;
170 border-radius: 5px 5px 5px 5px;
171 cursor:pointer;
eae4f48b 172}
6d946e78 173
5112a433 174#shaarli_title { font-weight:bold; font-style:italic; margin-top:0;}
008d8b95 175#shaarli_title a { color: #fff !important; }
6d946e78 176
5112a433 177#pageheader a:visited { color:#98C943; text-decoration:none;}
eae4f48b 178#pageheader a:hover { color:#FFFFC9; text-decoration:none;}
3433e5e8 179#pageheader a:active { color:#bbb; text-decoration:none;}
008d8b95 180#searchcriteria { padding: 4 0 5 5; font-weight:bold;}
6d946e78 181.paging { padding:5px;background-color:#777; color:#ccc; text-align:center; clear:both;}
eae4f48b
SS
182.paging a:link { color:#ccc; text-decoration:none;}
183.paging a:visited { color:#ccc; }
184.paging a:hover { color:#FFFFC9; }
185.paging a:active { color:#fff; }
5112a433 186#headerform { color:#ffffff; padding:5 5 5 5; clear: both;}
6d946e78
SS
187#toolsdiv { color:#ffffff; padding:5 5 5 5; clear:left; }
188#uploaddiv { color:#ffffff; padding:5 5 5 5; clear:left; }
5112a433 189#editlinkform { height:100%;color:#ffffff; padding:5 5 5 15px; width:80%; clear:left; }
3433e5e8
SS
190#linklist li {
191 padding:4 10 15 20; border-top: 1px solid #bbb; clear:both;
6d946e78
SS
192 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#F2F2F2), to(#ffffff));
193 background: -webkit-linear-gradient(#F2F2F2, #ffffff);
194 background: -moz-linear-gradient(#F2F2F2, #ffffff);
195 background: -ms-linear-gradient(#F2F2F2, #ffffff);
196 background: -o-linear-gradient(#F2F2F2, #ffffff);
197 background: linear-gradient(#F2F2F2, #ffffff);
198}
199
200
3433e5e8 201#linklist li.publicLinkHightLight:hover,#linklist li:hover{
6d946e78
SS
202 background: #E9FFCE;
203}
3433e5e8 204#linklist li.private { background: url('../images/private.png') no-repeat 10px center; padding-left:60px; }
5112a433 205.private .linktitle a {color:#969696;}
eae4f48b 206.linktitle { font-size:14pt; font-weight:bold; }
6d946e78 207.linktitle a { text-decoration: none; color:#80AD48; }
008d8b95 208.linktitle a:hover { color:#F57900; }
eae4f48b 209.linkdate { font-size:8pt; color:#888; }
3433e5e8 210.linkdate a { background-image:url('../images/calendar.png');padding:2px 0 3px 20px;background-repeat:no-repeat;text-decoration: none; color:#E28E3F; }
008d8b95 211.linkdate a:hover { color: #F57900 }
eae4f48b 212.linkurl { font-size:8pt; color:#4BAA74; }
3433e5e8 213.linkdescription { color:#000; margin-top:0; margin-bottom:12px; font-weight:normal; max-height:400px; overflow:auto; }
008d8b95
SS
214.linkdescription a { text-decoration: none; color:#3465A4; }
215.linkdescription a:hover { color:#F57900; }
6d946e78 216.linktaglist { padding-top:10px;}
3433e5e8 217.linktag {
6d946e78 218
3433e5e8 219font-size:9pt;
6d946e78
SS
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);
3433e5e8
SS
226
227
6d946e78
SS
228 box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
229 padding:3px 3px 3px 20px;
230 height:20px;
231 border-radius: 3px 3px 3px 3px;
232 cursor:pointer;
3433e5e8 233 background-image:url('../images/tag_blue.png');
6d946e78
SS
234 background-repeat:no-repeat;
235 background-position:3px center;
236 background-color:#ffffff;
237}
008d8b95
SS
238.linktag:hover { border-color: #555573; color:#000; }
239.linktag a { color:#777; text-decoration:none; }
99c9c954
SS
240.linkshort { font-size:8pt; color:#888; }
241.linkshort a { text-decoration: none; color:#393964; }
242.linkshort a:hover { text-decoration: underline; }
eae4f48b 243.buttoneditform { display:inline; }
2732de7c 244#footer { font-size:8pt; text-align:center; border-top:1px solid #ddd; color: #888; clear:both; }
5112a433
SS
245#footer a{ color:#486D08;}
246#footer a:hover{ color:#000000;}
3433e5e8 247#newversion { background-color: #FFFFA0; color:#000; position:absolute; top:0;right:0; padding:2 7 2 7; font-size:9pt;}
e6a0ab54
SS
248#cloudtag { padding-left:10%; padding-right:10%; }
249#cloudtag a { color:black; text-decoration:none; }
6d946e78
SS
250#installform td { font-size: 10pt; padding:10 5 10 5; clear:left; }
251#changepasswordform { color:#ccc; padding:10 5 10 5; clear:left; }
252#changetag { color:#ccc; padding:10 5 10 5; clear:left; }
253#configform td { color:#ccc; font-size: 10pt; padding:10 5 10 5; }
254#configform { color:#ccc; padding:10 5 10 5; clear:left; }
008d8b95
SS
255.thumbnail { float:right; margin-left: 10px; }
256/* If you want thumbnails on the left:
0adcceee
SS
257.thumbnail { float:left; margin-right: 10px; }
258.linkcontainer { position: static; margin-left:130px; }
259*/
260
6d946e78
SS
261
262
263
2732de7c 264/* --- Picture wall CSS --- */
3433e5e8
SS
265#picwall_container { color:#fff; background-color:#000; clear:both; }
266.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
267.picwall_pictureframe img { max-width: 100%;height: auto; } /* Adapt the width of the image */
268.picwall_pictureframe a {text-decoration:none;}
269
270/* CSS to show title when hovering an image - no javascript required. */
271.picwall_pictureframe span.info {display: none;}
272.picwall_pictureframe:hover span.info {
273 display:block;
274 position:absolute;
275 top:0; left:0; width:90px;
276 font-weight:bold;
277 font-size:8pt;
278 color:#fff;
279 text-align: left;
280 background-color: transparent;
281 background-color: rgba(0, 0, 0, 0.4); /* FF3+, Saf3+, Opera 10.10+, Chrome, IE9 */
6d946e78 282 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#66000000,endColorstr=#66000000); /* IE6\96IE9 */
2732de7c
SS
283text-shadow:2px 2px 1px #000000;
284}
285
eae4f48b
SS
286/* Minimal customisation for jQuery widgets */
287.ui-autocomplete { background-color:#fff; padding-left:5px;}
288.ui-state-hover { background-color: #604dff; color:#fff; }
f4aba1ac 289
6d946e78
SS
290#linklist li.publicLinkHightLight{
291 background: #ffffff;
292}
293
5112a433
SS
294/* Common css screwdriver */
295
296.clear{
297 clear:both;
298}
299
008d8b95
SS
300@media print {
301html {border:none;background:#fff!important;color:#000!important;}
302body {font-size:12pt;width:auto!important;margin:auto!important;}
303p {orphans:3; /*pas de ligne seule en bas */widows:3;/*pas de ligne seule en haut*/}
304a {color:#000!important;text-decoration:none!important;}
305#pageheader, .paging, #linklist li form, #footer {display:none;}
306#linklist li { padding:2 0 10 0; border-top: 2px solid #000; clear:both; }
307#linklist li.private { background-color: none; border-left:0; }
308.linkdate { line-height:2; }
309.linkurl { color:#000; }
310.linkdescription { font-size:10pt;}
311.linktag { border: 1px solid black; font-style:italic; font-size:8pt;}
312
6d946e78
SS
313
314
3433e5e8 315}