~ubuntu-branches/ubuntu/precise/gwibber/precise-proposed

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2011-07-15 17:14:14 UTC
  • mto: This revision was merged to the branch mainline in revision 80.
  • Revision ID: james.westby@ubuntu.com-20110715171414-80ca971vzd56gtmh
Tags: upstream-3.1.2
ImportĀ upstreamĀ versionĀ 3.1.2

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,
4
 
      left 100%,
5
 
      from(rgba(${data["color"].rgb}, 0.28)),
6
 
      to(rgba(${data["color"].rgb}, 0.15)));
7
 
  </%def>
8
 
</%namespace>
9
 
 
10
 
<html>
11
 
  <head>
12
 
    <script src="jquery.js"></script>
13
 
    <script>
14
 
      $(document).ready(function() {
15
 
        $(".message").hover(
16
 
          function() {$(this).find(".hidden").css("visibility", "visible")},
17
 
          function() {$(this).find(".hidden").css("visibility", "hidden")});
18
 
 
19
 
        $(".toggledupe").show(0).unbind().toggle(
20
 
          function() {$(this).closest(".basemsg").find(".dupes").show(100)},
21
 
          function() {$(this).closest(".basemsg").find(".dupes").hide(100)});
22
 
      });
23
 
    </script>
24
 
    <style>
25
 
      <%include file="theme.css" /> 
26
 
    </style>
27
 
  </head>
28
 
  <body>
29
 
    ${base.messages(message_store)}
30
 
  </body>
31
 
</html>