aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/shaarli.css
diff options
context:
space:
mode:
authorSeb Sauvage <seb@sebsauvage.net>2011-12-16 21:27:16 +0100
committerEmilien Klein <emilien+ubuntu@klein.st>2011-12-16 21:27:16 +0100
commit24e267ca714f591921eb659457332c3f7fea1930 (patch)
tree98fc646456708df7d3b133ed7f33835c1f1b059f /inc/shaarli.css
parent5112a433897d4d6507982b64bb07333b774ddb3a (diff)
downloadShaarli-24e267ca714f591921eb659457332c3f7fea1930.tar.gz
Shaarli-24e267ca714f591921eb659457332c3f7fea1930.tar.zst
Shaarli-24e267ca714f591921eb659457332c3f7fea1930.zip
Version 0.0.32 beta:
- Changed: HTML generation moved to RainTPL templates (in the tpl/ directory). - Added: Better check on URL parameters (patch by gege2061). - Changed: Better detection of HTTPS (patch by gege2061). - Changed: In RSS/ATOM feeds, the GUID is now the permalink instead of the final URL (patch by gege2061). - Changed: Jerrywham CSS patch included. - Changed: Multiple spaces are now respected in description. Thus you can use Shaarli as a personal pastebin (for posting source code, for example). I also ad$ - Corrected: Tab order changed in login screen. - Corrected: Permalinks now work even if additional parameters have been added (eg. /?E8Yj2Q&utm_source=blablabla…) - Corrected: user.css is included only if the file is present (This prevent a useless CSS include which makes a harmless but useless 404 error.). - Removed: Page time generation was removed.
Diffstat (limited to 'inc/shaarli.css')
-rw-r--r--inc/shaarli.css315
1 files changed, 315 insertions, 0 deletions
diff --git a/inc/shaarli.css b/inc/shaarli.css
new file mode 100644
index 00000000..d0614e34
--- /dev/null
+++ b/inc/shaarli.css
@@ -0,0 +1,315 @@
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
10body { font-family: "Trebuchet MS",Verdana,Arial,Helvetica,sans-serif; font-size:10pt; background-color: #ffffff; }
11input, 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
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 */
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{
75background-image: url('../images/logo.png');
76background-repeat: no-repeat;
77float:left;
78margin:0 10px 0 10px;
79width:105px;
80height:55px;
81cursor:pointer;
82
83}
84
85#pageheader
86{
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);
94
95 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
96 width:auto;
97 padding:0 10px 5px 10px;
98 margin: auto;
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);
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;
114 float:left;
115 text-decoration:none;
116}
117
118#toolsdiv a{
119 clear:both;
120}
121#toolsdiv a span{
122 color:#ffffff;
123}
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;
133
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;
138 margin:10px 3px 3px 3px;
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;
172}
173
174#shaarli_title { font-weight:bold; font-style:italic; margin-top:0;}
175#shaarli_title a { color: #fff !important; }
176
177#pageheader a:visited { color:#98C943; text-decoration:none;}
178#pageheader a:hover { color:#FFFFC9; text-decoration:none;}
179#pageheader a:active { color:#bbb; text-decoration:none;}
180#searchcriteria { padding: 4 0 5 5; font-weight:bold;}
181.paging { padding:5px;background-color:#777; color:#ccc; text-align:center; clear:both;}
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; }
186#headerform { color:#ffffff; padding:5 5 5 5; clear: both;}
187#toolsdiv { color:#ffffff; padding:5 5 5 5; clear:left; }
188#uploaddiv { color:#ffffff; padding:5 5 5 5; clear:left; }
189#editlinkform { height:100%;color:#ffffff; padding:5 5 5 15px; width:80%; clear:left; }
190#linklist li {
191 padding:4 10 15 20; border-top: 1px solid #bbb; clear:both;
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
201#linklist li.publicLinkHightLight:hover,#linklist li:hover{
202 background: #E9FFCE;
203}
204#linklist li.private { background: url('../images/private.png') no-repeat 10px center; padding-left:60px; }
205.private .linktitle a {color:#969696;}
206.linktitle { font-size:14pt; font-weight:bold; }
207.linktitle a { text-decoration: none; color:#80AD48; }
208.linktitle a:hover { color:#F57900; }
209.linkdate { font-size:8pt; color:#888; }
210.linkdate a { background-image:url('../images/calendar.png');padding:2px 0 3px 20px;background-repeat:no-repeat;text-decoration: none; color:#E28E3F; }
211.linkdate a:hover { color: #F57900 }
212.linkurl { font-size:8pt; color:#4BAA74; }
213.linkdescription { color:#000; margin-top:0; margin-bottom:12px; font-weight:normal; max-height:400px; overflow:auto; }
214.linkdescription a { text-decoration: none; color:#3465A4; }
215.linkdescription a:hover { color:#F57900; }
216.linktaglist { padding-top:10px;}
217.linktag {
218
219font-size:9pt;
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 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;
233 background-image:url('../images/tag_blue.png');
234 background-repeat:no-repeat;
235 background-position:3px center;
236 background-color:#ffffff;
237}
238.linktag:hover { border-color: #555573; color:#000; }
239.linktag a { color:#777; text-decoration:none; }
240.linkshort { font-size:8pt; color:#888; }
241.linkshort a { text-decoration: none; color:#393964; }
242.linkshort a:hover { text-decoration: underline; }
243.buttoneditform { display:inline; }
244#footer { font-size:8pt; text-align:center; border-top:1px solid #ddd; color: #888; clear:both; }
245#footer a{ color:#486D08;}
246#footer a:hover{ color:#000000;}
247#newversion { background-color: #FFFFA0; color:#000; position:absolute; top:0;right:0; padding:2 7 2 7; font-size:9pt;}
248#cloudtag { padding-left:10%; padding-right:10%; }
249#cloudtag a { color:black; text-decoration:none; }
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; }
255.thumbnail { float:right; margin-left: 10px; }
256/* If you want thumbnails on the left:
257.thumbnail { float:left; margin-right: 10px; }
258.linkcontainer { position: static; margin-left:130px; }
259*/
260
261
262
263
264/* --- Picture wall CSS --- */
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; }
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 */
282 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#66000000,endColorstr=#66000000); /* IE6–IE9 */
283text-shadow:2px 2px 1px #000000;
284}
285
286/* Minimal customisation for jQuery widgets */
287.ui-autocomplete { background-color:#fff; padding-left:5px;}
288.ui-state-hover { background-color: #604dff; color:#fff; }
289
290#linklist li.publicLinkHightLight{
291 background: #ffffff;
292}
293
294/* Common css screwdriver */
295
296.clear{
297 clear:both;
298}
299
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
313
314
315}