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