Mercurial > hg > MPIWGWeb
changeset 150:7771cdd95398
bookmark tabs.
author | casties |
---|---|
date | Mon, 03 Jun 2013 13:26:25 +0200 |
parents | 0d9eb2a859d3 |
children | 6bdf54b67fca |
files | css/mpiwg.css zpt/www/main_template.zpt |
diffstat | 2 files changed, 23 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/css/mpiwg.css Mon Jun 03 12:56:29 2013 +0200 +++ b/css/mpiwg.css Mon Jun 03 13:26:25 2013 +0200 @@ -1353,13 +1353,12 @@ #bookmarks { position: absolute; top: 0; - right: -130px; + right: -131px; width: 130px; } #bookmarks div.bookmark { z-index: 1; - position: relative; font-family: Georgia, Times, serif; font-style: italic; font-size: 16px; @@ -1372,8 +1371,14 @@ #bookmarks div.bookmark a { display: inline-block; + position: relative; width: 100px; color: #3b4186; background: url(../images/internal.png) center right no-repeat; padding-right: 13px; -} \ No newline at end of file +} + +#bookmarks div.bookmark a img { + position: absolute; + right: 13px; +}
--- a/zpt/www/main_template.zpt Mon Jun 03 12:56:29 2013 +0200 +++ b/zpt/www/main_template.zpt Mon Jun 03 13:26:25 2013 +0200 @@ -74,21 +74,17 @@ </ul> </div> <div class="subnavbox" metal:define-slot="subnavbox"></div> - </div> - <!-- /leftbox --> + </div><!-- /leftbox --> + <div class="main content" metal:define-slot="main"> - <div class="center" metal:define-slot="center"></div> - <!-- /center --> + <div class="center" metal:define-slot="center"></div><!-- /center --> - </div> - <!-- /main --> + </div><!-- /main --> - <metal:block metal:define-slot="sidebar" /> - <!-- /sidebar --> + <metal:block metal:define-slot="sidebar" /><!-- /sidebar --> - </div> - <!-- /maincontent --> + </div><!-- /maincontent --> <div id="footer"> <div class="text"> @@ -103,11 +99,19 @@ </a> </div> </div><!-- /footer --> + <div id="bookmarks" metal:define-slot="bookmarks"> <div class="bookmark"> <a tal:attributes="href string:$root/${secmap/resources}/">Sources <img tal:attributes="src string:$root/images/sources_small.png"/></a> </div> - </div> + <div class="bookmark"> + <a tal:attributes="href string:$root/${secmap/research}/thesaurus/show_en.html">Keywords <img tal:attributes="src string:$root/images/thesaurus_small.png"/></a> + </div> + <div class="bookmark"> + <a tal:attributes="href string:$root/${secmap/institute}/search/search_en.html">Search <img tal:attributes="src string:$root/images/search_small.png"/></a> + </div> + </div><!-- /bookmarks --> + </div><!-- /wrapper --> </body> </html>