flickr.rb 1.1.2 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,12 +14,7 @@ Search.prototype = $.extend({}, Navigation, new function() {
14
14
 
15
15
  this.init = function() {
16
16
  var _this = this;
17
- var observer = function(e) {
18
- switch(e.originalEvent.keyCode) {
19
- case 38: // Event.KEY_UP
20
- case 40: // Event.KEY_DOWN
21
- return;
22
- }
17
+ var observer = function() {
23
18
  _this.search(_this.$input[0].value);
24
19
  };
25
20
  this.$input.keyup(observer);
@@ -44,12 +39,9 @@ Search.prototype = $.extend({}, Navigation, new function() {
44
39
  if (value == '') {
45
40
  this.lastQuery = value;
46
41
  this.$result.empty();
47
- this.$result.attr('aria-expanded', 'false');
48
42
  this.setNavigationActive(false);
49
43
  } else if (value != this.lastQuery) {
50
44
  this.lastQuery = value;
51
- this.$result.attr('aria-busy', 'true');
52
- this.$result.attr('aria-expanded', 'true');
53
45
  this.firstRun = true;
54
46
  this.searcher.find(value);
55
47
  }
@@ -63,32 +55,25 @@ Search.prototype = $.extend({}, Navigation, new function() {
63
55
  }
64
56
 
65
57
  for (var i=0, l = results.length; i < l; i++) {
66
- var item = this.renderItem.call(this, results[i]);
67
- item.setAttribute('id', 'search-result-' + target.childElementCount);
68
- target.appendChild(item);
58
+ target.appendChild(this.renderItem.call(this, results[i]));
69
59
  };
70
60
 
71
61
  if (this.firstRun && results.length > 0) {
72
62
  this.firstRun = false;
73
63
  this.$current = $(target.firstChild);
74
- this.$current.addClass('search-selected');
64
+ this.$current.addClass('current');
75
65
  }
76
66
  if (jQuery.browser.msie) this.$element[0].className += '';
77
-
78
- if (isLast) this.$result.attr('aria-busy', 'false');
79
67
  }
80
68
 
81
69
  this.move = function(isDown) {
82
70
  if (!this.$current) return;
83
71
  var $next = this.$current[isDown ? 'next' : 'prev']();
84
72
  if ($next.length) {
85
- this.$current.removeClass('search-selected');
86
- $next.addClass('search-selected');
87
- this.$input.attr('aria-activedescendant', $next.attr('id'));
73
+ this.$current.removeClass('current');
74
+ $next.addClass('current');
88
75
  this.scrollIntoView($next[0], this.$view[0]);
89
76
  this.$current = $next;
90
- this.$input.val($next[0].firstChild.firstChild.text);
91
- this.$input.select();
92
77
  }
93
78
  return true;
94
79
  }
@@ -1 +1 @@
1
- var search_data = {"index":{"searchIndex":["flickr","config","group","photo","photocollection","photoset","user","[]()","add_note()","add_tag()","contacts()","contactsphotos()","context()","dates=()","deletenote()","description()","description=()","editnote()","exif()","favorites()","file()","filename()","find_by_url()","get()","getinfo()","getinfo()","getphotos()","get_token_from()","groups()","groups()","http_get()","isfavorite()","license()","licenses()","load_from_file()","login_url()","method_missing()","new()","new()","new()","new()","new()","new()","normalize_size()","notes()","owner()","parse_in_rails_env!()","parsed?()","permissions()","perms=()","photos()","photos()","photos_request()","photos_search()","photoset()","photosets()","popular_tags()","posttoblog()","pretty_url()","pretty_url()","recent()","related_tags()","remove_tag()","request()","request_url()","rotate()","rotation()","search()","server()","set_up_configuration()","signature_from()","size_url()","sizes()","source()","tag()","tag()","tags()","tags()","tags=()","title=()","to_s()","to_s()","url()","username()","users()","readme"],"longSearchIndex":["flickr","flickr::config","flickr::group","flickr::photo","flickr::photocollection","flickr::photoset","flickr::user","flickr::photo#[]()","flickr::photo#add_note()","flickr::photo#add_tag()","flickr::user#contacts()","flickr::user#contactsphotos()","flickr::photo#context()","flickr::photo#dates=()","flickr::photo#deletenote()","flickr::photo#description()","flickr::photo#description=()","flickr::photo#editnote()","flickr::photo#exif()","flickr::user#favorites()","flickr::photo#file()","flickr::photo#filename()","flickr#find_by_url()","flickr::config::get()","flickr::group#getinfo()","flickr::photoset#getinfo()","flickr::photoset#getphotos()","flickr#get_token_from()","flickr#groups()","flickr::user#groups()","flickr#http_get()","flickr::photo#isfavorite()","flickr::photo#license()","flickr#licenses()","flickr::config::load_from_file()","flickr#login_url()","flickr#method_missing()","flickr::new()","flickr::group::new()","flickr::photo::new()","flickr::photocollection::new()","flickr::photoset::new()","flickr::user::new()","flickr::photo#normalize_size()","flickr::photo#notes()","flickr::photo#owner()","flickr::config::parse_in_rails_env!()","flickr::config::parsed?()","flickr::photo#permissions()","flickr::photo#perms=()","flickr#photos()","flickr::user#photos()","flickr#photos_request()","flickr#photos_search()","flickr#photoset()","flickr::user#photosets()","flickr::user#popular_tags()","flickr::photo#posttoblog()","flickr::photo#pretty_url()","flickr::user#pretty_url()","flickr#recent()","flickr#related_tags()","flickr::photo#remove_tag()","flickr#request()","flickr#request_url()","flickr::photo#rotate()","flickr::photo#rotation()","flickr#search()","flickr::photo#server()","flickr#set_up_configuration()","flickr#signature_from()","flickr::photo#size_url()","flickr::photo#sizes()","flickr::photo#source()","flickr#tag()","flickr::user#tag()","flickr::photo#tags()","flickr::user#tags()","flickr::photo#tags=()","flickr::photo#title=()","flickr::photo#to_s()","flickr::user#to_s()","flickr::photo#url()","flickr::user#username()","flickr#users()",""],"info":[["Flickr","","Flickr.html","","<p>Flickr client class. Requires an API key\n"],["Flickr::Config","","Flickr/Config.html","","<p>This class supports external configuration\n"],["Flickr::Group","","Flickr/Group.html","","<p>Todo: flickr.groups.pools.add flickr.groups.pools.getContext\nflickr.groups.pools.getGroups flickr.groups.pools.getPhotos …\n"],["Flickr::Photo","","Flickr/Photo.html","",""],["Flickr::PhotoCollection","","Flickr/PhotoCollection.html","","<p>A collection of photos is returned as a PhotoCollection, a subclass of\nArray. This allows us to retain …\n"],["Flickr::Photoset","","Flickr/Photoset.html","","<p>Todo: flickr.photosets.delete flickr.photosets.editMeta\nflickr.photosets.editPhotos flickr.photosets.getContext …\n"],["Flickr::User","","Flickr/User.html","","<p>Todo: logged_in? if logged in: flickr.blogs.getList flickr.favorites.add\nflickr.favorites.remove flickr.groups.browse …\n"],["[]","Flickr::Photo","Flickr/Photo.html#method-i-5B-5D","(param_name)","<p>Allows access to all photos instance variables through hash like interface,\ne.g. photo returns @datetaken …\n"],["add_note","Flickr::Photo","Flickr/Photo.html#method-i-add_note","(note)","<p>Implements flickr.photos.notes.add\n"],["add_tag","Flickr::Photo","Flickr/Photo.html#method-i-add_tag","(tag)","<p>Implements flickr.photos.addTags\n"],["contacts","Flickr::User","Flickr/User.html#method-i-contacts","()","<p>Implements flickr.contacts.getPublicList and flickr.contacts.getList\n"],["contactsPhotos","Flickr::User","Flickr/User.html#method-i-contactsPhotos","()","<p>Implements flickr.photos.getContactsPublicPhotos and\nflickr.photos.getContactsPhotos\n"],["context","Flickr::Photo","Flickr/Photo.html#method-i-context","()","<p>Implements flickr.photos.getContext\n"],["dates=","Flickr::Photo","Flickr/Photo.html#method-i-dates-3D","(dates)","<p>Implements flickr.photos.setDates\n"],["deleteNote","Flickr::Photo","Flickr/Photo.html#method-i-deleteNote","(note_id)","<p>Implements flickr.photos.notes.delete\n"],["description","Flickr::Photo","Flickr/Photo.html#method-i-description","()",""],["description=","Flickr::Photo","Flickr/Photo.html#method-i-description-3D","(title)",""],["editNote","Flickr::Photo","Flickr/Photo.html#method-i-editNote","(note_id)","<p>Implements flickr.photos.notes.edit\n"],["exif","Flickr::Photo","Flickr/Photo.html#method-i-exif","()","<p>Implements flickr.photos.getExif\n"],["favorites","Flickr::User","Flickr/User.html#method-i-favorites","()","<p>Implements flickr.favorites.getPublicList\n"],["file","Flickr::Photo","Flickr/Photo.html#method-i-file","(size='Medium')","<p>Returns the photo file data itself, in any specified size. Example:\nFile.open(photo.title, &#39;w&#39;) …\n"],["filename","Flickr::Photo","Flickr/Photo.html#method-i-filename","()","<p>Unique filename for the image, based on the Flickr NSID\n"],["find_by_url","Flickr","Flickr.html#method-i-find_by_url","(url)","<p>Implements flickr.urls.lookupGroup and flickr.urls.lookupUser\n"],["get","Flickr::Config","Flickr/Config.html#method-c-get","()","<p>Returns configuration Hash\n"],["getInfo","Flickr::Group","Flickr/Group.html#method-i-getInfo","()","<p>Implements flickr.groups.getInfo and flickr.urls.getGroup private, once we\ncan call it as needed\n"],["getInfo","Flickr::Photoset","Flickr/Photoset.html#method-i-getInfo","()","<p>Implements flickr.photosets.getInfo private, once we can call it as needed\n"],["getPhotos","Flickr::Photoset","Flickr/Photoset.html#method-i-getPhotos","()",""],["get_token_from","Flickr","Flickr.html#method-i-get_token_from","(frob)","<p>Gets authentication token given a Flickr frob, which is returned when user\nallows access to their account …\n"],["groups","Flickr","Flickr.html#method-i-groups","(group_name, options={})","<p>Implements flickr.groups.search\n"],["groups","Flickr::User","Flickr/User.html#method-i-groups","()","<p>Implements flickr.people.getPublicGroups\n"],["http_get","Flickr","Flickr.html#method-i-http_get","(url)","<p>Does an HTTP GET on a given URL and returns the response body\n"],["isfavorite","Flickr::Photo","Flickr/Photo.html#method-i-isfavorite","()",""],["license","Flickr::Photo","Flickr/Photo.html#method-i-license","()",""],["licenses","Flickr","Flickr.html#method-i-licenses","()","<p>Implements flickr.photos.licenses.getInfo\n"],["load_from_file","Flickr::Config","Flickr/Config.html#method-c-load_from_file","(file)","<p>parses file and prepare @@configuration for access from outside to fetch\nconfiguration hash\n"],["login_url","Flickr","Flickr.html#method-i-login_url","(perms)","<p>Returns url for user to login in to Flickr to authenticate app for a user\n"],["method_missing","Flickr","Flickr.html#method-i-method_missing","(method_id, params={})","<p>Implements everything else. Any method not defined explicitly will be\npassed on to the Flickr API, and …\n"],["new","Flickr","Flickr.html#method-c-new","(api_key_or_params={})","<p>To use the Flickr API you need an api key (see\nwww.flickr.com/services/api/misc.api_keys.html), and the …\n"],["new","Flickr::Group","Flickr/Group.html#method-c-new","(id_or_params_hash=nil, api_key={})",""],["new","Flickr::Photo","Flickr/Photo.html#method-c-new","(id=nil, api_key={}, extra_params={})",""],["new","Flickr::PhotoCollection","Flickr/PhotoCollection.html#method-c-new","(photos_api_response={}, api_key={}, list_node=\"photos\")","<p>builds a PhotoCollection from given params, such as those returned from\nphotos.search API call. Note …\n"],["new","Flickr::Photoset","Flickr/Photoset.html#method-c-new","(id=nil, api_key={})",""],["new","Flickr::User","Flickr/User.html#method-c-new","(id_or_params_hash=nil, username=nil, email=nil, password=nil, api_key={})","<p>A Flickr::User can be instantiated in two ways. The old (deprecated) method\nis with an ordered series …\n"],["normalize_size","Flickr::Photo","Flickr/Photo.html#method-i-normalize_size","(size)","<p>converts string or symbol size to a capitalized string\n"],["notes","Flickr::Photo","Flickr/Photo.html#method-i-notes","()",""],["owner","Flickr::Photo","Flickr/Photo.html#method-i-owner","()","<p>Returns the owner of the photo as a Flickr::User. If we have no info about\nthe owner, we make an API …\n"],["parse_in_rails_env!","Flickr::Config","Flickr/Config.html#method-c-parse_in_rails_env-21","()","<p>Excludes specific configuration for choosed environment in Rails\n"],["parsed?","Flickr::Config","Flickr/Config.html#method-c-parsed-3F","()","<p>Returns true if configuration has been parsed\n"],["permissions","Flickr::Photo","Flickr/Photo.html#method-i-permissions","()","<p>Implements flickr.photos.getPerms\n"],["perms=","Flickr::Photo","Flickr/Photo.html#method-i-perms-3D","(perms)","<p>Implements flickr.photos.setPerms\n"],["photos","Flickr","Flickr.html#method-i-photos","(*criteria)","<p>Implements flickr.photos.getRecent and flickr.photos.search\n"],["photos","Flickr::User","Flickr/User.html#method-i-photos","(options={})","<p>Implements flickr.people.getPublicPhotos. Options hash allows you to add\nextra restrictions as per flickr.people.getPublicPhotos …\n"],["photos_request","Flickr","Flickr.html#method-i-photos_request","(method, params={}, list_node=\"photos\")","<p>acts like request but returns a PhotoCollection (a list of Photo objects)\n"],["photos_search","Flickr","Flickr.html#method-i-photos_search","(params={})",""],["photoset","Flickr","Flickr.html#method-i-photoset","(photoset_id)",""],["photosets","Flickr::User","Flickr/User.html#method-i-photosets","()","<p>Implements flickr.photosets.getList\n"],["popular_tags","Flickr::User","Flickr/User.html#method-i-popular_tags","(count = 10)","<p>Implements flickr.tags.getListUserPopular\n"],["postToBlog","Flickr::Photo","Flickr/Photo.html#method-i-postToBlog","(blog_id, title='', description='')","<p>Implements flickr.blogs.postPhoto\n"],["pretty_url","Flickr::Photo","Flickr/Photo.html#method-i-pretty_url","()","<p>the &#39;pretty&#39; url for a photo (if the user has set up a custom name)\neg, flickr.com/photos/granth/2584402507 …\n"],["pretty_url","Flickr::User","Flickr/User.html#method-i-pretty_url","()",""],["recent","Flickr","Flickr.html#method-i-recent","()","<p>flickr.photos.getRecent 100 newest photos from everyone\n"],["related_tags","Flickr","Flickr.html#method-i-related_tags","(tag)","<p>Implements flickr.tags.getRelated\n"],["remove_tag","Flickr::Photo","Flickr/Photo.html#method-i-remove_tag","(tag)","<p>Implements flickr.photos.removeTag\n"],["request","Flickr","Flickr.html#method-i-request","(method, params={})","<p>Takes a Flickr API method name and set of parameters; returns an XmlSimple\nobject with the response\n"],["request_url","Flickr","Flickr.html#method-i-request_url","(method, params={})","<p>Builds url for Flickr API REST request from given the flickr method name\n(exclusing the &#39;flickr.&#39; …\n"],["rotate","Flickr::Photo","Flickr/Photo.html#method-i-rotate","()","<p>Implements flickr.photos.transform.rotate\n"],["rotation","Flickr::Photo","Flickr/Photo.html#method-i-rotation","()",""],["search","Flickr","Flickr.html#method-i-search","(params={})",""],["server","Flickr::Photo","Flickr/Photo.html#method-i-server","()",""],["set_up_configuration","Flickr","Flickr.html#method-i-set_up_configuration","(api_key_or_params = {})",""],["signature_from","Flickr","Flickr.html#method-i-signature_from","(params={})",""],["size_url","Flickr::Photo","Flickr/Photo.html#method-i-size_url","(size='Medium')","<p>Returns the URL for the photo size page defaults to &#39;Medium&#39; other\nvalid sizes are in the VALID_SIZES …\n"],["sizes","Flickr::Photo","Flickr/Photo.html#method-i-sizes","(size=nil)","<p>Implements flickr.photos.getSizes\n"],["source","Flickr::Photo","Flickr/Photo.html#method-i-source","(size='Medium')","<p>Returns the URL for the image (default or any specified size)\n"],["tag","Flickr","Flickr.html#method-i-tag","(tag)","<p>Gets public photos with a given tag\n"],["tag","Flickr::User","Flickr/User.html#method-i-tag","(tag)","<p>Gets photos with a given tag\n"],["tags","Flickr::Photo","Flickr/Photo.html#method-i-tags","()","<p>flickr.tags.getListPhoto\n"],["tags","Flickr::User","Flickr/User.html#method-i-tags","()","<p>Implements flickr.tags.getListUser\n"],["tags=","Flickr::Photo","Flickr/Photo.html#method-i-tags-3D","(tags)","<p>Implements flickr.photos.setTags\n"],["title=","Flickr::Photo","Flickr/Photo.html#method-i-title-3D","(title)","<p>Implements flickr.photos.setMeta\n"],["to_s","Flickr::Photo","Flickr/Photo.html#method-i-to_s","()","<p>Converts the Photo to a string by returning its title\n"],["to_s","Flickr::User","Flickr/User.html#method-i-to_s","()",""],["url","Flickr::Photo","Flickr/Photo.html#method-i-url","(size = nil)","<p>the URL for the main photo page if getInfo has already been called, this\nwill return the pretty url\n<p>for …\n"],["username","Flickr::User","Flickr/User.html#method-i-username","()",""],["users","Flickr","Flickr.html#method-i-users","(lookup=nil)","<p>Implements flickr.people.findByEmail and flickr.people.findByUsername.\n"],["README","","README_txt.html","","<p>flickr\n<p>github.com/RaVbaker/flickr\n<p>DESCRIPTION:\n"]]}}
1
+ var search_data = {"index":{"searchIndex":["flickr","config","group","photo","photocollection","photoset","user","[]()","add_note()","add_tag()","contacts()","contactsphotos()","context()","dates=()","deletenote()","description()","description=()","editnote()","exif()","favorites()","file()","filename()","find_by_url()","get()","getinfo()","getinfo()","getphotos()","get_token_from()","groups()","groups()","http_get()","isfavorite()","license()","licenses()","load_from_file()","login_url()","method_missing()","new()","new()","new()","new()","new()","new()","normalize_size()","notes()","owner()","parse_in_rails_env!()","parsed?()","permissions()","perms=()","photos()","photos()","photos_request()","photos_search()","photoset()","photosets()","popular_tags()","posttoblog()","pretty_url()","pretty_url()","recent()","related_tags()","remove_tag()","request()","request_url()","rotate()","rotation()","search()","server()","set_up_configuration()","signature_from()","size_url()","sizes()","source()","tag()","tag()","tags()","tags()","tags=()","title=()","to_s()","to_s()","url()","username()","users()","readme"],"longSearchIndex":["flickr","flickr::config","flickr::group","flickr::photo","flickr::photocollection","flickr::photoset","flickr::user","flickr::photo#[]()","flickr::photo#add_note()","flickr::photo#add_tag()","flickr::user#contacts()","flickr::user#contactsphotos()","flickr::photo#context()","flickr::photo#dates=()","flickr::photo#deletenote()","flickr::photo#description()","flickr::photo#description=()","flickr::photo#editnote()","flickr::photo#exif()","flickr::user#favorites()","flickr::photo#file()","flickr::photo#filename()","flickr#find_by_url()","flickr::config::get()","flickr::group#getinfo()","flickr::photoset#getinfo()","flickr::photoset#getphotos()","flickr#get_token_from()","flickr#groups()","flickr::user#groups()","flickr#http_get()","flickr::photo#isfavorite()","flickr::photo#license()","flickr#licenses()","flickr::config::load_from_file()","flickr#login_url()","flickr#method_missing()","flickr::new()","flickr::group::new()","flickr::photo::new()","flickr::photocollection::new()","flickr::photoset::new()","flickr::user::new()","flickr::photo#normalize_size()","flickr::photo#notes()","flickr::photo#owner()","flickr::config::parse_in_rails_env!()","flickr::config::parsed?()","flickr::photo#permissions()","flickr::photo#perms=()","flickr#photos()","flickr::user#photos()","flickr#photos_request()","flickr#photos_search()","flickr#photoset()","flickr::user#photosets()","flickr::user#popular_tags()","flickr::photo#posttoblog()","flickr::photo#pretty_url()","flickr::user#pretty_url()","flickr#recent()","flickr#related_tags()","flickr::photo#remove_tag()","flickr#request()","flickr#request_url()","flickr::photo#rotate()","flickr::photo#rotation()","flickr#search()","flickr::photo#server()","flickr#set_up_configuration()","flickr#signature_from()","flickr::photo#size_url()","flickr::photo#sizes()","flickr::photo#source()","flickr#tag()","flickr::user#tag()","flickr::photo#tags()","flickr::user#tags()","flickr::photo#tags=()","flickr::photo#title=()","flickr::photo#to_s()","flickr::user#to_s()","flickr::photo#url()","flickr::user#username()","flickr#users()",""],"info":[["Flickr","","Flickr.html","","<p>Flickr client class. Requires an API key\n"],["Flickr::Config","","Flickr/Config.html","","<p>This class supports external configuration\n"],["Flickr::Group","","Flickr/Group.html","","<p>Todo: flickr.groups.pools.add flickr.groups.pools.getContext\nflickr.groups.pools.getGroups flickr.groups.pools.getPhotos …\n"],["Flickr::Photo","","Flickr/Photo.html","",""],["Flickr::PhotoCollection","","Flickr/PhotoCollection.html","","<p>A collection of photos is returned as a PhotoCollection, a subclass of\nArray. This allows us to retain …\n"],["Flickr::Photoset","","Flickr/Photoset.html","","<p>Todo: flickr.photosets.delete flickr.photosets.editMeta\nflickr.photosets.editPhotos flickr.photosets.getContext …\n"],["Flickr::User","","Flickr/User.html","","<p>Todo: logged_in? if logged in: flickr.blogs.getList flickr.favorites.add\nflickr.favorites.remove flickr.groups.browse …\n"],["[]","Flickr::Photo","Flickr/Photo.html#method-i-5B-5D","(param_name)","<p>Allows access to all photos instance variables through hash like interface,\ne.g. photo returns @datetaken …\n"],["add_note","Flickr::Photo","Flickr/Photo.html#method-i-add_note","(note)","<p>Implements flickr.photos.notes.add\n"],["add_tag","Flickr::Photo","Flickr/Photo.html#method-i-add_tag","(tag)","<p>Implements flickr.photos.addTags\n"],["contacts","Flickr::User","Flickr/User.html#method-i-contacts","()","<p>Implements flickr.contacts.getPublicList and flickr.contacts.getList\n"],["contactsPhotos","Flickr::User","Flickr/User.html#method-i-contactsPhotos","()","<p>Implements flickr.photos.getContactsPublicPhotos and\nflickr.photos.getContactsPhotos\n"],["context","Flickr::Photo","Flickr/Photo.html#method-i-context","()","<p>Implements flickr.photos.getContext\n"],["dates=","Flickr::Photo","Flickr/Photo.html#method-i-dates-3D","(dates)","<p>Implements flickr.photos.setDates\n"],["deleteNote","Flickr::Photo","Flickr/Photo.html#method-i-deleteNote","(note_id)","<p>Implements flickr.photos.notes.delete\n"],["description","Flickr::Photo","Flickr/Photo.html#method-i-description","()",""],["description=","Flickr::Photo","Flickr/Photo.html#method-i-description-3D","(title)",""],["editNote","Flickr::Photo","Flickr/Photo.html#method-i-editNote","(note_id)","<p>Implements flickr.photos.notes.edit\n"],["exif","Flickr::Photo","Flickr/Photo.html#method-i-exif","()","<p>Implements flickr.photos.getExif\n"],["favorites","Flickr::User","Flickr/User.html#method-i-favorites","()","<p>Implements flickr.favorites.getPublicList\n"],["file","Flickr::Photo","Flickr/Photo.html#method-i-file","(size='Medium')","<p>Returns the photo file data itself, in any specified size. Example:\nFile.open(photo.title, &#39;w&#39;) …\n"],["filename","Flickr::Photo","Flickr/Photo.html#method-i-filename","()","<p>Unique filename for the image, based on the Flickr NSID\n"],["find_by_url","Flickr","Flickr.html#method-i-find_by_url","(url)","<p>Implements flickr.urls.lookupGroup and flickr.urls.lookupUser\n"],["get","Flickr::Config","Flickr/Config.html#method-c-get","()","<p>Returns configuration Hash\n"],["getInfo","Flickr::Group","Flickr/Group.html#method-i-getInfo","()","<p>Implements flickr.groups.getInfo and flickr.urls.getGroup private, once we\ncan call it as needed\n"],["getInfo","Flickr::Photoset","Flickr/Photoset.html#method-i-getInfo","()","<p>Implements flickr.photosets.getInfo private, once we can call it as needed\n"],["getPhotos","Flickr::Photoset","Flickr/Photoset.html#method-i-getPhotos","()",""],["get_token_from","Flickr","Flickr.html#method-i-get_token_from","(frob)","<p>Gets authentication token given a Flickr frob, which is returned when user\nallows access to their account …\n"],["groups","Flickr","Flickr.html#method-i-groups","(group_name, options={})","<p>Implements flickr.groups.search\n"],["groups","Flickr::User","Flickr/User.html#method-i-groups","()","<p>Implements flickr.people.getPublicGroups\n"],["http_get","Flickr","Flickr.html#method-i-http_get","(url)","<p>Does an HTTP GET on a given URL and returns the response body\n"],["isfavorite","Flickr::Photo","Flickr/Photo.html#method-i-isfavorite","()",""],["license","Flickr::Photo","Flickr/Photo.html#method-i-license","()",""],["licenses","Flickr","Flickr.html#method-i-licenses","()","<p>Implements flickr.photos.licenses.getInfo\n"],["load_from_file","Flickr::Config","Flickr/Config.html#method-c-load_from_file","(file)","<p>parses file and prepare @@configuration for access from outside to fetch\nconfiguration hash\n"],["login_url","Flickr","Flickr.html#method-i-login_url","(perms)","<p>Returns url for user to login in to Flickr to authenticate app for a user\n"],["method_missing","Flickr","Flickr.html#method-i-method_missing","(method_id, params={})","<p>Implements everything else. Any method not defined explicitly will be\npassed on to the Flickr API, and …\n"],["new","Flickr","Flickr.html#method-c-new","(api_key_or_params={})","<p>To use the Flickr API you need an api key (see\nwww.flickr.com/services/api/misc.api_keys.html), and the …\n"],["new","Flickr::Group","Flickr/Group.html#method-c-new","(id_or_params_hash=nil, api_key={})",""],["new","Flickr::Photo","Flickr/Photo.html#method-c-new","(id=nil, api_key={}, extra_params={})",""],["new","Flickr::PhotoCollection","Flickr/PhotoCollection.html#method-c-new","(photos_api_response={}, api_key={}, list_node=\"photos\")","<p>builds a PhotoCollection from given params, such as those returned from\nphotos.search API call. Note …\n"],["new","Flickr::Photoset","Flickr/Photoset.html#method-c-new","(id=nil, api_key={})",""],["new","Flickr::User","Flickr/User.html#method-c-new","(id_or_params_hash=nil, username=nil, email=nil, password=nil, api_key={})","<p>A Flickr::User can be instantiated in two ways. The old (deprecated) method\nis with an ordered series …\n"],["normalize_size","Flickr::Photo","Flickr/Photo.html#method-i-normalize_size","(size)","<p>converts string or symbol size to a capitalized string\n"],["notes","Flickr::Photo","Flickr/Photo.html#method-i-notes","()",""],["owner","Flickr::Photo","Flickr/Photo.html#method-i-owner","()","<p>Returns the owner of the photo as a Flickr::User. If we have no info about\nthe owner, we make an API …\n"],["parse_in_rails_env!","Flickr::Config","Flickr/Config.html#method-c-parse_in_rails_env-21","()","<p>Excludes specific configuration for choosed environment in Rails\n"],["parsed?","Flickr::Config","Flickr/Config.html#method-c-parsed-3F","()","<p>Returns true if configuration has been parsed\n"],["permissions","Flickr::Photo","Flickr/Photo.html#method-i-permissions","()","<p>Implements flickr.photos.getPerms\n"],["perms=","Flickr::Photo","Flickr/Photo.html#method-i-perms-3D","(perms)","<p>Implements flickr.photos.setPerms\n"],["photos","Flickr","Flickr.html#method-i-photos","(*criteria)","<p>Implements flickr.photos.getRecent and flickr.photos.search\n"],["photos","Flickr::User","Flickr/User.html#method-i-photos","(options={})","<p>Implements flickr.people.getPublicPhotos. Options hash allows you to add\nextra restrictions as per flickr.people.getPublicPhotos …\n"],["photos_request","Flickr","Flickr.html#method-i-photos_request","(method, params={}, list_node=\"photos\")","<p>acts like request but returns a PhotoCollection (a list of Photo objects)\n"],["photos_search","Flickr","Flickr.html#method-i-photos_search","(params={})",""],["photoset","Flickr","Flickr.html#method-i-photoset","(photoset_id)",""],["photosets","Flickr::User","Flickr/User.html#method-i-photosets","()","<p>Implements flickr.photosets.getList\n"],["popular_tags","Flickr::User","Flickr/User.html#method-i-popular_tags","(count = 10)","<p>Implements flickr.tags.getListUserPopular\n"],["postToBlog","Flickr::Photo","Flickr/Photo.html#method-i-postToBlog","(blog_id, title='', description='')","<p>Implements flickr.blogs.postPhoto\n"],["pretty_url","Flickr::Photo","Flickr/Photo.html#method-i-pretty_url","()","<p>the &#39;pretty&#39; url for a photo (if the user has set up a custom name)\neg, flickr.com/photos/granth/2584402507 …\n"],["pretty_url","Flickr::User","Flickr/User.html#method-i-pretty_url","()",""],["recent","Flickr","Flickr.html#method-i-recent","()","<p>flickr.photos.getRecent 100 newest photos from everyone\n"],["related_tags","Flickr","Flickr.html#method-i-related_tags","(tag)","<p>Implements flickr.tags.getRelated\n"],["remove_tag","Flickr::Photo","Flickr/Photo.html#method-i-remove_tag","(tag)","<p>Implements flickr.photos.removeTag\n"],["request","Flickr","Flickr.html#method-i-request","(method, params={})","<p>Takes a Flickr API method name and set of parameters; returns an XmlSimple\nobject with the response\n"],["request_url","Flickr","Flickr.html#method-i-request_url","(method, params={})","<p>Builds url for Flickr API REST request from given the flickr method name\n(exclusing the &#39;flickr.&#39; …\n"],["rotate","Flickr::Photo","Flickr/Photo.html#method-i-rotate","()","<p>Implements flickr.photos.transform.rotate\n"],["rotation","Flickr::Photo","Flickr/Photo.html#method-i-rotation","()",""],["search","Flickr","Flickr.html#method-i-search","(params={})",""],["server","Flickr::Photo","Flickr/Photo.html#method-i-server","()",""],["set_up_configuration","Flickr","Flickr.html#method-i-set_up_configuration","(api_key_or_params = {})",""],["signature_from","Flickr","Flickr.html#method-i-signature_from","(params={})",""],["size_url","Flickr::Photo","Flickr/Photo.html#method-i-size_url","(size='Medium')","<p>Returns the URL for the photo size page defaults to &#39;Medium&#39; other\nvalid sizes are in the VALID_SIZES …\n"],["sizes","Flickr::Photo","Flickr/Photo.html#method-i-sizes","(size=nil)","<p>Implements flickr.photos.getSizes\n"],["source","Flickr::Photo","Flickr/Photo.html#method-i-source","(size='Medium')","<p>Returns the URL for the image (default or any specified size)\n"],["tag","Flickr","Flickr.html#method-i-tag","(tag)","<p>Gets public photos with a given tag\n"],["tag","Flickr::User","Flickr/User.html#method-i-tag","(tag)","<p>Gets photos with a given tag\n"],["tags","Flickr::Photo","Flickr/Photo.html#method-i-tags","()","<p>flickr.tags.getListPhoto\n"],["tags","Flickr::User","Flickr/User.html#method-i-tags","()","<p>Implements flickr.tags.getListUser\n"],["tags=","Flickr::Photo","Flickr/Photo.html#method-i-tags-3D","(tags)","<p>Implements flickr.photos.setTags\n"],["title=","Flickr::Photo","Flickr/Photo.html#method-i-title-3D","(title)","<p>Implements flickr.photos.setMeta\n"],["to_s","Flickr::Photo","Flickr/Photo.html#method-i-to_s","()","<p>Converts the Photo to a string by returning its title\n"],["to_s","Flickr::User","Flickr/User.html#method-i-to_s","()",""],["url","Flickr::Photo","Flickr/Photo.html#method-i-url","(size = nil)","<p>the URL for the main photo page if getInfo has already been called, this\nwill return the pretty url\n<p>for …\n"],["username","Flickr::User","Flickr/User.html#method-i-username","()",""],["users","Flickr","Flickr.html#method-i-users","(lookup=nil)","<p>Implements flickr.people.findByEmail and flickr.people.findByUsername.\n"],["README","","README_md.html","","<p>flickr.rb\n<p>github.com/RaVbaker/flickr\n<p>{Gem Version]\n"]]}}
@@ -12,10 +12,21 @@
12
12
  * { padding: 0; margin: 0; }
13
13
 
14
14
  body {
15
- background: #fafafa;
16
- font-family: Lato, sans-serif;
17
- font-weight: 300;
15
+ background: #efefef;
16
+ font: 14px "Helvetica Neue", Helvetica, Tahoma, sans-serif;
17
+ margin-left: 40px;
18
18
  }
19
+ body.file-popup {
20
+ font-size: 90%;
21
+ margin-left: 0;
22
+ }
23
+
24
+ h1 {
25
+ font-size: 300%;
26
+ text-shadow: rgba(135,145,135,0.65) 2px 2px 3px;
27
+ color: #6C8C22;
28
+ }
29
+ h2,h3,h4 { margin-top: 1.5em; }
19
30
 
20
31
  h1 span,
21
32
  h2 span,
@@ -25,7 +36,7 @@ h5 span,
25
36
  h6 span {
26
37
  display: none;
27
38
  padding-left: 1em;
28
- font-size: 10px;
39
+ font-size: 50%;
29
40
  vertical-align: super;
30
41
  }
31
42
 
@@ -43,15 +54,24 @@ h6:hover span {
43
54
  color: #6C8C22;
44
55
  text-decoration: none;
45
56
  }
46
-
47
57
  :link:hover,
48
58
  :visited:hover {
49
59
  border-bottom: 1px dotted #6C8C22;
50
60
  }
51
61
 
52
- code,
53
62
  pre {
54
- font-family: "Source Code Pro", Monaco, monospace;
63
+ background: #ddd;
64
+ padding: 0.5em 0;
65
+ }
66
+
67
+ blockquote {
68
+ background: #ddd;
69
+ margin: 1em;
70
+ padding: 0.25em;
71
+ }
72
+
73
+ blockquote > :first-child {
74
+ margin-top: 0 !important;
55
75
  }
56
76
 
57
77
  /* @group Generic Classes */
@@ -62,13 +82,10 @@ pre {
62
82
 
63
83
  #search-field {
64
84
  width: 98%;
65
- background: white;
85
+ background: #eee;
66
86
  border: none;
67
87
  height: 1.5em;
68
88
  -webkit-border-radius: 4px;
69
- -moz-border-radius: 4px;
70
- border-radius: 4px;
71
- text-align: left;
72
89
  }
73
90
  #search-field:focus {
74
91
  background: #f1edba;
@@ -104,31 +121,44 @@ pre {
104
121
  /* @end */
105
122
 
106
123
  /* @group Index Page, Standalone file pages */
107
- .table-of-contents ul {
108
- margin: 1em;
124
+ .indexpage ul {
125
+ line-height: 160%;
109
126
  list-style: none;
110
127
  }
111
-
112
- .table-of-contents ul ul {
113
- margin-top: 0.25em;
114
- }
115
-
116
- .table-of-contents ul :link,
117
- .table-of-contents ul :visited {
128
+ .indexpage ul :link,
129
+ .indexpage ul :visited {
118
130
  font-size: 16px;
119
131
  }
120
132
 
121
- .table-of-contents li {
122
- margin-bottom: 0.25em;
133
+ .indexpage li {
134
+ padding-left: 20px;
123
135
  }
124
136
 
125
- .table-of-contents li .toc-toggle {
137
+ .indexpage ul > li {
138
+ background: url(images/bullet_black.png) no-repeat left 4px;
139
+ }
140
+ .indexpage li.method {
141
+ background: url(images/plugin.png) no-repeat left 4px;
142
+ }
143
+ .indexpage li.module {
144
+ background: url(images/package.png) no-repeat left 4px;
145
+ }
146
+ .indexpage li.class {
147
+ background: url(images/ruby.png) no-repeat left 4px;
148
+ }
149
+ .indexpage li.file {
150
+ background: url(images/page_white_text.png) no-repeat left 4px;
151
+ }
152
+ .indexpage li li {
153
+ background: url(images/tag_blue.png) no-repeat left 4px;
154
+ }
155
+ .indexpage li .toc-toggle {
126
156
  width: 16px;
127
157
  height: 16px;
128
158
  background: url(images/add.png) no-repeat;
129
159
  }
130
160
 
131
- .table-of-contents li .toc-toggle.open {
161
+ .indexpage li .toc-toggle.open {
132
162
  background: url(images/delete.png) no-repeat;
133
163
  }
134
164
 
@@ -136,32 +166,14 @@ pre {
136
166
 
137
167
  /* @group Top-Level Structure */
138
168
 
139
- nav {
169
+ #metadata {
140
170
  float: left;
141
171
  width: 260px;
142
- font-family: Helvetica, sans-serif;
143
- font-size: 14px;
144
172
  }
145
173
 
146
- main {
147
- display: block;
148
- margin: 0 2em 5em 260px;
149
- padding-left: 20px;
174
+ #documentation {
175
+ margin: 2em 1em 5em 300px;
150
176
  min-width: 340px;
151
- font-size: 16px;
152
- }
153
-
154
- main h1,
155
- main h2,
156
- main h3,
157
- main h4,
158
- main h5,
159
- main h6 {
160
- font-family: Helvetica, sans-serif;
161
- }
162
-
163
- .table-of-contents main {
164
- margin-left: 2em;
165
177
  }
166
178
 
167
179
  #validator-badges {
@@ -172,74 +184,67 @@ main h6 {
172
184
 
173
185
  /* @end */
174
186
 
175
- /* @group navigation */
176
- nav {
177
- margin-bottom: 1em;
178
- }
179
-
180
- nav .nav-section {
181
- margin-top: 2em;
182
- border-top: 2px solid #aaa;
187
+ /* @group Metadata Section */
188
+ #metadata .section {
189
+ background-color: #dedede;
190
+ -moz-border-radius: 5px;
191
+ -webkit-border-radius: 5px;
192
+ border: 1px solid #aaa;
193
+ margin: 0 8px 8px;
183
194
  font-size: 90%;
184
195
  overflow: hidden;
185
196
  }
186
-
187
- nav h2 {
197
+ #metadata h3.section-header {
188
198
  margin: 0;
189
- padding: 2px 8px 2px 8px;
190
- background-color: #e8e8e8;
191
- color: #555;
192
- font-size: 125%;
193
- text-align: center;
199
+ padding: 2px 8px;
200
+ background: #ccc;
201
+ color: #666;
202
+ -moz-border-radius-topleft: 4px;
203
+ -moz-border-radius-topright: 4px;
204
+ -webkit-border-top-left-radius: 4px;
205
+ -webkit-border-top-right-radius: 4px;
206
+ border-bottom: 1px solid #aaa;
194
207
  }
195
-
196
- nav h3,
197
- #table-of-contents-navigation {
198
- margin: 0;
199
- padding: 2px 8px 2px 8px;
200
- text-align: right;
201
- background-color: #e8e8e8;
202
- color: #555;
208
+ #metadata #home-section h3.section-header {
209
+ border-bottom: 0;
203
210
  }
204
211
 
205
- nav ul,
206
- nav dl,
207
- nav p {
208
- padding: 4px 8px 0;
212
+ #metadata ul,
213
+ #metadata dl,
214
+ #metadata p {
215
+ padding: 8px;
209
216
  list-style: none;
210
217
  }
211
218
 
212
- #project-navigation .nav-section {
213
- margin: 0;
214
- border-top: 0;
219
+ #file-metadata {
220
+ margin-top: 2em;
215
221
  }
216
222
 
217
- #home-section h2 {
218
- text-align: center;
223
+ #file-metadata ul {
224
+ padding-left: 28px;
225
+ list-style-image: url(images/page_green.png);
219
226
  }
220
227
 
221
- #table-of-contents-navigation {
222
- font-size: 1.2em;
223
- font-weight: bold;
224
- text-align: center;
228
+ #table-of-contents {
229
+ margin-top: 2em;
225
230
  }
226
231
 
227
- #search-section {
228
- margin-top: 0;
229
- border-top: 0;
232
+ #table-of-contents ul {
233
+ padding-left: 28px;
234
+ list-style-image: url(images/tag_blue.png);
230
235
  }
231
236
 
232
- #search-field-wrapper {
233
- border-top: 1px solid #aaa;
234
- border-bottom: 1px solid #aaa;
235
- padding: 3px 8px;
236
- background-color: #e8e8e8;
237
- color: #555;
237
+ dl.svninfo {
238
+ color: #666;
239
+ margin: 0;
240
+ }
241
+ dl.svninfo dt {
242
+ font-weight: bold;
238
243
  }
239
244
 
240
245
  ul.link-list li {
241
246
  white-space: nowrap;
242
- line-height: 1.4em;
247
+ line-height: 20px;
243
248
  }
244
249
 
245
250
  ul.link-list .type {
@@ -257,119 +262,100 @@ ul.link-list .type {
257
262
 
258
263
  /* @end */
259
264
 
260
- /* @group Documentation Section */
261
- main {
262
- color: #333;
265
+ /* @group Class Metadata Section */
266
+ #class-metadata {
267
+ margin-top: 2em;
263
268
  }
269
+ /* @end */
264
270
 
265
- main > h1:first-child,
266
- main > h2:first-child,
267
- main > h3:first-child,
268
- main > h4:first-child,
269
- main > h5:first-child,
270
- main > h6:first-child {
271
- margin-top: 0px;
271
+ /* @group Project Metadata Section */
272
+ #project-metadata {
273
+ margin-top: 2em;
272
274
  }
273
275
 
274
- main sup {
275
- vertical-align: super;
276
- font-size: 0.8em;
276
+ #project-metadata .section {
277
+ border: 1px solid #aaa;
277
278
  }
278
-
279
- /* The heading with the class name */
280
- main h1[class] {
281
- margin-top: 0;
282
- margin-bottom: 1em;
283
- font-size: 2em;
284
- color: #6C8C22;
279
+ #project-metadata h3.section-header {
280
+ border-bottom: 1px solid #aaa;
281
+ position: relative;
285
282
  }
286
283
 
287
- main h1 {
288
- margin: 2em 0 0.5em;
289
- font-size: 1.7em;
284
+ #project-metadata form {
285
+ color: #777;
286
+ background: #ccc;
290
287
  }
291
288
 
292
- main h2 {
293
- margin: 2em 0 0.5em;
294
- font-size: 1.5em;
295
- }
289
+ /* @end */
296
290
 
297
- main h3 {
298
- margin: 2em 0 0.5em;
299
- font-size: 1.2em;
291
+ /* @group Documentation Section */
292
+ .description {
293
+ font-size: 100%;
294
+ color: #333;
300
295
  }
301
296
 
302
- main h4 {
303
- margin: 2em 0 0.5em;
304
- font-size: 1.1em;
297
+ .description p {
298
+ margin: 1em 0.4em;
305
299
  }
306
300
 
307
- main h5 {
308
- margin: 2em 0 0.5em;
309
- font-size: 1em;
301
+ .description li p {
302
+ margin: 0;
310
303
  }
311
304
 
312
- main h6 {
313
- margin: 2em 0 0.5em;
314
- font-size: 1em;
305
+ .description ol,
306
+ .description ul {
307
+ margin-left: 1.5em;
315
308
  }
316
-
317
- main p {
318
- margin: 0 0 0.5em;
309
+ .description ol li,
310
+ .description ul li {
319
311
  line-height: 1.4em;
320
312
  }
321
313
 
322
- main pre {
323
- margin: 1.2em 0.5em;
324
- padding: 1em;
325
- font-size: 0.8em;
314
+ .note-list {
315
+ margin: 8px 0;
326
316
  }
327
317
 
328
- main hr {
329
- margin: 1.5em 1em;
330
- border: 2px solid #ddd;
318
+ .label-list {
319
+ margin: 8px 1.5em;
320
+ border: 1px solid #ccc;
331
321
  }
332
-
333
- main blockquote {
334
- margin: 0 2em 1.2em 1.2em;
335
- padding-left: 0.5em;
336
- border-left: 2px solid #ddd;
337
- }
338
-
339
- main ol,
340
- main ul {
341
- margin: 1em 2em;
322
+ .description .label-list {
323
+ font-size: 14px;
342
324
  }
343
325
 
344
- main li > p {
345
- margin-bottom: 0.5em;
326
+ .note-list dt {
327
+ font-weight: bold;
346
328
  }
347
-
348
- main dl {
349
- margin: 1em 0.5em;
329
+ .note-list dd {
330
+ padding: 0 12px;
350
331
  }
351
332
 
352
- main dt {
353
- margin-bottom: 0.5em;
333
+ .label-list dt {
334
+ padding: 2px 4px;
354
335
  font-weight: bold;
336
+ background: #ddd;
355
337
  }
356
-
357
- main dd {
358
- margin: 0 1em 1em 0.5em;
338
+ .label-list dd {
339
+ padding: 2px 12px;
340
+ }
341
+ .label-list dd + dt,
342
+ .note-list dd + dt {
343
+ margin-top: 0.7em;
359
344
  }
360
345
 
361
- main header h2 {
362
- margin-top: 2em;
363
- border-width: 0;
364
- border-top: 4px solid #bbb;
365
- font-size: 130%;
346
+ #documentation .section {
347
+ font-size: 90%;
366
348
  }
367
349
 
368
- main header h3 {
369
- margin: 2em 0 1.5em;
370
- border-width: 0;
371
- border-top: 3px solid #bbb;
372
- font-size: 120%;
350
+ #documentation h2.section-header {
351
+ margin-top: 1em;
352
+ padding: 0.25em 0.5em;
353
+ background: #ccc;
354
+ color: #333;
355
+ font-size: 175%;
356
+ border: 1px solid #bbb;
357
+ -moz-border-radius: 3px;
358
+ -webkit-border-radius: 3px;
373
359
  }
374
360
 
375
361
  .documentation-section-title {
@@ -378,35 +364,47 @@ main header h3 {
378
364
  .documentation-section-title .section-click-top {
379
365
  position: absolute;
380
366
  top: 6px;
381
- left: 12px;
367
+ right: 12px;
382
368
  font-size: 10px;
383
369
  color: #9b9877;
384
370
  visibility: hidden;
385
- padding-left: 0.5px;
371
+ padding-right: 0.5px;
386
372
  }
387
373
 
388
374
  .documentation-section-title:hover .section-click-top {
389
375
  visibility: visible;
390
376
  }
391
377
 
392
- .constants-list > dl {
378
+ #documentation h3.section-header {
379
+ margin-top: 1em;
380
+ padding: 0.25em 0.5em;
381
+ background-color: #dedede;
382
+ color: #333;
383
+ font-size: 150%;
384
+ border: 1px solid #bbb;
385
+ -moz-border-radius: 3px;
386
+ -webkit-border-radius: 3px;
387
+ }
388
+
389
+ #constants-list > dl,
390
+ #attributes-list > dl {
393
391
  margin: 1em 0 2em;
394
392
  border: 0;
395
393
  }
396
-
397
- .constants-list > dl dt {
398
- margin-bottom: 0.75em;
394
+ #constants-list > dl dt,
395
+ #attributes-list > dl dt {
399
396
  padding-left: 0;
400
- font-family: "Source Code Pro", Monaco, monospace;
401
- font-size: 110%;
397
+ font-weight: bold;
398
+ font-family: Monaco, "Andale Mono";
399
+ background: inherit;
402
400
  }
403
-
404
- .constants-list > dl dt a {
401
+ #constants-list > dl dt a,
402
+ #attributes-list > dl dt a {
405
403
  color: inherit;
406
404
  }
407
-
408
- .constants-list > dl dd {
409
- margin: 0 0 2em 0;
405
+ #constants-list > dl dd,
406
+ #attributes-list > dl dd {
407
+ margin: 0 0 1em 0;
410
408
  padding: 0;
411
409
  color: #666;
412
410
  }
@@ -430,77 +428,93 @@ main header h3 {
430
428
 
431
429
  /* @group Method Details */
432
430
 
433
- main .method-source-code {
431
+ #documentation .method-source-code {
434
432
  display: none;
435
433
  }
436
434
 
437
- main .method-description .method-calls-super {
435
+ #documentation .method-description .method-calls-super {
438
436
  color: #333;
439
- font-weight: bold;
437
+ font-weight: bolder;
440
438
  }
441
439
 
442
- main .method-detail {
443
- margin-bottom: 2.5em;
440
+ #documentation .method-detail {
441
+ margin: 0.5em 0;
442
+ padding: 0.5em 0;
444
443
  cursor: pointer;
445
444
  }
446
-
447
- main .method-detail:target {
448
- margin-left: -10px;
449
- border-left: 10px solid #f1edba;
445
+ #documentation .method-detail:hover {
446
+ background-color: #f1edba;
450
447
  }
451
-
452
- main .method-heading {
448
+ #documentation .method-heading {
453
449
  position: relative;
454
- font-family: "Source Code Pro", Monaco, monospace;
455
- font-size: 110%;
450
+ padding: 2px 4px 0 20px;
451
+ font-size: 125%;
456
452
  font-weight: bold;
457
453
  color: #333;
454
+ background: url(images/brick.png) no-repeat left bottom;
458
455
  }
459
- main .method-heading :link,
460
- main .method-heading :visited {
456
+ #documentation .method-heading :link,
457
+ #documentation .method-heading :visited {
461
458
  color: inherit;
462
459
  }
463
- main .method-click-advice {
460
+ #documentation .method-click-advice {
464
461
  position: absolute;
465
462
  top: 2px;
466
463
  right: 5px;
467
- font-size: 12px;
464
+ font-size: 10px;
468
465
  color: #9b9877;
469
466
  visibility: hidden;
470
467
  padding-right: 20px;
471
468
  line-height: 20px;
472
469
  background: url(images/zoom.png) no-repeat right top;
473
470
  }
474
- main .method-heading:hover .method-click-advice {
471
+ #documentation .method-heading:hover .method-click-advice {
475
472
  visibility: visible;
476
473
  }
477
474
 
478
- main .method-alias .method-heading {
475
+ #documentation .method-alias .method-heading {
479
476
  color: #666;
477
+ background: url(images/brick_link.png) no-repeat left bottom;
480
478
  }
481
479
 
482
- main .method-description,
483
- main .aliases {
484
- margin-top: 0.75em;
485
- color: #333;
480
+ #documentation .method-description,
481
+ #documentation .aliases {
482
+ margin: 0 20px;
483
+ color: #666;
484
+ }
485
+
486
+ #documentation .method-description p,
487
+ #documentation .aliases p {
488
+ line-height: 1.2em;
486
489
  }
487
490
 
488
- main .aliases {
491
+ #documentation .aliases {
489
492
  padding-top: 4px;
490
493
  font-style: italic;
491
494
  cursor: default;
492
495
  }
493
- main .method-description ul {
496
+ #documentation .method-description p {
497
+ margin-bottom: 0.5em;
498
+ }
499
+ #documentation .method-description ul {
494
500
  margin-left: 1.5em;
495
501
  }
502
+ pre {
503
+ margin: 0.5em 0;
504
+ }
496
505
 
497
- main #attribute-method-details .method-detail:hover {
506
+ #documentation .attribute-method-heading {
507
+ background: url(images/tag_green.png) no-repeat left bottom;
508
+ }
509
+ #documentation #attribute-method-details .method-detail:hover {
498
510
  background-color: transparent;
499
511
  cursor: default;
500
512
  }
501
- main .attribute-access-type {
513
+ #documentation .attribute-access-type {
514
+ font-size: 60%;
502
515
  text-transform: uppercase;
503
- padding: 0 1em;
516
+ vertical-align: super;
517
+ padding: 0 2px;
504
518
  }
505
519
  /* @end */
506
520
 
@@ -509,12 +523,15 @@ main .attribute-access-type {
509
523
  /* @group Source Code */
510
524
 
511
525
  pre {
512
- margin: 0.5em 0;
513
- border: 1px dashed #999;
514
- padding: 0.5em;
526
+ overflow: auto;
515
527
  background: #262626;
516
528
  color: white;
517
- overflow: auto;
529
+ border: 1px dashed #999;
530
+ padding: 0.5em;
531
+ }
532
+
533
+ .description pre {
534
+ margin: 0 0.4em;
518
535
  }
519
536
 
520
537
  .ruby-constant { color: #7fffd4; background: transparent; }
@@ -523,7 +540,7 @@ pre {
523
540
  .ruby-operator { color: #00ffee; background: transparent; }
524
541
  .ruby-identifier { color: #ffdead; background: transparent; }
525
542
  .ruby-node { color: #ffa07a; background: transparent; }
526
- .ruby-comment { color: #dc0000; background: transparent; }
543
+ .ruby-comment { color: #dc0000; font-weight: bold; background: transparent; }
527
544
  .ruby-regexp { color: #ffa07a; background: transparent; }
528
545
  .ruby-value { color: #7fffd4; background: transparent; }
529
546
 
@@ -531,24 +548,23 @@ pre {
531
548
 
532
549
 
533
550
  /* @group search results */
534
- #search-results {
535
- font-family: Lato, sans-serif;
536
- font-weight: 300;
537
- }
538
-
539
- #search-results .search-match {
540
- font-family: Helvetica, sans-serif;
551
+ #search-results h1 {
552
+ font-size: 1em;
541
553
  font-weight: normal;
554
+ text-shadow: none;
542
555
  }
543
556
 
544
- #search-results .search-selected {
545
- background: #e8e8e8;
557
+ #search-results .current {
558
+ background: #ccc;
546
559
  border-bottom: 1px solid transparent;
547
560
  }
548
561
 
549
562
  #search-results li {
550
563
  list-style: none;
551
564
  border-bottom: 1px solid #aaa;
565
+ -moz-border-radius: 4px;
566
+ -webkit-border-radius: 4px;
567
+ border-radius: 4px;
552
568
  margin-bottom: 0.5em;
553
569
  }
554
570
 
@@ -573,7 +589,6 @@ pre {
573
589
 
574
590
  #search-results pre {
575
591
  margin: 0.5em;
576
- font-family: "Source Code Pro", Monaco, monospace;
577
592
  }
578
593
 
579
594
  /* @end */