Index: trunk/extensions/SemanticMediaWiki/skins/SMW_custom.css |
— | — | @@ -245,7 +245,9 @@ |
246 | 246 | } |
247 | 247 | |
248 | 248 | span.smwttpersist span.smwttcontent{ /* show persistent tooltips for non-JavaScript clients */ |
249 | | - color: #000000; |
| 249 | + color: #888888; |
| 250 | + font-style: italic; |
| 251 | + font-size: 90%; |
250 | 252 | } |
251 | 253 | |
252 | 254 | span.smwttinline span.smwttcontent{ /* hide inline tooltips for non-JavaScript clients */ |
— | — | @@ -263,4 +265,9 @@ |
264 | 266 | span.smwttinline { /* colored anchors */ |
265 | 267 | color: #BB7700; |
266 | 268 | text-decoration: none; |
| 269 | +} |
| 270 | + |
| 271 | +img.smwttimg { /* images for tooltip icons */ |
| 272 | + padding-right: 5px; |
| 273 | + padding-left: 5px; |
267 | 274 | } |
\ No newline at end of file |
Index: trunk/extensions/SemanticMediaWiki/skins/SMW_tooltip.js |
— | — | @@ -40,7 +40,7 @@ |
41 | 41 | if(spans[i].className=="smwtticon"){ |
42 | 42 | img=document.createElement("img"); |
43 | 43 | img.setAttribute("src",imagePath+spans[i].innerHTML); |
44 | | - img.setAttribute("style","padding-right: 5px; padding-left: 5px;"); // setting a CSS class here fails |
| 44 | + img.className="smwttimg"; |
45 | 45 | a.replaceChild(img, a.firstChild); |
46 | 46 | } |
47 | 47 | //make content invisible |