Just started using the will_paginate plugin for my rails application. I wanted a Flickr or Digg style applied to the paging controls, did not find anything that came ‘out 0f the box’. After a few google searches I came across this link which had an example - apparently from an older version of the README file.
here is that css for reference
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.pagination { padding: 3px; margin: 3px; } | |
.pagination a { padding: 2px 5px 2px 5px; margin: 2px; border: 1px solid #aaaadd; text-decoration: none; color: #000099; } | |
.pagination a:hover, | |
.pagination a:active { border: 1px solid #000099; color: #000; } | |
.pagination span.current { padding: 2px 5px 2px 5px; margin: 2px; border: 1px solid #000099; font-weight: bold; background-color: #000099; color: #FFF; } | |
.pagination span.disabled { padding: 2px 5px 2px 5px; margin: 2px; border: 1px solid #eee; color: #ddd; } | |
/* From http://workingwithrails.com/railsplugin/4765-will-paginate */ |
.