method

auto_complete_stylesheet

rails latest stable - Class: ActionView::Helpers::JavaScriptMacrosHelper

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.2.6) is shown here.

auto_complete_stylesheet()
private

No documentation available.

# File actionpack/lib/action_view/helpers/java_script_macros_helper.rb, line 203
        def auto_complete_stylesheet
          content_tag('style', "div.auto_complete {\nwidth: 350px;\nbackground: #fff;\n}\ndiv.auto_complete ul {\nborder:1px solid #888;\nmargin:0;\npadding:0;\nwidth:100%;\nlist-style-type:none;\n}\ndiv.auto_complete ul li {\nmargin:0;\npadding:3px;\n}\ndiv.auto_complete ul li.selected {\nbackground-color: #ffb;\n}\ndiv.auto_complete ul strong.highlight {\ncolor: #800;\nmargin:0;\npadding:0;\n}\n", :type => 'text/css')
        end