~khurshid-alam/gwibber/gwibber-hack

« back to all changes in this revision

Viewing changes to ui/themes/default/template.mako

  • Committer: Khurshid Alam
  • Date: 2012-04-06 14:38:38 UTC
  • Revision ID: khurshid.alam@linuxmail.org-20120406143838-nz7hjg8vtzi2wl7i
initial revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<%namespace name="base" file="base.mako">
 
2
  <%def name="msgstyle(data)">
 
3
    background: -webkit-gradient(linear, left top, left 250%, 
 
4
      from(${theme["bg"].hex}),
 
5
      to(${theme["bg"].darker(.70).hex}));
 
6
 
 
7
    border: 2px solid ${data['color'].hex};
 
8
    border-top: 7px solid ${data['color'].hex};
 
9
  </%def>
 
10
</%namespace>
 
11
 
 
12
<html>
 
13
  <head>
 
14
    <script src="jquery.js"></script>
 
15
    <script>
 
16
      $(document).ready(function() {
 
17
        $(".message").hover(
 
18
          function() {$(this).find(".hidden").css("visibility", "visible")},
 
19
          function() {$(this).find(".hidden").css("visibility", "hidden")});
 
20
 
 
21
        $(".toggledupe").show(0).unbind().toggle(
 
22
          function() {$(this).closest(".basemsg").find(".dupes").show(100)},
 
23
          function() {$(this).closest(".basemsg").find(".dupes").hide(100)});
 
24
      });
 
25
    </script>
 
26
    <style>
 
27
      <%include file="css.mako" />
 
28
      <%include file="defaultcss.mako" />
 
29
    </style>
 
30
  </head>
 
31
  <body>
 
32
    ${base.messages(message_store)}
 
33
  </body>
 
34
</html>