diff options
author | Seb Sauvage <sebsauvage@sebsauvage.net> | 2011-11-24 16:10:00 +0100 |
---|---|---|
committer | Emilien Klein <emilien@klein.st> | 2011-11-24 16:10:00 +0100 |
commit | 5112a433897d4d6507982b64bb07333b774ddb3a (patch) | |
tree | fe5e7c8a94fa32eff60a8de4f2b999246576bec7 /shaarli.css | |
parent | c4c9c4140d16e7e88ddc64c5c3b8fd6e17b74a05 (diff) | |
download | Shaarli-5112a433897d4d6507982b64bb07333b774ddb3a.tar.gz Shaarli-5112a433897d4d6507982b64bb07333b774ddb3a.tar.zst Shaarli-5112a433897d4d6507982b64bb07333b774ddb3a.zip |
Version 0.0.31 beta:
- Added: Support for TED Talks (ted.com/talks) thumbnails (patch by Emilien K.) [r26]
- Corrected: Better error handling in thumbnail generation (patch by Emilien K.) [r27]
- Added: partial patch by Idleman: Better design consistency, icon on private links. In-page popup was not included because it causes problem on some websites.
- Corrected: The top menu is no longer displayed in bookmarklet popup.
- Corrected: Bookmark which have the exact same date/time are now correctly imported. Most remaining import problem should be solved now.
- Added: Support for bookmark files without ADD_DATE attributes.
- Corrected: Comment in Shaarli export moved to beginning of file to prevent clash with last link description.
- Added: Logo is clickable.
- Added: user.css can be added to overload Shaarli base CSS.(patch by Jerrywham) Just put user.css in the same directory as shaarli.css. Example:
#pageheader { background: blue; }
Please note that Shaarli CSS are not stable and may completely change on each version.
- Changed: Edit and Delete buttons in link list were replaced with icons. (patch by Jerrywham)
Diffstat (limited to 'shaarli.css')
-rw-r--r-- | shaarli.css | 97 |
1 files changed, 58 insertions, 39 deletions
diff --git a/shaarli.css b/shaarli.css index 4fc40e5f..aba488a7 100644 --- a/shaarli.css +++ b/shaarli.css | |||
@@ -30,45 +30,47 @@ h1 { font-size:20pt; font-weight:bold; font-style:italic; margin-bottom:20px; } | |||
30 | 30 | ||
31 | /* Buttons */ | 31 | /* Buttons */ |
32 | .bigbutton { | 32 | .bigbutton { |
33 | background-color: #a0a0a0; | 33 | background: -moz-linear-gradient(#c0c0c0, #ffffff) repeat scroll 0 0 transparent; |
34 | background: -webkit-gradient(linear, 0 0, 0 bottom, from(#a0a0a0), to(#d4d4d4)); | 34 | background: -webkit-gradient(linear, 0 0, 0 bottom, from(#c0c0c0), to(#ffffff)); |
35 | background: -webkit-linear-gradient(#a0a0a0, #d4d4d4); | 35 | background: -webkit-linear-gradient(#c0c0c0, #ffffff); |
36 | background: -moz-linear-gradient(#a0a0a0, #d4d4d4); | 36 | background: -ms-linear-gradient(#c0c0c0, #ffffff); |
37 | background: -ms-linear-gradient(#a0a0a0, #d4d4d4); | 37 | background: -o-linear-gradient(#c0c0c0, #ffffff); |
38 | background: -o-linear-gradient(#a0a0a0, #d4d4d4); | 38 | background: linear-gradient(#c0c0c0, #ffffff); |
39 | background: linear-gradient(#a0a0a0, #d4d4d4); | 39 | border-radius: 3px 3px 3px 3px; |
40 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); | 40 | box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); |
41 | padding:0 5px 0 5px; | 41 | cursor: pointer; |
42 | margin:5px 0 5px 0; | 42 | height: 24px; |
43 | height:25px; | 43 | margin-left: 5px; |
44 | 44 | padding: 0 5px; | |
45 | border-radius: 5px 5px 5px 5px; | 45 | color: #606060; |
46 | -moz-border-radius:5px 5px 5px 5px; | ||
47 | cursor:pointer; | ||
48 | border:none; | ||
49 | border-style:outset; | 46 | border-style:outset; |
50 | border-width:2px; | 47 | border-width:1px; |
48 | |||
51 | } | 49 | } |
52 | .smallbutton { | 50 | .smallbutton { |
53 | background-color: #a0a0a0; | 51 | background: -moz-linear-gradient(#c0c0c0, #ffffff) repeat scroll 0 0 transparent; |
54 | background: -webkit-gradient(linear, 0 0, 0 bottom, from(#a0a0a0), to(#d4d4d4)); | 52 | background: -webkit-gradient(linear, 0 0, 0 bottom, from(#c0c0c0), to(#ffffff)); |
55 | background: -webkit-linear-gradient(#a0a0a0, #d4d4d4); | 53 | background: -webkit-linear-gradient(#c0c0c0, #ffffff); |
56 | background: -moz-linear-gradient(#a0a0a0, #d4d4d4); | 54 | background: -ms-linear-gradient(#c0c0c0, #ffffff); |
57 | background: -ms-linear-gradient(#a0a0a0, #d4d4d4); | 55 | background: -o-linear-gradient(#c0c0c0, #ffffff); |
58 | background: -o-linear-gradient(#a0a0a0, #d4d4d4); | 56 | background: linear-gradient(#c0c0c0, #ffffff); |
59 | background: linear-gradient(#a0a0a0, #d4d4d4); | 57 | border-radius: 3px 3px 3px 3px; |
60 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); | 58 | box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); |
61 | padding:0; | 59 | cursor: pointer; |
62 | margin:5px 0 5px 0; | 60 | height: 20px; |
63 | border-radius: 5px 5px 5px 5px; | 61 | margin-left: 5px; |
64 | -moz-border-radius:5px 5px 5px 5px; | 62 | padding: 0 5px; |
65 | cursor:pointer; | 63 | color: #606060; |
66 | padding:0 3px 0 3px; | ||
67 | border-style:outset; | 64 | border-style:outset; |
68 | border-width:2px; | 65 | border-width:1px; |
69 | font-size:8pt; | 66 | |
70 | } | 67 | } |
71 | 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 | |||
72 | #pageheader #logo{ | 74 | #pageheader #logo{ |
73 | background-image: url('./images/logo.png'); | 75 | background-image: url('./images/logo.png'); |
74 | background-repeat: no-repeat; | 76 | background-repeat: no-repeat; |
@@ -76,7 +78,9 @@ float:left; | |||
76 | margin:0 10px 0 10px; | 78 | margin:0 10px 0 10px; |
77 | width:105px; | 79 | width:105px; |
78 | height:55px; | 80 | height:55px; |
81 | cursor:pointer; | ||
79 | } | 82 | } |
83 | |||
80 | #pageheader | 84 | #pageheader |
81 | { | 85 | { |
82 | 86 | ||
@@ -101,15 +105,21 @@ height:55px; | |||
101 | background: -ms-linear-gradient(#333333, #000000); | 105 | background: -ms-linear-gradient(#333333, #000000); |
102 | background: -o-linear-gradient(#333333, #000000); | 106 | background: -o-linear-gradient(#333333, #000000); |
103 | background: linear-gradient(#333333, #000000); | 107 | background: linear-gradient(#333333, #000000); |
104 | |||
105 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); | 108 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); |
106 | padding:5px; | 109 | padding:5px; |
107 | border-radius: 5px 5px 5px 5px; | 110 | border-radius: 5px 5px 5px 5px; |
108 | margin:10px 3px 3px 3px; | 111 | margin:10px 3px 3px 3px; |
109 | color:#A2DD42; | 112 | color:#A2DD42; |
113 | float:left; | ||
110 | text-decoration:none; | 114 | text-decoration:none; |
111 | } | 115 | } |
112 | 116 | ||
117 | #toolsdiv a{ | ||
118 | clear:both; | ||
119 | } | ||
120 | #toolsdiv a span{ | ||
121 | color:#ffffff; | ||
122 | } | ||
113 | .linksperpage,.tagfilter,.searchform,.addform { | 123 | .linksperpage,.tagfilter,.searchform,.addform { |
114 | background-color: #dedede; | 124 | background-color: #dedede; |
115 | background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dedede), to(#ffffff)); | 125 | background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dedede), to(#ffffff)); |
@@ -160,10 +170,10 @@ height:55px; | |||
160 | cursor:pointer; | 170 | cursor:pointer; |
161 | } | 171 | } |
162 | 172 | ||
163 | #shaarli_title { font-weight:bold; font-style:italic; } | 173 | #shaarli_title { font-weight:bold; font-style:italic; margin-top:0;} |
164 | #shaarli_title a { color: #fff !important; } | 174 | #shaarli_title a { color: #fff !important; } |
165 | 175 | ||
166 | #pageheader a:visited { color:#bbb; text-decoration:none;} | 176 | #pageheader a:visited { color:#98C943; text-decoration:none;} |
167 | #pageheader a:hover { color:#FFFFC9; text-decoration:none;} | 177 | #pageheader a:hover { color:#FFFFC9; text-decoration:none;} |
168 | #pageheader a:active { color:#bbb; text-decoration:none;} | 178 | #pageheader a:active { color:#bbb; text-decoration:none;} |
169 | #searchcriteria { padding: 4 0 5 5; font-weight:bold;} | 179 | #searchcriteria { padding: 4 0 5 5; font-weight:bold;} |
@@ -172,10 +182,10 @@ height:55px; | |||
172 | .paging a:visited { color:#ccc; } | 182 | .paging a:visited { color:#ccc; } |
173 | .paging a:hover { color:#FFFFC9; } | 183 | .paging a:hover { color:#FFFFC9; } |
174 | .paging a:active { color:#fff; } | 184 | .paging a:active { color:#fff; } |
175 | #headerform { color:#ffffff; padding:5 5 5 5; } | 185 | #headerform { color:#ffffff; padding:5 5 5 5; clear: both;} |
176 | #toolsdiv { color:#ffffff; padding:5 5 5 5; clear:left; } | 186 | #toolsdiv { color:#ffffff; padding:5 5 5 5; clear:left; } |
177 | #uploaddiv { color:#ffffff; padding:5 5 5 5; clear:left; } | 187 | #uploaddiv { color:#ffffff; padding:5 5 5 5; clear:left; } |
178 | #editlinkform { color:#ffffff; padding:5 5 5 15px; width:80%; clear:left; } | 188 | #editlinkform { height:100%;color:#ffffff; padding:5 5 5 15px; width:80%; clear:left; } |
179 | #linklist li { | 189 | #linklist li { |
180 | padding:4 10 15 20; border-top: 1px solid #bbb; clear:both; | 190 | padding:4 10 15 20; border-top: 1px solid #bbb; clear:both; |
181 | background: -webkit-gradient(linear, 0 0, 0 bottom, from(#F2F2F2), to(#ffffff)); | 191 | background: -webkit-gradient(linear, 0 0, 0 bottom, from(#F2F2F2), to(#ffffff)); |
@@ -190,7 +200,8 @@ height:55px; | |||
190 | #linklist li.publicLinkHightLight:hover,#linklist li:hover{ | 200 | #linklist li.publicLinkHightLight:hover,#linklist li:hover{ |
191 | background: #E9FFCE; | 201 | background: #E9FFCE; |
192 | } | 202 | } |
193 | #linklist li.private { background-color: #ccc; border-left:8px solid #888; } | 203 | #linklist li.private { background: url('./images/private.png') no-repeat 10px center; padding-left:60px; } |
204 | .private .linktitle a {color:#969696;} | ||
194 | .linktitle { font-size:14pt; font-weight:bold; } | 205 | .linktitle { font-size:14pt; font-weight:bold; } |
195 | .linktitle a { text-decoration: none; color:#80AD48; } | 206 | .linktitle a { text-decoration: none; color:#80AD48; } |
196 | .linktitle a:hover { color:#F57900; } | 207 | .linktitle a:hover { color:#F57900; } |
@@ -230,6 +241,8 @@ font-size:9pt; | |||
230 | .linkshort a:hover { text-decoration: underline; } | 241 | .linkshort a:hover { text-decoration: underline; } |
231 | .buttoneditform { display:inline; } | 242 | .buttoneditform { display:inline; } |
232 | #footer { font-size:8pt; text-align:center; border-top:1px solid #ddd; color: #888; clear:both; } | 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;} | ||
233 | #newversion { background-color: #FFFFA0; color:#000; position:absolute; top:0;right:0; padding:2 7 2 7; font-size:9pt;} | 246 | #newversion { background-color: #FFFFA0; color:#000; position:absolute; top:0;right:0; padding:2 7 2 7; font-size:9pt;} |
234 | #cloudtag { padding-left:10%; padding-right:10%; } | 247 | #cloudtag { padding-left:10%; padding-right:10%; } |
235 | #cloudtag a { color:black; text-decoration:none; } | 248 | #cloudtag a { color:black; text-decoration:none; } |
@@ -277,6 +290,12 @@ text-shadow:2px 2px 1px #000000; | |||
277 | background: #ffffff; | 290 | background: #ffffff; |
278 | } | 291 | } |
279 | 292 | ||
293 | /* Common css screwdriver */ | ||
294 | |||
295 | .clear{ | ||
296 | clear:both; | ||
297 | } | ||
298 | |||
280 | @media print { | 299 | @media print { |
281 | html {border:none;background:#fff!important;color:#000!important;} | 300 | html {border:none;background:#fff!important;color:#000!important;} |
282 | body {font-size:12pt;width:auto!important;margin:auto!important;} | 301 | body {font-size:12pt;width:auto!important;margin:auto!important;} |