Permalink
Browse files

imported google theme from the main Kaminari repo

  • Loading branch information...
amatsuda committed Feb 12, 2011
1 parent 70298a9 commit ae496d93df8d868730c1b90ae6391c854aeb9d24
@@ -0,0 +1 @@
+<td class="cur"><span class="csb" style="background-position:-53px 0;width:20px"></span><%= page %></td>
@@ -0,0 +1,3 @@
+%td.cur
+ %span.csb{:style => 'background-position:-53px 0;width:20px'}
+ = page
@@ -0,0 +1 @@
+<td class="b"><%= link_to raw('<span class="csb ch" style="background-position:-96px 0;width:71px"></span><span style="display:block;margin-left:53px;text-decoration:underline">Next</span>'), url, :class => 'pn knavi', :id => 'pnnext', :style => 'text-align:left;text-decoration:none', :remote => remote %></td>
@@ -0,0 +1,2 @@
+%td.b
+ = link_to raw('<span class="csb ch" style="background-position:-96px 0;width:71px"></span><span style="display:block;margin-left:53px;text-decoration:underline">Next</span>'), url, :class => 'pn knavi', :id => 'pnnext', :style => 'text-align:left;text-decoration:none', :remote => remote
@@ -0,0 +1 @@
+<td class="b"><span class="csb" style="background-position:-96px 0;width:45px"></span></td>
@@ -0,0 +1,2 @@
+%td.b
+ %span.csb{:style => 'background-position:-96px 0;width:45px'}
@@ -0,0 +1 @@
+<td><%= link_to raw(%Q[<span class="csb ch" style="background-position:-74px 0;width:20px"></span>#{page}]), url, :class => 'fl', :remote => remote %></td>
@@ -0,0 +1,2 @@
+%td
+ = link_to raw(%Q[<span class="csb ch" style="background-position:-74px 0;width:20px"></span>#{page}]), url, :class => 'fl', :remote => remote
View
@@ -0,0 +1,13 @@
+<style>
+#nav a{display:block}
+#nav td{padding:0;text-align:center}
+.cur {font-weight:bold}
+.csb {background:url(http://www.google.co.jp/images/srpr/nav_logo27.png) no-repeat;overflow:hidden;background-position:0 0;height:40px;display:block}
+#nav {font-family: arial,sans-serif; font-size:small}
+#nav a:link {text-decoration:none; color:#4496d3}
+#nav a:hover {text-decoration:underline}
+#nav a:active {color:#c11}
+#nav a:visited {color:#2200C1}
+.b {font-weight:bold}
+</style>
+<table id="nav" style="border-collapse:collapse;text-align:left;direction:ltr;margin:17px auto 0"><tbody><tr valign="top"><%= content_for :kaminari_paginator_tags %></tr></tbody></table>
@@ -0,0 +1,15 @@
+:css
+ #nav a{display:block}
+ #nav td{padding:0;text-align:center}
+ .cur {font-weight:bold}
+ .csb {background:url(http://www.google.co.jp/images/srpr/nav_logo27.png) no-repeat;overflow:hidden;background-position:0 0;height:40px;display:block}
+ #nav {font-family: arial,sans-serif; font-size:small}
+ #nav a:link {text-decoration:none; color:#4496d3}
+ #nav a:hover {text-decoration:underline}
+ #nav a:active {color:#c11}
+ #nav a:visited {color:#2200C1}
+ .b {font-weight:bold}
+%table#nav{:style => 'border-collapse:collapse;text-align:left;direction:ltr;margin:17px auto 0'}
+ %tbody
+ %tr{:valign => 'top'}
+ = content_for :kaminari_paginator_tags
@@ -0,0 +1 @@
+<td class="b"><%= link_to raw('<span class="csb ch" style="background-position:0 0;float:right;width:53px"></span><span style="display:block;margin-right:35px;clear:right;text-decoration:underline">Previous</span>'), url, :class => 'pn knavi', :id => 'pnprev', :style => 'text-decoration:none', :remote => remote %></td>
@@ -0,0 +1,2 @@
+%td.b
+ = link_to raw('<span class="csb ch" style="background-position:0 0;float:right;width:53px"></span><span style="display:block;margin-right:35px;clear:right;text-decoration:underline">Previous</span>'), url, :class => 'pn knavi', :id => 'pnprev', :style => 'text-decoration:none', :remote => remote
@@ -0,0 +1 @@
+<td class="b"><span class="csb" style="background-position:-24px 0;width:28px"></span></td>
@@ -0,0 +1,2 @@
+%td.b
+ %span.csb{:style => 'background-position:-24px 0;width:28px'}
@@ -0,0 +1 @@
+<%# Nothing! -%>
@@ -0,0 +1 @@
+-# Nothing!

0 comments on commit ae496d9

Please sign in to comment.